/cts/hostsidetests/numberblocking/app/src/com/android/cts/numberblocking/hostside/ |
D | CallBlockingTest.java | 54 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/ |
D | DeviceTest.java | 125 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/ |
D | PhoneAccountTransaction.java | 33 public PhoneAccountTransaction(TestAppTransaction result, PhoneAccount phoneAccount) { in PhoneAccountTransaction() argument 35 mPhoneAccount = phoneAccount; in PhoneAccountTransaction()
|
/cts/tests/tests/telecom/src/android/telecom/cts/selfmanagedcstestapp/ |
D | CtsSelfManagedConnectionServiceControl.java | 65 public void registerPhoneAccount(PhoneAccount phoneAccount) { 67 mTelecomManager.registerPhoneAccount(phoneAccount);
|
/cts/tests/tests/telecom/aidl/android/telecom/cts/carmodetestapp/ |
D | ICtsCarModeInCallServiceControl.aidl | 34 void registerPhoneAccount(in PhoneAccount phoneAccount); in registerPhoneAccount() argument
|
/cts/tests/tests/telecom/aidl/android/telecom/cts/selfmanagedcstestapp/ |
D | ICtsSelfManagedConnectionServiceControl.aidl | 27 void registerPhoneAccount(in PhoneAccount phoneAccount); in registerPhoneAccount() argument
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | CallScreeningServiceTest.java | 256 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); 257 return (phoneAccount != null && phoneAccount.isEnabled());
|
D | MockConference.java | 53 public MockConference(PhoneAccountHandle phoneAccount) { in MockConference() argument 54 super(phoneAccount); in MockConference()
|
D | BaseTelecomTestWithMockServices.java | 648 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 …]
|
D | PhoneAccountOperationsTest.java | 288 final PhoneAccount phoneAccount = phoneAccountBuilder.build(); in testRegisterPhoneAccount_DisallowEnable() local 289 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
|
D | PhoneAccountRegistrarTest.java | 818 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/ |
D | CtsCarModeInCallServiceControl.java | 122 public void registerPhoneAccount(PhoneAccount phoneAccount) { 125 telecomManager.registerPhoneAccount(phoneAccount);
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | PhoneAccountTest.java | 279 final PhoneAccount phoneAccount = PhoneAccount.builder( in registerPhoneAccount() local 287 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount() 291 return phoneAccount; in registerPhoneAccount()
|