Searched refs:mConnection (Results 1 - 25 of 47) sorted by last modified time

12

/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DRegisteredMediaRouteProvider.java349 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 DPostMessageServiceConnectionTest.java50 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 DGsmCdmaCallTrackerTest.java56 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 DImsPhoneTest.java89 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 DTelephonyMetricsTest.java85 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 DCarVolumeDialogController.java42 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 DAccessibilityManagerService.java2360 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 DBluetoothManagerService.java939 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 DMmsServiceBroker.java91 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 DPacManager.java84 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 DVpn.java137 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 DTrustAgentWrapper.java352 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 DTvInputHardwareManager.java562 Connection mConnection = mConnections.valueAt(i);
563 pw.println(deviceId + ": " + mConnection);
/frameworks/base/services/core/java/com/android/server/utils/
H A DManagedApplicationService.java95 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 DRemotePrintServiceRecommendationService.java57 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 DReportCanvas.java27 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 DVoiceInteractionManagerServiceImpl.java100 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 DUsbAccessoryBulkTransport.java35 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 DSoundTriggerTestActivity.java106 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 DMainActivity.java45 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 DMediaHTTPConnection.java52 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 DMediaScannerConnection.java189 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 DMtpDevice.java56 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 DBinderThreadPriorityTest.java38 private ServiceConnection mConnection = new ServiceConnection() { field in class:BinderThreadPriorityTest
65 mConnection, Context.BIND_AUTO_CREATE);
93 getContext().unbindService(mConnection);
H A DMessengerTest.java34 private ServiceConnection mConnection = new ServiceConnection() { field in class:MessengerTest
97 mConnection, Context.BIND_AUTO_CREATE);
111 getContext().unbindService(mConnection);

Completed in 596 milliseconds

12