Home
last modified time | relevance | path

Searched refs:packageOps (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java141 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() local
146 packageOpsList.add(packageOps); in createTestPackageOpsList()
DRecentLocationAppsTest.java139 PackageOps packageOps = createPackageOps( in createTestPackageOpsList() local
145 packageOpsList.add(packageOps); in createTestPackageOpsList()
/frameworks/base/services/core/java/com/android/server/appop/
DHistoricalRegistry.java1383 final HistoricalPackageOps packageOps = uidOps.getPackageOpsAt(i); in writeHistoricalUidOpsDLocked() local
1384 writeHistoricalPackageOpsDLocked(packageOps, serializer); in writeHistoricalUidOpsDLocked()
1389 private void writeHistoricalPackageOpsDLocked(@NonNull HistoricalPackageOps packageOps, in writeHistoricalPackageOpsDLocked() argument
1392 serializer.attribute(null, ATTR_NAME, packageOps.getPackageName()); in writeHistoricalPackageOpsDLocked()
1393 final int opCount = packageOps.getOpCount(); in writeHistoricalPackageOpsDLocked()
1395 final HistoricalOp op = packageOps.getOpAt(i); in writeHistoricalPackageOpsDLocked()
DAppOpsService.java3552 AppOpsManager.PackageOps packageOps = ops.get(i); in onShellCommand() local
3553 if (packageOps.getPackageName() == null) { in onShellCommand()
3556 List<AppOpsManager.OpEntry> entries = packageOps.getOps(); in onShellCommand()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3381 final HistoricalPackageOps packageOps = getPackageOpsAt(i); in filter() local
3382 if (packageName != null && !packageName.equals(packageOps.getPackageName())) { in filter()
3385 packageOps.filter(opNames, fractionToRemove); in filter()
3393 final HistoricalPackageOps packageOps = mHistoricalPackageOps.valueAt(i); in isEmpty() local
3394 if (!packageOps.isEmpty()) { in isEmpty()
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java2098 final HistoricalPackageOps packageOps = uidOps.getPackageOpsAt(pkgIdx); in pullAppOps() local
2099 for (int opIdx = 0; opIdx < packageOps.getOpCount(); opIdx++) { in pullAppOps()
2100 final AppOpsManager.HistoricalOp op = packageOps.getOpAt(opIdx); in pullAppOps()
2102 e.writeString(packageOps.getPackageName()); in pullAppOps()