Searched refs:hasCapabilities (Results 1 – 7 of 7) sorted by relevance
36 assertTrue(testPhoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_CALL_COMPOSER)); in testPhoneAccountCapabilitiesForCallComposer()42 assertFalse(testPhoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_CALL_COMPOSER)); in testPhoneAccountCapabilitiesForCallComposer()
341 retrievedPhoneAccount.hasCapabilities(PhoneAccount.CAPABILITY_CALL_PROVIDER | in testRegisterPhoneAccount_CheckCapabilities()468 retrievedPhoneAccount.hasCapabilities( in testRegisterPhoneAccount_VoiceIndicationCapabilities_SimSubscription()486 retrievedPhoneAccount.hasCapabilities( in testRegisterPhoneAccount_VoiceIndicationCapabilities_SimSubscription()
657 if (account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION)) { in registerAccountsAndVerify()
214 return account != null && account.isEnabled() && account.hasCapabilities( in isSelfManagedTestAccountEnabled()226 return account.hasCapabilities(PhoneAccount.CAPABILITY_SIM_SUBSCRIPTION) in isDefaultOutgoingAccountIsSimBased()
119 account.hasCapabilities(PhoneAccount.CAPABILITY_SELF_MANAGED)) { in onCreate()
80 private void addPrinter(@NonNull String localId, boolean hasCapabilities) { in addPrinter() argument88 if (hasCapabilities) { in addPrinter()
43030 method public boolean hasCapabilities(int);