Searched refs:OP_FLAGS_ALL (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsRecentAccessPersistenceTest.java | 19 import static android.app.AppOpsManager.OP_FLAGS_ALL; 139 assertThat(attributedOpEntry.getLastAccessTime(OP_FLAGS_ALL)).isEqualTo(1710799464518L); in validateUidStates() 140 assertThat(attributedOpEntry.getLastDuration(OP_FLAGS_ALL)).isEqualTo(2963); in validateUidStates() 148 assertThat(attributedOpEntryForDevice.getLastAccessTime(OP_FLAGS_ALL)) in validateUidStates() 150 assertThat(attributedOpEntryForDevice.getLastDuration(OP_FLAGS_ALL)).isEqualTo(7596); in validateUidStates() 153 attributedOpEntryForDevice.getLastProxyInfo(OP_FLAGS_ALL); in validateUidStates()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 21 import static android.app.AppOpsManager.OP_FLAGS_ALL; 485 .that(opEntry.getLastAccessTime(OP_FLAGS_ALL)).isAtLeast(minMillis); in assertContainsOp() 489 opEntry.getLastRejectTime(OP_FLAGS_ALL)).isAtLeast(minRejectMillis); in assertContainsOp()
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 693 public static final int OP_FLAGS_ALL = field in AppOpsManager 4507 return getLastAccessTime(OP_FLAGS_ALL); in getTime() 4622 return getLastRejectTime(OP_FLAGS_ALL); in getRejectTime() 4746 return getLastDuration(OP_FLAGS_ALL); in getDuration() 4828 OpEventProxyInfo proxy = getLastProxyInfo(OP_FLAGS_ALL); in getProxyUid() 4854 OpEventProxyInfo proxy = getLastProxyInfo(OP_FLAGS_ALL); in getProxyPackageName() 5244 private @OpFlags int mFlags = OP_FLAGS_ALL; 5353 Preconditions.checkFlagsArgument(flags, OP_FLAGS_ALL); in setFlags() 6822 long opBeginTime = op.getLastAccessTime(OP_FLAGS_ALL); in filter() 6823 long opEndTime = opBeginTime + op.getLastDuration(OP_FLAGS_ALL); in filter() [all …]
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | AppOpsService.java | 39 import static android.app.AppOpsManager.OP_FLAGS_ALL; 1853 Preconditions.checkFlagsArgument(flags, OP_FLAGS_ALL); in ensureHistoricalOpRequestIsValid() 5556 if (ent.getLastAccessTime(OP_FLAGS_ALL) != -1) { in onShellCommand() 5559 now - ent.getLastAccessTime(OP_FLAGS_ALL), pw); in onShellCommand() 5562 if (ent.getLastRejectTime(OP_FLAGS_ALL) != -1) { in onShellCommand() 5565 now - ent.getLastRejectTime(OP_FLAGS_ALL), pw); in onShellCommand() 5570 } else if (ent.getLastDuration(OP_FLAGS_ALL) != -1) { in onShellCommand() 5572 TimeUtils.formatDuration(ent.getLastDuration(OP_FLAGS_ALL), pw); in onShellCommand() 5578 if (attributionEnt.getLastAccessTime(OP_FLAGS_ALL) != -1) { in onShellCommand() 5582 OP_FLAGS_ALL), pw); in onShellCommand() [all …]
|
D | DiscreteRegistry.java | 30 import static android.app.AppOpsManager.OP_FLAGS_ALL; 451 opNamesFilter, attributionTagFilter, OP_FLAGS_ALL, new ArrayMap<>()); in dump()
|
D | HistoricalRegistry.java | 883 Long.MAX_VALUE /*filterEndTimeMills*/, AppOpsManager.OP_FLAGS_ALL); in readHistoryRawDLocked() 1076 Long.MAX_VALUE /*filterEndTimeMillis*/, AppOpsManager.OP_FLAGS_ALL, null, depth, in handlePersistHistoricalOpsRecursiveDLocked()
|
/frameworks/base/core/api/ |
D | system-current.txt | 718 field public static final int OP_FLAGS_ALL = 31; // 0x1f
|