Searched refs:NotificationController (Results 1 – 17 of 17) sorted by relevance
53 private NotificationController mController;61 mController = new NotificationController(); in setUp()70 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION)); in testShouldShowNotificationFirstTime()74 getNotificationIntent(NotificationController.INTENT_ACTION_DISMISS, 1)); in testShouldShowNotificationFirstTime()83 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION)); in testNotificationNotShownIfShownTooManyTimes()86 getNotificationIntent(NotificationController.INTENT_ACTION_NO_THANKS, 1)); in testNotificationNotShownIfShownTooManyTimes()94 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION)); in testNotificationNotShownIfShownTooManyTimes()103 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION)); in testNotificationNotShownIfDismissedTooManyTimes()106 getNotificationIntent(NotificationController.INTENT_ACTION_DISMISS, 1)); in testNotificationNotShownIfDismissedTooManyTimes()114 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION)); in testNotificationNotShownIfDismissedTooManyTimes()[all …]
161 .isEqualTo(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION); in testStartJobTriesUpsellWhenASMDisabled()163 .isEqualTo(NotificationController.class.getCanonicalName()); in testStartJobTriesUpsellWhenASMDisabled()
35 import com.android.email.NotificationController;464 final NotificationController nc = in setAccountHoldFlag()513 final NotificationController nc = in policiesRequired()627 final NotificationController nc = in setAccountPolicy()669 final NotificationController nc = in clearNotification()771 final NotificationController nc = in onPasswordExpiring()855 final NotificationController nc =
25 public NotificationController getInstance(Context context){39 public static NotificationController getInstance(Context context) { in getInstance()
22 NotificationController getInstance(Context context); in getInstance()
25 public interface NotificationController { interface
40 final NotificationController nc = in onHandleIntent()
41 public class NotificationController extends BroadcastReceiver { class258 int shownCount = sp.getInt(NotificationController.NOTIFICATION_SHOWN_COUNT, 0) + 1; in incrementNotificationShownCount()259 editor.putInt(NotificationController.NOTIFICATION_SHOWN_COUNT, shownCount); in incrementNotificationShownCount()291 return new Intent(context, NotificationController.class).setAction(action); in getBaseIntent()
77 new Intent(NotificationController.INTENT_ACTION_SHOW_NOTIFICATION); in onStartJob()79 NotificationController.class); in onStartJob()
33 import com.android.email.NotificationController;210 final NotificationController nc = in reconcileAccountsInternal()
68 import com.android.email.NotificationController;6361 final NotificationController controller = in setServicesEnabled()
69 public NotificationController getInstance(Context context){ in NotificationControllerCreatorHolder.setNotificationControllerCreator()
65 public class EmailNotificationController implements NotificationController {
32 import com.android.email.NotificationController;111 final NotificationController nc = in synchronizeMailboxSynchronous()
29 import com.android.email.NotificationController;435 final NotificationController nc = in sendMailImpl()
38 import com.android.email.NotificationController;1139 final NotificationController nc = in endDownload()
35 import com.android.email.NotificationController;168 final NotificationController nc = in synchronizeMailboxSynchronous()