Searched refs:userId2 (Results 1 – 2 of 2) sorted by relevance
49 final int userId2 = getDevice().createUser("test_user_2"); in getPreviousForegroundUser_correctAfterReboot() local50 assertSwitchToUser(userId2); in getPreviousForegroundUser_correctAfterReboot()54 if (getDevice().getCurrentUser() == userId2) { in getPreviousForegroundUser_correctAfterReboot()57 assertPreviousUserIs(userId2); in getPreviousForegroundUser_correctAfterReboot()
922 protected void affiliateUsers(String deviceAdminPkg, int userId1, int userId2) in affiliateUsers() argument924 CLog.d("Affiliating users %d and %d on admin package %s", userId1, userId2, deviceAdminPkg); in affiliateUsers()928 deviceAdminPkg, ".AffiliationTest", "testSetAffiliationId1", userId2); in affiliateUsers()