/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | RestrictAppPreferenceControllerTest.java | 125 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneApp_showCorrectSummary() 141 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_twoRestrictedAppsForPrimaryUser_visibleAndShowCorrectSummary() 157 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_oneRestrictedAppForTwoUsers_showSummaryAndContainCorrectApp() 176 doReturn(mPackageOpsList).when(mAppOpsManager).getPackagesForOps(any(int[].class)); in updateState_zeroRestrictApp_inVisible()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/ |
D | MockLocationAppPreferenceControllerTest.java | 75 when(mAppOpsManager.getPackagesForOps(any(int[].class))).thenReturn( in updateState_foobarAppSelected_shouldSetSummaryToFoobar() 86 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in updateState_noAppSelected_shouldSetSummaryToDefault() 105 when(mAppOpsManager.getPackagesForOps(any(int[].class))) in onActivityResult_fooPrevAppBarNewApp_shouldRemoveFooAndSetBarAsMockLocationApp()
|
/packages/apps/TvSettings/unbundle/java/com/android/tv/settings/unbundle/sdklib/ |
D | AppOpsManagerCompat.java | 44 public List<PackageOpsCompat> getPackagesForOps(int[] ops) { in getPackagesForOps() method in AppOpsManagerCompat 46 for (AppOpsManager.PackageOps op : mAppOpsManager.getPackagesForOps(ops)) { in getPackagesForOps()
|
D | RecentLocationAppsCompat.java | 72 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_REQUEST_OPS); in getAppList()
|
/packages/apps/Settings/src/com/android/settings/development/ |
D | MockLocationAppPreferenceController.java | 159 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in removeAllMockLocations() 185 final List<AppOpsManager.PackageOps> packageOps = mAppsOpsManager.getPackagesForOps( in getCurrentMockLocationApp()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowAppOpsManager.java | 54 protected List<PackageOps> getPackagesForOps(int[] ops) { in getPackagesForOps() method in ShadowAppOpsManager
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/ |
D | BatteryTipUtils.java | 55 appOpsManager.getPackagesForOps(new int[] {AppOpsManager.OP_RUN_ANY_IN_BACKGROUND}); in getRestrictedAppsList()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/ |
D | RecentlyAccessedByUtils.java | 56 AppOpsManager.class).getPackagesForOps(appOps); in getAppList()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/ |
D | RecentlyAccessedByUtils.java | 56 AppOpsManager.class).getPackagesForOps(appOps); in getAppList()
|
/packages/modules/Permission/PermissionController/tests/mocking/src/com/android/permissioncontroller/tests/mocking/appops/data/repository/ |
D | AppOpRepositoryTest.kt | 89 whenever(appOpsManager.getPackagesForOps(any(Array<String>::class.java))) in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/appops/data/repository/v31/ |
D | AppOpRepository.kt | 168 appOpsManager.getPackagesForOps(appOpNames.toTypedArray()) in getPackageOps()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/ |
D | OpUsageLiveData.kt | 59 appOpsManager.getPackagesForOps(opNames.toTypedArray()) in loadDataAndPostValue()
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/settingslib/ |
D | RecentLocationApps.java | 80 List<AppOpsManager.PackageOps> appOps = aoManager.getPackagesForOps(LOCATION_REQUEST_OPS); in getAppList()
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridge.java | 178 List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpModes()
|
/packages/apps/Settings/src/com/android/settings/vpn2/ |
D | VpnSettings.java | 569 appOpsManager.getPackagesForOps( in enableAdvancedVpnGearIconIfNecessary() 662 aom.getPackagesForOps(new int[] {OP_ACTIVATE_VPN, OP_ACTIVATE_PLATFORM_VPN}); in getVpnApps()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppStateAppOpsBridge.java | 262 final List<AppOpsManager.PackageOps> packageOps = mAppOpsManager.getPackagesForOps( in loadAppOpsStates()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/vpn2/ |
D | VpnSettingsTest.java | 191 when(mAppOpsManager.getPackagesForOps((int[]) any())).thenReturn(apps); in getVpnApps_isNotAdvancedVpn_returnsEmpty()
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/specialaccess/ |
D | AppStateAppOpsBridgeTest.java | 339 when(mMockAppOpsManager.getPackagesForOps((int[]) any())).thenReturn(packageOpsList); in mockPackageOps()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/v31/ |
D | PermissionUsages.java | 340 usageOps = appOpsManager.getPackagesForOps(opNamesArray); in loadInBackground()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/service/ |
D | LocationAccessCheck.java | 434 addLocationNotificationIfNeeded(mAppOpsManager.getPackagesForOps( in addLocationNotificationIfNeeded() 1109 List<UserPackage> packages = getLocationUsersLocked(mAppOpsManager.getPackagesForOps( in rescanAndPushSafetyCenterData()
|
/packages/apps/Settings/src/com/android/settings/applications/appops/ |
D | AppOpsState.java | 553 pkgs = mAppOps.getPackagesForOps(tpl.ops); in buildState()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/development/ |
D | DevelopmentFragment.java | 814 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in writeMockLocation() 882 appOpsManager.getPackagesForOps(MOCK_LOCATION_APP_OPS); in updateMockLocation()
|