Home
last modified time | relevance | path

Searched refs:TEST_EMERGENCY_NUMBER (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/telephony/current/src/android/telephony/satellite/cts/
DCarrierRoamingSatelliteSmsTest.java65 private static final String TEST_EMERGENCY_NUMBER = "+14154255486"; field in CarrierRoamingSatelliteSmsTest
149 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testSendEmergencySms() local
151 sendMessage(TEST_EMERGENCY_NUMBER, Activity.RESULT_OK); in testSendEmergencySms()
155 sendMessage(TEST_EMERGENCY_NUMBER, Activity.RESULT_OK); in testSendEmergencySms()
159 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testSendEmergencySms() local
177 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testSendEmergencySmsAutomaticallyOnSatelliteConnected() local
179 sendMessageAutomaticallyAfterSatelliteConnectionIsRestored(TEST_EMERGENCY_NUMBER); in testSendEmergencySmsAutomaticallyOnSatelliteConnected()
182 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testSendEmergencySmsAutomaticallyOnSatelliteConnected() local
221 TEST_EMERGENCY_NUMBER); in testSendEmergencySmsImsEnabled() local
224 sendMessageImsEnabled(TEST_EMERGENCY_NUMBER); in testSendEmergencySmsImsEnabled()
[all …]
/cts/tests/tests/telecom/src/android/telecom/cts/
DOutgoingCallTest.java56 private static final String TEST_EMERGENCY_NUMBER = "9998887776655443210"; field in OutgoingCallTest
116 TestUtils.removeTestEmergencyNumber(getInstrumentation(), TEST_EMERGENCY_NUMBER); in tearDown() local
211 TestUtils.addTestEmergencyNumber(getInstrumentation(), TEST_EMERGENCY_NUMBER); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall() local
230 mTelecomManager.placeCall(Uri.fromParts("tel", TEST_EMERGENCY_NUMBER, null), extras); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall()
232 verifyPhoneStateListenerCallbacksForEmergencyCall(TEST_EMERGENCY_NUMBER); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall()
234 TestUtils.removeTestEmergencyNumber(getInstrumentation(), TEST_EMERGENCY_NUMBER); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall() local
243 Objects.equals(numberObj.getNumber(), TEST_EMERGENCY_NUMBER)); in doesEmergencyNumberListContainTestNumber()
DTelecomManagerTest.java42 private static final String TEST_EMERGENCY_NUMBER = "5553637"; field in TelecomManagerTest
43 private static final Uri TEST_EMERGENCY_URI = Uri.fromParts("tel", TEST_EMERGENCY_NUMBER, null);
160 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testIsInEmergencyCall_ongoingEmergencyCall()
DExternalCallTest.java124 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testPullCallCapabilityRemovedInEmergencyCall()
146 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testTryToPullCallWhileInEmergencyCall()
DInCallServiceFlagChecker.java48 TestUtils.removeTestEmergencyNumber(getInstrumentation(), TEST_EMERGENCY_NUMBER); in tearDown() local
DEmergencyCallOnSimCallManagerTest.java194 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testQueryLocationForEmergencyReturnLocation()
255 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testQueryLocationForEmergencyReturnTimeoutException()
DBackgroundCallAudioTest.java232 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall()
277 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testAudioProcessingFromIncomingActivePlaceEmergencyCall()
385 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testAudioProcessOutgoingActiveEmergencyCallPlaced()
DThirdPartyCallScreeningServiceTest.java346 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testNoPostCallActivityForOutgoingEmergencyCall()
361 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testNoPostCallActivityForIncomingEmergencyCall()
DAdhocConferenceTest.java52 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in setUp()
DEmergencyCallTests.java61 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in setUp()
DCallRedirectionServiceTest.java100 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in setUp()
DSelfManagedConnectionServiceTest.java1239 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testDisconnectSelfManagedCallForEmergency()
1282 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testEmergencyCallOngoingNewOutgoingCall()
1310 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testEmergencyCallOngoingIncomingCall()
DBaseTelecomTestWithMockServices.java107 public static final String TEST_EMERGENCY_NUMBER = "5553637"; field in BaseTelecomTestWithMockServices
108 public static final Uri TEST_EMERGENCY_URI = Uri.fromParts("tel", TEST_EMERGENCY_NUMBER, null);
DRemoteConnectionTest.java1397 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in addRemoteConnectionOutgoingEmergencyCall()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DDomainSelectionServiceTestOnMockModem.java149 new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests()
229 Call call = placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDomainSelectionServiceEmergencyCallCanceled()
254 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDomainSelectionServiceEmergencyCallTerminateSelection()
276 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDomainSelectionServiceEmergencyCallReselectDomain()
319 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDomainSelectionServiceEmergencyCall()
333 assertEquals(TEST_EMERGENCY_NUMBER, attr.getAddress().getSchemeSpecificPart()); in testDomainSelectionServiceEmergencyCall()
363 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDomainSelectionServiceEmergencyNetworkScan()
DPhoneStateListenerTest.java81 private static final String TEST_EMERGENCY_NUMBER = "998877665544332211"; field in PhoneStateListenerTest
970 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testOnOutgoingSmsEmergencyNumberChanged() local
992 (sm) -> sm.sendTextMessage(TEST_EMERGENCY_NUMBER, null, in testOnOutgoingSmsEmergencyNumberChanged()
1001 assertEquals(TEST_EMERGENCY_NUMBER, emergencySmsInfo.first.getNumber()); in testOnOutgoingSmsEmergencyNumberChanged()
1008 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testOnOutgoingSmsEmergencyNumberChanged() local
DTelephonyCallbackTest.java87 private static final String TEST_EMERGENCY_NUMBER = "998877665544332211"; field in TelephonyCallbackTest
1197 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback() local
1205 TEST_EMERGENCY_NUMBER, null, in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback()
1218 InstrumentationRegistry.getInstrumentation(), TEST_EMERGENCY_NUMBER); in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback() local
1222 assertEquals(mOnOutgoingSmsEmergencyNumberChanged.getNumber(), TEST_EMERGENCY_NUMBER); in testOnOutgoingSmsEmergencyNumberChangedByRegisterTelephonyCallback() local
DDomainSelectionCallingBase.java53 protected static final String TEST_EMERGENCY_NUMBER = "998877665544332211"; field in DomainSelectionCallingBase
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DEmergencyCallDomainSelectionTestOnMockModem.java126 private static final String TEST_EMERGENCY_NUMBER = "998877665544332211"; field in EmergencyCallDomainSelectionTestOnMockModem
220 new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests()
974 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDefaultWifiImsRegisteredScanTimeoutSelectWifiImsPdn()
1005 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDefaultWifiImsRegisteredCellularTimeoutSelectWifiImsPdn()
1036 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testDefaultCsThenPs()
1097 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testOutGoingEmergencyCall()
1104 assertTrue(testCb.waitForOutgoingEmergencyCall(TEST_EMERGENCY_NUMBER)); in testOutGoingEmergencyCall()
1193 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in verifyCsDialed()
1210 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in verifyPsDialed()
1245 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in verifyScanPreferred()
DDomainSelectionCrossSimRedialingTestOnMockModem.java98 private static final String TEST_EMERGENCY_NUMBER = "998877665544332211"; field in DomainSelectionCrossSimRedialingTestOnMockModem
199 sMockModemManager.notifyEmergencyNumberList(0, new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests()
200 sMockModemManager.notifyEmergencyNumberList(1, new String[] { TEST_EMERGENCY_NUMBER }); in beforeAllTests()
315 placeOutgoingCall(TEST_EMERGENCY_NUMBER); in testCrossStackSlot0ThenSlot1()
DImsCallingBase.java69 protected static final String TEST_EMERGENCY_NUMBER = "5553637"; field in ImsCallingBase
71 Uri.fromParts("tel", TEST_EMERGENCY_NUMBER, null);
DImsCallingTest.java1386 testCb.setTestEmergencyNumber(TEST_EMERGENCY_NUMBER); in testOutGoingEmergencyCall()
1387 setupForEmergencyCalling(TEST_EMERGENCY_NUMBER); in testOutGoingEmergencyCall()
1404 assertTrue(testCb.waitForOutgoingEmergencyCall(TEST_EMERGENCY_NUMBER)); in testOutGoingEmergencyCall()