Home
last modified time | relevance | path

Searched refs:phoneAccount (Results 1 – 8 of 8) 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/tests/tests/telecom/src/android/telecom/cts/
DDefaultPhoneAccountTest.java212 private void registerAndEnablePhoneAccount(PhoneAccount phoneAccount) throws Exception { in registerAndEnablePhoneAccount() argument
213 mTelecomManager.registerPhoneAccount(phoneAccount); in registerAndEnablePhoneAccount()
214 TestUtils.enablePhoneAccount(getInstrumentation(), phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()
216 assertPhoneAccountEnabled(phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()
DCallScreeningServiceTest.java243 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);
244 return (phoneAccount != null && phoneAccount.isEnabled());
DMockConference.java48 public MockConference(PhoneAccountHandle phoneAccount) { in MockConference() argument
49 super(phoneAccount); in MockConference()
DBaseTelecomTestWithMockServices.java949 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in isLoggedCall() local
950 Bundle extras = phoneAccount.getExtras(); in isLoggedCall()
954 boolean isSelfManaged = (phoneAccount.getCapabilities() in isLoggedCall()
962 && (phoneAccount.getSupportedUriSchemes().contains(PhoneAccount.SCHEME_TEL) in isLoggedCall()
963 || phoneAccount.getSupportedUriSchemes().contains(PhoneAccount.SCHEME_SIP)))); in isLoggedCall()
1494 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountEnabled()
1495 return (phoneAccount != null && phoneAccount.isEnabled()); in assertPhoneAccountEnabled()
DPhoneAccountOperationsTest.java188 final PhoneAccount phoneAccount = phoneAccountBuilder.build(); in testRegisterPhoneAccount_DisallowEnable() local
189 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
DSelfManagedConnectionServiceTest.java125 private void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument
136 assertPhoneAccountEquals(phoneAccount, registeredAccount); in verifyAccountRegistration()
/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()