/frameworks/base/tests/testables/src/android/testing/ |
D | TestableContext.java | 181 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/ |
D | PersistentConnectionTest.java | 120 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/ |
D | NetworkScoreServiceTest.java | 809 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/ |
D | GeofenceProxy.java | 96 mContext.bindServiceAsUser(new Intent(mContext, GeofenceHardwareService.class), in bindHardwareGeofence()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 683 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/ |
D | BluetoothPbap.java | 163 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothAvrcpController.java | 143 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothPbapClient.java | 116 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothPan.java | 148 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothSap.java | 145 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothMap.java | 107 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothA2dpSink.java | 184 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothMapClient.java | 127 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothInputHost.java | 245 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
D | BluetoothHealth.java | 491 if (comp == null || !mContext.bindServiceAsUser(intent, mConnection, 0, in doBind()
|
/frameworks/base/core/tests/coretests/src/android/content/ |
D | AbstractCrossUserContentResolverTest.java | 68 mContext.bindServiceAsUser( in setUp()
|
/frameworks/base/services/print/java/com/android/server/print/ |
D | RemotePrintServiceRecommendationService.java | 142 mIsBound = mContext.bindServiceAsUser(serviceIntent, mConnection, in RemotePrintServiceRecommendationService()
|
/frameworks/base/services/core/java/com/android/server/utils/ |
D | ManagedApplicationService.java | 252 if (!mContext.bindServiceAsUser(intent, serviceConnection, in connect()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PersistentConnection.java | 242 final boolean success = mContext.bindServiceAsUser(service, mServiceConnection, in bindInnerLocked()
|
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/ |
D | VoiceInteractionSessionConnection.java | 198 mBound = mContext.bindServiceAsUser(mBindIntent, this, in VoiceInteractionSessionConnection() 231 mFullyBound = mContext.bindServiceAsUser(mBindIntent, mFullConnection, in showLocked()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | EphemeralResolverConnection.java | 193 .bindServiceAsUser(mIntent, mServiceConnection, flags, UserHandle.SYSTEM); in bindLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierServiceBindHelper.java | 232 if (mContext.bindServiceAsUser(carrierService, connection, in rebind()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | RemoteDisplayProviderProxy.java | 193 mBound = mContext.bindServiceAsUser(service, this, in bind()
|
/frameworks/base/services/core/java/com/android/server/telecom/ |
D | TelecomLoaderService.java | 191 if (mContext.bindServiceAsUser(intent, serviceConnection, flags, UserHandle.SYSTEM)) { in connectToTelecom()
|
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/ |
D | ActivityTestMain.java | 319 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM)) { in onCreateOptionsMenu() 342 if (bindServiceAsUser(intent, conn, Context.BIND_AUTO_CREATE, in onCreateOptionsMenu()
|