Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1234 final ArrayMap<IBinder, SparseArray<ActiveCallback>> mActiveWatchers = new ArrayMap<>(); field in AppOpsService
3123 SparseArray<ActiveCallback> callbacks = mActiveWatchers.get(callback.asBinder()); in startWatchingActive()
3126 mActiveWatchers.put(callback.asBinder(), callbacks); in startWatchingActive()
3143 mActiveWatchers.remove(callback.asBinder()); in stopWatchingActive()
3510 final int callbackListCount = mActiveWatchers.size(); in scheduleOpActiveChangedIfNeededLocked()
3512 final SparseArray<ActiveCallback> callbacks = mActiveWatchers.valueAt(i); in scheduleOpActiveChangedIfNeededLocked()
5263 if (mActiveWatchers.size() > 0 && dumpMode < 0) { in dump()
5266 for (int watcherNum = 0; watcherNum < mActiveWatchers.size(); watcherNum++) { in dump()
5268 mActiveWatchers.valueAt(watcherNum); in dump()
5286 mActiveWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java204 private final ArrayMap<OnOpActiveChangedListener, IAppOpsActiveCallback> mActiveWatchers = field in AppOpsManager
6927 synchronized (mActiveWatchers) { in startWatchingActive()
6928 cb = mActiveWatchers.get(callback); in startWatchingActive()
6946 mActiveWatchers.put(callback, cb); in startWatchingActive()
6967 synchronized (mActiveWatchers) { in stopWatchingActive()
6968 final IAppOpsActiveCallback cb = mActiveWatchers.remove(callback); in stopWatchingActive()