Home
last modified time | relevance | path

Searched refs:opToName (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java24 import static android.app.AppOpsManager.opToName;
285 assertEquals("Op " + opToName(code) + " disallowed for unsuspended package", MODE_ALLOWED, in assertOpBlockedOnSuspend()
290 assertEquals("Op " + opToName(code) + " allowed for suspended package", MODE_IGNORED, in assertOpBlockedOnSuspend()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsRestrictionsImpl.java341 restrictedOpsValue.append(AppOpsManager.opToName(restrictedOps.keyAt(j))); in dumpRestrictions()
389 restrictedOpsValue.append(AppOpsManager.opToName(restrictedOp)); in dumpRestrictions()
DAudioRestrictionManager.java154 final String op = AppOpsManager.opToName(mZenModeAudioRestrictions.keyAt(o)); in dump()
DAppOpsService.java66 import static android.app.AppOpsManager.opToName;
766 sb.append(opToName(getWatchedOpCode())); in toString()
2032 Slog.i(TAG, "uid " + uid + " OP_" + opToName(code) + " := " + modeToName(mode) in setUidMode()
4103 + attributionTag + ") op=" + AppOpsManager.opToName(code)); in finishOperationUnchecked()
4111 + attributionTag + ") op=" + AppOpsManager.opToName(code)); in finishOperationUnchecked()
4119 + attributionTag + ") op=" + AppOpsManager.opToName(code)); in finishOperationUnchecked()
5552 pw.print(AppOpsManager.opToName(ent.getOp())); in onShellCommand()
6056 pw.print(AppOpsManager.opToName(mOpModeWatchers.keyAt(i))); in dump()
6135 pw.print(AppOpsManager.opToName(activeWatchers.keyAt(opNum))); in dump()
6184 pw.print(AppOpsManager.opToName(startedWatchers.keyAt(opNum))); in dump()
[all …]
DAppOpsUidStateTrackerImpl.java649 pw.print(String.format("%-20s", AppOpsManager.opToName(code)));
DDiscreteRegistry.java1040 pw.print(AppOpsManager.opToName(mPackageOps.keyAt(i))); in dump()
DHistoricalRegistry.java1877 mWriter.print(AppOpsManager.opToName(ops.getOpCode())); in visitHistoricalOp()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastSkipPolicy.java596 + " requires appop " + AppOpsManager.opToName(r.appOp) in shouldSkipMessage()
661 + " requires appop " + AppOpsManager.opToName(appOp) in noteOpForManifestReceiverInner()
DActiveServices.java5100 + " requires appop " + AppOpsManager.opToName(opCode)); in retrieveServiceLocked()
/frameworks/base/core/java/android/os/storage/
DStorageManager.java1850 throw new SecurityException("Op " + AppOpsManager.opToName(op) + " " in checkPermissionAndAppOp()
1857 AppOpsManager.opToName(op) + " has unknown mode " in checkPermissionAndAppOp()
1883 throw new SecurityException("Op " + AppOpsManager.opToName(op) + " " in noteAppOpAllowingLegacy()
1890 AppOpsManager.opToName(op) + " has unknown mode " in noteAppOpAllowingLegacy()
/frameworks/base/services/core/java/com/android/server/
DStorageManagerService.java4986 AppOpsManager.opToName(code) + " changed."); in killAppForOpChange()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowState.java4122 + " appop=" + AppOpsManager.opToName(mAppOp)); in dump()
/frameworks/base/core/java/android/app/
DAppOpsManager.java3179 public static String opToName(int op) { in opToName() method in AppOpsManager