Home
last modified time | relevance | path

Searched refs:_NUM_OP (Results 1 – 9 of 9) 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()
243 "to", AppOpsManager._NUM_OP - 1); in SyncNotedAppOp()
DAppOpsManager.java284 _NUM_OP) <= config.getAcceptableLeftDistance()
1348 public static final int _NUM_OP = 121; field in AppOpsManager
3100 private static final @ShouldCollectNoteOp byte[] sAppOpsToNote = new byte[_NUM_OP];
3103 if (sOpToSwitch.length != _NUM_OP) {
3105 + " should be " + _NUM_OP);
3107 if (sOpToString.length != _NUM_OP) {
3109 + " should be " + _NUM_OP);
3111 if (sOpNames.length != _NUM_OP) {
3113 + " should be " + _NUM_OP);
3115 if (sOpPerms.length != _NUM_OP) {
[all …]
DAsyncNotedAppOp.java71 Preconditions.checkArgumentInRange(mOpCode, 0, AppOpsManager._NUM_OP - 1, "opCode"); in onConstructed()
/frameworks/native/libs/permission/include/binder/
DAppOpsManager.h151 _NUM_OP = 117 enumerator
/frameworks/native/libs/permission/
DAppOpsManager.cpp174 static uint8_t appOpsToNote[AppOpsManager::_NUM_OP] = {0}; in shouldCollectNotes()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java68 import static android.app.AppOpsManager._NUM_OP;
1794 for (int switchedCode = 0; switchedCode < _NUM_OP; switchedCode++) { in AppOpsService()
3125 AppOpsManager._NUM_OP - 1, "Invalid op code: " + op); in startWatchingModeWithFlags()
3556 AppOpsManager._NUM_OP - 1, "Invalid op code in: " + Arrays.toString(ops)); in startWatchingActive()
3604 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingStarted()
3651 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingNoted()
4345 Preconditions.checkArgumentInRange(opCode, 0, _NUM_OP - 1, "opCode"); in shouldCollectNotes()
4396 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
5600 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
6573 for (int i = 0; i < AppOpsManager._NUM_OP; i++) {
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java817 for (int op = 0; op < AppOpsManager._NUM_OP; op++) { in initializePullersState()