Home
last modified time | relevance | path

Searched refs:_NUM_OP (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/app/
DMessageSamplingConfig.java35 private final @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int mSampledOpCode;
37 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mAcceptableLeftDistance;
72 @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int sampledOpCode, in MessageSamplingConfig()
73 @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int acceptableLeftDistance, in MessageSamplingConfig()
79 "to", AppOpsManager._NUM_OP - 1); in MessageSamplingConfig()
84 "to", AppOpsManager._NUM_OP - 1); in MessageSamplingConfig()
97 public @IntRange(from = -1L, to = AppOpsManager._NUM_OP - 1) int getSampledOpCode() { in getSampledOpCode()
105 public @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int getAcceptableLeftDistance() { in getAcceptableLeftDistance()
147 "to", AppOpsManager._NUM_OP - 1); in MessageSamplingConfig()
152 "to", AppOpsManager._NUM_OP - 1); in MessageSamplingConfig()
/frameworks/base/core/java/android/app/
DRuntimeAppOpAccessMessage.java41 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode;
87 "to", AppOpsManager._NUM_OP - 1); in RuntimeAppOpAccessMessage()
202 "to", AppOpsManager._NUM_OP - 1); in RuntimeAppOpAccessMessage()
DSyncNotedAppOp.java52 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode;
72 "to", AppOpsManager._NUM_OP - 1); in SyncNotedAppOp()
244 "to", AppOpsManager._NUM_OP - 1); in SyncNotedAppOp()
DAsyncNotedAppOp.java71 Preconditions.checkArgumentInRange(mOpCode, 0, AppOpsManager._NUM_OP - 1, "opCode"); in onConstructed()
DAppOpsManager.java304 _NUM_OP) <= config.getAcceptableLeftDistance()
1613 public static final int _NUM_OP = 149; field in AppOpsManager
2519 private static final @ShouldCollectNoteOp byte[] sAppOpsToNote = new byte[_NUM_OP];
3086 private static final int BITMASK_LEN = ((_NUM_OP - 1) / Long.SIZE) + 1;
3092 Preconditions.checkArgumentInRange(op, 0, _NUM_OP - 1, "opCode"); in shouldForceCollectNoteForOp()
3126 if (sAppOpInfos.length != _NUM_OP) {
3128 + " should be " + _NUM_OP);
3130 for (int i=0; i<_NUM_OP; i++) {
3888 private final @IntRange(from = 0, to = _NUM_OP - 1) int mOp;
4344 @IntRange(from = 0, to = _NUM_OP - 1) int op, in AttributedOpEntry()
[all …]
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h151 _NUM_OP = 117 enumerator
/frameworks/native/libs/permission/
DAppOpsManager.cpp182 static uint8_t appOpsToNote[AppOpsManager::_NUM_OP] = {0}; in shouldCollectNotes()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsUpgradeTest.java21 import static android.app.AppOpsManager._NUM_OP;
182 for (int switchedCode = 0; switchedCode < _NUM_OP; switchedCode++) { in buildSwitchedOpsArray()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java60 import static android.app.AppOpsManager._NUM_OP;
970 for (int switchedCode = 0; switchedCode < _NUM_OP; switchedCode++) { in AppOpsService()
2705 AppOpsManager._NUM_OP - 1, "Invalid op code: " + op); in startWatchingModeWithFlags()
3282 AppOpsManager._NUM_OP - 1, "Invalid op code in: " + Arrays.toString(ops)); in startWatchingActive()
3330 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingStarted()
3377 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingNoted()
4297 Preconditions.checkArgumentInRange(opCode, 0, _NUM_OP - 1, "opCode"); in shouldCollectNotes()
4368 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
5537 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
6414 for (int i = 0; i < AppOpsManager._NUM_OP; i++) {
[all …]
/frameworks/base/services/permission/java/com/android/server/permission/access/appop/
DAppOpService.kt121 for (appOpCode in 0 until AppOpsManager._NUM_OP) { in <lambda>()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java891 for (int op = 0; op < AppOpsManager._NUM_OP; op++) { in initializePullersState()