Home
last modified time | relevance | path

Searched refs:mMockTelecomManager (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Car/Dialer/tests/unittests/src/com/android/car/dialer/telecom/
DUiCallManagerTest.java72 private TelecomManager mMockTelecomManager; field in UiCallManagerTest
97 mUiCallManager = new UiCallManager(mMockContext, mMockTelecomManager, in setup()
120 verify(mMockTelecomManager, times(timesCalled)).placeCall(uriCaptor.capture(), isNull()); in checkPlaceCall()
145 mUiCallManager = new UiCallManager(mMockContext, mMockTelecomManager, in testGetMuted_InCallServiceIsNull()
173 mUiCallManager = new UiCallManager(mMockContext, mMockTelecomManager, in testGetSupportedAudioRouteMask_InCallServiceIsNull()
223 when(mMockTelecomManager.getCallCapablePhoneAccounts()).thenReturn(Collections.EMPTY_LIST); in noPhoneAccounts_emergencyCallNotSupported()
233 when(mMockTelecomManager.getCallCapablePhoneAccounts()).thenReturn( in hasPhoneAccountWithEmergencyCallCapability_emergencyCallSupported()
235 when(mMockTelecomManager.getPhoneAccount(eq(mockPhoneAccountHandle))).thenReturn( in hasPhoneAccountWithEmergencyCallCapability_emergencyCallSupported()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java283 private TelecomManager mMockTelecomManager; field in ContactsActor
337 return mMockTelecomManager; in ContactsActor()
387 return mMockTelecomManager; in ContactsActor()
427 mMockTelecomManager = Mockito.mock(TelecomManager.class); in ContactsActor()
428 when(mMockTelecomManager.getDefaultDialerPackage()).thenReturn(""); in ContactsActor()
429 when(mMockTelecomManager.getSystemDialerPackage()).thenReturn(""); in ContactsActor()
/packages/services/Telephony/tests/src/com/android/
DTestContext.java55 @Mock TelecomManager mMockTelecomManager; field in TestContext
132 return mMockTelecomManager; in getSystemService()