/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/ |
H A D | BlockingHttpClient.java | 38 private final HttpURLConnection mConnection; field in class:BlockingHttpClient 55 mConnection = connection; 67 Log.d(TAG, "execute: " + mConnection.getURL()); 74 OutputStream out = new BufferedOutputStream(mConnection.getOutputStream()); 80 final int responseCode = mConnection.getResponseCode(); 83 + mConnection.getResponseMessage()); 85 throw new AuthException(mConnection.getResponseMessage()); 92 return responseProcessor.onSuccess(mConnection.getInputStream()); 94 mConnection.disconnect();
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 48 private final MediaScannerConnection mConnection; field in class:DownloadScanner 68 @GuardedBy("mConnection") 75 mConnection = new MediaScannerConnection(context, this); 100 synchronized (mConnection) { 124 synchronized (mConnection) { 127 if (mConnection.isConnected()) { 128 req.exec(mConnection); 130 mConnection.connect(); 136 mConnection.disconnect(); 141 synchronized (mConnection) { [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/ |
H A D | InputLogic.java | 93 public final RichInputConnection mConnection; field in class:InputLogic 125 mConnection = new RichInputConnection(latinIME); 142 mConnection.onStartInput(); 159 mConnection.tryFixLyingCursorPosition(); 168 mConnection.requestCursorUpdates(true /* enableMonitor */, 191 mConnection.beginBatchEdit(); 196 mConnection.endBatchEdit(); 205 mConnection.finishComposingText(); 240 mConnection.beginBatchEdit(); 251 mConnection [all...] |
/packages/apps/TV/tests/func/src/com/android/tv/tests/ui/ |
H A D | LiveChannelsTestCase.java | 41 protected final TestInputControlConnection mConnection = new TestInputControlConnection(); field in class:LiveChannelsTestCase 53 context.bindService(TestInputControlUtils.createIntent(), mConnection, 64 if (mConnection.isBound()) { 65 getInstrumentation().getContext().unbindService(mConnection); 98 mConnection.updateChannelState(channel, data);
|
/packages/apps/TV/tests/unit/src/com/android/tv/ |
H A D | BaseMainActivityTestCase.java | 41 protected final TestInputControlConnection mConnection = new TestInputControlConnection(); field in class:BaseMainActivityTestCase 56 .bindService(TestInputControlUtils.createIntent(), mConnection, 62 if (mConnection.isBound()) { 63 getInstrumentation().getContext().unbindService(mConnection); 127 mConnection.updateChannelState(channel, data);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ |
H A D | ServiceProxy.java | 56 private final ServiceConnection mConnection = new ProxyConnection(); field in class:ServiceProxy 119 // Make sure that we unbind the mConnection even on exceptions in the 124 mContext.unbindService(mConnection); 137 synchronized(mConnection) { 141 mConnection.notify(); 181 return mContext.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE); 200 synchronized (mConnection) { 206 mConnection.wait(mTimeout * 1000L);
|
/packages/services/Telephony/src/com/android/phone/common/mail/store/ |
H A D | ImapStore.java | 42 private ImapConnection mConnection; field in class:ImapStore 164 if (mConnection != null) { 165 mConnection.close(); 166 mConnection = null; 171 if (mConnection == null) { 172 mConnection = new ImapConnection(this); 174 return mConnection;
|
H A D | ImapFolder.java | 67 private ImapConnection mConnection; field in class:ImapFolder 89 if (mConnection != null) { 90 mConnection.destroyResponses(); 100 mConnection = mStore.getConnection(); 114 throw ioExceptionHandler(mConnection, ioe); 120 mConnection = null; 131 return mExists && mConnection != null; 148 mConnection = null; 180 final String[] result = getSearchUids(mConnection.executeSimpleCommand(command)); 190 throw ioExceptionHandler(mConnection, io [all...] |
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
H A D | ImapFolder.java | 81 private ImapConnection mConnection; field in class:ImapFolder 95 if (mConnection != null) { 96 mConnection.destroyResponses(); 109 mConnection.executeSimpleCommand(ImapConstants.NOOP); 113 ioExceptionHandler(mConnection, ioe); 123 mConnection = mStore.getConnection(); 137 throw ioExceptionHandler(mConnection, ioe); 143 mConnection = null; 156 return mExists && mConnection != null; 169 mStore.poolConnection(mConnection); [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/ |
H A D | CallScreeningServiceFilter.java | 146 private ServiceConnection mConnection; field in class:CallScreeningServiceFilter 191 if (mConnection != null) { 193 mContext.unbindService(mConnection); 194 mConnection = null; 242 mConnection = connection;
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
H A D | VCardService.java | 72 final MediaScannerConnection mConnection; field in class:VCardService.CustomMediaScannerConnectionClient 76 mConnection = new MediaScannerConnection(VCardService.this, this); 81 mConnection.connect(); 87 mConnection.scanFile(mPath, null); 93 mConnection.disconnect();
|
H A D | ImportVCardActivity.java | 106 private ImportRequestConnection mConnection; field in class:ImportVCardActivity 210 if (mConnection == null) { 271 mConnection.sendImportRequest(requests); 287 unbindService(mConnection); 733 mConnection = new ImportRequestConnection(); 740 mConnection, Context.BIND_AUTO_CREATE);
|
/packages/services/Car/service/src/com/android/car/ |
H A D | CarProjectionService.java | 63 private final ServiceConnection mConnection = new ServiceConnection() { field in class:CarProjectionService 126 mContext.bindServiceAsUser(serviceIntent, mConnection, Context.BIND_IMPORTANT, userHandle); 136 mContext.unbindService(mConnection);
|
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/ |
H A D | TestVideoProvider.java | 57 private TestConnection mConnection; field in class:TestVideoProvider 78 mConnection = connection; 158 mConnection.setVideoState(requestProfile.getVideoState());
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
H A D | HostNfcFEmulationManager.java | 230 if (mContext.bindServiceAsUser(bindIntent, mConnection, 243 mContext.unbindService(mConnection); 260 private ServiceConnection mConnection = new ServiceConnection() { field in class:HostNfcFEmulationManager
|
H A D | HostEmulationManager.java | 297 if (mContext.bindServiceAsUser(aidIntent, mConnection, 362 mContext.unbindService(mConnection); 433 private ServiceConnection mConnection = new ServiceConnection() { field in class:HostEmulationManager
|
/packages/services/Telephony/src/com/android/phone/ |
H A D | EmergencyCallbackModeExitDialog.java | 143 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE); 164 unbindService(mConnection); 337 private ServiceConnection mConnection = new ServiceConnection() { field in class:EmergencyCallbackModeExitDialog
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppService.java | 968 private MediaScannerConnection mConnection; field in class:BluetoothOppService.MediaScannerNotifier 980 mConnection = new MediaScannerConnection(mContext, this); 982 mConnection.connect(); 987 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); 1015 mConnection.disconnect();
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmActivity.java | 109 private final ServiceConnection mConnection = new ServiceConnection() { field in class:AlarmActivity 499 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 509 unbindService(mConnection);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
H A D | FilterShowActivity.java | 207 private ServiceConnection mConnection = new ServiceConnection() { field in class:FilterShowActivity 242 mConnection, Context.BIND_AUTO_CREATE); 249 unbindService(mConnection);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | LatinIME.java | 919 if (!mInputLogic.mConnection.resetCachesUponCursorMoveAndReturnSuccess( 934 mInputLogic.mConnection.tryFixLyingCursorPosition(); 1642 if (code == Constants.CODE_DELETE && !mInputLogic.mConnection.canDeleteCharacters()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetStateMachine.java | 228 if (intent.getComponent() == null || !context.bindService(intent, mConnection, 0)) { 276 synchronized (mConnection) { 279 mService.unbindService(mConnection); 2101 private ServiceConnection mConnection = new ServiceConnection() { field in class:HeadsetStateMachine
|