/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/view/inputmethod/ |
H A D | InputBinding.java | 33 final InputConnection mConnection; field in class:InputBinding 60 mConnection = conn; 74 mConnection = conn; 81 mConnection = null; 91 return mConnection;
|
/frameworks/base/services/print/java/com/android/server/print/ |
H A D | RemotePrintServiceRecommendationService.java | 57 private @NonNull final Connection mConnection; field in class:RemotePrintServiceRecommendationService 136 mConnection = new Connection(callbacks); 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, 171 mContext.unbindService(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 | 118 synchronized (mConnection) { 121 mContext.unbindService(mConnection); 127 synchronized (mConnection) { 163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 195 synchronized (mConnection) { 199 mContext.unbindService(mConnection); 302 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPbap
|
H A D | BluetoothPbapClient.java | 65 synchronized (mConnection) { 68 mContext.unbindService(mConnection); 74 synchronized (mConnection) { 115 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 147 synchronized (mConnection) { 151 mContext.unbindService(mConnection); 286 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPbapClient
|
H A D | BluetoothSap.java | 98 synchronized (mConnection) { 101 mContext.unbindService(mConnection); 107 synchronized (mConnection) { 144 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 177 synchronized (mConnection) { 181 mContext.unbindService(mConnection); 393 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothSap
|
H A D | BluetoothA2dp.java | 133 mContext.unbindService(mConnection); 179 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 202 mContext.unbindService(mConnection); 570 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dp
|
H A D | BluetoothA2dpSink.java | 136 synchronized (mConnection) { 139 mContext.unbindService(mConnection); 145 synchronized (mConnection) { 183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 202 synchronized (mConnection) { 206 mContext.unbindService(mConnection); 481 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dpSink
|
H A D | BluetoothAvrcpController.java | 135 synchronized (mConnection) { 138 mContext.unbindService(mConnection); 144 synchronized (mConnection) { 183 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 202 synchronized (mConnection) { 206 mContext.unbindService(mConnection); 382 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothAvrcpController
|
H A D | BluetoothMap.java | 61 synchronized (mConnection) { 64 mContext.unbindService(mConnection); 70 synchronized (mConnection) { 107 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 139 synchronized (mConnection) { 143 mContext.unbindService(mConnection); 371 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothMap
|
H A D | BluetoothPan.java | 147 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 167 synchronized (mConnection) { 171 mContext.unbindService(mConnection); 205 synchronized (mConnection) { 208 mContext.unbindService(mConnection); 368 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPan
|
H A D | BluetoothHealth.java | 106 synchronized (mConnection) { 109 mContext.unbindService(mConnection); 115 synchronized (mConnection) { 490 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 509 synchronized (mConnection) { 513 mContext.unbindService(mConnection); 522 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHealth
|
H A D | BluetoothInputDevice.java | 213 synchronized (mConnection) { 216 mContext.unbindService(mConnection); 222 synchronized (mConnection) { 262 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 281 synchronized (mConnection) { 285 mContext.unbindService(mConnection); 479 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothInputDevice
|
/frameworks/base/media/java/android/media/ |
H A D | MediaScannerConnection.java | 189 MediaScannerConnection mConnection; field in class:MediaScannerConnection.ClientProxy 211 mConnection.disconnect(); 212 mConnection = null; 216 mConnection.scanFile(mPaths[mNextPath], mimeType); 242 client.mConnection = connection;
|
H A D | MediaHTTPConnection.java | 52 private HttpURLConnection mConnection = null; field in class:MediaHTTPConnection 137 if (mConnection != null) { 140 mConnection.disconnect(); 141 mConnection = null; 184 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); 186 mConnection = (HttpURLConnection)url.openConnection(); 188 mConnection.setConnectTimeout(CONNECT_TIMEOUT_MS); 191 mConnection.setInstanceFollowRedirects(mAllowCrossDomainRedirect); 195 mConnection.setRequestProperty( 201 mConnection [all...] |
/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/services/core/java/com/android/server/connectivity/ |
H A D | PacManager.java | 82 private ServiceConnection mConnection; field in class:PacManager 294 if ((mProxyConnection != null) && (mConnection != null)) { 299 mConnection = new ServiceConnection() { 331 mContext.bindService(intent, mConnection, 374 if (mConnection != null) { 375 mContext.unbindService(mConnection); 376 mConnection = null;
|
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustAgentWrapper.java | 228 private final ServiceConnection mConnection = new ServiceConnection() { field in class:TrustAgentWrapper 285 mBound = context.bindServiceAsUser(intent, mConnection, 420 mContext.unbindService(mConnection);
|
/frameworks/base/services/core/java/com/android/server/utils/ |
H A D | ManagedApplicationService.java | 61 private ServiceConnection mConnection; field in class:ManagedApplicationService 174 if (mConnection != null) { 175 mContext.unbindService(mConnection); 176 mConnection = null; 188 if (mConnection != null || mPendingConnection != null) { 208 mConnection = this; 244 mConnection = null;
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 94 final ServiceConnection mConnection = new ServiceConnection() { field in class:VoiceInteractionManagerServiceImpl 304 mBound = mContext.bindServiceAsUser(intent, mConnection, 339 mContext.unbindService(mConnection);
|
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/ |
H A D | SoundTriggerTestActivity.java | 106 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 116 unbindService(mConnection); 310 private ServiceConnection mConnection = new ServiceConnection() { field in class:SoundTriggerTestActivity
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/imsphone/ |
H A D | ImsPhoneTest.java | 89 Connection mConnection; field in class:ImsPhoneTest 332 mImsPhoneUT.notifyNewRingingConnection(mConnection); 333 verify(mPhone).notifyNewRingingConnectionP(mConnection);
|