/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/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/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/media/java/android/media/ |
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...] |
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;
|
/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/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/services/core/java/com/android/server/utils/ |
H A D | ManagedApplicationService.java | 95 private ServiceConnection mConnection; field in class:ManagedApplicationService 281 if (mConnection == null) { 285 mContext.unbindService(mConnection); 286 mConnection = null; 296 if (mConnection != null) { 310 mConnection = new ServiceConnection() { 316 if (mConnection != this) { 336 if (mConnection != this) { 377 if (mConnection != this) { 397 if (!mContext.bindServiceAsUser(intent, mConnection, flag [all...] |
/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 | 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
|
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 | 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
|
/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; 407 if (mConnection != null) { 408 mContext.unbindService(mConnection); 412 mConnection = null;
|
/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/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | RegisteredMediaRouteProvider.java | 349 private Connection mConnection; field in class:RegisteredMediaRouteProvider.Controller 358 mConnection = connection; 374 if (mConnection != null) { 375 mConnection.releaseRouteController(mControllerId); 376 mConnection = null; 389 if (mConnection != null) { 390 mConnection.selectRoute(mControllerId); 402 if (mConnection != null) { 403 mConnection.unselectRoute(mControllerId, reason); 409 if (mConnection ! [all...] |
/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;
|
/frameworks/base/media/java/android/mtp/ |
H A D | MtpDevice.java | 56 private UsbDeviceConnection mConnection; field in class:MtpDevice 97 mConnection = connection; 112 if (mConnection != null) { 117 mConnection.close(); 118 mConnection = null;
|
/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/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);
|