Searched refs:appOpsChangedListener (Results 1 – 2 of 2) sorted by relevance
513 AppOpsChangedListener appOpsChangedListener = in startTrackingAppOpsChange() local515 mAppOps.startWatchingMode(OPSTR_CHANGE_WIFI_STATE, packageName, appOpsChangedListener); in startTrackingAppOpsChange()516 mAppOpsChangedListenerPerApp.put(packageName, appOpsChangedListener); in startTrackingAppOpsChange()601 AppOpsChangedListener appOpsChangedListener = in stopTrackingAppOpsChange() local603 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()607 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()
307 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() local315 if (appOpsChangedListener == null) { in stopTrackingAppOpsChange()319 mAppOps.stopWatchingMode(appOpsChangedListener); in stopTrackingAppOpsChange()