Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DAppOpsManager.java74 final ArrayMap<OnOpChangedListener, IAppOpsCallback> mModeWatchers field in AppOpsManager
1328 synchronized (mModeWatchers) { in startWatchingMode()
1329 IAppOpsCallback cb = mModeWatchers.get(callback); in startWatchingMode()
1341 mModeWatchers.put(callback, cb); in startWatchingMode()
1355 synchronized (mModeWatchers) { in stopWatchingMode()
1356 IAppOpsCallback cb = mModeWatchers.get(callback); in stopWatchingMode()
/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java166 final ArrayMap<IBinder, Callback> mModeWatchers field in AppOpsService
779 Callback cb = mModeWatchers.get(callback.asBinder()); in startWatchingMode()
782 mModeWatchers.put(callback.asBinder(), cb); in startWatchingMode()
806 Callback cb = mModeWatchers.remove(callback.asBinder()); in stopWatchingMode()
1635 if (mModeWatchers.size() > 0) { in dump()
1638 for (int i=0; i<mModeWatchers.size(); i++) { in dump()
1639 pw.print(" "); pw.print(mModeWatchers.keyAt(i)); in dump()
1640 pw.print(" -> "); pw.println(mModeWatchers.valueAt(i)); in dump()