/frameworks/base/core/tests/coretests/src/android/os/ |
H A D | MessengerTest.java | 34 private ServiceConnection mConnection = new ServiceConnection() { field in class:MessengerTest 97 mConnection, Context.BIND_AUTO_CREATE); 111 getContext().unbindService(mConnection);
|
H A D | BinderThreadPriorityTest.java | 38 private ServiceConnection mConnection = new ServiceConnection() { field in class:BinderThreadPriorityTest 65 mConnection, Context.BIND_AUTO_CREATE); 93 getContext().unbindService(mConnection);
|
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
H A D | UsbAccessoryBulkTransport.java | 35 private UsbDeviceConnection mConnection; field in class:UsbAccessoryBulkTransport 42 mConnection = connection; 49 mConnection = null; 56 if (mConnection == null) { 59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1); 64 if (mConnection == null) { 67 int result = mConnection.bulkTransfer(mBulkOutEndpoint,
|
/frameworks/base/core/java/android/net/http/ |
H A D | ConnectionThread.java | 45 Connection mConnection; field in class:ConnectionThread 111 mConnection = mConnectionManager.getConnection(mContext, 113 mConnection.processRequests(request); 114 if (mConnection.getCanPersist()) { 115 if (!mConnectionManager.recycleConnection(mConnection)) { 116 mConnection.closeConnection(); 119 mConnection.closeConnection(); 121 mConnection = null; 134 String con = mConnection == null ? "" : mConnection [all...] |
H A D | IdleCache.java | 34 Connection mConnection; field in class:IdleCache.Entry 81 entry.mConnection = connection; 105 ret = entry.mConnection; 107 entry.mConnection = null; 122 entry.mConnection.closeConnection(); 123 entry.mConnection = null; 136 entry.mConnection.closeConnection(); 137 entry.mConnection = null;
|
H A D | Request.java | 57 private Connection mConnection; field in class:Request 159 mConnection = connection; 224 mConnection.getHttpContext()); 294 buf = mConnection.getBuf(); 352 mConnection.setCanPersist(entity, statusLine.getProtocolVersion(), 378 if (mConnection != null) { 379 mConnection.cancel(); 512 HttpsConnection connection = (HttpsConnection)(mConnection); 520 * This should not be called before the mConnection is set. 525 mConnection [all...] |
H A D | RequestHandle.java | 52 private Connection mConnection; field in class:RequestHandle 92 mConnection = conn; 288 if (mConnection != null) { 289 mConnection.processRequests(mRequest); 451 // mConnection is non-null if and only if the requests are synchronous. 452 if (mConnection != null) { 457 mConnection = newHandle.mConnection;
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputBinding.java | 34 final InputConnection mConnection; field in class:InputBinding 61 mConnection = conn; 75 mConnection = conn; 82 mConnection = null; 92 return mConnection;
|
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/ |
H A D | BordeauxManagerService.java | 58 mConnection, Context.BIND_AUTO_CREATE); 64 if (mStarted && mConnection != null) { 65 context.unbindService(mConnection); 137 static private ServiceConnection mConnection = new ServiceConnection() { field in class:BordeauxManagerService
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | BluetoothPbap.java | 119 synchronized (mConnection) { 122 mContext.unbindService(mConnection); 128 synchronized (mConnection) { 164 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 195 synchronized (mConnection) { 199 mContext.unbindService(mConnection); 302 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPbap
|
H A D | BluetoothA2dp.java | 118 synchronized (mConnection) { 121 mContext.unbindService(mConnection); 127 synchronized (mConnection) { 165 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 183 synchronized (mConnection) { 187 mContext.unbindService(mConnection); 516 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dp
|
H A D | BluetoothInputDevice.java | 196 synchronized (mConnection) { 199 mContext.unbindService(mConnection); 205 synchronized (mConnection) { 245 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 263 synchronized (mConnection) { 267 mContext.unbindService(mConnection); 461 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothInputDevice
|
H A D | BluetoothMap.java | 63 synchronized (mConnection) { 66 mContext.unbindService(mConnection); 72 synchronized (mConnection) { 109 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 140 synchronized (mConnection) { 144 mContext.unbindService(mConnection); 372 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothMap
|
H A D | BluetoothPan.java | 149 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 168 synchronized (mConnection) { 172 mContext.unbindService(mConnection); 196 synchronized (mConnection) { 199 mContext.unbindService(mConnection); 353 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPan
|
H A D | BluetoothHeadset.java | 236 synchronized (mConnection) { 239 mContext.unbindService(mConnection); 245 synchronized (mConnection) { 283 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 308 synchronized (mConnection) { 312 mContext.unbindService(mConnection); 888 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHeadset
|
H A D | BluetoothHealth.java | 107 synchronized (mConnection) { 110 mContext.unbindService(mConnection); 116 synchronized (mConnection) { 491 if (comp == null || !mContext.bindService(intent, mConnection, 0)) { 509 synchronized (mConnection) { 513 mContext.unbindService(mConnection); 522 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHealth
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerConnection.java | 185 MediaScannerConnection mConnection; field in class:MediaScannerConnection.ClientProxy 207 mConnection.disconnect(); 211 mConnection.scanFile(mPaths[mNextPath], mimeType); 237 client.mConnection = connection;
|
/frameworks/base/core/java/android/database/sqlite/ |
H A D | SQLiteSession.java | 166 private SQLiteConnection mConnection; field in class:SQLiteSession 259 return mConnection != null; 319 mConnection.execute("BEGIN IMMEDIATE;", null, 323 mConnection.execute("BEGIN EXCLUSIVE;", null, 327 mConnection.execute("BEGIN;", null, cancellationSignal); // might throw 338 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw 399 assert mConnection != null; 437 mConnection.execute("COMMIT;", null, cancellationSignal); // might throw 439 mConnection.execute("ROLLBACK;", null, cancellationSignal); // might throw 514 assert mConnection ! [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | FaceUnlock.java | 132 mConnection, 169 mContext.unbindService(mConnection); 355 private ServiceConnection mConnection = new ServiceConnection() { field in class:FaceUnlock
|
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | PacManager.java | 83 private ServiceConnection mConnection; field in class:PacManager 272 if ((mProxyConnection != null) && (mConnection != null)) { 281 mConnection = new ServiceConnection() { 313 mContext.bindService(intent, mConnection, 356 if (mConnection != null) { 357 mContext.unbindService(mConnection); 358 mConnection = null;
|
H A D | Vpn.java | 103 private Connection mConnection; field in class:Vpn 263 if (mConnection != null) { 265 mConnection.mService.transact(IBinder.LAST_CALL_TRANSACTION, 270 mContext.unbindService(mConnection); 271 mConnection = null; 375 if (mConnection != null) { 376 mContext.unbindService(mConnection); 381 mConnection = connection; 579 if (mConnection != null) { 580 mContext.unbindService(mConnection); [all...] |
/frameworks/base/core/java/android/speech/ |
H A D | SpeechRecognizer.java | 117 private Connection mConnection; field in class:SpeechRecognizer 182 mConnection = null; 267 if (mConnection == null) { // first time connection 268 mConnection = new Connection(); 287 if (!mContext.bindService(serviceIntent, mConnection, Context.BIND_AUTO_CREATE)) { 289 mConnection = null; 399 if (mConnection != null) { 400 mContext.unbindService(mConnection); 404 mConnection = null;
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | AsyncChannel.java | 187 private AsyncChannelConnection mConnection; field in class:AsyncChannel 226 mConnection = new AsyncChannelConnection(); 243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 444 mConnection = null; 451 if ((mConnection != null) && (mSrcContext != null)) { 452 mSrcContext.unbindService(mConnection); 468 if (mConnection == null && mDstMessenger != null && mDeathMonitor!= null) { 850 if (mConnection == null) {
|
/frameworks/base/packages/Keyguard/test/src/com/android/keyguard/test/ |
H A D | KeyguardTestActivity.java | 67 RemoteServiceConnection mConnection; field in class:KeyguardTestActivity 127 if (mConnection == null) { 128 mConnection = new RemoteServiceConnection(); 132 if (!bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RegisteredMediaRouteProvider.java | 301 private Connection mConnection; field in class:RegisteredMediaRouteProvider.Controller 309 mConnection = connection; 325 if (mConnection != null) { 326 mConnection.releaseRouteController(mControllerId); 327 mConnection = null; 340 if (mConnection != null) { 341 mConnection.selectRoute(mControllerId); 348 if (mConnection != null) { 349 mConnection.unselectRoute(mControllerId); 355 if (mConnection ! [all...] |