/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountOperationsTest.java | 46 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in PhoneAccountOperationsTest 79 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 89 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 102 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 114 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 162 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 164 TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 187 PhoneAccount testAcct = tm.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_simultaneousCallingRestrictions() 194 tm.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_simultaneousCallingRestrictions() 208 PhoneAccount testAcct = tm.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_simultaneousCallingRestrictions() [all …]
|
D | PhoneAccountSuggestionTest.java | 26 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, in testAccessors() 28 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, suggestion.getPhoneAccountHandle()); in testAccessors() 35 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, in testParcelUnparcel()
|
D | SimCallManagerTest.java | 43 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in SimCallManagerTest 47 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 97 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager() 116 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager() 127 TEST_PHONE_ACCOUNT_HANDLE, in testGetSimCallManager() 132 assertNotSame(TEST_PHONE_ACCOUNT_HANDLE, mTelecomManager.getSimCallManager()); in testGetSimCallManager()
|
D | OutgoingCallTest.java | 229 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall() 303 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testExtraPhoneAccountHandleAvailable() 311 getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testExtraPhoneAccountHandleAvailable() 314 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, conn.getPhoneAccountHandle()); in testExtraPhoneAccountHandleAvailable() 321 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testExtraPhoneAccountHandleAvailable() 341 TestUtils.enablePhoneAccount(getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAccountSelectionAvailable() 350 call.phoneAccountSelected(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, false); in testAccountSelectionAvailable() 355 if (TestUtils.TEST_PHONE_ACCOUNT_HANDLE.equals( in testAccountSelectionAvailable() 373 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAccountSelectionAvailable()
|
D | CallScreeningServiceTest.java | 44 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = new PhoneAccountHandle( field in CallScreeningServiceTest 49 TEST_PHONE_ACCOUNT_HANDLE, TestUtils.ACCOUNT_LABEL) 82 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 199 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in addNewIncomingCall() 235 TestUtils.enablePhoneAccount(getInstrumentation(), TEST_PHONE_ACCOUNT_HANDLE); 237 assertPhoneAccountEnabled(TEST_PHONE_ACCOUNT_HANDLE);
|
D | AdhocConferenceTest.java | 60 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 71 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testStartConference() 102 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onAnswer() 125 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onReject() 152 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConferenceFailed() 162 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testConferenceCallAddConferenceParticipants()
|
D | DefaultPhoneAccountTest.java | 75 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testDefaultIsSet() 79 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, defaultOutgoing); in testDefaultIsSet() 103 TestUtils.TEST_PHONE_ACCOUNT_HANDLE)); in testSetUserSelectedOutgoingPhoneAccount() 106 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testSetUserSelectedOutgoingPhoneAccount() 110 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, defaultOutgoing); in testSetUserSelectedOutgoingPhoneAccount()
|
D | EmergencyCallTests.java | 241 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testOngoingEmergencyCallAndReceiveIncomingCall() 273 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testIncomingRingingCallAndPlaceEmergencyCall() 317 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testActiveCallAndIncomingRingingCallAndPlaceEmergencyCall() 329 assertIsOutgoingCallPermitted(false, TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testEmergencyCallAndNoAdditionalCallPermitted() 330 assertIsIncomingCallPermitted(false, TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testEmergencyCallAndNoAdditionalCallPermitted()
|
D | PhoneAccountTest.java | 33 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer() 39 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer()
|
D | NonUiInCallServiceWoExportTest.java | 19 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 75 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
|
D | NullBindingCallScreeningServiceTest.java | 79 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNullBindingOnIncomingCall() 94 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testNullBindingOnOutgoingCall()
|
D | CallRedirectionServiceTest.java | 133 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithRedirectedGateway() 161 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithPostDialDigits() 203 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testPlaceCallUnmodified() 243 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testServiceUnbindOnNullBinding()
|
D | ConnectionServiceTest.java | 88 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, in testAddExistingConnection() 294 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, in testCallDirectionIncoming() 456 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in testCallLogForBlockedNumberIncomingCall() 525 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, 563 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE,
|
D | NonUiInCallServiceTest.java | 3 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 37 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
|
D | BackgroundCallAudioTest.java | 4 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 270 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAudioProcessingFromCallScreeningAllowPlaceEmergencyCall() 312 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAudioProcessingFromIncomingActivePlaceEmergencyCall() 411 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAudioProcessOutgoingActiveEmergencyCallPlaced() 645 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in setupIncomingCallWithCallScreening()
|
D | ThirdPartyCallScreeningServiceTest.java | 327 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNoPostCallActivityWhenAudioProcessing() 368 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNoPostCallActivityForIncomingEmergencyCall() 425 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addIncoming()
|
D | BaseTelecomTestWithMockServices.java | 359 tearDownConnectionService(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 410 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 413 assertPhoneAccountEnabled(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 421 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 423 assertPhoneAccountIsDefault(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 719 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addAndVerifyNewFailedIncomingCall() 757 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addNewIncomingCall() 1265 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in placeNewCallWithPhoneAccount()
|
D | IncomingCallTest.java | 137 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAddNewIncomingCall_CorrectPhoneAccountHandle() 265 assertFalse(mTelecomManager.getPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE) in testAddNewIncomingCall_PhoneAccountNotEnabled()
|
D | TestUtils.java | 93 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in TestUtils 147 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 164 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL)
|
D | CarModeInCallServiceTest.java | 650 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in placeCarModeCall()
|
D | RemoteConnectionTest.java | 21 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 217 mTelecomManager.addNewIncomingConference(TEST_PHONE_ACCOUNT_HANDLE, null); in testRemoteIncomingConference() 264 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testRemoteOutgoingConference()
|
D | CallDetailsTest.java | 22 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 193 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testAccountHandle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | PhoneAccountUtils.java | 39 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in PhoneAccountUtils 44 TEST_PHONE_ACCOUNT_HANDLE, TEST_PHONE_ACCOUNT_LABEL) 103 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount() 125 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()
|
D | OutgoingCallTestActivity.java | 98 PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE.equals(defaultOutgoingAccount)) { in onCreate()
|
D | IncomingCallTestActivity.java | 129 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
|