/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | PhoneAccountOperationsTest.java | 43 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in PhoneAccountOperationsTest 73 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 83 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 96 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) 131 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 133 TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 159 TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_NotEnabledAutomatically() 171 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testRegisterPhoneAccount_DisallowEnable() 191 TEST_PHONE_ACCOUNT_HANDLE); in testRegisterPhoneAccount_DisallowEnable() 206 oldAccounts.contains(TEST_PHONE_ACCOUNT_HANDLE)); in testRegisterPhoneAccount_ListEnabledAccounts() [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 | DefaultPhoneAccountTest.java | 55 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testDefaultIsSet() 59 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, defaultOutgoing); in testDefaultIsSet() 83 TestUtils.TEST_PHONE_ACCOUNT_HANDLE)); in testSetUserSelectedOutgoingPhoneAccount() 86 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, handle); in testSetUserSelectedOutgoingPhoneAccount() 90 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, defaultOutgoing); in testSetUserSelectedOutgoingPhoneAccount()
|
D | PhoneAccountTest.java | 30 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer() 36 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer()
|
D | CallScreeningServiceTest.java | 45 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = new PhoneAccountHandle( field in CallScreeningServiceTest 50 TEST_PHONE_ACCOUNT_HANDLE, TestUtils.ACCOUNT_LABEL) 83 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 200 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in addNewIncomingCall() 228 TestUtils.enablePhoneAccount(getInstrumentation(), TEST_PHONE_ACCOUNT_HANDLE); 230 assertPhoneAccountEnabled(TEST_PHONE_ACCOUNT_HANDLE);
|
D | AdhocConferenceTest.java | 59 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 92 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onAnswer() 115 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConference_onReject() 142 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testAddNewIncomingConferenceFailed() 152 mTelecomManager.addNewIncomingConference(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extra); in testConferenceCallAddConferenceParticipants()
|
D | PhoneAccountSuggestionServiceTest.java | 18 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 52 TestUtils.enablePhoneAccount(getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setUp() 66 mTelecomManager.unregisterPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 82 add(new PhoneAccountSuggestion(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, in testSuggestionFlow() 122 add(new PhoneAccountSuggestion(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, in testSuggestionTimeout() 234 .filter(s -> TEST_PHONE_ACCOUNT_HANDLE.equals(s.getPhoneAccountHandle())) in testPartialSuggestions()
|
D | OutgoingCallTest.java | 150 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testPhoneStateListenerInvokedOnOutgoingEmergencyCall() 219 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testExtraPhoneAccountHandleAvailable() 225 getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testExtraPhoneAccountHandleAvailable() 228 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, conn.getPhoneAccountHandle()); in testExtraPhoneAccountHandleAvailable() 261 TestUtils.enablePhoneAccount(getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAccountSelectionAvailable()
|
D | NonUiInCallServiceTest.java | 3 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 33 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
|
D | ConnectionServiceTest.java | 72 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, in testAddExistingConnection() 277 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, in testCallDirectionIncoming() 433 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE, 471 CtsConnectionService.addExistingConnectionToTelecom(TEST_PHONE_ACCOUNT_HANDLE,
|
D | CallRedirectionServiceTest.java | 131 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithRedirectedGateway() 159 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testRedirectedCallWithPostDialDigits() 201 assertEquals(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testPlaceCallUnmodified()
|
D | ThirdPartyCallScreeningServiceTest.java | 322 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNoPostCallActivityWhenAudioProcessing() 363 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNoPostCallActivityForIncomingEmergencyCall() 414 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addIncoming()
|
D | BaseTelecomTestWithMockServices.java | 334 tearDownConnectionService(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in tearDown() 366 TestUtils.enablePhoneAccount(getInstrumentation(), TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 368 assertPhoneAccountEnabled(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 375 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 377 assertPhoneAccountIsDefault(TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in setupConnectionService() 585 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addAndVerifyNewFailedIncomingCall() 623 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in addNewIncomingCall() 1094 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in placeNewCallWithPhoneAccount()
|
D | ThirdPartyInCallServiceAppOpsPermissionTest.java | 19 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE;
|
D | IncomingCallTest.java | 208 assertFalse(mTelecomManager.getPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE) in testAddNewIncomingCall_PhoneAccountNotEnabled()
|
D | BackgroundCallAudioTest.java | 4 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 641 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in setupIncomingCallWithCallScreening()
|
D | TestUtils.java | 82 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in TestUtils 124 TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL)
|
D | CarModeInCallServiceTest.java | 584 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in placeCarModeCall()
|
D | SelfManagedConnectionServiceTest.java | 104 assertFalse(phoneAccountHandles.contains(TestUtils.TEST_PHONE_ACCOUNT_HANDLE)); in testTelecomManagerGetSelfManagedPhoneAccounts()
|
D | ConferenceTest.java | 352 new DisconnectCause(DisconnectCause.CANCELED), TEST_PHONE_ACCOUNT_HANDLE); in testCreateFailedConference()
|
D | RemoteConnectionTest.java | 21 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE; 171 mTelecomManager.addNewIncomingConference(TEST_PHONE_ACCOUNT_HANDLE, null); in testRemoteIncomingConference()
|
D | ExtendedInCallServiceTest.java | 400 mTelecomManager.addNewIncomingCall(TEST_PHONE_ACCOUNT_HANDLE, extras); in testIncomingCallFromBlockedNumber_IsRejected()
|
D | CallDetailsTest.java | 149 assertEquals(TEST_PHONE_ACCOUNT_HANDLE, mCall.getDetails().getAccountHandle()); in testAccountHandle()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/ |
D | PhoneAccountUtils.java | 37 public static final PhoneAccountHandle TEST_PHONE_ACCOUNT_HANDLE = field in PhoneAccountUtils 42 TEST_PHONE_ACCOUNT_HANDLE, TEST_PHONE_ACCOUNT_LABEL) 101 return telecomManager.getPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in getPhoneAccount() 111 telecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in unRegisterTestPhoneAccount()
|
D | IncomingCallTestActivity.java | 125 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()
|