Home
last modified time | relevance | path

Searched refs:mConnection (Results 1 – 17 of 17) sorted by relevance

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/inputlogic/
DInputLogic.java93 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/apps/Email/provider_src/com/android/email/mail/store/
DImapFolder.java81 private ImapConnection mConnection; field in ImapFolder
95 if (mConnection != null) { in destroyResponses()
96 mConnection.destroyResponses(); in destroyResponses()
109 mConnection.executeSimpleCommand(ImapConstants.NOOP); in open()
113 ioExceptionHandler(mConnection, ioe); in open()
123 mConnection = mStore.getConnection(); in open()
137 throw ioExceptionHandler(mConnection, ioe); in open()
143 mConnection = null; in open()
156 return mExists && mConnection != null; in isOpen()
169 mStore.poolConnection(mConnection); in close()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapFolder.java76 private ImapConnection mConnection; field in ImapFolder
98 if (mConnection != null) { in destroyResponses()
99 mConnection.destroyResponses(); in destroyResponses()
110 mConnection.executeSimpleCommand(ImapConstants.NOOP); in open()
114 ioExceptionHandler(mConnection, ioe); in open()
124 mConnection = mStore.getConnection(); in open()
138 throw ioExceptionHandler(mConnection, ioe); in open()
144 mConnection = null; in open()
155 return mExists && mConnection != null; in isOpen()
173 mConnection = null; in close()
[all …]
DImapStore.java41 private ImapConnection mConnection; field in ImapStore
151 if (mConnection != null) { in closeConnection()
152 mConnection.close(); in closeConnection()
153 mConnection = null; in closeConnection()
158 if (mConnection == null) { in getConnection()
159 mConnection = new ImapConnection(this); in getConnection()
161 return mConnection; in getConnection()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadScanner.java46 private final MediaScannerConnection mConnection; field in DownloadScanner
71 mConnection = new MediaScannerConnection(context, this); in DownloadScanner()
79 synchronized (mConnection) { in hasPendingScans()
103 synchronized (mConnection) { in requestScan()
107 if (mConnection.isConnected()) { in requestScan()
108 req.exec(mConnection); in requestScan()
110 mConnection.connect(); in requestScan()
116 mConnection.disconnect(); in shutdown()
121 synchronized (mConnection) { in onMediaScannerConnected()
123 req.exec(mConnection); in onMediaScannerConnected()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DBlockingHttpClient.java38 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/apps/Email/emailcommon/src/com/android/emailcommon/service/
DServiceProxy.java56 private final ServiceConnection mConnection = new ProxyConnection(); field in ServiceProxy
124 mContext.unbindService(mConnection); in onServiceConnected()
137 synchronized(mConnection) { in onServiceConnected()
141 mConnection.notify(); in onServiceConnected()
181 return mContext.bindService(mIntent, mConnection, Context.BIND_AUTO_CREATE); in setTask()
200 synchronized (mConnection) { in waitForCompletion()
206 mConnection.wait(mTimeout * 1000L); in waitForCompletion()
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DVCardService.java72 final MediaScannerConnection mConnection; field in VCardService.CustomMediaScannerConnectionClient
76 mConnection = new MediaScannerConnection(VCardService.this, this); in CustomMediaScannerConnectionClient()
81 mConnection.connect(); in start()
87 mConnection.scanFile(mPath, null); in onMediaScannerConnected()
93 mConnection.disconnect(); in onScanCompleted()
DImportVCardActivity.java98 private ImportRequestConnection mConnection; field in ImportVCardActivity
200 if (mConnection == null) { in run()
314 mConnection.sendImportRequest(requests); in run()
330 unbindService(mConnection); in run()
641 mConnection = new ImportRequestConnection(); in startVCardService()
648 mConnection, Context.BIND_AUTO_CREATE); in startVCardService()
/packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
DTestVideoProvider.java57 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/
DEmergencyCallbackModeExitDialog.java143 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE);
164 unbindService(mConnection);
337 private ServiceConnection mConnection = new ServiceConnection() { field in EmergencyCallbackModeExitDialog
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppService.java967 private MediaScannerConnection mConnection; field in BluetoothOppService.MediaScannerNotifier
979 mConnection = new MediaScannerConnection(mContext, this); in MediaScannerNotifier()
981 mConnection.connect(); in MediaScannerNotifier()
986 mConnection.scanFile(mInfo.mFilename, mInfo.mMimetype); in onMediaScannerConnected()
1014 mConnection.disconnect(); in onScanCompleted()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostEmulationManager.java297 if (mContext.bindServiceAsUser(aidIntent, mConnection, in bindServiceIfNeededLocked()
362 mContext.unbindService(mConnection); in unbindServiceIfNeededLocked()
433 private ServiceConnection mConnection = new ServiceConnection() { field in HostEmulationManager
/packages/apps/DeskClock/src/com/android/deskclock/alarms/
DAlarmActivity.java111 private final ServiceConnection mConnection = new ServiceConnection() { field in AlarmActivity
241 bindService(new Intent(this, AlarmService.class), mConnection, Context.BIND_AUTO_CREATE); in onStart()
511 unbindService(mConnection); in unbindAlarmService()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DLatinIME.java893 if (!mInputLogic.mConnection.resetCachesUponCursorMoveAndReturnSuccess( in onStartInputViewInternal()
908 mInputLogic.mConnection.tryFixLyingCursorPosition(); in onStartInputViewInternal()
1604 if (code == Constants.CODE_DELETE && !mInputLogic.mConnection.canDeleteCharacters()) { in hapticAndAudioFeedback()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/
DFilterShowActivity.java207 private ServiceConnection mConnection = new ServiceConnection() { field in FilterShowActivity
242 mConnection, Context.BIND_AUTO_CREATE); in doBindService()
249 unbindService(mConnection); in doUnbindService()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java224 if (intent.getComponent() == null || !context.bindService(intent, mConnection, 0)) { in HeadsetStateMachine()
272 synchronized (mConnection) { in cleanup()
275 mService.unbindService(mConnection); in cleanup()
2059 private ServiceConnection mConnection = new ServiceConnection() { field in HeadsetStateMachine