Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/net/http/
DConnectionThread.java45 Connection mConnection; field in ConnectionThread
111 mConnection = mConnectionManager.getConnection(mContext, in run()
113 mConnection.processRequests(request); in run()
114 if (mConnection.getCanPersist()) { in run()
115 if (!mConnectionManager.recycleConnection(mConnection)) { in run()
116 mConnection.closeConnection(); in run()
119 mConnection.closeConnection(); in run()
121 mConnection = null; in run()
134 String con = mConnection == null ? "" : mConnection.toString(); in toString()
DIdleCache.java34 Connection mConnection; field in IdleCache.Entry
81 entry.mConnection = connection; in cacheConnection()
105 ret = entry.mConnection; in getConnection()
107 entry.mConnection = null; in getConnection()
122 entry.mConnection.closeConnection(); in clear()
123 entry.mConnection = null; in clear()
136 entry.mConnection.closeConnection(); in clearIdle()
137 entry.mConnection = null; in clearIdle()
DRequest.java57 private Connection mConnection; field in Request
159 mConnection = connection; in setConnection()
224 mConnection.getHttpContext()); in sendRequest()
294 buf = mConnection.getBuf(); in readResponse()
352 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(), in readResponse()
378 if (mConnection != null) { in cancel()
379 mConnection.cancel(); in cancel()
512 HttpsConnection connection = (HttpsConnection)(mConnection); in handleSslErrorResponse()
525 mConnection.mContext.getText( in error()
DRequestHandle.java52 private Connection mConnection; field in RequestHandle
92 mConnection = conn; in RequestHandle()
288 if (mConnection != null) { in processRequest()
289 mConnection.processRequests(mRequest); in processRequest()
452 if (mConnection != null) { in createAndQueueNewRequest()
457 mConnection = newHandle.mConnection; in createAndQueueNewRequest()
DRequestQueue.java151 Connection connection = mThreads[i].mConnection; in disablePersistence()
164 Connection connection = ct.mConnection; in getThread()
/frameworks/base/core/java/android/view/inputmethod/
DInputBinding.java34 final InputConnection mConnection; field in InputBinding
61 mConnection = conn; in InputBinding()
75 mConnection = conn; in InputBinding()
82 mConnection = null; in InputBinding()
92 return mConnection; in getConnection()
/frameworks/base/core/java/android/speech/
DSpeechRecognizer.java111 private Connection mConnection; field in SpeechRecognizer
176 mConnection = null; in onServiceDisconnected()
261 if (mConnection == null) { // first time connection in startListening()
262 mConnection = new Connection(); in startListening()
281 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { in startListening()
283 mConnection = null; in startListening()
393 if (mConnection != null) { in destroy()
394 mContext.unbindService(mConnection); in destroy()
398 mConnection = null; in destroy()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java117 if (!context.bindService(new Intent(IBluetoothPbap.class.getName()), mConnection, 0)) { in BluetoothPbap()
137 if (mConnection != null) { in close()
138 mContext.unbindService(mConnection); in close()
139 mConnection = null; in close()
237 private ServiceConnection mConnection = new ServiceConnection() { field in BluetoothPbap
DBluetoothHeadset.java231 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) { in BluetoothHeadset()
244 if (mConnection != null) { in close()
245 mContext.unbindService(mConnection); in close()
246 mConnection = null; in close()
762 private ServiceConnection mConnection = new ServiceConnection() { field in BluetoothHeadset
/frameworks/base/core/java/android/accessibilityservice/
DAccessibilityService.java222 IAccessibilityServiceConnection mConnection; field in AccessibilityService
267 if (mInfo != null && mConnection != null) { in sendServiceInfo()
269 mConnection.setServiceInfo(mInfo); in sendServiceInfo()
333 mConnection = ((IAccessibilityServiceConnection) message.obj); in executeMessage()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityNodeInfo.java125 private IAccessibilityServiceConnection mConnection; field in AccessibilityNodeInfo
184 return client.findAccessibilityNodeInfoByAccessibilityId(mConnection, in getChild()
256 return client.performAccessibilityAction(mConnection, mAccessibilityWindowId, in performAction()
280 return client.findAccessibilityNodeInfosByViewText(mConnection, text, in findAccessibilityNodeInfosByText()
300 return client.findAccessibilityNodeInfoByAccessibilityId(mConnection, in getParent()
766 mConnection = connection; in setConnection()
903 if (mConnection == null) { in writeToParcel()
907 parcel.writeStrongBinder(mConnection.asBinder()); in writeToParcel()
952 mConnection = other.mConnection; in init()
974 mConnection = IAccessibilityServiceConnection.Stub.asInterface( in initFromParcel()
[all …]
DAccessibilityRecord.java90 IAccessibilityServiceConnection mConnection; field in AccessibilityRecord
128 if (mSourceWindowId == View.NO_ID || mSourceViewId == View.NO_ID || mConnection == null) { in getSource()
132 return client.findAccessibilityNodeInfoByAccessibilityId(mConnection, mSourceWindowId, in getSource()
145 mConnection = connection; in setConnection()
719 mConnection = record.mConnection; in init()
DAccessibilityEvent.java834 mConnection = IAccessibilityServiceConnection.Stub.asInterface( in initFromParcel()
848 record.setConnection(mConnection); in initFromParcel()
887 if (mConnection == null) { in writeToParcel()
891 parcel.writeStrongBinder(mConnection.asBinder()); in writeToParcel()
/frameworks/base/media/java/android/media/
DMediaScannerConnection.java182 MediaScannerConnection mConnection; field in MediaScannerConnection.ClientProxy
204 mConnection.disconnect(); in scanNextPath()
208 mConnection.scanFile(mPaths[mNextPath], mimeType); in scanNextPath()
234 client.mConnection = connection; in scanFile()
/frameworks/base/core/tests/coretests/src/android/os/
DMessengerTest.java34 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerTest
97 mConnection, Context.BIND_AUTO_CREATE); in setUp()
111 getContext().unbindService(mConnection); in tearDown()
DBinderThreadPriorityTest.java38 private ServiceConnection mConnection = new ServiceConnection() { field in BinderThreadPriorityTest
65 mConnection, Context.BIND_AUTO_CREATE); in setUp()
93 getContext().unbindService(mConnection); in tearDown()
/frameworks/base/services/java/com/android/server/connectivity/
DVpn.java71 private Connection mConnection; field in Vpn
123 if (mConnection != null) { in prepare()
125 mConnection.mService.transact(IBinder.LAST_CALL_TRANSACTION, in prepare()
130 mContext.unbindService(mConnection); in prepare()
131 mConnection = null; in prepare()
222 if (mConnection != null) { in establish()
223 mContext.unbindService(mConnection); in establish()
228 mConnection = connection; in establish()
279 if (mConnection != null) { in interfaceRemoved()
280 mContext.unbindService(mConnection); in interfaceRemoved()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DAsyncChannel.java166 private AsyncChannelConnection mConnection; field in AsyncChannel
202 mConnection = new AsyncChannelConnection(); in connectSrcHandlerToPackageSync()
219 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connectSrcHandlerToPackageSync()
419 mConnection = null; in disconnected()
426 if ((mConnection != null) && (mSrcContext != null)) { in disconnect()
427 mSrcContext.unbindService(mConnection); in disconnect()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
DWifiConnectionTest.java89 WifiInfo mConnection = mAct.mWifiManager.getConnectionInfo(); in setUp() local
90 assertNotNull(mConnection); in setUp()
/frameworks/base/core/java/android/app/
DLoadedApk.java895 private final ServiceConnection mConnection; field in LoadedApk.ServiceDispatcher
931 mConnection = conn; in ServiceDispatcher()
942 "ServiceConnection " + mConnection + in validate()
948 "ServiceConnection " + mConnection + in validate()
970 return mConnection; in getServiceConnection()
1057 mConnection.onServiceDisconnected(name); in doConnected()
1061 mConnection.onServiceConnected(name, service); in doConnected()
1066 mConnection.onServiceDisconnected(name); in doDeath()
/frameworks/base/core/java/android/service/wallpaper/
DWallpaperService.java129 IWallpaperConnection mConnection; field in WallpaperService.Engine
713 mConnection = wrapper.mConnection; in attach()
902 final IWallpaperConnection mConnection; field in WallpaperService.IWallpaperEngineWrapper
921 mConnection = conn; in IWallpaperEngineWrapper()
965 mConnection.attachEngine(this); in executeMessage()
/frameworks/base/docs/html/guide/topics/fundamentals/
Dbound-services.jd268 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
276 unbindService(mConnection);
294 private ServiceConnection mConnection = new ServiceConnection() {
434 private ServiceConnection mConnection = new ServiceConnection() {
474 bindService(new Intent(this, MessengerService.class), mConnection,
483 unbindService(mConnection);
561 private ServiceConnection mConnection = new ServiceConnection() {
585 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
/frameworks/base/docs/html/guide/developing/tools/
Daidl.jd301 private ServiceConnection mConnection = new ServiceConnection() {