Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java1233 final ArrayMap<IBinder, ModeCallback> mModeWatchers = new ArrayMap<>(); field in AppOpsService
2286 callbackSpecs.remove(mModeWatchers.get(callbackToIgnore.asBinder())); in notifyOpChangedForAllPkgsInUid()
2467 repCbs.remove(mModeWatchers.get(permissionPolicyCallback.asBinder())); in setMode()
2753 ModeCallback cb = mModeWatchers.get(callback.asBinder()); in startWatchingModeWithFlags()
2757 mModeWatchers.put(callback.asBinder(), cb); in startWatchingModeWithFlags()
2785 ModeCallback cb = mModeWatchers.remove(callback.asBinder()); in stopWatchingMode()
5245 if (mModeWatchers.size() > 0 && dumpOp < 0 && !dumpHistory) { in dump()
5247 for (int i=0; i<mModeWatchers.size(); i++) { in dump()
5248 final ModeCallback cb = mModeWatchers.valueAt(i); in dump()
5259 pw.print(Integer.toHexString(System.identityHashCode(mModeWatchers.keyAt(i)))); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java200 private final ArrayMap<OnOpChangedListener, IAppOpsCallback> mModeWatchers = field in AppOpsManager
6845 synchronized (mModeWatchers) { in startWatchingMode()
6846 IAppOpsCallback cb = mModeWatchers.get(callback); in startWatchingMode()
6858 mModeWatchers.put(callback, cb); in startWatchingMode()
6880 synchronized (mModeWatchers) { in stopWatchingMode()
6881 IAppOpsCallback cb = mModeWatchers.remove(callback); in stopWatchingMode()