Searched refs:mModeWatchers (Results 1 – 2 of 2) sorted by relevance
1233 final ArrayMap<IBinder, ModeCallback> mModeWatchers = new ArrayMap<>(); field in AppOpsService2286 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()
200 private final ArrayMap<OnOpChangedListener, IAppOpsCallback> mModeWatchers = field in AppOpsManager6845 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()