• Home
  • Raw
  • Download

Lines Matching refs:Account

50 import com.android.emailcommon.provider.Account;
81 Account.FLAGS + "&" + Account.FLAGS_NOTIFY_NEW_MAIL + " != 0";
103 private long mSuspendAccountId = Account.NO_ACCOUNT;
174 private Notification.Builder createBaseAccountNotificationBuilder(Account account, in createBaseAccountNotificationBuilder()
213 private void showAccountNotification(Account account, String ticker, String title, in showAccountNotification()
251 unregisterMessageNotification(Account.ACCOUNT_ID_COMBINED_VIEW); in watchForMessages()
264 registerMessageNotification(Account.ACCOUNT_ID_COMBINED_VIEW); in watchForMessages()
271 resolver.registerContentObserver(Account.NOTIFIER_URI, true, mAccountObserver); in watchForMessages()
288 if (mSuspendAccountId != Account.NO_ACCOUNT) { in suspendMessageNotification()
290 mSuspendAccountId = Account.NO_ACCOUNT; in suspendMessageNotification()
292 if (suspend && accountId != Account.NO_ACCOUNT && accountId > 0L) { in suspendMessageNotification()
294 if (accountId == Account.ACCOUNT_ID_COMBINED_VIEW) { in suspendMessageNotification()
331 if (accountId == Account.ACCOUNT_ID_COMBINED_VIEW) { in registerMessageNotification()
333 Account.CONTENT_URI, EmailContent.ID_PROJECTION, in registerMessageNotification()
374 if (accountId == Account.ACCOUNT_ID_COMBINED_VIEW) { in unregisterMessageNotification()
435 final Account account = Account.restoreAccountWithId(mContext, accountId); in createNewMessageNotification()
668 void setupSoundAndVibration(Notification.Builder builder, Account account) { in setupSoundAndVibration()
671 final boolean vibrate = (flags & Account.FLAGS_VIBRATE_ALWAYS) != 0; in setupSoundAndVibration()
672 final boolean vibrateWhenSilent = (flags & Account.FLAGS_VIBRATE_WHEN_SILENT) != 0; in setupSoundAndVibration()
692 final Account account = Account.restoreAccountWithId(mContext, attachment.mAccountKey); in showDownloadForwardFailedNotification()
715 final Account account = Account.restoreAccountWithId(mContext, accountId); in showLoginFailedNotification()
740 Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiringNotification()
760 Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiredNotification()
784 public void showSecurityNeededNotification(Account account) { in showSecurityNeededNotification()
826 || sInstance.mSuspendAccountId == Account.ACCOUNT_ID_COMBINED_VIEW) { in onChange()
837 Account account = Account.restoreAccountWithId(mContext, mAccountId); in onChange()
902 resolver.update(ContentUris.withAppendedId(Account.CONTENT_URI, mAccountId), cv, in onChange()
925 Account.CONTENT_URI, EmailContent.ID_PROJECTION, in onChange()