Home
last modified time | relevance | path

Searched refs:mSubscriptions (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java67 private final ArrayMap<Uri, ScheduleCalendar> mSubscriptions = new ArrayMap<>(); field in ScheduleConditionProvider
96 synchronized (mSubscriptions) { in dump()
97 for (Uri conditionId : mSubscriptions.keySet()) { in dump()
99 pw.print(meetsSchedule(mSubscriptions.get(conditionId), now) ? "* " : " "); in dump()
102 pw.println(mSubscriptions.get(conditionId).toString()); in dump()
135 synchronized (mSubscriptions) { in onSubscribe()
136 mSubscriptions.put(conditionId, toScheduleCalendar(conditionId)); in onSubscribe()
144 synchronized (mSubscriptions) { in onUnsubscribe()
145 mSubscriptions.remove(conditionId); in onUnsubscribe()
169 synchronized (mSubscriptions) { in evaluateSubscriptions()
[all …]
DZenModeConditions.java39 private final ArrayMap<Uri, ComponentName> mSubscriptions = new ArrayMap<>(); field in ZenModeConditions
59 pw.print(prefix); pw.print("mSubscriptions="); pw.println(mSubscriptions); in dump()
76 synchronized (mSubscriptions) { in evaluateConfig()
77 final int N = mSubscriptions.size(); in evaluateConfig()
79 final Uri id = mSubscriptions.keyAt(i); in evaluateConfig()
80 final ComponentName component = mSubscriptions.valueAt(i); in evaluateConfig()
84 mSubscriptions.removeAt(i); in evaluateConfig()
151 synchronized (mSubscriptions) { in evaluateRule()
152 mSubscriptions.put(rule.conditionId, rule.component); in evaluateRule()
DEventConditionProvider.java67 private final ArraySet<Uri> mSubscriptions = new ArraySet<Uri>(); field in EventConditionProvider
101 synchronized (mSubscriptions) { in dump()
103 for (Uri conditionId : mSubscriptions) { in dump()
152 synchronized (mSubscriptions) { in onSubscribe()
153 if (mSubscriptions.add(conditionId)) { in onSubscribe()
162 synchronized (mSubscriptions) { in onUnsubscribe()
163 if (mSubscriptions.remove(conditionId)) { in onUnsubscribe()
210 synchronized (mSubscriptions) { in evaluateSubscriptionsW()
213 mSubscriptions.isEmpty() ? null : mTrackerCallback); in evaluateSubscriptionsW()
215 setRegistered(!mSubscriptions.isEmpty()); in evaluateSubscriptionsW()
[all …]
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java101 private final ArrayMap<String, Subscription> mSubscriptions = new ArrayMap<>(); field in MediaBrowser
483 Subscription sub = mSubscriptions.get(parentId); in subscribeInternal()
486 mSubscriptions.put(parentId, sub); in subscribeInternal()
513 Subscription sub = mSubscriptions.get(parentId); in unsubscribeInternal()
545 mSubscriptions.remove(parentId); in unsubscribeInternal()
598 for (Entry<String, Subscription> subscriptionEntry : mSubscriptions.entrySet()) { in onServiceConnected()
662 final Subscription subscription = mSubscriptions.get(parentId); in onLoadChildren()
/frameworks/support/media-compat/java/android/support/v4/media/
DMediaBrowserCompat.java973 private final ArrayMap<String, Subscription> mSubscriptions = new ArrayMap<>(); field in MediaBrowserCompat.MediaBrowserImplBase
1160 Subscription sub = mSubscriptions.get(parentId); in subscribe()
1163 mSubscriptions.put(parentId, sub); in subscribe()
1184 Subscription sub = mSubscriptions.get(parentId); in unsubscribe()
1217 mSubscriptions.remove(parentId); in unsubscribe()
1329 : mSubscriptions.entrySet()) { in onServiceConnected()
1381 final Subscription subscription = mSubscriptions.get(parentId); in onLoadChildren()
1580 private final ArrayMap<String, Subscription> mSubscriptions = new ArrayMap<>(); field in MediaBrowserCompat.MediaBrowserImplApi21
1651 Subscription sub = mSubscriptions.get(parentId); in subscribe()
1654 mSubscriptions.put(parentId, sub); in subscribe()
[all …]