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/appop/
DAppOpsService.java332 public ArrayMap<String, Ops> pkgOps; field in AppOpsService.UidState
344 pkgOps = null; in clear()
349 return (pkgOps == null || pkgOps.isEmpty()) in isDefault()
392 if (pkgOps != null) { in evalForegroundOps()
393 for (int i = pkgOps.size() - 1; i >= 0; i--) { in evalForegroundOps()
394 Ops ops = pkgOps.valueAt(i); in evalForegroundOps()
766 ArrayMap<String, Ops> pkgs = uidState.pkgOps; in systemReady()
887 if (uidState.pkgOps != null) { in packageRemoved()
888 ops = uidState.pkgOps.remove(packageName); in packageRemoved()
892 if (ops != null && uidState.pkgOps.isEmpty() in packageRemoved()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java100 if (uidState.pkgOps == null) { in assertSameModes()
103 for (int j = 0; j < uidState.pkgOps.size(); j++) { in assertSameModes()
104 final AppOpsService.Ops ops = uidState.pkgOps.valueAt(j); in assertSameModes()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java451 for (PackageOps pkgOps : loggedOps) { in assertContainsOp()
452 assertWithMessage("Unexpected UID").that(mMyUid).isEqualTo(pkgOps.getUid()); in assertContainsOp()
454 pkgOps.getPackageName()); in assertContainsOp()
456 for (OpEntry opEntry : pkgOps.getOps()) { in assertContainsOp()