Lines Matching defs:tag
65 * Dispatch a pending alarm with the given tag
68 public boolean dispatch(String tag) {
71 if (Objects.equals(tag, alarm.getTag())) {
81 * @return if an alarm with the given tag is pending
83 public boolean isPending(String tag) {
86 if (Objects.equals(tag, alarm.getTag())) {
94 * @return trigger time of an pending alarm with the given tag
95 * -1 if no pending alram with the given tag
97 public long getTriggerTimeMillis(String tag) {
100 if (Objects.equals(tag, alarm.getTag())) {
113 public PendingAlarm(int type, long triggerAtMillis, String tag, Runnable callback) {
116 mTag = tag;
140 public void answer(int type, long triggerAtMillis, String tag,
142 mPendingAlarms.add(new PendingAlarm(type, triggerAtMillis, tag,