Home
last modified time | relevance | path

Searched defs:currentUserId (Results 1 – 24 of 24) sorted by relevance

/cts/hostsidetests/appcloning/hostside/src/com/android/cts/appcloning/
DAppCloningHostTest.java204 int currentUserId = getCurrentUserId(); in testCrossUserMediaAccess() local
241 int currentUserId = getCurrentUserId(); in testGetStorageVolumesIncludingSharedProfiles() local
258 int currentUserId = getCurrentUserId(); in testDeletionOfPrimaryApp_deleteAppWithParentPropertyTrue_deletesCloneApp() local
300 int currentUserId = getCurrentUserId(); in testMediaCreationWithContentOwnerSpecified() local
DAppCloningPublicVolumeTest.java74 int currentUserId = getCurrentUserId(); in testCrossUserMediaAccessInPublicSdCard() local
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_21128.java42 int currentUserId = -1; in testPocCVE_2023_21128() local
DCVE_2023_21286.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21286() local
DCVE_2023_21279.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21279() local
DCVE_2023_21238.java48 final int currentUserId = device.getCurrentUser(); in testPocCVE_2023_21238() local
/cts/hostsidetests/scopedstorage/host/src/android/scopedstorage/cts/host/
DScopedStorageCoreHostTest.java181 int currentUserId = getCurrentUserId(); in grantPermissions() local
189 int currentUserId = getCurrentUserId(); in revokePermissions() local
DScopedStorageHostTest.java359 int currentUserId = getCurrentUserId(); in grantPermissionsToPackage() local
371 int currentUserId = getCurrentUserId(); in revokePermissions() local
DLegacyStorageHostTest.java56 int currentUserId = getCurrentUserId(); in grantPermissions() local
64 int currentUserId = getCurrentUserId(); in revokePermissions() local
DAppCloningMediaProviderHostTest.java113 int currentUserId = getCurrentUserId(); in testGetFilesInDirectoryViaMediaProvider() local
/cts/common/host-side/util-axt/src/com/android/compatibility/common/util/
DUserUtil.java57 int currentUserId = device.getCurrentUser(); in getTestUserId() local
/cts/hostsidetests/multiuser/src/android/host/multiuser/
DBaseMultiUserTest.java85 int currentUserId = getDevice().getCurrentUser(); in tearDown() local
155 final int currentUserId = getDevice().getCurrentUser(); in assertSwitchToUser() local
/cts/tests/suspendapps/tests/src/android/suspendapps/cts/
DDistractingPackageTest.java102 final int currentUserId = getCurrentUserId(); in testShouldHideFromSuggestions() local
DSuspendPackagesTest.java198 final int currentUserId = getCurrentUserId(); in testLauncherCallback() local
/cts/common/device-side/bedstead/dpmwrapper/src/main/java/com/android/bedstead/dpmwrapper/
DTestAppCallbacksReceiver.java138 int currentUserId = ActivityManager.getCurrentUser(); in sendBroadcast() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/
DUsers.java170 int currentUserId = ActivityManager.getCurrentUser(); in current() local
/cts/hostsidetests/media/src/android/media/session/cts/
DMediaSessionManagerHostTest.java349 int currentUserId = getDevice().getCurrentUser(); in getUserIdForTesting() local
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java77 int currentUserId = mDevice.getCurrentUser(); in setUp() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DUtils.java110 int currentUserId = ActivityManager.getCurrentUser(); in getNotificationManager() local
/cts/hostsidetests/appsecurity/src/android/appsecurity/cts/
DUtils.java155 int currentUserId = device.getCurrentUser(); in prepareMultipleUsers() local
/cts/tests/tests/content/src/android/content/pm/cts/
DApplicationInfoTest.java192 int currentUserId = Process.myUserHandle().getIdentifier(); in verifyDefaultValues() local
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DCreateAndManageUserTest.java246 int currentUserId = UserHandle.USER_NULL; in newUserDisclaimer() local
346 int currentUserId = ActivityManager.getCurrentUser(); in testCreateAndManageUser_LeaveAllSystemApps() local
/cts/hostsidetests/car/util/src/android/car/cts/
DCarHostJUnit4TestCase.java132 int currentUserId = getCurrentUserId(); in restoreUsersState() local
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioRecordTest.java782 int currentUserId = Process.myUserHandle().getIdentifier(); in testRecordNoDataForIdleUids() local