Searched refs:mContextProxy (Results 1 – 2 of 2) sorted by relevance
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | CallDiagnosticServiceControllerTest.java | 79 private CallDiagnosticServiceController.ContextProxy mContextProxy; field in CallDiagnosticServiceControllerTest 105 when(mContextProxy.queryIntentServicesAsUser(any(Intent.class), anyInt(), anyInt())) in setUp() 107 when(mContextProxy.bindServiceAsUser(any(Intent.class), any(ServiceConnection.class), in setUp() 109 when(mContextProxy.getCurrentUserHandle()).thenReturn(UserHandle.CURRENT); in setUp() 111 mCallDiagnosticService = new CallDiagnosticServiceController(mContextProxy, in setUp() 125 verify(mContextProxy, never()).bindServiceAsUser(any(Intent.class), in testNoBindOnNonSimCall() 140 verify(mContextProxy, never()).bindServiceAsUser(any(Intent.class), in testNoBindOnExternalCall() 154 verify(mContextProxy).bindServiceAsUser(intentCaptor.capture(), in testAddSimCallCausesBind() 178 verify(mContextProxy).unbindService(eq(mServiceConnection)); in testRemoveSimCallCausesRemoveAndUnbind() 193 verify(mContextProxy, never()).unbindService(eq(mServiceConnection)); in testAddTwo() [all …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CallDiagnosticServiceController.java | 231 private final ContextProxy mContextProxy; field in CallDiagnosticServiceController 242 mContextProxy = contextProxy; in CallDiagnosticServiceController() 378 boolean bound = bindCallDiagnosticService(mContextProxy.getCurrentUserHandle(), in maybeBindCallDiagnosticService() 404 List<ResolveInfo> entries = mContextProxy.queryIntentServicesAsUser(intent, 0, in bindCallDiagnosticService() 427 if (mContextProxy.bindServiceAsUser( in bindCallDiagnosticService() 446 mContextProxy.unbindService(mConnection); in maybeUnbindCallScreeningService()
|