Home
last modified time | relevance | path

Searched refs:userId2 (Results 1 – 2 of 2) sorted by relevance

/cts/hostsidetests/multiuser/src/android/host/multiuser/
DUserManagerHostTest.java49 final int userId2 = getDevice().createUser("test_user_2"); in getPreviousForegroundUser_correctAfterReboot() local
50 assertSwitchToUser(userId2); in getPreviousForegroundUser_correctAfterReboot()
54 if (getDevice().getCurrentUser() == userId2) { in getPreviousForegroundUser_correctAfterReboot()
57 assertPreviousUserIs(userId2); in getPreviousForegroundUser_correctAfterReboot()
/cts/hostsidetests/devicepolicy/src/com/android/cts/devicepolicy/
DBaseDevicePolicyTest.java922 protected void affiliateUsers(String deviceAdminPkg, int userId1, int userId2) in affiliateUsers() argument
924 CLog.d("Affiliating users %d and %d on admin package %s", userId1, userId2, deviceAdminPkg); in affiliateUsers()
928 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId2); in affiliateUsers()