OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mNotification
(Results
1 - 15
of
15
) sorted by null
/cts/tests/app/src/android/app/cts/
NotificationTest.java
57
private Notification
mNotification
;
79
mNotification
= new Notification();
83
mNotification
= null;
84
mNotification
= new Notification();
85
assertNotNull(
mNotification
);
86
assertTrue(System.currentTimeMillis() -
mNotification
.when < TOLERANCE);
88
mNotification
= null;
90
mNotification
= new Notification(0, TICKER_TEXT, notificationTime);
91
assertEquals(notificationTime,
mNotification
.when);
92
assertEquals(0,
mNotification
.icon)
[
all
...]
StatusBarNotificationTest.java
33
private Notification
mNotification
;
39
mNotification
= new Notification.Builder(mContext)
43
mSbn = new StatusBarNotification(PKG, OP_PKG, ID, TAG, UID, 0, 0,
mNotification
,
155
assertEquals(
mNotification
, mSbn.getNotification());
/development/samples/Alarm/src/com/example/android/newalarm/
AlarmService.java
74
Notification
mNotification
;
132
// Gets a handle to the system
mNotification
service.
157
// Cancels the status bar
mNotification
based on its ID, which is set in showNotification().
193
mNotification
= new Notification.Builder(this) // The builder requires the context
206
R.string.alarm_service_started, // unique id for the
mNotification
207
mNotification
// the
mNotification
object
/development/samples/Alarm/tests/src/com/example/android/newalarm/
AlarmServiceTest.java
83
assertNotNull(mService.
mNotification
);