Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/phone/
DNumberVerificationManagerTest.java49 @Mock private Phone mPhone1; field in NumberVerificationManagerTest
61 when(mPhone1.getServiceState()).thenReturn(ss); in setUp()
62 when(mPhone1.getForegroundCall()).thenReturn(mForegroundCall); in setUp()
63 when(mPhone1.getRingingCall()).thenReturn(mRingingCall); in setUp()
64 when(mPhone1.getBackgroundCall()).thenReturn(mBackgroundCall); in setUp()
78 new NumberVerificationManager(() -> new Phone[]{mPhone1}); in testConcurrentRequestFailure()
88 new NumberVerificationManager(() -> new Phone[]{mPhone1}); in testEcbmFailure()
89 when(mPhone1.isInEcm()).thenReturn(true); in testEcbmFailure()
99 new NumberVerificationManager(() -> new Phone[]{mPhone1}); in testEmergencyCallFailure()
100 when(mPhone1.isInEmergencyCall()).thenReturn(true); in testEmergencyCallFailure()
[all …]
/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDynamicRoutingControllerTest.java66 @Mock private Phone mPhone1; field in DynamicRoutingControllerTest
103 when(mPhoneFactoryProxy.getPhone(eq(SLOT_1))).thenReturn(mPhone1); in setUp()
105 when(mPhone1.getPhoneId()).thenReturn(SLOT_1); in setUp()
107 when(mPhone1.getEmergencyNumberTracker()).thenReturn(mEmergencyNumberTracker); in setUp()
133 assertFalse(mDrc.isDynamicRoutingEnabled(mPhone1)); in testEnabledInitialize()
143 assertFalse(mDrc.isDynamicRoutingEnabled(mPhone1)); in testEnabledCountryChanged()
147 assertTrue(mDrc.isDynamicRoutingEnabled(mPhone1)); in testEnabledCountryChanged()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTelephonyConnectionServiceTest.java258 private Phone mPhone1; field in TelephonyConnectionServiceTest
1773 when(mPhone1.getRingingCall()).thenReturn(mCall2); in testSecondCallDifferentSubWillDisconnect()
1807 when(mPhone1.getRingingCall()).thenReturn(mCall2); in testSecondCallDifferentSubWontDisconnectForDsdaDevice()
2074 verify(mPhone1).dial(anyString(), any(), any()); in testOutgoingCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2110 verify(mPhone1).dial(anyString(), any(), any()); in testEmergencyCallOnOtherSubPutsFirstCallOnHoldForVirtualDsdaDevice()
2146 verify(mPhone1).dial(anyString(), any(), any()); in testEmergencyCallOnOtherSubDisconnectsExistingCallForVirtualDsdaDevice()
3011 .startEmergencyCall(eq(mPhone1), any(), eq(false)); in testDomainSelectionSwitchPhones()
3028 verify(mEmergencyStateTracker).startEmergencyCall(eq(mPhone1), any(), anyBoolean()); in testDomainSelectionSwitchPhones()
3034 assertEquals(mPhone1.getPhoneId(), attr.getSlotIndex()); in testDomainSelectionSwitchPhones()
3080 assertEquals(mPhone1.getPhoneId(), attr.getSlotIndex()); in testOnSelectionTerminatedPerm()
[all …]