Home
last modified time | relevance | path

Searched refs:testNumber (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/telecom/src/android/telecom/cts/
DIncomingCallTest.java124 Uri testNumber = createTestNumber(); in testAddNewIncomingCall_CorrectPhoneAccountHandle() local
125 addAndVerifyNewIncomingCall(testNumber, null); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
136 verifyCallLogging(testNumber, CallLog.Calls.INCOMING_TYPE, in testAddNewIncomingCall_CorrectPhoneAccountHandle()
145 Uri testNumber = createTestNumber(); in testPhoneStateListenerInvokedOnIncomingCall() local
146 addAndVerifyNewIncomingCall(testNumber, null); in testPhoneStateListenerInvokedOnIncomingCall()
149 testNumber.getSchemeSpecificPart()); in testPhoneStateListenerInvokedOnIncomingCall()
182 Uri testNumber = createTestNumber(); in testRingOnIncomingCall() local
183 addAndVerifyNewIncomingCall(testNumber, null); in testRingOnIncomingCall()
186 testNumber.getSchemeSpecificPart()); in testRingOnIncomingCall()
220 Uri testNumber = createTestNumber(); in testExtraCallHasInBandRingtone() local
[all …]
DNullBindingCallScreeningServiceTest.java72 Uri testNumber = createRandomTestNumber(); in testNullBindingOnIncomingCall() local
74 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, testNumber); in testNullBindingOnIncomingCall()
90 Uri testNumber = createRandomTestNumber(); in testNullBindingOnOutgoingCall() local
99 mTelecomManager.placeCall(testNumber, extras); in testNullBindingOnOutgoingCall()
DThirdPartyCallScreeningServiceTest.java324 Uri testNumber = createRandomTestNumber(); in testNoPostCallActivityWhenAudioProcessing() local
326 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, testNumber); in testNoPostCallActivityWhenAudioProcessing()
411 Uri testNumber = createRandomTestNumber(); in addIncoming() local
414 testNumber.getSchemeSpecificPart()); in addIncoming()
424 extras.putParcelable(TelecomManager.EXTRA_INCOMING_CALL_ADDRESS, testNumber); in addIncoming()
442 return testNumber; in addIncoming()
446 Uri testNumber = addIncoming(true, addContact, false); in addIncomingAndVerifyAllowed() local
458 assertEquals(testNumber.getSchemeSpecificPart(), number); in addIncomingAndVerifyAllowed()
471 Uri testNumber = addIncoming(false, addContact, false); in addIncomingAndVerifyBlocked() local
489 assertEquals(testNumber.getSchemeSpecificPart(), number); in addIncomingAndVerifyBlocked()
[all …]
DExternalCallTest.java224 Uri testNumber = createRandomTestNumber(); in placeExternalCall() local
226 extras.putParcelable(TestUtils.EXTRA_PHONE_NUMBER, testNumber); in placeExternalCall()
228 verifyConnectionForOutgoingCall(testNumber); in placeExternalCall()
DEmergencyCallOnSimCallManagerTest.java295 public void setupForEmergencyCalling(String testNumber) throws Exception { in setupForEmergencyCalling() argument
297 TestUtils.addTestEmergencyNumber(getInstrumentation(), testNumber); in setupForEmergencyCalling() local
DConnectionServiceTest.java375 Uri testNumber = createTestNumber(); in testCallFilteringCompleteSignalInContacts() local
377 testNumber.getSchemeSpecificPart()); in testCallFilteringCompleteSignalInContacts()
397 addAndVerifyNewIncomingCall(testNumber, null); in testCallFilteringCompleteSignalInContacts()
DOutgoingCallTest.java368 Uri testNumber = createTestNumber(); in testAccountSelectionAvailable() local
369 mTelecomManager.placeCall(testNumber, null); in testAccountSelectionAvailable()
DBaseTelecomTestWithMockServices.java452 protected void setupForEmergencyCalling(String testNumber) throws Exception { in setupForEmergencyCalling() argument
454 TestUtils.addTestEmergencyNumber(getInstrumentation(), testNumber); in setupForEmergencyCalling() local
1339 Uri testNumber, int expectedLogType, PhoneAccountHandle handle) { in verifyCallLogging() argument
1342 testNumber); in verifyCallLogging()
1362 Uri testNumber) { in getLatestCallLogCursorIfMatchesUri() argument
1378 if (testNumber.getSchemeSpecificPart().equals(number)) { in getLatestCallLogCursorIfMatchesUri()
DTestUtils.java577 String testNumber) throws Exception { in addTestEmergencyNumber() argument
578 executeShellCommand(instr, COMMAND_ADD_TEST_EMERGENCY_NUMBER + testNumber); in addTestEmergencyNumber()
/cts/tests/tests/keystore/src/android/keystore/cts/
DAESCipherNistCavpKatTest.java206 int testNumber = 0; in runTestsForKatFile() local
249 testNumber = Integer.parseInt(value); in runTestsForKatFile()
297 throw new RuntimeException("Test #" + testNumber + " failed", e); in runTestsForKatFile()
/cts/tests/tests/telephony/current/src/android/telephony/cts/util/
DTelephonyUtils.java241 public static void addTestEmergencyNumber(Instrumentation instr, String testNumber) in addTestEmergencyNumber() argument
243 executeShellCommand(instr, COMMAND_ADD_TEST_EMERGENCY_NUMBER + testNumber); in addTestEmergencyNumber()
246 public static void removeTestEmergencyNumber(Instrumentation instr, String testNumber) in removeTestEmergencyNumber() argument
248 executeShellCommand(instr, COMMAND_REMOVE_TEST_EMERGENCY_NUMBER + testNumber); in removeTestEmergencyNumber()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsCallingBase.java612 protected void setupForEmergencyCalling(String testNumber) throws Exception { in setupForEmergencyCalling() argument
616 TestUtils.addTestEmergencyNumber(InstrumentationRegistry.getInstrumentation(), testNumber); in setupForEmergencyCalling() local