Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.java108 private final ArrayMap<OnOpChangedListener, IAppOpsCallback> mModeWatchers = field in AppOpsManager
4729 synchronized (mModeWatchers) { in startWatchingMode()
4730 IAppOpsCallback cb = mModeWatchers.get(callback); in startWatchingMode()
4742 mModeWatchers.put(callback, cb); in startWatchingMode()
4757 synchronized (mModeWatchers) { in stopWatchingMode()
4758 IAppOpsCallback cb = mModeWatchers.remove(callback); in stopWatchingMode()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java531 final ArrayMap<IBinder, ModeCallback> mModeWatchers = new ArrayMap<>(); field in AppOpsService
1672 ModeCallback cb = mModeWatchers.get(callback.asBinder()); in startWatchingModeWithFlags()
1675 mModeWatchers.put(callback.asBinder(), cb); in startWatchingModeWithFlags()
1703 ModeCallback cb = mModeWatchers.remove(callback.asBinder()); in stopWatchingMode()
3796 if (mModeWatchers.size() > 0 && dumpOp < 0 && !dumpHistory) { in dump()
3798 for (int i=0; i<mModeWatchers.size(); i++) { in dump()
3799 final ModeCallback cb = mModeWatchers.valueAt(i); in dump()
3810 pw.print(Integer.toHexString(System.identityHashCode(mModeWatchers.keyAt(i)))); in dump()