Lines Matching full:system
41 * against tests that muck with system properties and other global state.
62 private static final String JAVA_RUNTIME_VERSION = System.getProperty("java.runtime.version");
63 private static final String JAVA_VM_INFO = System.getProperty("java.vm.info");
64 private static final String JAVA_VM_VERSION = System.getProperty("java.vm.version");
65 private static final String JAVA_VM_VENDOR = System.getProperty("java.vm.vendor");
66 private static final String JAVA_VM_NAME = System.getProperty("java.vm.name");
71 this.tmpDir = System.getProperty("java.io.tmpdir");
75 System.setProperties(null); // Reset.
83 System.setProperty("java.io.tmpdir", tmpDir);
85 String userHome = System.getProperty("user.home");
86 String userDir = System.getProperty("user.dir");
105 // Reset system properties.
106 System.setProperties(null);
114 System.setProperty("java.io.tmpdir", tmpDir);
117 if ("Dalvik".equals(System.getProperty("java.vm.name"))) {
123 System.setProperty("java.runtime.version", JAVA_RUNTIME_VERSION);
126 System.setProperty("java.vm.info", JAVA_VM_INFO);
129 System.setProperty("java.vm.version", JAVA_VM_VERSION);
132 System.setProperty("java.vm.vendor", JAVA_VM_VENDOR);
135 System.setProperty("java.vm.name", JAVA_VM_NAME);
138 String userHome = System.getProperty("user.home");
142 System.setProperty("user.home", userHome);
177 System.gc();
178 System.runFinalization();
258 if (System.getProperty(property) == null) {
259 System.setProperty(property, value);