Searched refs:mMockTelecomManager (Results 1 – 7 of 7) sorted by relevance
78 @Mock private TelecomManager mMockTelecomManager; field in HfpClientConnectionServiceTest91 doNothing().when(mMockTelecomManager).addNewIncomingCall(any(), any()); in setUp()92 doNothing().when(mMockTelecomManager).addNewUnknownCall(any(), any()); in setUp()119 doReturn(mMockTelecomManager) in setUp()122 doReturn(getPhoneAccount(TEST_DEVICE)).when(mMockTelecomManager).getPhoneAccount(any()); in setUp()328 doReturn(null).when(mMockTelecomManager).getPhoneAccount(any()); in onCreateIncomingConnection_phoneAccountIsNull_returnsNull()359 doReturn(null).when(mMockTelecomManager).getPhoneAccount(any()); in onCreateOutgoingConnection_phoneAccountIsNull_returnsNull()393 doReturn(null).when(mMockTelecomManager).getPhoneAccount(any()); in onCreateUnknownConnection_phoneAccountIsNull_returnsNull()
60 @Mock private TelecomManager mMockTelecomManager; field in CallInfoTest271 when(mMockTelecomManager.getPhoneAccountsSupportingScheme(PhoneAccount.SCHEME_TEL)) in getBestPhoneAccount()275 when(mMockTelecomManager.getPhoneAccount(testHandle)).thenReturn(fakePhoneAccount); in getBestPhoneAccount()276 mBluetoothInCallService.mTelecomManager = mMockTelecomManager; in getBestPhoneAccount()
123 private TelecomManager mMockTelecomManager; field in SatelliteAccessControllerTest222 mMockTelecomManager); in setUp()273 mMockFeatureFlags, mLooper, mMockLocationManager, mMockTelecomManager, in setUp()342 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(true); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()377 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()406 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()439 when(mMockTelecomManager.isInEmergencyCall()).thenReturn(false); in testRequestIsSatelliteCommunicationAllowedForCurrentLocation()
101 @Mock private TelecomManager mMockTelecomManager; field in CarBluetoothUserServiceTest125 mMockContext.addMockedSystemService(TelecomManager.class, mMockTelecomManager); in setUp()126 when(mMockTelecomManager.getUserSelectedOutgoingPhoneAccount()) in setUp()
303 private TelecomManager mMockTelecomManager; field in ContactsActor357 return mMockTelecomManager; in ContactsActor()407 return mMockTelecomManager; in ContactsActor()456 mMockTelecomManager = Mockito.mock(TelecomManager.class); in ContactsActor()457 when(mMockTelecomManager.getDefaultDialerPackage()).thenReturn(""); in ContactsActor()458 when(mMockTelecomManager.getSystemDialerPackage()).thenReturn(""); in ContactsActor()
60 @Mock TelecomManager mMockTelecomManager; field in TestContext167 return mMockTelecomManager; in getSystemService()
92 @Mock private TelecomManager mMockTelecomManager; field in NormalCallDomainSelectorTest110 doReturn(mMockTelecomManager).when(mMockContext) in setUp()556 doReturn(TelecomManager.TTY_MODE_FULL).when(mMockTelecomManager).getCurrentTtyMode(); in testTtyCallDomainSelection()586 doReturn(TelecomManager.TTY_MODE_OFF).when(mMockTelecomManager).getCurrentTtyMode(); in testTtyCallDomainSelection()