/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/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/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/imsphone/ |
H A D | ImsPhoneTest.java | 89 Connection mConnection; field in class:ImsPhoneTest 332 mImsPhoneUT.notifyNewRingingConnection(mConnection); 333 verify(mPhone).notifyNewRingingConnectionP(mConnection);
|
/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/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/services/accessibility/java/com/android/server/accessibility/ |
H A D | AccessibilityManagerService.java | 2360 private final IAccessibilityInteractionConnection mConnection; field in class:AccessibilityManagerService.AccessibilityConnectionWrapper 2366 mConnection = connection; 2370 mConnection.asBinder().linkToDeath(this, 0); 2374 mConnection.asBinder().unlinkToDeath(this, 0); 3378 connection = mPictureInPictureActionReplacingConnection.mConnection; 4083 if (wrapper != null && wrapper.mConnection != null) { 4084 return wrapper.mConnection; 4124 mPictureInPictureActionReplacingConnection.mConnection, interactionId,
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | BluetoothManagerService.java | 939 mContext.unbindService(mConnection); 1342 private BluetoothServiceConnection mConnection = new BluetoothServiceConnection(); field in class:BluetoothManagerService 1364 if (!doBind(i, mConnection, 1750 mContext.unbindService(mConnection); 1812 if (!doBind(i, mConnection,Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, 1936 doBind(i, mConnection, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, UserHandle.CURRENT); 2072 mContext.unbindService(mConnection);
|
H A D | MmsServiceBroker.java | 91 private ServiceConnection mConnection = new ServiceConnection() { field in class:MmsServiceBroker 241 if (!mContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE)) {
|
/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;
|
H A D | Vpn.java | 137 private Connection mConnection; field in class:Vpn 636 if (mConnection != null) { 638 mConnection.mService.transact(IBinder.LAST_CALL_TRANSACTION, 643 mContext.unbindService(mConnection); 644 mConnection = null; 894 Connection oldConnection = mConnection; 920 mConnection = connection; 954 mConnection = oldConnection; 1261 if (mConnection != null) { 1262 mContext.unbindService(mConnection); [all...] |
/frameworks/base/services/core/java/com/android/server/trust/ |
H A D | TrustAgentWrapper.java | 352 private final ServiceConnection mConnection = new ServiceConnection() { field in class:TrustAgentWrapper 409 mBound = context.bindServiceAsUser(intent, mConnection, 557 mContext.unbindService(mConnection);
|
/frameworks/base/services/core/java/com/android/server/tv/ |
H A D | TvInputHardwareManager.java | 562 Connection mConnection = mConnections.valueAt(i); 563 pw.println(deviceId + ": " + 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/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/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/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
H A D | VoiceInteractionManagerServiceImpl.java | 100 final ServiceConnection mConnection = new ServiceConnection() { field in class:VoiceInteractionManagerServiceImpl 332 mBound = mContext.bindServiceAsUser(intent, mConnection, 367 mContext.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/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/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/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/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/tests/coretests/src/android/os/ |
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);
|
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);
|