Searched refs:appOpsChangedListener (Results 1 – 2 of 2) sorted by relevance
351 AppOpsChangedListener appOpsChangedListener = new AppOpsChangedListener(packageName, uid); in startTrackingAppOpsChange()352 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()353 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()357 AppOpsChangedListener appOpsChangedListener = mAppOpsChangedListenerPerApp.remove( in stopTrackingAppOpsChange() local359 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()363 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()
838 AppOpsChangedListener appOpsChangedListener = in startTrackingAppOpsChange() local840 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()841 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()1295 AppOpsChangedListener appOpsChangedListener = in stopTrackingAppOpsChange() local1297 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()1301 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()