Home
last modified time | relevance | path

Searched refs:username (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DMultiUserSetupUtil.java38 String username, in prepareRemoteUser() argument
45 "sudo useradd " + username + " -G sudo,kvm,cvdnetwork -m -s /bin/bash -p '*'"; in prepareRemoteUser()
63 String username = String.format("cvd-%s", useridString); in addExtraCvdUser() local
65 "sudo useradd " + username + " -G plugdev -m -s /bin/bash -p '*'"; in addExtraCvdUser()
72 .contains(String.format("user '%s' already exists", username))) { in addExtraCvdUser()
116 String username, in prepareRemoteHomeDir() argument
125 copyCommandBuilder.append(" /home/" + username + "/"); in prepareRemoteHomeDir()
137 String chownUser = getChownCommand(username); in prepareRemoteHomeDir()
147 "sudo ln -s /home/" + mainRootUser + "/" + file + " /home/" + username + "/"; in prepareRemoteHomeDir()
159 public static String getChownCommand(String username) { in getChownCommand() argument
[all …]
DNestedRemoteDevice.java94 String username = IP_TO_USER.get(getSerialNumber()); in resetVirtualDevice() local
96 String stopCvdCommand = String.format("sudo runuser -l %s -c 'stop_cvd'", username); in resetVirtualDevice()
109 logDebugFiles(logger, username); in resetVirtualDevice()
113 LaunchCvdHelper.createSimpleDeviceCommand(username, true, false, false); in resetVirtualDevice()
123 captureLauncherLog(username, logger); in resetVirtualDevice()
137 private void logDebugFiles(ITestLogger logger, String username) { in logDebugFiles() argument
143 File toLog = new File(String.format(entry.path, username)); in logDebugFiles()
151 toLog.getName(), username, formatter.format(new Date())), in logDebugFiles()
157 logBugreport(String.format("before_reset_%s_bugreport", username), logger); in logDebugFiles()
176 private void captureLauncherLog(String username, ITestLogger logger) { in captureLauncherLog() argument
[all …]
DLaunchCvdHelper.java31 public static List<String> createSimpleDeviceCommand(String username, boolean daemon) { in createSimpleDeviceCommand() argument
32 return createSimpleDeviceCommand(username, daemon, true, true); in createSimpleDeviceCommand()
45 String username, boolean daemon, boolean alwaysCreateUserData, boolean blankDataImage) { in createSimpleDeviceCommand() argument
47 command.add("sudo -u " + username); in createSimpleDeviceCommand()
48 command.add("/home/" + username + "/bin/launch_cvd"); in createSimpleDeviceCommand()
/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/ssh/
Dsettings.py60 username, argument
68 self.username = username
Dformatter.py46 return '%s@%s' % (settings.username, settings.hostname)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_retail_ap.py386 username=self.ap_settings["admin_username"],
400 username=self.ap_settings["admin_username"],
647 username=self.ap_settings["admin_username"],
655 username=self.ap_settings["admin_username"],
962 username=self.ap_settings["admin_username"],
976 username=self.ap_settings["admin_username"],
1030 username=self.ap_settings["admin_username"],
1044 username=self.ap_settings["admin_username"],
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java607 String username = String.format("vsoc-%s", useridString); in startDevice() local
610 username, info, options, runUtil, NEW_USER_TIMEOUT); in startDevice()
621 username, in startDevice()
657 List<String> startCommand = LaunchCvdHelper.createSimpleDeviceCommand(username, true); in startDevice()
677 String.format("Failed to start %s: %s", username, startDeviceRes.getStderr()); in startDevice()
/tools/acloud/setup/
Dhost_setup_runner.py129 username = getpass.getuser()
136 setup_cmds.append("sudo usermod -aG %s % s" % (group, username))
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py4282 def tmo_cscf_userslist_add(self, username): argument
4296 self._vnid, username)
4313 def fi_cscf_userslist_add(self, username): argument
4327 self._vnid, username)
4344 def vzw_cscf_userslist_add(self, username): argument
4358 self._vnid, username)
/tools/repohooks/tools/
Dcpplint.py3145 username = match.group(2)
3146 if not username: