Lines Matching refs:mContext

80     private final Context mContext;  field in EmailNotificationController
90 mContext = context.getApplicationContext(); in EmailNotificationController()
138 mContext, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); in createBaseAccountNotificationBuilder()
142 final NotificationCompat.Builder builder = new NotificationCompat.Builder(mContext) in createBaseAccountNotificationBuilder()
153 Account account = Account.restoreAccountWithId(mContext, accountId); in createBaseAccountNotificationBuilder()
192 ContentResolver resolver = mContext.getContentResolver(); in watchForMessages()
199 mAccountObserver = new AccountContentObserver(sNotificationHandler, mContext); in watchForMessages()
264 ContentResolver resolver = mContext.getContentResolver(); in registerMessageNotification()
282 sNotificationHandler, mContext, accountId); in registerMessageNotification()
299 ContentResolver resolver = mContext.getContentResolver(); in unregisterMessageNotification()
327 final Cursor accountCursor = mContext.getContentResolver().query(EmailProvider.uiUri( in setupSoundAndVibration()
341 mContext.getContentResolver().query(uiAccount.settings.defaultInbox, in setupSoundAndVibration()
361 mContext, uiAccount.getEmailAddress(), folder, true /* inbox */); in setupSoundAndVibration()
392 final Message message = Message.restoreMessageWithId(mContext, attachment.mMessageKey); in showDownloadForwardFailedNotificationSynchronous()
394 final Mailbox mailbox = Mailbox.restoreMailboxWithId(mContext, message.mMailboxKey); in showDownloadForwardFailedNotificationSynchronous()
396 mContext.getString(R.string.forward_download_failed_ticker), in showDownloadForwardFailedNotificationSynchronous()
397 mContext.getString(R.string.forward_download_failed_title), in showDownloadForwardFailedNotificationSynchronous()
417 final Account account = Account.restoreAccountWithId(mContext, accountId); in showLoginFailedNotificationSynchronous()
419 final Mailbox mailbox = Mailbox.restoreMailboxOfType(mContext, accountId, in showLoginFailedNotificationSynchronous()
432 mContext.getString(R.string.login_failed_ticker, account.mDisplayName), in showLoginFailedNotificationSynchronous()
433 mContext.getString(R.string.login_failed_title), in showLoginFailedNotificationSynchronous()
455 final Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiringNotificationSynchronous()
458 final Intent intent = AccountSecurity.actionDevicePasswordExpirationIntent(mContext, in showPasswordExpiringNotificationSynchronous()
462 mContext.getString(R.string.password_expire_warning_ticker_fmt, accountName); in showPasswordExpiringNotificationSynchronous()
463 final String title = mContext.getString(R.string.password_expire_warning_content_title); in showPasswordExpiringNotificationSynchronous()
476 final Account account = Account.restoreAccountWithId(mContext, accountId); in showPasswordExpiredNotificationSynchronous()
479 final Intent intent = AccountSecurity.actionDevicePasswordExpirationIntent(mContext, in showPasswordExpiredNotificationSynchronous()
482 final String ticker = mContext.getString(R.string.password_expired_ticker); in showPasswordExpiredNotificationSynchronous()
483 final String title = mContext.getString(R.string.password_expired_content_title); in showPasswordExpiredNotificationSynchronous()
503 Intent intent = AccountSecurity.actionUpdateSecurityIntent(mContext, account.mId, true); in showSecurityNeededNotification()
506 mContext.getString(R.string.security_needed_ticker_fmt, accountName); in showSecurityNeededNotification()
507 String title = mContext.getString(R.string.security_notification_content_update_title); in showSecurityNeededNotification()
522 mContext.getString(R.string.security_changed_ticker_fmt, accountName); in showSecurityChangedNotification()
524 mContext.getString(R.string.security_notification_content_change_title); in showSecurityChangedNotification()
539 mContext.getString(R.string.security_unsupported_ticker_fmt, accountName); in showSecurityUnsupportedNotification()
541 mContext.getString(R.string.security_notification_content_unsupported_title); in showSecurityUnsupportedNotification()
554 Cursor c = mContext.getContentResolver().query(Account.CONTENT_URI, in cancelSecurityNeededNotification()
749 private final Context mContext; field in EmailNotificationController.MessageContentObserver
755 mContext = context; in MessageContentObserver()
761 refreshNotificationsForAccount(mContext, mAccountId); in onChange()
770 private final Context mContext; field in EmailNotificationController.AccountContentObserver
773 mContext = context; in AccountContentObserver()
778 final ContentResolver resolver = mContext.getContentResolver(); in onChange()
814 refreshAllNotifications(mContext); in onChange()