Searched refs:phoneAccount (Results 1 – 8 of 8) sorted by relevance
54 final PhoneAccount phoneAccount = PhoneAccount.builder( in testRegisterPhoneAccount() local61 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount()77 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(getPhoneAccountHandle()); in testIncomingCallFromBlockedNumberIsRejected() local78 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()
212 private void registerAndEnablePhoneAccount(PhoneAccount phoneAccount) throws Exception { in registerAndEnablePhoneAccount() argument213 mTelecomManager.registerPhoneAccount(phoneAccount); in registerAndEnablePhoneAccount()214 TestUtils.enablePhoneAccount(getInstrumentation(), phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()216 assertPhoneAccountEnabled(phoneAccount.getAccountHandle()); in registerAndEnablePhoneAccount()
243 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle);244 return (phoneAccount != null && phoneAccount.isEnabled());
48 public MockConference(PhoneAccountHandle phoneAccount) { in MockConference() argument49 super(phoneAccount); in MockConference()
949 PhoneAccount phoneAccount = mTelecomManager.getPhoneAccount(handle); in isLoggedCall() local950 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()
188 final PhoneAccount phoneAccount = phoneAccountBuilder.build(); in testRegisterPhoneAccount_DisallowEnable() local189 mTelecomManager.registerPhoneAccount(phoneAccount); in testRegisterPhoneAccount_DisallowEnable()
125 private void verifyAccountRegistration(PhoneAccountHandle handle, PhoneAccount phoneAccount) { in verifyAccountRegistration() argument136 assertPhoneAccountEquals(phoneAccount, registeredAccount); in verifyAccountRegistration()
279 final PhoneAccount phoneAccount = PhoneAccount.builder( in registerPhoneAccount() local287 mTelecomManager.registerPhoneAccount(phoneAccount); in registerPhoneAccount()291 return phoneAccount; in registerPhoneAccount()