Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiNetworkSuggestionsManager.java513 AppOpsChangedListener appOpsChangedListener = in startTrackingAppOpsChange() local
515 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
516 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()
601 AppOpsChangedListener appOpsChangedListener = in stopTrackingAppOpsChange() local
603 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()
607 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointManager.java307 AppOpsChangedListener appOpsChangedListener = new AppOpsChangedListener(packageName, uid); in startTrackingAppOpsChange()
308 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()
309 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()
313 AppOpsChangedListener appOpsChangedListener = mAppOpsChangedListenerPerApp.remove( in stopTrackingAppOpsChange() local
315 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()
319 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()