Home
last modified time | relevance | path

Searched refs:pkgOps (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/
DAppOpsService.java311 public ArrayMap<String, Ops> pkgOps; field in AppOpsService.UidState
323 pkgOps = null; in clear()
328 return (pkgOps == null || pkgOps.isEmpty()) in isDefault()
369 if (pkgOps != null) { in evalForegroundOps()
370 for (int i = pkgOps.size() - 1; i >= 0; i--) { in evalForegroundOps()
371 Ops ops = pkgOps.valueAt(i); in evalForegroundOps()
606 ArrayMap<String, Ops> pkgs = uidState.pkgOps; in systemReady()
696 if (uidState.pkgOps != null) { in packageRemoved()
697 ops = uidState.pkgOps.remove(packageName); in packageRemoved()
701 if (ops != null && uidState.pkgOps.isEmpty() in packageRemoved()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appops/
DAppOpsServiceTest.java204 for (PackageOps pkgOps : loggedOps) { in assertContainsOp()
205 assertWithMessage("Unexpected UID").that(mMyUid).isEqualTo(pkgOps.getUid()); in assertContainsOp()
207 pkgOps.getPackageName()); in assertContainsOp()
209 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DAppOpsUpgradeTest.java99 if (uidState.pkgOps == null) { in assertSameModes()
102 for (int j = 0; j < uidState.pkgOps.size(); j++) { in assertSameModes()
103 final AppOpsService.Ops ops = uidState.pkgOps.valueAt(j); in assertSameModes()