/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/support/customtabs/tests/src/android/support/customtabs/ |
H A D | PostMessageServiceConnectionTest.java | 50 private PostMessageServiceConnection mConnection; field in class:PostMessageServiceConnectionTest 63 mConnection = new PostMessageServiceConnection( 78 mServiceRule.bindService(intent, mConnection, Context.BIND_AUTO_CREATE); 93 mConnection.notifyMessageChannelReady(null); 95 mConnection.postMessage("message1", null); 97 mConnection.postMessage("message2", null);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/car/ |
H A D | CarVolumeDialogController.java | 42 private final ServiceConnection mConnection = new ServiceConnection() { field in class:CarVolumeDialogController 62 mCar = Car.createCar(context, 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/base/core/java/android/bluetooth/ |
H A D | BluetoothAvrcpController.java | 93 synchronized (mConnection) { 96 mContext.unbindService(mConnection); 102 synchronized (mConnection) { 141 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 160 synchronized (mConnection) { 164 mContext.unbindService(mConnection); 289 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothAvrcpController
|
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); 312 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPbap
|
H A D | BluetoothPbapClient.java | 67 synchronized (mConnection) { 70 mContext.unbindService(mConnection); 76 synchronized (mConnection) { 117 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 149 synchronized (mConnection) { 153 mContext.unbindService(mConnection); 293 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); 404 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothSap
|
H A D | BluetoothA2dp.java | 186 mContext.unbindService(mConnection); 232 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 255 mContext.unbindService(mConnection); 796 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dp
|
H A D | BluetoothA2dpSink.java | 137 synchronized (mConnection) { 140 mContext.unbindService(mConnection); 146 synchronized (mConnection) { 184 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 203 synchronized (mConnection) { 207 mContext.unbindService(mConnection); 484 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothA2dpSink
|
H A D | BluetoothMap.java | 64 synchronized (mConnection) { 67 mContext.unbindService(mConnection); 73 synchronized (mConnection) { 110 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 142 synchronized (mConnection) { 146 mContext.unbindService(mConnection); 385 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothMap
|
H A D | BluetoothMapClient.java | 81 synchronized (mConnection) { 84 mContext.unbindService(mConnection); 90 synchronized (mConnection) { 127 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 159 synchronized (mConnection) { 163 mContext.unbindService(mConnection); 396 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothMapClient
|
H A D | BluetoothPan.java | 148 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, 168 synchronized (mConnection) { 172 mContext.unbindService(mConnection); 206 synchronized (mConnection) { 209 mContext.unbindService(mConnection); 371 private final ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothPan
|
/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 138 if (mConnection != null) { 147 mConnection.disconnect(); 148 mConnection = null; 191 mConnection = (HttpURLConnection)url.openConnection(Proxy.NO_PROXY); 193 mConnection = (HttpURLConnection)url.openConnection(); 195 mConnection.setConnectTimeout(CONNECT_TIMEOUT_MS); 198 mConnection.setInstanceFollowRedirects(mAllowCrossDomainRedirect); 202 mConnection.setRequestProperty( 208 mConnection [all...] |
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/report/ |
H A D | ReportCanvas.java | 27 private final UsbDeviceConnection mConnection; field in class:ReportCanvas 35 mConnection = connection; 39 * @returns the UsbDeviceConnection member (mConnection). 42 return mConnection;
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
H A D | GsmCdmaCallTrackerTest.java | 56 GsmCdmaConnection mConnection; field in class:GsmCdmaCallTrackerTest 422 mCTUT.mConnections[0] = mConnection; 435 verify(mConnection).onDisconnect(DisconnectCause.ERROR_UNSPECIFIED);
|
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/ |
H A D | TelephonyMetricsTest.java | 85 private GsmCdmaConnection mConnection; field in class:TelephonyMetricsTest 458 doReturn(Call.State.DIALING).when(mConnection).getState(); 459 mMetrics.writeRilDial(mPhone.getPhoneId(), mConnection, 2, mUusInfo); 460 doReturn(Call.State.DISCONNECTED).when(mConnection).getState(); 461 mMetrics.writeRilHangup(mPhone.getPhoneId(), mConnection, 3);
|
/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/core/java/android/hardware/usb/ |
H A D | UsbRequest.java | 63 private UsbDeviceConnection mConnection; field in class:UsbRequest 94 mConnection = Preconditions.checkNotNull(connection, "connection"); 112 mConnection = null;
|
/frameworks/base/packages/Osu/src/com/android/hotspot2/app/ |
H A D | MainActivity.java | 45 private final ServiceConnection mConnection = new ServiceConnection() { field in class:MainActivity 71 unbindService(mConnection); 94 bindService(new Intent(this, OSUService.class), mConnection, 0);
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
H A D | PacManager.java | 84 private ServiceConnection mConnection; field in class:PacManager 302 if ((mProxyConnection != null) && (mConnection != null)) { 307 mConnection = new ServiceConnection() { 339 mContext.bindService(intent, mConnection, 382 if (mConnection != null) { 383 mContext.unbindService(mConnection); 384 mConnection = null;
|