Searched refs:sSecondUserId (Results 1 – 1 of 1) sorted by relevance
65 private static int sSecondUserId; field in StartActivityAsUserTests87 sSecondUserId = Integer.parseInt(output.substring(output.lastIndexOf(" ")).trim()); in createSecondUser()92 if (sSecondUserId == 0) { in createSecondUser()97 runShellCommand("pm install-existing --user " + sSecondUserId + " android.server.wm.cts"); in createSecondUser()98 runShellCommand("am start-user -w " + sSecondUserId); in createSecondUser()103 if (sSecondUserId == 0) { in removeSecondUser()106 runShellCommand("am stop-user -w -f " + sSecondUserId); in removeSecondUser()107 runShellCommand("pm remove-user " + sSecondUserId); in removeSecondUser()108 sSecondUserId = 0; in removeSecondUser()114 assertThat(sSecondUserId).isNotEqualTo(0); in checkMultipleUsersNotSupportedOrSecondUserCreated()[all …]