OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:sbn
(Results
1 - 6
of
6
) sorted by null
/frameworks/base/core/java/android/service/notification/
NotificationListenerService.java
61
* @param
sbn
A data structure encapsulating the original {@link android.app.Notification}
65
public abstract void onNotificationPosted(StatusBarNotification
sbn
);
80
* @param
sbn
A data structure encapsulating at least the original information (tag and id)
84
public abstract void onNotificationRemoved(StatusBarNotification
sbn
);
166
public void onNotificationPosted(StatusBarNotification
sbn
) {
168
NotificationListenerService.this.onNotificationPosted(
sbn
);
174
public void onNotificationRemoved(StatusBarNotification
sbn
) {
176
NotificationListenerService.this.onNotificationRemoved(
sbn
);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/nls/
MockListener.java
141
public void onNotificationPosted(StatusBarNotification
sbn
) {
142
Log.d(TAG, "posted: " +
sbn
.getTag());
143
mPosted.add(
sbn
.getTag());
146
payload.put(JSON_TAG,
sbn
.getTag());
147
payload.put(JSON_ID,
sbn
.getId());
148
payload.put(JSON_PACKAGE,
sbn
.getPackageName());
149
payload.put(JSON_WHEN,
sbn
.getNotification().when);
150
payload.put(JSON_ICON,
sbn
.getNotification().icon);
151
payload.put(JSON_FLAGS,
sbn
.getNotification().flags);
159
public void onNotificationRemoved(StatusBarNotification
sbn
) {
[
all
...]
/packages/apps/Settings/src/com/android/settings/
NotificationStation.java
207
for (StatusBarNotification
sbn
: resultset) {
209
info.pkg =
sbn
.getPackageName();
210
info.user =
sbn
.getUserId();
211
info.icon = loadIconDrawable(info.pkg, info.user,
sbn
.getNotification().icon);
214
if (
sbn
.getNotification().extras != null) {
215
info.title =
sbn
.getNotification().extras.getString(Notification.EXTRA_TITLE);
217
info.title =
sbn
.getNotification().extras.getString(Notification.EXTRA_TEXT);
221
info.title =
sbn
.getNotification().tickerText;
227
info.timestamp =
sbn
.getPostTime();
228
info.priority =
sbn
.getNotification().priority
[
all
...]
/frameworks/base/services/java/com/android/server/
NotificationManagerService.java
232
boolean enabledAndUserMatches(StatusBarNotification
sbn
) {
233
final int nid =
sbn
.getUserId();
241
public void notifyPostedIfUserMatch(StatusBarNotification
sbn
) {
242
if (!enabledAndUserMatches(
sbn
)) {
246
listener.onNotificationPosted(
sbn
);
252
public void notifyRemovedIfUserMatch(StatusBarNotification
sbn
) {
253
if (!enabledAndUserMatches(
sbn
)) return;
255
listener.onNotificationRemoved(
sbn
);
515
tmp[i] = mNotificationList.get(i).
sbn
;
825
final StatusBarNotification
sbn
= n.
sbn
.clone();
local
916
StatusBarNotification
sbn
= mNotificationList.get(i).
sbn
;
local
929
final StatusBarNotification
sbn
;
field in class:NotificationRecord
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
BaseStatusBar.java
362
protected void applyLegacyRowBackground(StatusBarNotification
sbn
, View content) {
363
if (
sbn
.getNotification().contentView.getLayoutId() !=
367
ApplicationInfo info = mContext.getPackageManager().getApplicationInfo(
sbn
.getPackageName(), 0);
370
Log.e(TAG, "Failed looking up ApplicationInfo for " +
sbn
.getPackageName(), ex);
621
StatusBarNotification
sbn
= entry.notification;
622
RemoteViews contentView =
sbn
.getNotification().contentView;
623
RemoteViews bigContentView =
sbn
.getNotification().bigContentView;
635
row.setTag(
sbn
.getPackageName());
638
View vetoButton = updateNotificationVetoButton(row,
sbn
);
650
PendingIntent contentIntent =
sbn
.getNotification().contentIntent
[
all
...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
PhoneStatusBar.java
1374
final StatusBarNotification
sbn
= mInterruptingNotificationEntry.notification;
local
[
all
...]
Completed in 316 milliseconds