Searched refs:environment (Results 1 - 8 of 8) sorted by relevance

/libcore/ojluni/src/main/java/java/lang/
H A DProcessBuilder.java59 * <li>an <i>environment</i>, which is a system-dependent mapping from
61 * the environment of the current process (see {@link System#getenv()}).
143 * and environment is easy:
150 * directory and environment, and redirects standard output and error
156 * Map<String, String> env = pb.environment();
170 * <p>To start a process with an explicit set of environment
172 * before adding environment variables.
182 private Map<String,String> environment; field in class:ProcessBuilder
272 * Returns a string map view of this process builder's environment.
274 * Whenever a process builder is created, the environment i
339 public Map<String,String> environment() { method in class:ProcessBuilder
353 ProcessBuilder environment(String[] envp) { method in class:ProcessBuilder
[all...]
H A DProcessImpl.java59 java.util.Map<String,String> environment,
84 byte[] envBlock = ProcessEnvironment.toEnvironmentBlock(environment, envc);
58 start(String[] cmdarray, java.util.Map<String,String> environment, String dir, ProcessBuilder.Redirect[] redirects, boolean redirectErrorStream) argument
H A DRuntime.java48 * the environment in which the application is running. The current
427 * specified environment.
437 * has environment variable settings in the format
440 * the environment of the current process.
468 * specified environment and working directory.
487 * has environment variable settings in the format
490 * the environment of the current process.
565 * with the specified environment.
576 * has environment variable settings in the format
579 * the environment o
[all...]
H A DProcessEnvironment.java37 * the parent process for any environment name or value not created by
42 * environment then looks like a Map<Variable,Value>. But we don't
68 // We cache the C environment. This means that subsequent calls
72 // Read environment variables back to front,
93 /* Only for use by ProcessBuilder.environment() */
95 static Map<String,String> environment() { method in class:ProcessEnvironment
115 ("Invalid environment variable name: \"" + name + "\"");
122 ("Invalid environment variable value: \"" + value + "\"");
/libcore/
H A DAndroid.mk37 # Disable test modules if LIBCORE_SKIP_TESTS environment variable is set.
42 $(info * libcore tests are skipped because environment variable LIBCORE_SKIP_TESTS=$(LIBCORE_SKIP_TESTS))
/libcore/luni/src/test/java/libcore/java/lang/
H A DProcessBuilderTest.java241 pb.environment().put("A", "android");
281 Map<String, String> environment = pb.environment();
282 Map<String, String> before = new HashMap<String, String>(environment);
284 environment.put("A", null);
289 environment.put(null, "android");
294 environment.containsKey(null);
299 environment.containsValue(null);
303 assertEquals(before, environment);
308 * in the environment ma
[all...]
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
H A DProcessBuilderTest.java99 Map<String, String> env = pb.environment();
102 env = pb.environment();
H A DProcessManagerTest.java124 String[] environment = { "FOO=foo", "PATH=" + System.getenv("PATH") };
126 commands, environment, null);

Completed in 137 milliseconds