Home
last modified time | relevance | path

Searched defs:currentUser (Results 1 – 23 of 23) sorted by relevance

/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2022_20112.java43 int currentUser = -1; in testPocCVE_2022_20112() local
DCVE_2022_20360.java43 int currentUser = -1; in testPocCVE_2022_20360() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DListForegroundAffiliatedUsersTest.java35 UserHandle currentUser = invokeStaticMethodWithShellPermissions(() -> getCurrentUser()); in testListForegroundAffiliatedUsers_onlyForegroundUser() local
DBaseDeviceOwnerTest.java122 UserHandle currentUser = UserHandle.of(ActivityManager.getCurrentUser()); in getCurrentUser() local
DCreateAndManageUserTest.java227 UserHandle currentUser = getCurrentUser(); in testCreateAndManageUser_LogoutUser_systemApi() local
251 UserHandle currentUser = getCurrentUser(); in testCreateAndManageUser_newUserDisclaimer() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DSecondaryUsersTest.java59 int currentUser = -10000; // UserHandle.USER_NULL; in testSwitchToSecondaryUserBeforeBootComplete() local
/cts/hostsidetests/cpptools/src/com/android/cts/cpptools/
DRunasPermissionsTest.java54 int currentUser = getDevice().getCurrentUser(); in testRunasCanConnectToAppsSocket() local
/cts/tests/tests/permission5/src/android/permission5/cts/
DPermissionCheckerTest.kt38 private val currentUser = Process.myUserHandle() constant
/cts/hostsidetests/graphics/gpumetrics/src/com/android/cts/graphics/
DGpuWorkDumpsysTest.java59 int currentUser = getDevice().getCurrentUser(); in getTestAppUid() local
/cts/hostsidetests/packagemanager/stats/src/com/android/cts/packagemanager/stats/host/
DPackageManagerStatsTestsBase.java77 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local
/cts/tests/tests/security/src/android/security/cts/
DActivityManagerTest.java91 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_onlyNoInteractAcrossPermission() local
122 final int currentUser = mActMan.getCurrentUser(); in testActivityManager_registerUidChangeObserver_allPermission() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/apphibernation/
DAppHibernationStatsTest.java145 List<StatsLog.EventMetricData> data, boolean isHibernating, int currentUser) { in assertUserLevelHibernationStateChangedEvent()
/cts/tests/tests/car_builtin/src/android/car/cts/builtin/os/
DUserManagerHelperTest.java102 UserHandle currentUser = UserHandle.of(ActivityManager.getCurrentUser()); in testMultiplePropertiesForCurrentUser() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/
DAppExitHostTest.java146 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local
/cts/hostsidetests/packagemanager/packagesetting/src/com/android/tests/packagesetting/host/
DPackageSettingTest.java90 final int currentUser = getDevice().getCurrentUser(); in testFirstInstallTimeWithReboot() local
/cts/hostsidetests/appcompat/host/lib/src/android/compat/cts/
DCompatChangeGatingTestCase.java276 int currentUser = getDevice().getCurrentUser(); in getUid() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/statsd/
DDeviceAtomTestCase.java169 int currentUser = getDevice().getCurrentUser(); in getUid() local
/cts/hostsidetests/blobstore/src/com/android/cts/host/blob/
DBaseBlobStoreHostTest.java143 final int currentUser = getDevice().getCurrentUser(); in getAppUid() local
/cts/common/device-side/bedstead/activitycontext/src/main/java/com/android/activitycontext/
DActivityContext.java240 UserReference currentUser = TestApis.users().current(); in getWithContextInternal() local
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java341 UserHandle currentUser = UserHandle.of( in testLocationStorageAndRetrieval() local
/cts/hostsidetests/incident/src/com/android/server/cts/
DBatteryStatsValidationTest.java248 final int currentUser = getDevice().getCurrentUser(); in getUid() local
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/lib/
DDeviceUtils.java228 int currentUser = device.getCurrentUser(); in getAppUid() local
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DDeviceOwnerTest.java368 int currentUser = getCurrentUser(); in testCreateAndManageUser_newUserDisclaimer() local