Home
last modified time | relevance | path

Searched refs:OP_FLAG_SELF (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/appop/
DAppOpsNotedWatcherTest.java79 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()
DAppOpsStartedWatcherTest.java77 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/
DAppOpsControllerTest.java397 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/
DRecentLocationAppsTest.java162 AppOpsManager.OP_FLAG_SELF), new AppOpsManager.NoteOpEvent(time, duration, null)); in createOpEntryWithTime()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
DAppOpsServiceTest.java22 import static android.app.AppOpsManager.OP_FLAG_SELF;
458 .getLastAccessTime(OP_FLAG_SELF)); in testUidStateInitializationDoesntClearState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java70 public static final int TRUSTED_STATE_FLAGS = AppOpsManager.OP_FLAG_SELF
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DRecentAppOpsAccessesTest.java255 AppOpsManager.OP_FLAG_SELF), new AppOpsManager.NoteOpEvent(time, -1, null)); in createOpEntryWithTime()
/frameworks/base/services/core/java/com/android/server/appop/
DDiscreteRegistry.java31 import static android.app.AppOpsManager.OP_FLAG_SELF;
176 private static final int OP_FLAGS_DISCRETE = OP_FLAG_SELF | OP_FLAG_TRUSTED_PROXIED
DAppOpsService.java40 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/
DAppOpsManager.java642 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/
DStatsPullAtomService.java19 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/
Dsystem-current.txt720 field public static final int OP_FLAG_SELF = 1; // 0x1