/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
D | InputLogic.java | 93 public final RichInputConnection mConnection; field in InputLogic 125 mConnection = new RichInputConnection(latinIME); in InputLogic() 142 mConnection.onStartInput(); in startInput() 159 mConnection.tryFixLyingCursorPosition(); in startInput() 168 mConnection.requestCursorUpdates(true /* enableMonitor */, in startInput() 191 mConnection.beginBatchEdit(); in onOrientationChange() 196 mConnection.endBatchEdit(); in onOrientationChange() 205 mConnection.finishComposingText(); in finishInput() 240 mConnection.beginBatchEdit(); in onTextInput() 251 mConnection.commitText(text, 1); in onTextInput() [all …]
|
/packages/services/BuiltInPrintService/src/com/android/bips/p2p/ |
D | P2pMonitor.java | 37 private P2pConnectionProcedure mConnection; field in P2pMonitor 117 if (mConnection != null && !peer.deviceAddress.equals(mConnection.getPeer() in connect() 119 if (mConnection.getListenerCount() == 1) { in connect() 121 mConnection.close(); in connect() 122 mConnection = null; in connect() 131 if (mConnection == null) { in connect() 133 mConnection = new P2pConnectionProcedure(mService, mP2pManager, peer, in connect() 150 mConnection.addListener(listener); in connect() 158 if (mConnection == null || !mConnection.hasListener(listener)) { in stopConnect() 162 if (DEBUG) Log.d(TAG, "stopConnect " + toString(mConnection.getPeer())); in stopConnect() [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadScanner.java | 48 private final MediaScannerConnection mConnection; field in DownloadScanner 75 mConnection = new MediaScannerConnection(context, this); in DownloadScanner() 100 synchronized (mConnection) { in hasPendingScans() 124 synchronized (mConnection) { in requestScan() 127 if (mConnection.isConnected()) { in requestScan() 128 req.exec(mConnection); in requestScan() 130 mConnection.connect(); in requestScan() 136 mConnection.disconnect(); in shutdown() 141 synchronized (mConnection) { in onMediaScannerConnected() 143 req.exec(mConnection); in onMediaScannerConnected() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
D | BlockingHttpClient.java | 38 private final HttpURLConnection mConnection; field in BlockingHttpClient 55 mConnection = connection; in BlockingHttpClient() 67 Log.d(TAG, "execute: " + mConnection.getURL()); in execute() 74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream()); in execute() 80 final int responseCode = mConnection.getResponseCode(); in execute() 83 + mConnection.getResponseMessage()); in execute() 85 throw new AuthException(mConnection.getResponseMessage()); in execute() 92 return responseProcessor.onSuccess(mConnection.getInputStream()); in execute() 94 mConnection.disconnect(); in execute()
|
/packages/services/Telephony/src/com/android/phone/vvm/ |
D | RemoteVvmTaskManager.java | 79 private RemoteServiceConnection mConnection; field in RemoteVvmTaskManager 313 mConnection = null; in onServiceDisconnected() 361 if (mConnection == null) { in send() 362 mConnection = new RemoteServiceConnection(); in send() 364 mConnection.enqueue(message); in send() 366 if (!mConnection.isConnected()) { in send() 370 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in send() 375 if (mConnection == null) { in checkReference() 379 unbindService(mConnection); in checkReference() 380 mConnection = null; in checkReference()
|
/packages/services/Car/tests/obd2_app/src/com/google/android/car/obd2app/ |
D | Obd2CollectionTask.java | 37 private final Obd2Connection mConnection; field in Obd2CollectionTask 72 if (!mConnection.isConnected()) { in run() 73 if (!mConnection.reconnect()) { in run() 101 mConnection = new Obd2Connection(bluetoothConnection); in Obd2CollectionTask() 102 mLiveFrameGenerator = new Obd2LiveFrameGenerator(mConnection); in Obd2CollectionTask() 103 mFreezeFrameGenerator = new Obd2FreezeFrameGenerator(mConnection); in Obd2CollectionTask()
|
/packages/services/Car/obd2-lib/src/com/android/car/obd2/ |
D | Obd2Connection.java | 50 private final UnderlyingTransport mConnection; field in Obd2Connection 56 mConnection = Objects.requireNonNull(connection); in Obd2Connection() 61 return mConnection.getAddress(); in getAddress() 74 if (!mConnection.reconnect()) return false; in reconnect() 80 return mConnection.isConnected(); in isConnected() 120 InputStream in = Objects.requireNonNull(mConnection.getInputStream()); in runImpl() 121 OutputStream out = Objects.requireNonNull(mConnection.getOutputStream()); in runImpl()
|
D | Obd2FreezeFrameGenerator.java | 34 private final Obd2Connection mConnection; field in Obd2FreezeFrameGenerator 42 mConnection = connection; in Obd2FreezeFrameGenerator() 121 List<String> currentDtcs = mConnection.getDiagnosticTroubleCodes(); in generate() 134 Optional<Integer> result = command.run(mConnection); in generate() 156 Optional<Float> result = command.run(mConnection); in generate()
|
D | Obd2LiveFrameGenerator.java | 33 private final Obd2Connection mConnection; field in Obd2LiveFrameGenerator 39 mConnection = connection; in Obd2LiveFrameGenerator() 82 Optional<Integer> result = command.run(mConnection); in generate() 103 Optional<Float> result = command.run(mConnection); in generate()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/activities/ |
D | BaseMainActivityTestCase.java | 45 protected final TestInputControlConnection mConnection = new TestInputControlConnection(); field in BaseMainActivityTestCase 57 mConnection, in setUp() local 63 if (mConnection.isBound()) { in tearDown() 64 getInstrumentation().getTargetContext().unbindService(mConnection); in tearDown() 122 mConnection.updateChannelState(channel, data); in updateThenTune()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | CallScreeningServiceFilter.java | 53 private CallScreeningServiceConnection mConnection; field in CallScreeningServiceFilter 273 mConnection = new CallScreeningServiceConnection(resultFuture); in bindCallScreeningService() 275 mCallsManager.getCurrentUserHandle(), mPackageName, mConnection)) { in bindCallScreeningService() 282 if (mConnection != null) { in unbindCallScreeningService() 283 mContext.unbindService(mConnection); in unbindCallScreeningService() 285 mConnection = null; in unbindCallScreeningService()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/hdhomerun/ |
D | HdHomeRunTunerHal.java | 46 private HttpURLConnection mConnection; field in HdHomeRunTunerHal 140 mConnection = (HttpURLConnection) connection; in connectAndOpenInputStream() 216 if (mConnection != null) { in closeInputStreamAndDisconnect() 217 mConnection.disconnect(); in closeInputStreamAndDisconnect() 218 mConnection = null; in closeInputStreamAndDisconnect()
|
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
D | LiveChannelsTestController.java | 49 private final TestInputControlConnection mConnection = new TestInputControlConnection(); field in LiveChannelsTestController 94 TestInputControlUtils.createIntent(), mConnection, Context.BIND_AUTO_CREATE); in before() local 104 if (mConnection.isBound()) { in after() 105 mInstrumentation.getContext().unbindService(mConnection); in after() 128 mConnection.updateChannelState(channel, data); in updateThenTune()
|
/packages/services/BuiltInPrintService/src/com/android/bips/ |
D | LocalPrintJob.java | 69 private P2pPrinterConnection mConnection; field in LocalPrintJob 165 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound() 169 if (P2pUtils.isOnConnectedInterface(mPrintService, printer) && mConnection == null) { in onPrinterFound() 171 mConnection = new P2pPrinterConnection(mPrintService, printer, this); in onPrinterFound() 351 if (mConnection != null) { in finish() 352 mConnection.close(); in finish()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | VCardService.java | 63 final MediaScannerConnection mConnection; field in VCardService.CustomMediaScannerConnectionClient 67 mConnection = new MediaScannerConnection(VCardService.this, this); in CustomMediaScannerConnectionClient() 72 mConnection.connect(); in start() 78 mConnection.scanFile(mPath, null); in onMediaScannerConnected() 84 mConnection.disconnect(); in onScanCompleted()
|
D | ImportVCardActivity.java | 107 private ImportRequestConnection mConnection; field in ImportVCardActivity 211 if (mConnection == null) { in run() 275 mConnection.sendImportRequest(requests); in run() 294 unbindService(mConnection); in run() 775 mConnection = new ImportRequestConnection(); in startVCardService() 782 mConnection, Context.BIND_AUTO_CREATE); in startVCardService()
|
/packages/apps/Dialer/java/com/android/dialer/simulator/service/ |
D | SimulatorServiceClient.java | 32 SimulatorServiceConnection mConnection = new SimulatorServiceConnection(); in connectionService() local 33 context.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connectionService() 34 mConnection.bindToClient(this); in connectionService()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessor.java | 69 private ServiceConnection mConnection; field in CallRedirectionProcessor.CallRedirectionAttempt 89 mConnection = connection; in process() 117 if (mConnection != null) { in finishCallRedirection() 119 mContext.unbindService(mConnection); in finishCallRedirection() 120 mConnection = null; in finishCallRedirection()
|
/packages/services/BuiltInPrintService/src/com/android/bips/jni/ |
D | PdfRender.java | 68 private ServiceConnection mConnection = new ServiceConnection() { field in PdfRender 84 context.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE); in PdfRender() 89 mContext.unbindService(mConnection); in close()
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
D | TestVideoProvider.java | 57 private TestConnection mConnection; field in TestVideoProvider 78 mConnection = connection; in TestVideoProvider() 158 mConnection.setVideoState(requestProfile.getVideoState()); in onSendSessionModifyRequest()
|
/packages/services/Telephony/src/com/android/phone/ |
D | EmergencyCallbackModeExitDialog.java | 151 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE); 172 unbindService(mConnection); 350 private ServiceConnection mConnection = new ServiceConnection() { field in EmergencyCallbackModeExitDialog
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/dialer/ |
D | DialerTestFragment.java | 45 private ServiceConnection mConnection = new ServiceConnection() { field in DialerTestFragment 73 getActivity().bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in onCreateView()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | HostNfcFEmulationManager.java | 235 if (mContext.bindServiceAsUser(bindIntent, mConnection, in bindServiceIfNeededLocked() 248 mContext.unbindService(mConnection); in unbindServiceIfNeededLocked() 265 private ServiceConnection mConnection = new ServiceConnection() { field in HostNfcFEmulationManager
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/ |
D | AssociatedDeviceViewModel.java | 85 getApplication().bindServiceAsUser(intent, mConnection, Context.BIND_AUTO_CREATE, in AssociatedDeviceViewModel() 101 getApplication().unbindService(mConnection); in onCleared() 305 private final ServiceConnection mConnection = new ServiceConnection() { field in AssociatedDeviceViewModel
|
/packages/services/Telephony/tests/src/com/android/services/telephony/ |
D | TelephonyConnectionServiceTest.java | 101 private android.telecom.Connection mConnection; field in TelephonyConnectionServiceTest 973 mConnection.setDisconnected(null); in testCreateOutgoingEmerge_exitingApm_disconnected() 1187 mConnection = mTestConnectionService.onCreateOutgoingConnection( in setupConnectionServiceForDelayDial() 1189 assertNotNull("test connection was not set up correctly.", mConnection); in setupConnectionServiceForDelayDial() 1227 mConnection = mTestConnectionService.onCreateOutgoingConnection( in setupConnectionServiceInApm() 1229 assertNotNull("test connection was not set up correctly.", mConnection); in setupConnectionServiceInApm()
|