Searched refs:appOpsChangedListener (Results 1 – 2 of 2) sorted by relevance
530 AppOpsChangedListener appOpsChangedListener = in startTrackingAppOpsChange() local532 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()533 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()633 AppOpsChangedListener appOpsChangedListener = in stopTrackingAppOpsChange() local635 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()639 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()
308 AppOpsChangedListener appOpsChangedListener = new AppOpsChangedListener(packageName, uid); in startTrackingAppOpsChange()309 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()310 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()314 AppOpsChangedListener appOpsChangedListener = mAppOpsChangedListenerPerApp.remove( in stopTrackingAppOpsChange() local316 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()320 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()