/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 217 verify(mMockContext).bindServiceAsUser( in testBindToService_NoServicesFound_IncomingCall() 252 verify(mMockContext).bindServiceAsUser( in testBindToService_NoServicesFound_OutgoingCall() 284 when(mMockContext.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), in testBindToService_DefaultDialer_NoEmergency() 304 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_DefaultDialer_NoEmergency() 337 when(mMockContext.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), in testBindToService_SystemDialer_Emergency() 363 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_SystemDialer_Emergency() 415 when(mMockContext.bindServiceAsUser(any(Intent.class), serviceConnectionCaptor.capture(), in testBindToService_SystemDialer_Crash() 441 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_SystemDialer_Crash() 471 verify(mMockContext, times(2)).bindServiceAsUser( in testBindToService_SystemDialer_Crash() 502 when(mMockContext.bindServiceAsUser( in testBindToService_DefaultDialer_FallBackToSystem() [all …]
|
D | CallRedirectionProcessorTest.java | 141 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in setUp() 199 verify(mContext, times(0)).bindServiceAsUser(any(Intent.class), in testNoUserDefinedServiceNoCarrierSerivce() 214 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testCarrierServiceTimeoutNoUserDefinedService() 234 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutNoCarrierService() 263 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 271 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 287 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 300 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testProcessGatewayCall() 323 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testStripPostDialDigits()
|
D | CallScreeningServiceFilterTest.java | 122 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in setUp() 144 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in testContextFailToBind() 189 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in testNoBindingCondition() 326 .bindServiceAsUser(intentCaptor.capture(), serviceCaptor.capture(), in verifyBindingIntent()
|
/packages/services/Car/tests/carservice_unit_test/src/android/car/ |
D | CarTest.java | 173 when(mContext.bindServiceAsUser(anyObject(), anyObject(), anyInt(), in expectBindService() 189 verify(mContext, times(1)).bindServiceAsUser(anyObject(), anyObject(), anyInt(), in assertServiceBoundOnce() 284 verify(mContext, times(1)).bindServiceAsUser(anyObject(), anyObject(), anyInt(), in testCreateCarWithStatusChangeDirectCallInsideMainForServiceAlreadyReady()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 253 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in VendorServiceControllerTest.ServiceLauncherContext 265 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, in bindServiceAsUser() method in VendorServiceControllerTest.ServiceLauncherContext 267 return bindServiceAsUser(service, conn, flags, null, user); in bindServiceAsUser()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/calendarsync/ |
D | CalendarSyncFeatureTest.java | 75 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true); in setUp() 97 verify(mContext).bindServiceAsUser(any(), serviceConnectionCaptor.capture(), anyInt(), in stop()
|
/packages/apps/Car/CompanionDeviceSupport/tests/unit/src/com/android/car/companiondevicesupport/feature/notificationmsg/ |
D | NotificationMsgFeatureTest.java | 76 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any())).thenReturn(true); in setUp() 107 verify(mContext).bindServiceAsUser(any(), serviceConnectionCaptor.capture(), anyInt(), in stopShouldDestroyDelegate()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserNoticeServiceTest.java | 219 verify(mMockContext, times(1)).bindServiceAsUser(any(), any(), anyInt(), any()); in uiNotShownIfKeyDisabled() 234 when(mMockContext.bindServiceAsUser(any(), any(), anyInt(), any())) in mockBindService()
|
/packages/services/Car/experimental/tests/experimentalcarservice_unit_test/src/com/android/experimentalcar/ |
D | DriverDistractionExperimentalFeatureServiceTest.java | 745 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in DriverDistractionExperimentalFeatureServiceTest.ServiceLauncherContext 755 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, in bindServiceAsUser() method in DriverDistractionExperimentalFeatureServiceTest.ServiceLauncherContext 757 return bindServiceAsUser(service, conn, flags, null, user); in bindServiceAsUser()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | HostEmulationManager.java | 312 if (mContext.bindServiceAsUser(aidIntent, mConnection, in bindServiceIfNeededLocked() 371 if (mContext.bindServiceAsUser(intent, mPaymentConnection, in bindPaymentServiceLocked()
|
D | HostNfcFEmulationManager.java | 234 if (mContext.bindServiceAsUser(bindIntent, mConnection, in bindServiceIfNeededLocked()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | RestrictedProfilePinServiceConnection.java | 86 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in bindPinService()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/ |
D | TrustedDeviceAgentService.java | 51 bindServiceAsUser(intent, mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in onCreate()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 83 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, in connect()
|
D | VendorServiceController.java | 309 return mContext.bindServiceAsUser(intent, this, BIND_AUTO_CREATE, mHandler, mUser); in startOrBindService()
|
/packages/services/Car/service/src/com/android/car/ |
D | PerUserCarServiceHelper.java | 159 boolean bindSuccess = mContext.bindServiceAsUser(startIntent, mUserServiceConnection, in bindToPerUserCarService()
|
D | CarExperimentalFeatureServiceController.java | 167 return mContext.bindServiceAsUser(intent, mServiceConnection, in bindService()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/ |
D | InstrumentClusterServiceTest.java | 95 doReturn(true).when(mContext).bindServiceAsUser(any(), any(), anyInt(), any()); in setUp()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallScreeningServiceHelper.java | 225 if (context.bindServiceAsUser( in bindCallScreeningService()
|
D | ServiceBinder.java | 94 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/ |
D | RemoteFeature.java | 231 boolean success = mContext.bindServiceAsUser(intent, mServiceConnection, in bindToService()
|
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/ |
D | CallRedirectionProcessor.java | 81 if (mContext.bindServiceAsUser( in process()
|
/packages/services/Car/service/src/com/android/car/user/ |
D | CarUserNoticeService.java | 328 boolean bound = mContext.bindServiceAsUser(mServiceIntent, mUiServiceConnection, in startNoticeUiIfNecessary()
|
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/ |
D | AssociatedDeviceViewModel.java | 85 getApplication().bindServiceAsUser(intent, mConnection, Context.BIND_AUTO_CREATE, in AssociatedDeviceViewModel()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterService.java | 407 return mContext.bindServiceAsUser(intent, mRendererServiceConnection, in bindInstrumentClusterRendererService()
|