Searched refs:mMockTelecomManager (Results 1 – 3 of 3) sorted by relevance
72 private TelecomManager mMockTelecomManager; field in UiCallManagerTest97 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()
283 private TelecomManager mMockTelecomManager; field in ContactsActor337 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()
55 @Mock TelecomManager mMockTelecomManager; field in TestContext132 return mMockTelecomManager; in getSystemService()