Lines Matching defs:id

297     private static String idDebugString(Context baseContext, String packageName, int id) {
316 return r.getResourceName(id);
326 final int id;
334 NotificationRecord(String pkg, String tag, int id, int uid, int initialPid,
339 this.id = id;
373 + " id=" + Integer.toHexString(id)
449 public void onNotificationClick(String pkg, String tag, int id) {
452 cancelNotification(pkg, tag, id, Notification.FLAG_AUTO_CANCEL,
457 public void onNotificationClear(String pkg, String tag, int id) {
460 cancelNotification(pkg, tag, id, 0,
497 public void onNotificationError(String pkg, String tag, int id,
499 Slog.d(TAG, "onNotification error pkg=" + pkg + " tag=" + tag + " id=" + id
503 cancelNotification(pkg, tag, id, 0, 0, false, UserHandle.getUserId(uid));
901 public void enqueueNotificationWithTag(String pkg, String tag, int id, Notification notification,
905 tag, id, notification, idOut, userId);
915 String tag, int id, Notification notification, int[] idOut, int userId)
918 Slog.v(TAG, "enqueueNotificationInternal: pkg=" + pkg + " id=" + id + " notification=" + notification);
951 EventLog.writeEvent(EventLogTags.NOTIFICATION_ENQUEUE, pkg, id, tag, userId,
957 + " id=" + id + " notification=" + notification);
962 + " id=" + id + " notification=" + notification);
1003 NotificationRecord r = new NotificationRecord(pkg, tag, id,
1009 int index = indexOfNotificationLocked(pkg, tag, id, userId);
1039 pkg, id, tag, r.uid, r.initialPid, score, notification, user);
1196 idOut[0] = id;
1282 private void cancelNotification(String pkg, String tag, int id, int mustHaveFlags,
1284 EventLog.writeEvent(EventLogTags.NOTIFICATION_CANCEL, pkg, id, tag, userId,
1288 int index = indexOfNotificationLocked(pkg, tag, id, userId);
1365 public void cancelNotificationWithTag(String pkg, String tag, int id, int userId) {
1370 cancelNotification(pkg, tag, id, 0,
1465 private int indexOfNotificationLocked(String pkg, String tag, int id, int userId)
1471 if (!notificationMatchesUserId(r, userId) || r.id != id) {