HomeSort by relevance Sort by last modified time
    Searched defs:mNotification (Results 1 - 8 of 8) sorted by null

  /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().
184 // Sets the icon, status bar text, and display time for the mNotification.
185 mNotification = new Notification(
199 // Creates a new content view for the mNotification. The view appears when the user
201 mNotification.setLatestEventInfo(
212 R.string.alarm_service_started, // unique id for the mNotification
213 mNotification // the mNotification objec
    [all...]
  /cts/tests/tests/app/src/android/app/cts/
NotificationTest.java 36 private Notification mNotification;
49 mNotification = new Notification();
67 mNotification = null;
68 mNotification = new Notification();
69 assertNotNull(mNotification);
70 assertTrue(System.currentTimeMillis() - mNotification.when < TOLERANCE);
72 mNotification = null;
74 mNotification = new Notification(0, TICKER_TEXT, notificationTime);
75 assertEquals(notificationTime, mNotification.when);
76 assertEquals(0, mNotification.icon)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
StatusBarIconView.java 51 private Notification mNotification;
61 mNotification = notification;
199 if (mNotification != null) {
200 event.setParcelableData(mNotification);
273 + " notification=" + mNotification + ")";
  /frameworks/support/v4/java/android/support/v4/app/
NotificationCompat.java 48 Notification result = (Notification) b.mNotification;
57 return NotificationCompatHoneycomb.add(b.mContext, b.mNotification,
87 Notification mNotification = new Notification();
104 mNotification.when = System.currentTimeMillis();
105 mNotification.audioStreamType = Notification.STREAM_DEFAULT;
113 mNotification.when = when;
125 mNotification.icon = icon;
140 mNotification.icon = icon;
141 mNotification.iconLevel = level;
195 mNotification.contentView = views
    [all...]
  /frameworks/base/wifi/java/android/net/wifi/p2p/
WifiP2pService.java 89 private Notification mNotification;
    [all...]
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicService.java 153 Notification mNotification = null;
519 mNotification.setLatestEventInfo(getApplicationContext(), "RandomMusicPlayer", text, pi);
520 mNotificationManager.notify(NOTIFICATION_ID, mNotification);
532 mNotification = new Notification();
533 mNotification.tickerText = text;
534 mNotification.icon = R.drawable.ic_stat_playing;
535 mNotification.flags |= Notification.FLAG_ONGOING_EVENT;
536 mNotification.setLatestEventInfo(getApplicationContext(), "RandomMusicPlayer",
538 startForeground(NOTIFICATION_ID, mNotification);
  /frameworks/base/services/java/com/android/server/
WifiService.java 194 private Notification mNotification;
    [all...]
  /frameworks/base/telephony/java/com/android/internal/telephony/gsm/
GsmServiceStateTracker.java 134 private Notification mNotification;
    [all...]

Completed in 489 milliseconds