Lines Matching defs:phoneAccount
56 * @param phoneAccount The phone account for the voicemail source to check.
60 public boolean isVoicemailSourceConfigured(PhoneAccountHandle phoneAccount) {
61 return isFieldEqualTo(phoneAccount, CONFIGURATION_STATE, Status.CONFIGURATION_STATE_OK);
70 public boolean isNotificationsChannelActive(PhoneAccountHandle phoneAccount) {
72 phoneAccount, NOTIFICATION_CHANNEL_STATE, Status.NOTIFICATION_CHANNEL_STATE_OK);
78 * @param phoneAccount The phone account of the voicemail source to query for.
84 private boolean isFieldEqualTo(PhoneAccountHandle phoneAccount, int columnIndex, int value) {
86 if (phoneAccount != null) {
87 String phoneAccountComponentName = phoneAccount.getComponentName().flattenToString();
88 String phoneAccountId = phoneAccount.getId();