/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | MultiUserSetupUtil.java | 38 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 …]
|
D | NestedRemoteDevice.java | 94 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 …]
|
D | LaunchCvdHelper.java | 31 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/ |
D | settings.py | 60 username, argument 68 self.username = username
|
D | formatter.py | 46 return '%s@%s' % (settings.username, settings.hostname)
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/ |
D | wifi_retail_ap.py | 386 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/ |
D | RemoteInvocationExecution.java | 607 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/ |
D | host_setup_runner.py | 129 username = getpass.getuser() 136 setup_cmds.append("sudo usermod -aG %s % s" % (group, username))
|
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/ |
D | md8475a.py | 4282 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/ |
D | cpplint.py | 3145 username = match.group(2) 3146 if not username:
|