Home
last modified time | relevance | path

Searched refs:NotificationManagerService (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DReviewNotificationPermissionsReceiverTest.java74 NotificationManagerService.REVIEW_NOTIF_STATE_SHOULD_SHOW); in testReceive_remindMeLater_firstTime()
77 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND); in testReceive_remindMeLater_firstTime()
86 assertEquals(NotificationManagerService.REVIEW_NOTIF_STATE_USER_INTERACTED, in testReceive_remindMeLater_firstTime()
89 NotificationManagerService.REVIEW_NOTIF_STATE_UNKNOWN)); in testReceive_remindMeLater_firstTime()
98 NotificationManagerService.REVIEW_NOTIF_STATE_RESHOWN); in testReceive_remindMeLater_laterTimes()
101 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND); in testReceive_remindMeLater_laterTimes()
111 assertEquals(NotificationManagerService.REVIEW_NOTIF_STATE_USER_INTERACTED, in testReceive_remindMeLater_laterTimes()
114 NotificationManagerService.REVIEW_NOTIF_STATE_UNKNOWN)); in testReceive_remindMeLater_laterTimes()
123 NotificationManagerService.REVIEW_NOTIF_STATE_SHOULD_SHOW); in testReceive_dismiss()
126 mIntent.setAction(NotificationManagerService.REVIEW_NOTIF_ACTION_DISMISS); in testReceive_dismiss()
[all …]
DRoleObserverTest.java73 import com.android.server.notification.NotificationManagerService.NotificationAssistants;
74 import com.android.server.notification.NotificationManagerService.NotificationListeners;
96 private NotificationManagerService.RoleObserver mRoleObserver;
114 private static class TestableNotificationManagerService extends NotificationManagerService {
174 new NotificationManagerService.PostNotificationTrackerFactory() {}); in setUp()
DTestableNotificationManagerService.java32 public class TestableNotificationManagerService extends NotificationManagerService {
186 public class StrongAuthTrackerFake extends NotificationManagerService.StrongAuthTracker {
DNotificationListenersTest.java27 import static com.android.server.notification.NotificationManagerService.NotificationListeners.TAG_…
124 NotificationManagerService mNm;
129 NotificationManagerService.NotificationListeners mListeners;
139 mNm = spy(new NotificationManagerService(mContext)); in setUp()
157 mNm.mHandler = mock(NotificationManagerService.WorkerHandler.class); in setUp()
158 mNm.mAssistants = mock(NotificationManagerService.NotificationAssistants.class); in setUp()
160 NotificationManagerService.class.getDeclaredField("mListeners"), in setUp()
586 NotificationManagerService.class.getDeclaredField("mHandler"), in testNotifyRemovedLockedInLockdownMode()
587 mock(NotificationManagerService.WorkerHandler.class)); in testNotifyRemovedLockedInLockdownMode()
814 mNm.mAssistants = mock(NotificationManagerService.NotificationAssistants.class); in testRedaction_whenRemoved()
[all …]
DNotificationManagerServiceTest.java117 import static com.android.server.notification.NotificationManagerService.BITMAP_DURATION;
118 import static com.android.server.notification.NotificationManagerService.DEFAULT_MAX_NOTIFICATION_E…
119 import static com.android.server.notification.NotificationManagerService.NOTIFICATION_TTL;
120 import static com.android.server.notification.NotificationManagerService.TAG;
302 import com.android.server.notification.NotificationManagerService.NotificationAssistants;
303 import com.android.server.notification.NotificationManagerService.NotificationListeners;
304 import com.android.server.notification.NotificationManagerService.PostNotificationTracker;
305 import com.android.server.notification.NotificationManagerService.PostNotificationTrackerFactory;
371 NotificationManagerService.class.getSimpleName() + ".TIMEOUT";
525 private NotificationManagerService.WorkerHandler mWorkerHandler;
[all …]
DPulledStatsTest.java18 import static com.android.server.notification.NotificationManagerService.REPORT_REMOTE_VIEWS;
DNotificationShellCmdTest.java70 NotificationManagerService mMockService;
270 TestNotificationShellCmd(NotificationManagerService service) { in TestNotificationShellCmd()
DArchiveTest.java65 private NotificationManagerService.Archive mArchive;
73 mArchive = new NotificationManagerService.Archive(SIZE); in setUp()
DNotificationAssistantsTest.java59 import com.android.server.notification.NotificationManagerService.NotificationAssistants;
83 NotificationManagerService mNm;
/frameworks/base/services/core/java/com/android/server/notification/
DReviewNotificationPermissionsReceiver.java50 filter.addAction(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND); in getFilter()
51 filter.addAction(NotificationManagerService.REVIEW_NOTIF_ACTION_DISMISS); in getFilter()
52 filter.addAction(NotificationManagerService.REVIEW_NOTIF_ACTION_CANCELED); in getFilter()
61 nm.cancel(NotificationManagerService.TAG, in cancelNotification()
82 if (action.equals(NotificationManagerService.REVIEW_NOTIF_ACTION_REMIND)) { in onReceive()
90 NotificationManagerService.REVIEW_NOTIF_STATE_USER_INTERACTED); in onReceive()
92 } else if (action.equals(NotificationManagerService.REVIEW_NOTIF_ACTION_DISMISS)) { in onReceive()
96 NotificationManagerService.REVIEW_NOTIF_STATE_DISMISSED); in onReceive()
98 } else if (action.equals(NotificationManagerService.REVIEW_NOTIF_ACTION_CANCELED)) { in onReceive()
105 /* default */ NotificationManagerService.REVIEW_NOTIF_STATE_UNKNOWN); in onReceive()
[all …]
DPulledStats.java19 import static com.android.server.notification.NotificationManagerService.REPORT_REMOTE_VIEWS;
83 public void dump(int report, PrintWriter pw, NotificationManagerService.DumpFilter filter) { in dump()
DSystemConditionProviderService.java26 import com.android.server.notification.NotificationManagerService.DumpFilter;
DNotificationShellCmd.java117 private final NotificationManagerService mDirectService;
121 public NotificationShellCmd(NotificationManagerService service) { in NotificationShellCmd()
141 callingPackage = NotificationManagerService.ROOT_PKG; in onCommand()
436 Slog.e(NotificationManagerService.TAG, "Error running shell command", e); in onCommand()
446 Slog.v(NotificationManagerService.TAG, "created channel: " in ensureChannel()
DRankingHelper.java210 @NonNull NotificationManagerService.DumpFilter filter) { in dump()
223 @NonNull NotificationManagerService.DumpFilter filter) { in dump()
DCountdownConditionProvider.java34 import com.android.server.notification.NotificationManagerService.DumpFilter;
DPreferencesHelper.java267 NotificationManagerService.REVIEW_NOTIF_STATE_SHOULD_SHOW); in readXml()
2047 @NonNull NotificationManagerService.DumpFilter filter, in dump()
2061 @NonNull NotificationManagerService.DumpFilter filter, in dump()
2073 @NonNull NotificationManagerService.DumpFilter filter, in dumpPackagePreferencesLocked()
2160 @NonNull NotificationManagerService.DumpFilter filter, in dumpPackagePreferencesLocked()
2397 public JSONObject dumpJson(NotificationManagerService.DumpFilter filter, in dumpJson()
2499 public JSONArray dumpBansJson(NotificationManagerService.DumpFilter filter, in dumpBansJson()
2559 public JSONArray dumpChannelsJson(NotificationManagerService.DumpFilter filter) { in dumpChannelsJson()
DEventConditionProvider.java43 import com.android.server.notification.NotificationManagerService.DumpFilter;
DScheduleConditionProvider.java42 import com.android.server.notification.NotificationManagerService.DumpFilter;
DNotificationHistoryManager.java53 private static final boolean DEBUG = NotificationManagerService.DBG;
/frameworks/base/services/core/java/com/android/server/notification/toast/
DToastRecord.java22 import com.android.server.notification.NotificationManagerService;
23 import com.android.server.notification.NotificationManagerService.DumpFilter;
38 protected final NotificationManagerService mNotificationManager;
41 protected ToastRecord(NotificationManagerService notificationManager, int uid, int pid, in ToastRecord()
DCustomToastRecord.java20 import static com.android.server.notification.NotificationManagerService.DBG;
29 import com.android.server.notification.NotificationManagerService;
35 private static final String TAG = NotificationManagerService.TAG;
39 public CustomToastRecord(NotificationManagerService notificationManager, int uid, int pid, in CustomToastRecord()
DTextToastRecord.java20 import static com.android.server.notification.NotificationManagerService.DBG;
29 import com.android.server.notification.NotificationManagerService;
36 private static final String TAG = NotificationManagerService.TAG;
44 public TextToastRecord(NotificationManagerService notificationManager, in TextToastRecord()
/frameworks/base/services/core/java/com/android/server/
DTEST_MAPPING20 "file_patterns": ["NotificationManagerService\\.java"]
29 "file_patterns": ["NotificationManagerService\\.java"]
/frameworks/proto_logging/stats/atoms/dnd/
Ddnd_atoms.proto29 * NotificationManagerService.java.
/frameworks/base/services/
Dart-wear-profile15848 …er/notification/NotificationManagerService$$ExternalSyntheticLambda0;-><init>(Lcom/android/server/…
15849 PLcom/android/server/notification/NotificationManagerService$$ExternalSyntheticLambda0;->test(Ljava…
15850 PLcom/android/server/notification/NotificationManagerService$$ExternalSyntheticLambda12;-><init>()V
15851NotificationManagerService$$ExternalSyntheticLambda14;-><init>(Lcom/android/server/notification/No…
15852 PLcom/android/server/notification/NotificationManagerService$$ExternalSyntheticLambda14;->run()V
15853 …er/notification/NotificationManagerService$$ExternalSyntheticLambda2;-><init>(Lcom/android/server/…
15854 PLcom/android/server/notification/NotificationManagerService$$ExternalSyntheticLambda2;->run()V
15855 …er/notification/NotificationManagerService$$ExternalSyntheticLambda3;-><init>(Lcom/android/server/…
15856 …er/notification/NotificationManagerService$$ExternalSyntheticLambda6;-><init>(Lcom/android/server/…
15857 …er/notification/NotificationManagerService$$ExternalSyntheticLambda7;-><init>(Lcom/android/server/…
[all …]

12