code: void clearEntry(int target) {
          synchronized (mActives) {
              ArrayList<NotificationEntry> entries = getEntries();
              Iterator<NotificationEntry> iter = entries.iterator();
              while (iter.hasNext()) {
                  NotificationEntry entry = iter.next();
                  if (entry.mTargets == target) {
                      if (DBG) Log.v(TAG, "[entry:" + entry.ID + "] out - " + entry);
                      iter.remove();
                      mActives.removeEntry(entry.ID);
                      mPendings.removeEntry(entry.ID);
                      if (entry.mSendToListener) {
                          schedule(MSG_CANCEL, 0, 0, entry, 0);
                      }
                  } else {
                      entry.mTargets &= ~target;
                  }
              }
          }
      }
docs: /* package