Home
last modified time | relevance | path

Searched refs:mNotedWatchers (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java727 final ArrayMap<IBinder, SparseArray<NotedCallback>> mNotedWatchers = new ArrayMap<>(); field in AppOpsService
3381 SparseArray<NotedCallback> callbacks = mNotedWatchers.get(callback.asBinder()); in startWatchingNoted()
3384 mNotedWatchers.put(callback.asBinder(), callbacks); in startWatchingNoted()
3399 mNotedWatchers.remove(callback.asBinder()); in stopWatchingNoted()
4239 final int callbackListCount = mNotedWatchers.size(); in scheduleOpNotedIfNeededLocked()
4241 final SparseArray<NotedCallback> callbacks = mNotedWatchers.valueAt(i); in scheduleOpNotedIfNeededLocked()
6195 if (mNotedWatchers.size() > 0 && dumpMode < 0) { in dump()
6198 for (int watcherNum = 0; watcherNum < mNotedWatchers.size(); watcherNum++) { in dump()
6200 mNotedWatchers.valueAt(watcherNum); in dump()
6218 mNotedWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java257 private final ArrayMap<OnOpNotedListener, IAppOpsNotedCallback> mNotedWatchers = field in AppOpsManager
8689 synchronized (mNotedWatchers) { in startWatchingNoted()
8690 cb = mNotedWatchers.get(listener); in startWatchingNoted()
8716 mNotedWatchers.put(listener, cb); in startWatchingNoted()
8736 synchronized (mNotedWatchers) { in stopWatchingNoted()
8737 final IAppOpsNotedCallback cb = mNotedWatchers.remove(callback); in stopWatchingNoted()