Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceControllerTest.java117 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_oneApp_showCorrectSummary()
130 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary()
143 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp()
158 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in testUpdateState_zeroRestrictApp_inVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java78 when(mAppOpsManager.getPackagesForOps(any(int[].class))).thenReturn( in updateState_foobarAppSelected_shouldSetSummaryToFoobar()
88 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in updateState_noAppSelected_shouldSetSummaryToDefault()
106 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMockLocationAppPreferenceController.java130 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()
155 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java136 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()
161 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAppOpsManager.java53 protected List<PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() method in ShadowAppOpsManager
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java61 final List<AppOpsManager.PackageOps> packageOpsList = appOpsManager.getPackagesForOps( in getRestrictedAppsList()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java136 List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpModes()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipUtils.java61 final List<AppOpsManager.PackageOps> packageOpsList = appOpsManager.getPackagesForOps( in getRestrictedAppsList()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DAppStateAppOpsBridge.java241 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java241 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java527 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DVpnSettings.java527 List<AppOpsManager.PackageOps> apps = aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN}); in getVpnApps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java735 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in writeMockLocation()
803 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in updateMockLocation()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appops/
DAppOpsState.java553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/service/
DLocationAccessCheck.java361 addLocationNotificationIfNeeded(mAppOpsManager.getPackagesForOps( in addLocationNotificationIfNeeded()