Home | History | Annotate | Download | only in calllogutils

Lines Matching defs:account

28   /** Extract account label from PhoneAccount object. */
32 PhoneAccount account = getAccountOrNull(context, accountHandle);
33 if (account != null && account.getLabel() != null) {
34 return account.getLabel().toString();
39 /** Extract account color from PhoneAccount object. */
41 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle);
44 // safe to always use the account highlight color.
45 return account == null ? PhoneAccount.NO_HIGHLIGHT_COLOR : account.getHighlightColor();
49 * Determine whether a phone account supports call subjects.
55 final PhoneAccount account = TelecomUtil.getPhoneAccount(context, accountHandle);
57 return account != null && account.hasCapabilities(PhoneAccount.CAPABILITY_CALL_SUBJECT);
61 * Retrieve the account metadata, but if the account does not exist or the device has only a
62 * single registered and enabled account, return null.