Searched refs:_NUM_OP (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/java/com/android/internal/app/ |
D | MessageSamplingConfig.java | 35 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/ |
D | RuntimeAppOpAccessMessage.java | 41 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()
|
D | SyncNotedAppOp.java | 52 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()
|
D | AsyncNotedAppOp.java | 71 Preconditions.checkArgumentInRange(mOpCode, 0, AppOpsManager._NUM_OP - 1, "opCode"); in onConstructed()
|
D | AppOpsManager.java | 304 _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/ |
D | AppOpsManager.h | 151 _NUM_OP = 117 enumerator
|
/frameworks/native/libs/permission/ |
D | AppOpsManager.cpp | 182 static uint8_t appOpsToNote[AppOpsManager::_NUM_OP] = {0}; in shouldCollectNotes()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsUpgradeTest.java | 21 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/ |
D | AppOpsService.java | 60 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/ |
D | AppOpService.kt | 121 for (appOpCode in 0 until AppOpsManager._NUM_OP) { in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 891 for (int op = 0; op < AppOpsManager._NUM_OP; op++) { in initializePullersState()
|