Home
last modified time | relevance | path

Searched refs:primaryUserId (Results 1 – 5 of 5) sorted by relevance

/cts/tests/PhotoPicker/src/android/photopicker/cts/
DPhotoPickerCrossProfileTest.java89 final int primaryUserId; in testWorkApp_canAccessPersonalProfileContents() local
91 primaryUserId = sDeviceState.initialUser().id(); in testWorkApp_canAccessPersonalProfileContents()
93 primaryUserId = sDeviceState.primaryUser().id(); in testWorkApp_canAccessPersonalProfileContents()
97 mUriList.addAll(createImagesAndGetUris(imageCount, primaryUserId)); in testWorkApp_canAccessPersonalProfileContents()
126 assertPickerUriFormat(ACTION_PICK_IMAGES, uri, primaryUserId); in testWorkApp_canAccessPersonalProfileContents()
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DCVE_2023_40092.java43 int primaryUserId = device.getCurrentUser(); in testPocCVE_2023_40092() local
52 device.switchUser(primaryUserId); in testPocCVE_2023_40092()
DCVE_2024_0053.java47 int primaryUserId = device.getCurrentUser(); in testPocCVE_2024_0053() local
56 .that(device.switchUser(primaryUserId)) in testPocCVE_2024_0053()
/cts/hostsidetests/backup/src/android/cts/backup/
DBaseMultiUserBackupHostSideTest.java81 int primaryUserId = mDevice.getPrimaryUserId(); in setUp() local
82 if (currentUserId != primaryUserId) { in setUp()
83 mDevice.switchUser(primaryUserId); in setUp()
/cts/hostsidetests/media/src/android/media/cts/
DBaseMultiUserTest.java82 Integer primaryUserId = getDevice().getPrimaryUserId(); in setUp() local
83 if (primaryUserId != null) { in setUp()
84 getDevice().switchUser(primaryUserId); in setUp()