Home
last modified time | relevance | path

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

/packages/services/Telephony/tests/src/com/android/services/telephony/domainselection/
DDynamicRoutingControllerTest.java67 @Mock private EmergencyNumberTracker mEmergencyNumberTracker; field in DynamicRoutingControllerTest
106 when(mPhone0.getEmergencyNumberTracker()).thenReturn(mEmergencyNumberTracker); in setUp()
107 when(mPhone1.getEmergencyNumberTracker()).thenReturn(mEmergencyNumberTracker); in setUp()
108 when(mEmergencyNumberTracker.getEmergencyNumbers(anyString())) in setUp()
162 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("110"))).thenReturn(nums); in testDynamicRouting()
167 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("111"))).thenReturn(nums); in testDynamicRouting()
172 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("117"))).thenReturn(nums); in testDynamicRouting()
176 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("118"))).thenReturn(nums); in testDynamicRouting()
180 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("119"))).thenReturn(nums); in testDynamicRouting()
185 when(mEmergencyNumberTracker.getEmergencyNumbers(eq("200"))).thenReturn(nums); in testDynamicRouting()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnection.java82 EmergencyNumberTracker mEmergencyNumberTracker; field in TestTelephonyConnection
152 when(mEmergencyNumberTracker.getEmergencyNumber(anyString())).thenReturn(null); in TestTelephonyConnection()
153 when(mMockPhone.getEmergencyNumberTracker()).thenReturn(mEmergencyNumberTracker); in TestTelephonyConnection()
DTelephonyConnectionServiceTest.java242 @Mock EmergencyNumberTracker mEmergencyNumberTracker; field in TelephonyConnectionServiceTest
2489 doReturn(emergencyNumber).when(mEmergencyNumberTracker).getEmergencyNumber(anyString()); in testDomainSelectionNormalRoutingEmergencyNumber()
2490 doReturn(Arrays.asList(emergencyNumber)).when(mEmergencyNumberTracker).getEmergencyNumbers( in testDomainSelectionNormalRoutingEmergencyNumber()
2550 doReturn(emergencyNumber).when(mEmergencyNumberTracker).getEmergencyNumber(anyString()); in testDomainSelectionNormalRoutingEmergencyNumberAndDiscarded()
2551 doReturn(Arrays.asList(emergencyNumber)).when(mEmergencyNumberTracker).getEmergencyNumbers( in testDomainSelectionNormalRoutingEmergencyNumberAndDiscarded()
2603 doReturn(emergencyNumber).when(mEmergencyNumberTracker).getEmergencyNumber(anyString()); in testDomainSelectionDialedSimEmergencyNumberOnlyFalse()
2604 doReturn(Arrays.asList(emergencyNumber)).when(mEmergencyNumberTracker).getEmergencyNumbers( in testDomainSelectionDialedSimEmergencyNumberOnlyFalse()
2606 doReturn(false).when(mEmergencyNumberTracker).isEmergencyNumber(anyString()); in testDomainSelectionDialedSimEmergencyNumberOnlyFalse()
2654 doReturn(emergencyNumber).when(mEmergencyNumberTracker).getEmergencyNumber(anyString()); in testDomainSelectionDialedSimEmergencyNumberOnlyTrue()
2655 doReturn(Arrays.asList(emergencyNumber)).when(mEmergencyNumberTracker).getEmergencyNumbers( in testDomainSelectionDialedSimEmergencyNumberOnlyTrue()
[all …]