/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/apps/Exchange/src/com/android/exchange/service/ |
H A D | AbstractSyncAdapterService.java | 62 protected ServiceConnection mConnection; field in class:AbstractSyncAdapterService 69 mConnection = new ServiceConnection() { 73 synchronized (mConnection) { 75 mConnection.notify(); 84 bindService(new Intent(this, EasService.class), mConnection, Context.BIND_AUTO_CREATE); 90 unbindService(mConnection); 188 synchronized(mConnection) { 192 mConnection.wait(MAX_WAIT_FOR_SERVICE_MS);
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 46 private final MediaScannerConnection mConnection; field in class:DownloadScanner 66 @GuardedBy("mConnection") 71 mConnection = new MediaScannerConnection(context, this); 79 synchronized (mConnection) { 103 synchronized (mConnection) { 107 if (mConnection.isConnected()) { 108 req.exec(mConnection); 110 mConnection.connect(); 116 mConnection.disconnect(); 121 synchronized (mConnection) { [all...] |
/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/ |
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/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 | 98 private ImportRequestConnection mConnection; field in class:ImportVCardActivity 200 if (mConnection == null) { 314 mConnection.sendImportRequest(requests); 330 unbindService(mConnection); 641 mConnection = new ImportRequestConnection(); 648 mConnection, Context.BIND_AUTO_CREATE);
|
/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/services/Telephony/src/com/android/phone/common/mail/store/ |
H A D | ImapStore.java | 41 private ImapConnection mConnection; field in class:ImapStore 151 if (mConnection != null) { 152 mConnection.close(); 153 mConnection = null; 158 if (mConnection == null) { 159 mConnection = new ImapConnection(this); 161 return mConnection;
|
H A D | ImapFolder.java | 76 private ImapConnection mConnection; field in class:ImapFolder 98 if (mConnection != null) { 99 mConnection.destroyResponses(); 110 mConnection.executeSimpleCommand(ImapConstants.NOOP); 114 ioExceptionHandler(mConnection, ioe); 124 mConnection = mStore.getConnection(); 138 throw ioExceptionHandler(mConnection, ioe); 144 mConnection = null; 155 return mExists && mConnection != null; 173 mConnection [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppService.java | 967 private MediaScannerConnection mConnection; field in class:BluetoothOppService.MediaScannerNotifier 979 mConnection = new MediaScannerConnection(mContext, this); 981 mConnection.connect(); 986 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); 1014 mConnection.disconnect();
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
H A D | AlarmActivity.java | 111 private final ServiceConnection mConnection = new ServiceConnection() { field in class:AlarmActivity 241 bindService(new Intent(this, AlarmService.class), mConnection, Context.BIND_AUTO_CREATE); 511 unbindService(mConnection);
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
H A D | EasOperation.java | 157 protected EasServerConnection mConnection; field in class:EasOperation 173 mConnection = connection; 195 mConnection = parentOperation.mConnection; 220 mConnection.stop(EasServerConnection.STOPPED_REASON_ABORT); 228 mConnection.stop(EasServerConnection.STOPPED_REASON_RESTART); 279 response = mConnection.executeHttpUriRequest(makeRequest(), getTimeout()); 285 switch (mConnection.getStoppedReason()) { 386 mConnection.redirectHostAuth(response.getRedirectAddress()); 436 if (mConnection [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
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/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/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/Bluetooth/src/com/android/bluetooth/hfp/ |
H A D | HeadsetStateMachine.java | 224 if (intent.getComponent() == null || !context.bindService(intent, mConnection, 0)) { 272 synchronized (mConnection) { 275 mService.unbindService(mConnection); 2059 private ServiceConnection mConnection = new ServiceConnection() { field in class:HeadsetStateMachine
|
/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);
|