Home
last modified time | relevance | path

Searched refs:phoneAccount (Results 1 – 13 of 13) sorted by relevance

/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/
DCallBlockingTest.java54 final PhoneAccount phoneAccount = PhoneAccount.builder( in testRegisterPhoneAccount() local
61 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount()
77 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(getPhoneAccountHandle()); in testIncomingCallFromBlockedNumberIsRejected() local
78 assertNotNull(phoneAccount); in testIncomingCallFromBlockedNumberIsRejected()
84 mTelecomManager.addNewIncomingCall(phoneAccount.getAccountHandle(), bundle); in testIncomingCallFromBlockedNumberIsRejected()
153 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountRegistered()
154 return isRegistered ? phoneAccount != null : phoneAccount == null; in assertPhoneAccountRegistered()
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-40086/src/android/security/cts/CVE_2023_40086/
DDeviceTest.java125 for (PhoneAccount phoneAccount : phoneAccounts) { in testPocCVE_2023_40086()
126 if (phoneAccount != null in testPocCVE_2023_40086()
127 && phoneAccount in testPocCVE_2023_40086()
131 return phoneAccount.getIcon() != null in testPocCVE_2023_40086()
132 && phoneAccount.getIcon().getUri() in testPocCVE_2023_40086()
134 && phoneAccount in testPocCVE_2023_40086()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/transaction/
DPhoneAccountTransaction.java33 public PhoneAccountTransaction(TestAppTransaction result, PhoneAccount phoneAccount) { in PhoneAccountTransaction() argument
35 mPhoneAccount = phoneAccount; in PhoneAccountTransaction()
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/
DCtsSelfManagedConnectionServiceControl.java65 public void registerPhoneAccount(PhoneAccount phoneAccount) {
67 mTelecomManager.registerPhoneAccount(phoneAccount);
/cts/tests/tests/telecom/aidl/android/telecom/cts/carmodetestapp/
DICtsCarModeInCallServiceControl.aidl34 void registerPhoneAccount(in PhoneAccount phoneAccount); in registerPhoneAccount() argument
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/
DICtsSelfManagedConnectionServiceControl.aidl27 void registerPhoneAccount(in PhoneAccount phoneAccount); in registerPhoneAccount() argument
/cts/tests/tests/telecom/src/android/telecom/cts/
DCallScreeningServiceTest.java256 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
257 return (phoneAccount != null && phoneAccount.isEnabled());
DMockConference.java53 public MockConference(PhoneAccountHandle phoneAccount) { in MockConference() argument
54 super(phoneAccount); in MockConference()
DBaseTelecomTestWithMockServices.java648 void registerAndEnablePhoneAccount(PhoneAccount phoneAccount) throws Exception { in registerAndEnablePhoneAccount() argument
649 mTelecomManager.registerPhoneAccount(phoneAccount); in registerAndEnablePhoneAccount()
650 TestUtils.enablePhoneAccount(getInstrumentation(), phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()
652 assertPhoneAccountEnabled(phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()
689 void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument
700 assertPhoneAccountEquals(phoneAccount, registeredAccount); in verifyAccountRegistration()
1306 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in isLoggedCall() local
1307 Bundle extras = phoneAccount.getExtras(); in isLoggedCall()
1311 boolean isSelfManaged = (phoneAccount.getCapabilities() in isLoggedCall()
1319 && (phoneAccount.getSupportedUriSchemes().contains(PhoneAccount.SCHEME_TEL) in isLoggedCall()
[all …]
DPhoneAccountOperationsTest.java288 final PhoneAccount phoneAccount = phoneAccountBuilder.build(); in testRegisterPhoneAccount_DisallowEnable() local
289 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
DPhoneAccountRegistrarTest.java818 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(account.getAccountHandle()); in verifyAccountIsDisabled() local
819 assertNotNull(phoneAccount); in verifyAccountIsDisabled()
820 assertFalse(phoneAccount.isEnabled()); in verifyAccountIsDisabled()
/cts/tests/tests/telecom/src/android/telecom/cts/carmodetestapp/
DCtsCarModeInCallServiceControl.java122 public void registerPhoneAccount(PhoneAccount phoneAccount) {
125 telecomManager.registerPhoneAccount(phoneAccount);
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DPhoneAccountTest.java279 final PhoneAccount phoneAccount = PhoneAccount.builder( in registerPhoneAccount() local
287 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount()
291 return phoneAccount; in registerPhoneAccount()