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.java533 final ArrayMap<IBinder, SparseArray<NotedCallback>> mNotedWatchers = new ArrayMap<>(); field in AppOpsService
2123 SparseArray<NotedCallback> callbacks = mNotedWatchers.get(callback.asBinder()); in startWatchingNoted()
2126 mNotedWatchers.put(callback.asBinder(), callbacks); in startWatchingNoted()
2141 mNotedWatchers.remove(callback.asBinder()); in stopWatchingNoted()
2325 final int callbackListCount = mNotedWatchers.size(); in scheduleOpNotedIfNeededLocked()
2327 final SparseArray<NotedCallback> callbacks = mNotedWatchers.valueAt(i); in scheduleOpNotedIfNeededLocked()
3855 if (mNotedWatchers.size() > 0 && dumpMode < 0) { in dump()
3858 for (int i = 0; i < mNotedWatchers.size(); i++) { in dump()
3859 final SparseArray<NotedCallback> notedWatchers = mNotedWatchers.valueAt(i); in dump()
3877 mNotedWatchers.keyAt(i)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java116 private final ArrayMap<OnOpNotedListener, IAppOpsNotedCallback> mNotedWatchers = field in AppOpsManager
4865 synchronized (mNotedWatchers) { in startWatchingNoted()
4866 cb = mNotedWatchers.get(callback); in startWatchingNoted()
4876 mNotedWatchers.put(callback, cb); in startWatchingNoted()
4895 synchronized (mNotedWatchers) { in stopWatchingNoted()
4896 final IAppOpsNotedCallback cb = mNotedWatchers.get(callback); in stopWatchingNoted()