Home
last modified time | relevance | path

Searched refs:bindServiceAsUser (Results 1 – 25 of 66) sorted by relevance

123

/frameworks/base/tests/testables/src/android/testing/
DTestableContext.java181 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in TestableContext
185 return super.bindServiceAsUser(service, conn, flags, handler, user); in bindServiceAsUser()
189 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in TestableContext
193 return super.bindServiceAsUser(service, conn, flags, user); in bindServiceAsUser()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DPersistentConnectionTest.java120 when(context.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), anyInt(), in testAll()
135 verify(context).bindServiceAsUser( in testAll()
316 when(context.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), anyInt(), in testReconnectFiresAfterUnbind()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkScoreServiceTest.java809 verify(mContext).bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_notBound()
822 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_alreadyBound()
833 verify(mContext, times(1)).bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bind_alreadyBound()
846 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_bindFails()
873 when(mContext.bindServiceAsUser(MockUtils.checkIntent( in testServiceConnection_unbind_alreadyBound()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceProxy.java96 mContext.bindServiceAsUser(new Intent(mContext, GeofenceHardwareService.class), in bindHardwareGeofence()
/frameworks/base/core/java/android/content/
DContextWrapper.java683 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in ContextWrapper
685 return mBase.bindServiceAsUser(service, conn, flags, user); in bindServiceAsUser()
690 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in ContextWrapper
692 return mBase.bindServiceAsUser(service, conn, flags, handler, user); in bindServiceAsUser()
/frameworks/base/core/java/android/bluetooth/
DBluetoothPbap.java163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothAvrcpController.java143 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothPbapClient.java116 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothPan.java148 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothSap.java145 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothMap.java107 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothA2dpSink.java184 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothMapClient.java127 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothInputHost.java245 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
DBluetoothHealth.java491 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
/frameworks/base/core/tests/coretests/src/android/content/
DAbstractCrossUserContentResolverTest.java68 mContext.bindServiceAsUser( in setUp()
/frameworks/base/services/print/java/com/android/server/print/
DRemotePrintServiceRecommendationService.java142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, in RemotePrintServiceRecommendationService()
/frameworks/base/services/core/java/com/android/server/utils/
DManagedApplicationService.java252 if (!mContext.bindServiceAsUser(intent, serviceConnection, in connect()
/frameworks/base/services/core/java/com/android/server/am/
DPersistentConnection.java242 final boolean success = mContext.bindServiceAsUser(service, mServiceConnection, in bindInnerLocked()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DVoiceInteractionSessionConnection.java198 mBound = mContext.bindServiceAsUser(mBindIntent, this, in VoiceInteractionSessionConnection()
231 mFullyBound = mContext.bindServiceAsUser(mBindIntent, mFullConnection, in showLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DEphemeralResolverConnection.java193 .bindServiceAsUser(mIntent, mServiceConnection, flags, UserHandle.SYSTEM); in bindLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierServiceBindHelper.java232 if (mContext.bindServiceAsUser(carrierService, connection, in rebind()
/frameworks/base/services/core/java/com/android/server/media/
DRemoteDisplayProviderProxy.java193 mBound = mContext.bindServiceAsUser(service, this, in bind()
/frameworks/base/services/core/java/com/android/server/telecom/
DTelecomLoaderService.java191 if (mContext.bindServiceAsUser(intent, serviceConnection, flags, UserHandle.SYSTEM)) { in connectToTelecom()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java319 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM)) { in onCreateOptionsMenu()
342 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, in onCreateOptionsMenu()

123