Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java726 final ArrayMap<IBinder, SparseArray<StartedCallback>> mStartedWatchers = new ArrayMap<>(); field in AppOpsService
3335 SparseArray<StartedCallback> callbacks = mStartedWatchers.get(callback.asBinder()); in startWatchingStarted()
3338 mStartedWatchers.put(callback.asBinder(), callbacks); in startWatchingStarted()
3355 mStartedWatchers.remove(callback.asBinder()); in stopWatchingStarted()
4183 final int callbackListCount = mStartedWatchers.size(); in scheduleOpStartedIfNeededLocked()
4185 final SparseArray<StartedCallback> callbacks = mStartedWatchers.valueAt(i); in scheduleOpStartedIfNeededLocked()
6145 if (mStartedWatchers.size() > 0 && dumpMode < 0) { in dump()
6149 final int watchersSize = mStartedWatchers.size(); in dump()
6152 mStartedWatchers.valueAt(watcherNum); in dump()
6174 mStartedWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java253 private final ArrayMap<OnOpStartedListener, IAppOpsStartedCallback> mStartedWatchers = field in AppOpsManager
8519 synchronized (mStartedWatchers) { in startWatchingStarted()
8520 if (mStartedWatchers.containsKey(callback)) { in startWatchingStarted()
8532 mStartedWatchers.put(callback, cb); in startWatchingStarted()
8553 synchronized (mStartedWatchers) { in stopWatchingStarted()
8554 final IAppOpsStartedCallback cb = mStartedWatchers.remove(callback); in stopWatchingStarted()