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/
DSyncNotedAppOp.java45 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode;
62 "to", AppOpsManager._NUM_OP - 1); in SyncNotedAppOp()
155 "to", AppOpsManager._NUM_OP - 1); in SyncNotedAppOp()
DRuntimeAppOpAccessMessage.java43 private final @IntRange(from = 0L, to = AppOpsManager._NUM_OP - 1) int mOpCode;
89 "to", AppOpsManager._NUM_OP - 1); in RuntimeAppOpAccessMessage()
204 "to", AppOpsManager._NUM_OP - 1); in RuntimeAppOpAccessMessage()
DAppOpsManager.java259 _NUM_OP) <= config.getAcceptableLeftDistance()
1129 public static final int _NUM_OP = 100; field in AppOpsManager
2420 private static final @ShouldCollectNoteOp byte[] sAppOpsToNote = new byte[_NUM_OP];
2423 if (sOpToSwitch.length != _NUM_OP) {
2425 + " should be " + _NUM_OP);
2427 if (sOpToString.length != _NUM_OP) {
2429 + " should be " + _NUM_OP);
2431 if (sOpNames.length != _NUM_OP) {
2433 + " should be " + _NUM_OP);
2435 if (sOpPerms.length != _NUM_OP) {
[all …]
DAsyncNotedAppOp.java70 Preconditions.checkArgumentInRange(mOpCode, 0, AppOpsManager._NUM_OP - 1, "opCode"); in onConstructed()
/frameworks/native/libs/binder/include/binder/
DAppOpsManager.h134 _NUM_OP = 99 enumerator
/frameworks/native/libs/binder/
DAppOpsManager.cpp172 static uint8_t appOpsToNote[AppOpsManager::_NUM_OP] = {0}; in shouldCollectNotes()
/frameworks/base/services/core/java/com/android/server/appop/
DAppOpsService.java55 import static android.app.AppOpsManager._NUM_OP;
1487 for (int switchedCode = 0; switchedCode < _NUM_OP; switchedCode++) { in AppOpsService()
2735 AppOpsManager._NUM_OP - 1, "Invalid op code: " + op); in startWatchingModeWithFlags()
3117 AppOpsManager._NUM_OP - 1, "Invalid op code in: " + Arrays.toString(ops)); in startWatchingActive()
3165 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingStarted()
3212 Preconditions.checkArrayElementsInRange(ops, 0, AppOpsManager._NUM_OP - 1, in startWatchingNoted()
3654 Preconditions.checkArgumentInRange(opCode, 0, _NUM_OP - 1, "opCode"); in shouldCollectNotes()
3684 if (op >= 0 && op < AppOpsManager._NUM_OP) { in verifyIncomingOp()
4753 if (shell.op > AppOpsManager.OP_NONE && shell.op < AppOpsManager._NUM_OP) { in onShellCommand()
5656 for (int i = 0; i < AppOpsManager._NUM_OP; i++) { in setUserRestrictions()
[all …]
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java731 for (int op = 0; op < AppOpsManager._NUM_OP; op++) { in initializePullersState()