• Home
  • Raw
  • Download

Lines Matching refs:account

153             Account account = Account.restoreAccountWithId(mContext, accountId);  in createBaseAccountNotificationBuilder()  local
154 setupSoundAndVibration(builder, account); in createBaseAccountNotificationBuilder()
322 NotificationCompat.Builder builder, Account account) { in setupSoundAndVibration() argument
328 "uiaccount", account.mId), UIProvider.ACCOUNTS_PROJECTION, null, null, null); in setupSoundAndVibration()
371 LogUtils.e(LOG_TAG, "Null uiAccount for account id %d", account.mId); in setupSoundAndVibration()
417 final Account account = Account.restoreAccountWithId(mContext, accountId); in showLoginFailedNotificationSynchronous() local
418 if (account == null) return; in showLoginFailedNotificationSynchronous()
432 mContext.getString(R.string.login_failed_ticker, account.mDisplayName), in showLoginFailedNotificationSynchronous()
434 account.getDisplayName(), in showLoginFailedNotificationSynchronous()
455 final Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiringNotificationSynchronous() local
456 if (account == null) return; in showPasswordExpiringNotificationSynchronous()
460 final String accountName = account.getDisplayName(); in showPasswordExpiringNotificationSynchronous()
476 final Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiredNotificationSynchronous() local
477 if (account == null) return; in showPasswordExpiredNotificationSynchronous()
481 final String accountName = account.getDisplayName(); in showPasswordExpiredNotificationSynchronous()
502 public void showSecurityNeededNotification(Account account) { in showSecurityNeededNotification() argument
503 Intent intent = AccountSecurity.actionUpdateSecurityIntent(mContext, account.mId, true); in showSecurityNeededNotification()
504 String accountName = account.getDisplayName(); in showSecurityNeededNotification()
508 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityNeededNotification()
509 (int)(NOTIFICATION_ID_BASE_SECURITY_NEEDED + account.mId)); in showSecurityNeededNotification()
517 public void showSecurityChangedNotification(Account account) { in showSecurityChangedNotification() argument
519 EmailProvider.getIncomingSettingsUri(account.getId())); in showSecurityChangedNotification()
520 final String accountName = account.getDisplayName(); in showSecurityChangedNotification()
525 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityChangedNotification()
526 (int)(NOTIFICATION_ID_BASE_SECURITY_CHANGED + account.mId)); in showSecurityChangedNotification()
534 public void showSecurityUnsupportedNotification(Account account) { in showSecurityUnsupportedNotification() argument
536 EmailProvider.getIncomingSettingsUri(account.getId())); in showSecurityUnsupportedNotification()
537 final String accountName = account.getDisplayName(); in showSecurityUnsupportedNotification()
542 showNotification(account.mId, ticker, title, accountName, intent, in showSecurityUnsupportedNotification()
543 (int)(NOTIFICATION_ID_BASE_SECURITY_NEEDED + account.mId)); in showSecurityUnsupportedNotification()
574 public void cancelNotifications(final Context context, final Account account) { in cancelNotifications() argument
576 = EmailServiceUtils.getServiceInfoForAccount(context, account.mId); in cancelNotifications()
578 LogUtils.d(LOG_TAG, "Can't cancel notification for missing account %d", account.mId); in cancelNotifications()
582 = account.getAccountManagerAccount(serviceInfo.accountType); in cancelNotifications()
588 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_LOGIN_WARNING + account.mId)); in cancelNotifications()
589 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_NEEDED + account.mId)); in cancelNotifications()
590 notificationManager.cancel((int) (NOTIFICATION_ID_BASE_SECURITY_CHANGED + account.mId)); in cancelNotifications()
682 com.android.mail.providers.Account account = null; in handleUpdateNotificationIntent() local
685 account = com.android.mail.providers.Account.builder().buildFrom(accountCursor); in handleUpdateNotificationIntent()
691 if (account == null) { in handleUpdateNotificationIntent()
722 account, folder, true /* getAttention */); in handleUpdateNotificationIntent()