Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DApplicationPackageManager.java1307 synchronized (mPermissionListeners) { in addOnPermissionsChangeListener()
1308 if (mPermissionListeners.get(listener) != null) { in addOnPermissionsChangeListener()
1315 mPermissionListeners.put(listener, delegate); in addOnPermissionsChangeListener()
1324 synchronized (mPermissionListeners) { in removeOnPermissionsChangeListener()
1325 IOnPermissionsChangeListener delegate = mPermissionListeners.get(listener); in removeOnPermissionsChangeListener()
1329 mPermissionListeners.remove(listener); in removeOnPermissionsChangeListener()
2427 mPermissionListeners = new ArrayMap<>(); field in ApplicationPackageManager
/frameworks/base/services/core/java/com/android/server/pm/
DPackageManagerService.java20682 private final RemoteCallbackList<IOnPermissionsChangeListener> mPermissionListeners =
20700 mPermissionListeners.register(listener);
20705 mPermissionListeners.unregister(listener);
20709 if (mPermissionListeners.getRegisteredCallbackCount() > 0) {
20715 final int count = mPermissionListeners.beginBroadcast();
20718 IOnPermissionsChangeListener callback = mPermissionListeners
20727 mPermissionListeners.finishBroadcast();