/packages/services/Car/tests/carservice_unit_test/src/com/android/car/vms/ |
D | VmsClientManagerTest.java | 248 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), any())).thenReturn(false); in testSystemUserUnlocked_BindFailed() 258 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), any())).thenThrow( in testSystemUserUnlocked_BindException() 300 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), any())) in testUserUnlocked_BindFailed() 311 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.of(mUserId)))) in testUserUnlocked_UserBindFailed() 322 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), any())) in testUserUnlocked_BindException() 333 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.SYSTEM))) in testUserUnlocked_SystemRebind() 339 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.SYSTEM))) in testUserUnlocked_SystemRebind() 348 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.SYSTEM))) in testUserUnlocked_SystemRebind_BindFailed() 354 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.SYSTEM))) in testUserUnlocked_SystemRebind_BindFailed() 365 when(mContext.bindServiceAsUser(any(), any(), anyInt(), any(), eq(UserHandle.SYSTEM))) in testUserUnlocked_SystemRebind_BindException() [all …]
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | InCallControllerTests.java | 187 verify(mMockContext).bindServiceAsUser( in testBindToService_NoServicesFound_IncomingCall() 222 verify(mMockContext).bindServiceAsUser( in testBindToService_NoServicesFound_OutgoingCall() 254 when(mMockContext.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), in testBindToService_DefaultDialer_NoEmergency() 274 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_DefaultDialer_NoEmergency() 307 when(mMockContext.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), in testBindToService_SystemDialer_Emergency() 333 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_SystemDialer_Emergency() 380 when(mMockContext.bindServiceAsUser( in testBindToService_DefaultDialer_FallBackToSystem() 403 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_DefaultDialer_FallBackToSystem() 436 verify(mMockContext, times(2)).bindServiceAsUser( in testBindToService_DefaultDialer_FallBackToSystem() 473 verify(mMockContext, times(1)).bindServiceAsUser( in testBindToService_IncludeExternal() [all …]
|
D | CallRedirectionProcessorTest.java | 125 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in setUp() 171 verify(mContext, times(0)).bindServiceAsUser(any(Intent.class), in testNoUserDefinedServiceNoCarrierSerivce() 186 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testCarrierServiceTimeoutNoUserDefinedService() 206 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutNoCarrierService() 235 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 243 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 259 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testUserDefinedServiceTimeoutAndCarrierServiceTimeout() 272 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testProcessGatewayCall()
|
D | CallScreeningServiceControllerTest.java | 158 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in setUp() 188 verify(mContext, times(3)).bindServiceAsUser(any(Intent.class), any(ServiceConnection in testAllAllowCall() 214 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), any(ServiceConnection in testCarrierAllowCallAndContactExists() 242 verify(mContext, times(1)).bindServiceAsUser(any(Intent.class), in testCarrierCallScreeningRejectCall() 288 verify(mContext, times(3)).bindServiceAsUser(any(Intent.class), in testDefaultDialerRejectCall() 336 verify(mContext, times(3)).bindServiceAsUser(any(Intent.class), in testUserChosenRejectCall()
|
D | CallScreeningServiceFilterTest.java | 161 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in setUp() 204 when(mContext.bindServiceAsUser(nullable(Intent.class), nullable(ServiceConnection.class), in testContextFailToBind() 351 verify(mContext).bindServiceAsUser(intentCaptor.capture(), serviceCaptor.capture(), in verifyBindingIntent()
|
D | ComponentContextFixture.java | 135 public boolean bindServiceAsUser( in bindServiceAsUser() method in ComponentContextFixture.FakeApplicationContext
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/pm/ |
D | VendorServiceControllerTest.java | 197 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, int flags, in bindServiceAsUser() method in VendorServiceControllerTest.ServiceLauncherContext 205 public boolean bindServiceAsUser(Intent service, ServiceConnection conn, in bindServiceAsUser() method in VendorServiceControllerTest.ServiceLauncherContext 207 return bindServiceAsUser(service, conn, flags, null, user); in bindServiceAsUser()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | HostEmulationManager.java | 313 if (mContext.bindServiceAsUser(aidIntent, mConnection, in bindServiceIfNeededLocked() 372 if (mContext.bindServiceAsUser(intent, mPaymentConnection, in bindPaymentServiceLocked()
|
D | HostNfcFEmulationManager.java | 235 if (mContext.bindServiceAsUser(bindIntent, mConnection, in bindServiceIfNeededLocked()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | AppBlockingPolicyProxy.java | 82 mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE | Context.BIND_IMPORTANT, in connect()
|
D | VendorServiceController.java | 302 return mContext.bindServiceAsUser(intent, this, BIND_AUTO_CREATE, mHandler, mUser); in startOrBindService()
|
/packages/services/Car/service/src/com/android/car/ |
D | PerUserCarServiceHelper.java | 174 boolean bindSuccess = mContext.bindServiceAsUser(startIntent, mUserServiceConnection, in bindToPerUserCarService()
|
D | CarProjectionService.java | 212 mContext.bindServiceAsUser(serviceIntent, mConnection, Context.BIND_AUTO_CREATE, in bindToService()
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallScreeningServiceHelper.java | 219 if (context.bindServiceAsUser( in bindCallScreeningService()
|
D | ServiceBinder.java | 94 isBound = mContext.bindServiceAsUser(serviceIntent, connection, bindingFlags, in bind()
|
D | InCallController.java | 235 if (!mContext.bindServiceAsUser(intent, mServiceConnection, in connect()
|
/packages/services/Car/service/src/com/android/car/cluster/ |
D | InstrumentClusterService.java | 224 return mContext.bindServiceAsUser(intent, mRendererServiceConnection, in bindInstrumentClusterRendererService()
|
/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/vms/ |
D | VmsClientManager.java | 382 mIsBound = mContext.bindServiceAsUser(intent, this, Context.BIND_AUTO_CREATE, in bind()
|
/packages/services/Car/car-lib/src/android/car/ |
D | Car.java | 952 boolean bound = mContext.bindServiceAsUser(intent, mServiceConnectionListener, in startCarService()
|
/packages/apps/Car/Cluster/src/android/car/cluster/ |
D | MainClusterActivity.java | 213 bindServiceAsUser(intent, mClusterRenderingServiceConnection, 0, UserHandle.SYSTEM); in onCreate()
|