/frameworks/base/services/tests/servicestests/src/com/android/server/appop/ |
D | AppOpsNotedWatcherTest.java | 79 eq(AppOpsManager.OP_FLAG_SELF), in testWatchNotedOps() 85 eq(AppOpsManager.OP_FLAG_SELF), in testWatchNotedOps() 111 eq(AppOpsManager.OP_FLAG_SELF), in testWatchNotedOps() 146 eq(AppOpsManager.OP_FLAG_SELF), eq(AppOpsManager.MODE_ALLOWED)); in testWatchNotedOpsForExternalDevice()
|
D | AppOpsStartedWatcherTest.java | 77 eq(AppOpsManager.OP_FLAG_SELF), eq(AppOpsManager.MODE_ALLOWED), in testWatchStartedOps() 85 eq(AppOpsManager.OP_FLAG_SELF), eq(AppOpsManager.MODE_ALLOWED), in testWatchStartedOps() 113 eq(AppOpsManager.OP_FLAG_SELF), eq(AppOpsManager.MODE_ALLOWED), in testWatchStartedOps() 154 eq(AppOpsManager.OP_FLAG_SELF), in testWatchStartedOpsForExternalDevice()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/ |
D | AppOpsControllerTest.java | 397 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in addCallback_includedCode() 485 AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in getActiveItems_differentDetails() 497 AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in getActiveItemsForUser() 538 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in opNotedScheduledForRemoval() 551 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in noItemsAfterStopListening() 566 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in noDoubleUpdateOnOpNoted() 568 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in noDoubleUpdateOnOpNoted() 582 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in onDoubleOPNoted_scheduleTwiceForRemoval() 584 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in onDoubleOPNoted_scheduleTwiceForRemoval() 633 TEST_ATTRIBUTION_NAME, AppOpsManager.OP_FLAG_SELF, AppOpsManager.MODE_ALLOWED); in testActiveOpNotRemovedAfterNoted() [all …]
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
D | RecentLocationAppsTest.java | 162 AppOpsManager.OP_FLAG_SELF), new AppOpsManager.NoteOpEvent(time, duration, null)); in createOpEntryWithTime()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/ |
D | AppOpsServiceTest.java | 22 import static android.app.AppOpsManager.OP_FLAG_SELF; 458 .getLastAccessTime(OP_FLAG_SELF)); in testUidStateInitializationDoesntClearState()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccess.java | 70 public static final int TRUSTED_STATE_FLAGS = AppOpsManager.OP_FLAG_SELF
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/ |
D | RecentAppOpsAccessesTest.java | 255 AppOpsManager.OP_FLAG_SELF), new AppOpsManager.NoteOpEvent(time, -1, null)); in createOpEntryWithTime()
|
/frameworks/base/services/core/java/com/android/server/appop/ |
D | DiscreteRegistry.java | 31 import static android.app.AppOpsManager.OP_FLAG_SELF; 176 private static final int OP_FLAGS_DISCRETE = OP_FLAG_SELF | OP_FLAG_TRUSTED_PROXIED
|
D | AppOpsService.java | 40 import static android.app.AppOpsManager.OP_FLAG_SELF; 3118 Context.DEVICE_ID_DEFAULT, AppOpsManager.OP_FLAG_SELF, shouldCollectAsyncNotedOp, in noteOperationImpl() 3436 if ((flags & (OP_FLAG_SELF | OP_FLAG_TRUSTED_PROXIED)) != 0 in collectAsyncNotedOp() 3625 OP_FLAG_SELF, startIfModeDefault, shouldCollectAsyncNotedOp, message, in startOperationImpl() 3881 collectAsyncNotedOp(uid, packageName, code, attributionTag, AppOpsManager.OP_FLAG_SELF, in startOperationUnchecked() 6865 OP_FLAG_SELF | OP_FLAG_TRUSTED_PROXIED).build();
|
/frameworks/base/core/java/android/app/ |
D | AppOpsManager.java | 642 public static final int OP_FLAG_SELF = 0x1; field in AppOpsManager 694 OP_FLAG_SELF 708 public static final int OP_FLAGS_ALL_TRUSTED = AppOpsManager.OP_FLAG_SELF 715 OP_FLAG_SELF, 726 case OP_FLAG_SELF: in getFlagName()
|
/frameworks/base/services/core/java/com/android/server/stats/pull/ |
D | StatsPullAtomService.java | 19 import static android.app.AppOpsManager.OP_FLAG_SELF; 299 private static final int OP_FLAGS_PULLED = OP_FLAG_SELF | OP_FLAG_TRUSTED_PROXIED;
|
/frameworks/base/core/api/ |
D | system-current.txt | 720 field public static final int OP_FLAG_SELF = 1; // 0x1
|