Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DRestrictAppPreferenceControllerTest.java123 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneApp_showCorrectSummary()
139 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary()
155 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp()
173 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_zeroRestrictApp_inVisible()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DMockLocationAppPreferenceControllerTest.java77 when(mAppOpsManager.getPackagesForOps(any(int[].class))).thenReturn( in updateState_foobarAppSelected_shouldSetSummaryToFoobar()
87 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in updateState_noAppSelected_shouldSetSummaryToDefault()
105 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java137 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations()
163 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DShadowAppOpsManager.java54 protected List<PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() method in ShadowAppOpsManager
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DRecentlyAccessedByUtils.java56 AppOpsManager.class).getPackagesForOps(appOps); in getAppList()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStateAppOpsBridge.java136 List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpModes()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DOpUsageLiveData.kt56 appOpsManager.getPackagesForOps(opNames.toTypedArray()) in loadDataAndPostValue()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipUtils.java61 final List<AppOpsManager.PackageOps> packageOpsList = appOpsManager.getPackagesForOps( in getRestrictedAppsList()
/packages/apps/Settings/src/com/android/settings/applications/
DAppStateAppOpsBridge.java261 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionUsages.java331 usageOps = appOpsManager.getPackagesForOps(opNamesArray); in loadInBackground()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java529 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
/packages/apps/Settings/src/com/android/settings/applications/appops/
DAppOpsState.java553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/
DDevelopmentFragment.java785 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in writeMockLocation()
853 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in updateMockLocation()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/
DLocationAccessCheck.java361 addLocationNotificationIfNeeded(mAppOpsManager.getPackagesForOps( in addLocationNotificationIfNeeded()