Searched defs:mConnection (Results 1 - 18 of 18) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClient.java38 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 DAbstractSyncAdapterService.java62 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 DDownloadScanner.java46 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 DServiceProxy.java56 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 DEmergencyCallbackModeExitDialog.java143 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 DVCardService.java72 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 DImportVCardActivity.java98 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 DTestVideoProvider.java57 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 DImapStore.java41 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 DImapFolder.java76 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 DBluetoothOppService.java967 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 DAlarmActivity.java111 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 DEasOperation.java157 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 DHostEmulationManager.java297 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 DImapFolder.java81 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 DInputLogic.java93 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 DHeadsetStateMachine.java224 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 DFilterShowActivity.java207 private ServiceConnection mConnection = new ServiceConnection() { field in class:FilterShowActivity
242 mConnection, Context.BIND_AUTO_CREATE);
249 unbindService(mConnection);

Completed in 1219 milliseconds