Home
last modified time | relevance | path

Searched refs:mNotification (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationTest.java75 private Notification mNotification; field in NotificationTest
97 mNotification = new Notification(); in setUp()
102 mNotification = null; in testConstructor()
103 mNotification = new Notification(); in testConstructor()
104 assertNotNull(mNotification); in testConstructor()
105 assertTrue(System.currentTimeMillis() - mNotification.when < TOLERANCE); in testConstructor()
107 mNotification = null; in testConstructor()
109 mNotification = new Notification(0, TICKER_TEXT, notificationTime); in testConstructor()
110 assertEquals(notificationTime, mNotification.when); in testConstructor()
111 assertEquals(0, mNotification.icon); in testConstructor()
[all …]
DStatusBarNotificationTest.java47 private Notification mNotification; field in StatusBarNotificationTest
54 mNotification = new Notification.Builder(mContext) in setUp()
58 mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0, mNotification, in setUp()
189 assertEquals(mNotification, mSbn.getNotification()); in testGetNotification()
/cts/tests/tests/telecom-apps/Utils/src/android/telecom/cts/apps/
DCallResources.java38 private final Notification mNotification; field in CallResources
49 mNotification = createCallStyleNotification( in CallResources()
75 nm.notify(mNotificationId, mNotification); in postInitialCallStyleNotification()
78 mNotificationId, mNotification)); in postInitialCallStyleNotification()