/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/modules/Wifi/service/java/com/android/server/wifi/hotspot2/soap/ |
D | HttpsServiceConnection.java | 44 private HttpsURLConnection mConnection; field in HttpsServiceConnection 47 mConnection = (HttpsURLConnection) network.openConnection(url); in HttpsServiceConnection() 48 mConnection.setConnectTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection() 49 mConnection.setReadTimeout(DEFAULT_TIMEOUT_MS); in HttpsServiceConnection() 54 mConnection.connect(); in connect() 59 mConnection.disconnect(); in disconnect() 64 Map<String, List<String>> properties = mConnection.getHeaderFields(); in getResponseProperties() 78 return mConnection.getResponseCode(); in getResponseCode() 86 mConnection.setRequestProperty(propertyName, value); in setRequestProperty() 92 mConnection.setRequestMethod(requestMethodType); in setRequestMethod() [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/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/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/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/Telecomm/src/com/android/server/telecom/ |
D | CallDiagnosticServiceController.java | 195 mConnection = null; in onServiceDisconnected() 209 mConnection = null; in onBindingDied() 234 private CallDiagnosticServiceConnection mConnection; field in CallDiagnosticServiceController 373 if (mConnection != null) { in maybeBindCallDiagnosticService() 377 mConnection = new CallDiagnosticServiceConnection(); in maybeBindCallDiagnosticService() 379 getActiveCallDiagnosticService(), mConnection); in maybeBindCallDiagnosticService() 381 mConnection = null; in maybeBindCallDiagnosticService() 442 if (mConnection != null) { in maybeUnbindCallScreeningService() 446 mContextProxy.unbindService(mConnection); in maybeUnbindCallScreeningService() 448 mConnection = null; in maybeUnbindCallScreeningService()
|
/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/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinStorage.java | 43 private final RestrictedProfilePinServiceConnection mConnection; field in RestrictedProfilePinStorage 66 mConnection = connection; in RestrictedProfilePinStorage() 72 mConnection.bindPinService(); in bind() 77 mConnection.unbindPinService(); in unbind() 175 return mConnection.getPinService(); in getPinService()
|
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
D | CallScreeningServiceFilter.java | 55 private CallScreeningServiceConnection mConnection; field in CallScreeningServiceFilter 316 mConnection = new CallScreeningServiceConnection(resultFuture); in bindCallScreeningService() 318 mCallsManager.getCurrentUserHandle(), mPackageName, mConnection)) { in bindCallScreeningService() 325 if (mConnection != null) { in unbindCallScreeningService() 327 mContext.unbindService(mConnection); in unbindCallScreeningService() 329 Log.i(this, "Exception when unbind service %s : %s", mConnection, in unbindCallScreeningService() 333 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/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/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() 778 mConnection = new ImportRequestConnection(); in startVCardService() 785 mConnection, Context.BIND_AUTO_CREATE); in startVCardService()
|
/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 | 153 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE); 174 unbindService(mConnection); 352 private ServiceConnection mConnection = new ServiceConnection() { field in EmergencyCallbackModeExitDialog
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinStorageTest.java | 58 private RestrictedProfilePinServiceConnection mConnection; field in RestrictedProfilePinStorageTest 73 when(mConnection.getPinService()).thenReturn(mPinService); in setUp() 74 mPinStorage = new RestrictedProfilePinStorage(mLockPatternUtils, USER_ID, mConnection); in setUp()
|