Lines Matching refs:account
30 // Bits 0->15, account id
50 * Get flags indicating sync of the passed-in account; note that, by default, these flags
55 * @param account the account being used
56 * @return flags for syncing this account
58 public static int getSyncFlags(Context context, Account account) {
59 return (int)account.mId | REASON_SYNC;
63 * Get flags indicating attachment loading from the passed-in account
66 * @param account the account being used
67 * @return flags for loading an attachment in this account
69 public static int getAttachmentFlags(Context context, Account account) {
70 return (int)account.mId | REASON_ATTACHMENT_USER;
74 * Get flags indicating sending SMTP email from the passed-in account
77 * @param account the account being used
78 * @return flags for sending SMTP email from this account
80 public static int getSmtpFlags(Context context, Account account) {
81 return (int)account.mId | REASON_SYNC;
86 sb.append("account ");