/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteSession.java | 166 private SQLiteConnection mConnection; field in SQLiteSession 259 return mConnection != null; in hasConnection() 319 mConnection.execute("BEGIN IMMEDIATE;", null, in beginTransactionUnchecked() 323 mConnection.execute("BEGIN EXCLUSIVE;", null, in beginTransactionUnchecked() 327 mConnection.execute("BEGIN;", null, cancellationSignal); // might throw in beginTransactionUnchecked() 338 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw in beginTransactionUnchecked() 399 assert mConnection != null; in endTransaction() 437 mConnection.execute("COMMIT;", null, cancellationSignal); // might throw in endTransactionUnchecked() 439 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw in endTransactionUnchecked() 514 assert mConnection != null; in yieldTransaction() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaHTTPConnection.java | 52 private HttpURLConnection mConnection = null; field in MediaHTTPConnection 137 if (mConnection != null) { in teardownConnection() 140 mConnection.disconnect(); in teardownConnection() 141 mConnection = null; in teardownConnection() 184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); in seekTo() 186 mConnection = (HttpURLConnection)url.openConnection(); in seekTo() 188 mConnection.setConnectTimeout(CONNECT_TIMEOUT_MS); in seekTo() 191 mConnection.setInstanceFollowRedirects(mAllowCrossDomainRedirect); in seekTo() 195 mConnection.setRequestProperty( in seekTo() 201 mConnection.setRequestProperty( in seekTo() [all …]
|
D | MediaScannerConnection.java | 185 MediaScannerConnection mConnection; field in MediaScannerConnection.ClientProxy 207 mConnection.disconnect(); in scanNextPath() 211 mConnection.scanFile(mPaths[mNextPath], mimeType); in scanNextPath() 237 client.mConnection = connection; in scanFile()
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
D | UsbAccessoryBulkTransport.java | 35 private UsbDeviceConnection mConnection; field in UsbAccessoryBulkTransport 42 mConnection = connection; in UsbAccessoryBulkTransport() 49 mConnection = null; in ioClose() 56 if (mConnection == null) { in ioRead() 59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1); in ioRead() 64 if (mConnection == null) { in ioWrite() 67 int result = mConnection.bulkTransfer(mBulkOutEndpoint, in ioWrite()
|
/frameworks/base/core/java/android/view/inputmethod/ |
D | InputBinding.java | 33 final InputConnection mConnection; field in InputBinding 60 mConnection = conn; in InputBinding() 74 mConnection = conn; in InputBinding() 81 mConnection = null; in InputBinding() 91 return mConnection; in getConnection()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | ManagedApplicationService.java | 61 private ServiceConnection mConnection; field in ManagedApplicationService 174 if (mConnection != null) { in disconnect() 175 mContext.unbindService(mConnection); in disconnect() 176 mConnection = null; in disconnect() 188 if (mConnection != null || mPendingConnection != null) { in connect() 208 mConnection = this; in connect() 244 mConnection = null; in connect()
|
/frameworks/base/core/java/android/bluetooth/ |
D | BluetoothPbap.java | 118 synchronized (mConnection) { 121 mContext.unbindService(mConnection); 127 synchronized (mConnection) { 163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 195 synchronized (mConnection) { in close() 199 mContext.unbindService(mConnection); in close() 302 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothPbap
|
D | BluetoothPbapClient.java | 65 synchronized (mConnection) { 68 mContext.unbindService(mConnection); 74 synchronized (mConnection) { 115 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 147 synchronized (mConnection) { in close() 151 mContext.unbindService(mConnection); in close() 286 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothPbapClient
|
D | BluetoothAvrcpController.java | 135 synchronized (mConnection) { 138 mContext.unbindService(mConnection); 144 synchronized (mConnection) { 183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 202 synchronized (mConnection) { in close() 206 mContext.unbindService(mConnection); in close() 382 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothAvrcpController
|
D | BluetoothA2dpSink.java | 136 synchronized (mConnection) { 139 mContext.unbindService(mConnection); 145 synchronized (mConnection) { 183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 202 synchronized (mConnection) { in close() 206 mContext.unbindService(mConnection); in close() 481 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothA2dpSink
|
D | BluetoothMap.java | 61 synchronized (mConnection) { 64 mContext.unbindService(mConnection); 70 synchronized (mConnection) { 107 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 139 synchronized (mConnection) { in close() 143 mContext.unbindService(mConnection); in close() 371 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothMap
|
D | BluetoothSap.java | 98 synchronized (mConnection) { 101 mContext.unbindService(mConnection); 107 synchronized (mConnection) { 144 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 177 synchronized (mConnection) { in close() 181 mContext.unbindService(mConnection); in close() 393 private ServiceConnection mConnection = new ServiceConnection() { field in BluetoothSap
|
D | BluetoothPan.java | 147 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 167 synchronized (mConnection) { in close() 171 mContext.unbindService(mConnection); in close() 205 synchronized (mConnection) { 208 mContext.unbindService(mConnection); 368 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothPan
|
D | BluetoothA2dp.java | 126 synchronized (mConnection) { 129 mContext.unbindService(mConnection); 135 synchronized (mConnection) { 173 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 192 synchronized (mConnection) { in close() 196 mContext.unbindService(mConnection); in close() 534 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothA2dp
|
D | BluetoothHealth.java | 106 synchronized (mConnection) { 109 mContext.unbindService(mConnection); 115 synchronized (mConnection) { 490 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 509 synchronized (mConnection) { in close() 513 mContext.unbindService(mConnection); in close() 522 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothHealth
|
D | BluetoothInputDevice.java | 213 synchronized (mConnection) { 216 mContext.unbindService(mConnection); 222 synchronized (mConnection) { 262 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind() 281 synchronized (mConnection) { in close() 285 mContext.unbindService(mConnection); in close() 479 private final ServiceConnection mConnection = new ServiceConnection() { field in BluetoothInputDevice
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
D | RegisteredMediaRouteProvider.java | 301 private Connection mConnection; field in RegisteredMediaRouteProvider.Controller 309 mConnection = connection; in attachConnection() 325 if (mConnection != null) { in detachConnection() 326 mConnection.releaseRouteController(mControllerId); in detachConnection() 327 mConnection = null; in detachConnection() 340 if (mConnection != null) { in onSelect() 341 mConnection.selectRoute(mControllerId); in onSelect() 353 if (mConnection != null) { in onUnselect() 354 mConnection.unselectRoute(mControllerId, reason); in onUnselect() 360 if (mConnection != null) { in onSetVolume() [all …]
|
/frameworks/base/core/java/android/speech/ |
D | SpeechRecognizer.java | 117 private Connection mConnection; field in SpeechRecognizer 182 mConnection = null; in onServiceDisconnected() 267 if (mConnection == null) { // first time connection in startListening() 268 mConnection = new Connection(); in startListening() 287 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { in startListening() 289 mConnection = null; in startListening() 407 if (mConnection != null) { in destroy() 408 mContext.unbindService(mConnection); in destroy() 412 mConnection = null; in destroy()
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
D | BordeauxManagerService.java | 58 mConnection, Context.BIND_AUTO_CREATE); in bindServices() 64 if (mStarted && mConnection != null) { in release() 65 context.unbindService(mConnection); in release() 137 static private ServiceConnection mConnection = new ServiceConnection() { field in BordeauxManagerService
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | PacManager.java | 80 private ServiceConnection mConnection; field in PacManager 268 if ((mProxyConnection != null) && (mConnection != null)) { in bind() 273 mConnection = new ServiceConnection() { in bind() 305 mContext.bindService(intent, mConnection, in bind() 348 if (mConnection != null) { in unbind() 349 mContext.unbindService(mConnection); in unbind() 350 mConnection = null; in unbind()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | MessengerTest.java | 34 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerTest 97 mConnection, Context.BIND_AUTO_CREATE); in setUp() 111 getContext().unbindService(mConnection); in tearDown()
|
D | BinderThreadPriorityTest.java | 38 private ServiceConnection mConnection = new ServiceConnection() { field in BinderThreadPriorityTest 65 mConnection, Context.BIND_AUTO_CREATE); in setUp() 93 getContext().unbindService(mConnection); in tearDown()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | AsyncChannel.java | 187 private AsyncChannelConnection mConnection; field in AsyncChannel 226 mConnection = new AsyncChannelConnection(); in connectSrcHandlerToPackageSync() 243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in connectSrcHandlerToPackageSync() 444 mConnection = null; in disconnected() 451 if ((mConnection != null) && (mSrcContext != null)) { in disconnect() 452 mSrcContext.unbindService(mConnection); in disconnect() 453 mConnection = null; in disconnect() 468 if (mConnection == null && mDstMessenger != null && mDeathMonitor!= null) { in disconnect() 861 if (mConnection == null && mDeathMonitor == null) { in linkToDeathMonitor()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 57 private @NonNull final Connection mConnection; field in RemotePrintServiceRecommendationService 136 mConnection = new Connection(callbacks); in RemotePrintServiceRecommendationService() 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, in RemotePrintServiceRecommendationService() 171 mContext.unbindService(mConnection); in close()
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | GsmCdmaCallTrackerTest.java | 159 Connection mConnection = mCTUT.mForegroundCall.getConnections().get(0); in testMOCallDialPickUpHangup() local 160 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup() 173 assertEquals(DisconnectCause.LOCAL, mConnection.getDisconnectCause()); in testMOCallDialPickUpHangup() 264 Connection mConnection = mCTUT.mRingingCall.getConnections().get(0); in testMTCallReject() local 265 assertNotNull(mConnection); in testMTCallReject() 266 assertEquals(DisconnectCause.NOT_DISCONNECTED, mConnection.getDisconnectCause()); in testMTCallReject() 278 assertEquals(DisconnectCause.INCOMING_MISSED, mConnection.getDisconnectCause()); in testMTCallReject()
|