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.java50 public MockConference(PhoneAccountHandle phoneAccount) { in MockConference() argument
51 super(phoneAccount); in MockConference()
DPhoneAccountOperationsTest.java188 final PhoneAccount phoneAccount = phoneAccountBuilder.build(); in testRegisterPhoneAccount_DisallowEnable() local
189 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
DBaseTelecomTestWithMockServices.java1110 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in isLoggedCall() local
1111 Bundle extras = phoneAccount.getExtras(); in isLoggedCall()
1115 boolean isSelfManaged = (phoneAccount.getCapabilities() in isLoggedCall()
1123 && (phoneAccount.getSupportedUriSchemes().contains(PhoneAccount.SCHEME_TEL) in isLoggedCall()
1124 || phoneAccount.getSupportedUriSchemes().contains(PhoneAccount.SCHEME_SIP)))); in isLoggedCall()
1674 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in assertPhoneAccountEnabled()
1675 return (phoneAccount != null && phoneAccount.isEnabled()); in assertPhoneAccountEnabled()
DSelfManagedConnectionServiceTest.java126 private void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument
137 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()