Home
last modified time | relevance | path

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

/packages/apps/PermissionController/src/com/android/permissioncontroller/permission/data/
DPackageBroadcastReceiver.kt45 private val changeCallbacks = mutableMapOf<String, MutableSet<PackageBroadcastListener>>() in <lambda>() constant
58 changeCallbacks.getOrPut(packageName, { mutableSetOf() }).add(listener) in <lambda>()
111 changeCallbacks[packageName]?.let { callbackSet -> in <lambda>()
114 changeCallbacks.remove(packageName) in <lambda>()
125 for ((_, changeCallbackSet) in changeCallbacks) { in <lambda>()
149 changeCallbacks[packageName]?.toList()?.let { callbacks -> in <lambda>()