Home
last modified time | relevance | path

Searched refs:TEST_PHONE_ACCOUNT_HANDLE (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/tests/telecom/src/android/telecom/cts/
DPhoneAccountOperationsTest.java46 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 …]
DPhoneAccountSuggestionTest.java26 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()
DSimCallManagerTest.java43 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()
DOutgoingCallTest.java229 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()
DCallScreeningServiceTest.java44 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);
DAdhocConferenceTest.java60 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()
DDefaultPhoneAccountTest.java75 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()
DEmergencyCallTests.java241 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()
DPhoneAccountTest.java33 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer()
39 TestUtils.TEST_PHONE_ACCOUNT_HANDLE, ACCOUNT_LABEL) in testPhoneAccountCapabilitiesForCallComposer()
DNonUiInCallServiceWoExportTest.java19 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE;
75 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
DNullBindingCallScreeningServiceTest.java79 mTelecomManager.addNewIncomingCall(TestUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in testNullBindingOnIncomingCall()
94 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testNullBindingOnOutgoingCall()
DCallRedirectionServiceTest.java133 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()
DConnectionServiceTest.java88 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,
DNonUiInCallServiceTest.java3 import static android.telecom.cts.TestUtils.TEST_PHONE_ACCOUNT_HANDLE;
37 mTelecomManager.unregisterPhoneAccount(TEST_PHONE_ACCOUNT_HANDLE); in tearDown()
DBackgroundCallAudioTest.java4 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()
DThirdPartyCallScreeningServiceTest.java327 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()
DBaseTelecomTestWithMockServices.java359 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()
DIncomingCallTest.java137 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in testAddNewIncomingCall_CorrectPhoneAccountHandle()
265 assertFalse(mTelecomManager.getPhoneAccount(TestUtils.TEST_PHONE_ACCOUNT_HANDLE) in testAddNewIncomingCall_PhoneAccountNotEnabled()
DTestUtils.java93 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)
DCarModeInCallServiceTest.java650 TestUtils.TEST_PHONE_ACCOUNT_HANDLE); in placeCarModeCall()
DRemoteConnectionTest.java21 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()
DCallDetailsTest.java22 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/
DPhoneAccountUtils.java39 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()
DOutgoingCallTestActivity.java98 PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE.equals(defaultOutgoingAccount)) { in onCreate()
DIncomingCallTestActivity.java129 telecomManager.addNewIncomingCall(PhoneAccountUtils.TEST_PHONE_ACCOUNT_HANDLE, extras); in onCreate()

12