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.java1236 final ArrayMap<IBinder, SparseArray<NotedCallback>> mNotedWatchers = new ArrayMap<>(); field in AppOpsService
3216 SparseArray<NotedCallback> callbacks = mNotedWatchers.get(callback.asBinder()); in startWatchingNoted()
3219 mNotedWatchers.put(callback.asBinder(), callbacks); in startWatchingNoted()
3234 mNotedWatchers.remove(callback.asBinder()); in stopWatchingNoted()
3602 final int callbackListCount = mNotedWatchers.size(); in scheduleOpNotedIfNeededLocked()
3604 final SparseArray<NotedCallback> callbacks = mNotedWatchers.valueAt(i); in scheduleOpNotedIfNeededLocked()
5354 if (mNotedWatchers.size() > 0 && dumpMode < 0) { in dump()
5357 for (int watcherNum = 0; watcherNum < mNotedWatchers.size(); watcherNum++) { in dump()
5359 mNotedWatchers.valueAt(watcherNum); in dump()
5377 mNotedWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java212 private final ArrayMap<OnOpNotedListener, IAppOpsNotedCallback> mNotedWatchers = field in AppOpsManager
7069 synchronized (mNotedWatchers) { in startWatchingNoted()
7070 cb = mNotedWatchers.get(callback); in startWatchingNoted()
7080 mNotedWatchers.put(callback, cb); in startWatchingNoted()
7099 synchronized (mNotedWatchers) { in stopWatchingNoted()
7100 final IAppOpsNotedCallback cb = mNotedWatchers.remove(callback); in stopWatchingNoted()