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.java548 final ArrayMap<IBinder, SparseArray<NotedCallback>> mNotedWatchers = new ArrayMap<>(); field in AppOpsService
2185 SparseArray<NotedCallback> callbacks = mNotedWatchers.get(callback.asBinder()); in startWatchingNoted()
2188 mNotedWatchers.put(callback.asBinder(), callbacks); in startWatchingNoted()
2203 mNotedWatchers.remove(callback.asBinder()); in stopWatchingNoted()
2405 final int callbackListCount = mNotedWatchers.size(); in scheduleOpNotedIfNeededLocked()
2407 final SparseArray<NotedCallback> callbacks = mNotedWatchers.valueAt(i); in scheduleOpNotedIfNeededLocked()
4001 if (mNotedWatchers.size() > 0 && dumpMode < 0) { in dump()
4004 for (int watcherNum = 0; watcherNum < mNotedWatchers.size(); watcherNum++) { in dump()
4006 mNotedWatchers.valueAt(watcherNum); in dump()
4024 mNotedWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java116 private final ArrayMap<OnOpNotedListener, IAppOpsNotedCallback> mNotedWatchers = field in AppOpsManager
4920 synchronized (mNotedWatchers) { in startWatchingNoted()
4921 cb = mNotedWatchers.get(callback); in startWatchingNoted()
4931 mNotedWatchers.put(callback, cb); in startWatchingNoted()
4950 synchronized (mNotedWatchers) { in stopWatchingNoted()
4951 final IAppOpsNotedCallback cb = mNotedWatchers.get(callback); in stopWatchingNoted()