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.java1235 final ArrayMap<IBinder, SparseArray<StartedCallback>> mStartedWatchers = new ArrayMap<>(); field in AppOpsService
3170 SparseArray<StartedCallback> callbacks = mStartedWatchers.get(callback.asBinder()); in startWatchingStarted()
3173 mStartedWatchers.put(callback.asBinder(), callbacks); in startWatchingStarted()
3190 mStartedWatchers.remove(callback.asBinder()); in stopWatchingStarted()
3555 final int callbackListCount = mStartedWatchers.size(); in scheduleOpStartedIfNeededLocked()
3557 final SparseArray<StartedCallback> callbacks = mStartedWatchers.valueAt(i); in scheduleOpStartedIfNeededLocked()
5304 if (mStartedWatchers.size() > 0 && dumpMode < 0) { in dump()
5308 final int watchersSize = mStartedWatchers.size(); in dump()
5311 mStartedWatchers.valueAt(watcherNum); in dump()
5333 mStartedWatchers.keyAt(watcherNum)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java208 private final ArrayMap<OnOpStartedListener, IAppOpsStartedCallback> mStartedWatchers = field in AppOpsManager
7003 synchronized (mStartedWatchers) { in startWatchingStarted()
7004 if (mStartedWatchers.containsKey(callback)) { in startWatchingStarted()
7013 mStartedWatchers.put(callback, cb); in startWatchingStarted()
7034 synchronized (mStartedWatchers) { in stopWatchingStarted()
7035 final IAppOpsStartedCallback cb = mStartedWatchers.remove(callback); in stopWatchingStarted()