Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DInCallControllerTests.java217 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 …]
DCallRedirectionProcessorTest.java141 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()
DCallScreeningServiceFilterTest.java122 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/
DCarTest.java173 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/
DVendorServiceControllerTest.java253 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/
DCalendarSyncFeatureTest.java75 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/
DNotificationMsgFeatureTest.java76 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/
DCarUserNoticeServiceTest.java219 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/
DDriverDistractionExperimentalFeatureServiceTest.java745 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/
DHostEmulationManager.java312 if (mContext.bindServiceAsUser(aidIntent, mConnection, in bindServiceIfNeededLocked()
371 if (mContext.bindServiceAsUser(intent, mPaymentConnection, in bindPaymentServiceLocked()
DHostNfcFEmulationManager.java234 if (mContext.bindServiceAsUser(bindIntent, mConnection, in bindServiceIfNeededLocked()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DRestrictedProfilePinServiceConnection.java86 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in bindPinService()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/trust/
DTrustedDeviceAgentService.java51 bindServiceAsUser(intent, mServiceConnection, Context.BIND_AUTO_CREATE, UserHandle.SYSTEM); in onCreate()
/packages/services/Car/service/src/com/android/car/pm/
DAppBlockingPolicyProxy.java83 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, in connect()
DVendorServiceController.java309 return mContext.bindServiceAsUser(intent, this, BIND_AUTO_CREATE, mHandler, mUser); in startOrBindService()
/packages/services/Car/service/src/com/android/car/
DPerUserCarServiceHelper.java159 boolean bindSuccess = mContext.bindServiceAsUser(startIntent, mUserServiceConnection, in bindToPerUserCarService()
DCarExperimentalFeatureServiceController.java167 return mContext.bindServiceAsUser(intent, mServiceConnection, in bindService()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/cluster/
DInstrumentClusterServiceTest.java95 doReturn(true).when(mContext).bindServiceAsUser(any(), any(), anyInt(), any()); in setUp()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallScreeningServiceHelper.java225 if (context.bindServiceAsUser( in bindCallScreeningService()
DServiceBinder.java94 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/feature/
DRemoteFeature.java231 boolean success = mContext.bindServiceAsUser(intent, mServiceConnection, in bindToService()
/packages/services/Telecomm/src/com/android/server/telecom/callredirection/
DCallRedirectionProcessor.java81 if (mContext.bindServiceAsUser( in process()
/packages/services/Car/service/src/com/android/car/user/
DCarUserNoticeService.java328 boolean bound = mContext.bindServiceAsUser(mServiceIntent, mUiServiceConnection, in startNoticeUiIfNecessary()
/packages/apps/Car/CompanionDeviceSupport/src/com/android/car/companiondevicesupport/activity/
DAssociatedDeviceViewModel.java85 getApplication().bindServiceAsUser(intent, mConnection, Context.BIND_AUTO_CREATE, in AssociatedDeviceViewModel()
/packages/services/Car/service/src/com/android/car/cluster/
DInstrumentClusterService.java407 return mContext.bindServiceAsUser(intent, mRendererServiceConnection, in bindInstrumentClusterRendererService()

12