Lines Matching refs:String

41     private final String mPlatform;
42 private final String mShell;
65 String msg = "\nERROR: the following parameter must be set before executing the test:\n\n"; in BuildEnvTools()
67 mPlatform = (String) param.get(PropertyName.OPERATING_SYSTEM); in BuildEnvTools()
88 mShell = (String) param.get(PropertyName.SHELL); in BuildEnvTools()
110 …public ProcessHandler runCommandsInEnvironmentShell(String[] commands, File workDir, int shortWait… in runCommandsInEnvironmentShell()
112 final String[] cmdLines = getCmdLinesWithCommand(commands); in runCommandsInEnvironmentShell()
118 public String getSrcRoot() { in getSrcRoot()
120 String sSrcRoot = (String) param.get(PropertyName.SRC_ROOT); in getSrcRoot()
123 String[] cmdLines = null; in getSrcRoot()
125 cmdLines = new String[]{mShell, "/C", "echo SRC_ROOT=%SRC_ROOT"}; in getSrcRoot()
127 cmdLines = new String[]{mShell, "--login ", "-c ", "echo \"SRC_ROOT=$SRC_ROOT\""}; in getSrcRoot()
141 final String output = procHdl.getOutputText(); in getSrcRoot()
142 final String[] outs = output.split("\n"); in getSrcRoot()
145 final String line = outs[i]; in getSrcRoot()
154 private String[] getCmdLinesWithCommand(String[] commands) { in getCmdLinesWithCommand()
155 String[] cmdLines = null; in getCmdLinesWithCommand()
158 String seperator = ""; in getCmdLinesWithCommand()
165 String command = ""; in getCmdLinesWithCommand()
175 String srcRoot = (String) param.get(PropertyName.SRC_ROOT); in getCmdLinesWithCommand()
176String envSet = "export cyg_src_root=`cygpath '" + srcRoot.replaceAll("\\\\", "\\\\\\\\")+ "'`; so… in getCmdLinesWithCommand()
178 cmdLines = new String[]{mShell, "--login", "-c", "\"" + command + "\""}; in getCmdLinesWithCommand()
180 cmdLines = new String[]{mShell, "/C", "\"" + command + "\""}; in getCmdLinesWithCommand()
183 cmdLines = new String[]{mShell, "-c", command}; in getCmdLinesWithCommand()
188 private String getEnvValue(String line) { in getEnvValue()
189 final String[] split = line.split("="); in getEnvValue()