/external/testng/src/test/java/test/ant/ |
AntSystemPropertySet.java | 19 assertNotNull(System.getProperty("syspropset1"), "syspropset1 not found"); 20 assertEquals(System.getProperty("syspropset1"), "value 1", "Wrong value for syspropset1"); 22 assertNotNull(System.getProperty("syspropset2"), "syspropset2 not found"); 23 assertEquals(System.getProperty("syspropset2"), "value 2", "Wrong value for syspropset2"); 25 assertNotNull(System.getProperty("sysprop1"), "sysprop1 not found"); 26 assertEquals(System.getProperty("sysprop1"), "value 3", "Wrong value for sysprop1");
|
/external/okhttp/android/main/java/com/squareup/okhttp/internal/ |
Version.java | 20 String agent = System.getProperty("http.agent"); 21 return agent != null ? agent : ("Java" + System.getProperty("java.version"));
|
/cts/hostsidetests/sample/src/android/sample/cts/ |
SampleHostDeviceInfo.java | 34 store.addResult("model", getProperty("ro.product.model")); 35 store.addResult("brand", getProperty("ro.product.brand")); 36 store.addResult("name", getProperty("ro.product.name")); 37 store.addResult("device", getProperty("ro.product.device")); 38 store.addResult("board", getProperty("ro.product.board")); 40 String abi = getProperty("ro.product.cpu.abilist"); 45 store.addResult("sdk", getProperty("ro.build.version.sdk")); 46 store.addResult("codename", getProperty("ro.build.version.codename")); 47 store.addResult("security_patch", getProperty("ro.build.version.security_patch")); 48 store.addResult("base_os", getProperty("ro.build.version.base_os")) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/ |
TestOptions.java | 123 return getProperty("jpda.settings.debuggeeJavaHome", getProperty("java.home", null)); 132 return getProperty("jpda.settings.debuggeeJavaExec", "java"); 142 return getProperty("jpda.settings.debuggeeJavaPath", 153 return getProperty("jpda.settings.transportWrapperClass", 163 return getProperty("jpda.settings.transportAddress", null); 181 return getProperty("jpda.settings.debuggeeAgentName", "jdwp"); 190 return getProperty("jpda.settings.debuggeeAgentExtraOptions", ""); 216 return getProperty("jpda.settings.debuggeeAgentOptions", 227 return getProperty("java.class.path", null) [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_PlatformFile.java | 26 String property = System.getProperty("com.ibm.oti.configuration"); 31 + System.getProperty("java.vm.version").replace('.', '-');
|
/tools/tradefederation/core/tests/src/com/android/tradefed/build/ |
DeviceBuildDescriptorTest.java | 33 EasyMock.expect(d.getProperty("ro.product.name")).andReturn("yakju"); 34 EasyMock.expect(d.getProperty("ro.build.type")).andReturn("userdebug"); 35 EasyMock.expect(d.getProperty("ro.product.brand")).andReturn("google"); 36 EasyMock.expect(d.getProperty("ro.product.model")).andReturn("Galaxy Nexus"); 37 EasyMock.expect(d.getProperty("ro.build.version.release")).andReturn("4.2");
|
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/org.eclipse.build.tools/src/org/eclipse/releng/ |
SystemProperty.java | 26 if (System.getProperty(key).equals(value)) 27 System.out.println("System property "+key+" set to "+System.getProperty(key)); 29 System.out.println("System property "+key+" could not be set. Currently set to "+System.getProperty(key));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
SystemTest.java | 35 // use System.getProperty. Now they should use System.lineSeparator instead, and the 157 String userDir = System.getProperty("user.dir"); 160 assertEquals(userDir, System.getProperty("user.dir")); 163 assertEquals(userDir, System.getProperty("user.dir")); 166 assertEquals(userDir, System.getProperty("user.dir")); 172 assertEquals(userDir, System.getProperty("user.dir")); 180 String oldUserHome = System.getProperty("user.home"); 183 assertEquals("/user/home", System.getProperty("user.home")); 191 String userDir = System.getProperty("user.dir"); 201 assertEquals(userDir, System.getProperty("user.dir")) [all...] |
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/share/ |
JPDATestOptions.java | 49 return System.getProperty("jpda.settings.debuggeeLaunchKind", "auto");
|
/external/emma/core/java12/com/vladium/util/ |
IConstants.java | 26 String EOL = System.getProperty ("line.separator", "\n");
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/test/ |
PortTestUtil.java | 39 String systemProperty = System.getProperty(FTP_SERVER_PORT_PROPERTY);
|
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/test/ |
PortTestUtil.java | 39 String systemProperty = System.getProperty(FTP_SERVER_PORT_PROPERTY);
|
/external/testng/src/test/java/testhelper/ |
OutputDirectoryPatch.java | 37 String tmp = System.getProperty(OUTPUT_DIRECTORY_PROPERTY_NAME);
|
/external/apache-xml/src/main/java/org/apache/xml/serializer/ |
OutputPropertyUtils.java | 52 String s = props.getProperty(key); 75 String s = props.getProperty(key);
|
/external/objenesis/main/src/main/java/org/objenesis/strategy/ |
PlatformDescription.java | 57 .getProperty("java.specification.version"); 60 public static final String VM_VERSION = System.getProperty("java.runtime.version"); 63 public static final String VM_INFO = System.getProperty("java.vm.info"); 66 public static final String VENDOR_VERSION = System.getProperty("java.vm.version"); 69 public static final String VENDOR = System.getProperty("java.vm.vendor"); 72 public static final String JVM_NAME = System.getProperty("java.vm.name"); 109 * <code>System.getProperty("java.vm.name").startWith(name)</code>. 133 String bootClasspath = System.getProperty("java.boot.class.path"); 142 return System.getProperty("com.google.appengine.runtime.version");
|
/external/testng/src/main/java/org/testng/internal/ |
Constants.java | 48 private static TestNGProperty getProperty(String propertyName) { 56 TestNGProperty r= getProperty(propertyName); 59 String result = p.getProperty(r.getName()); 65 TestNGProperty p = getProperty(propertyName); 66 String r = properties.getProperty(propertyName, p.getDefault()); 73 TestNGProperty p = getProperty(propertyName); 74 String r = properties.getProperty(propertyName, p.getDefault()); 81 TestNGProperty p = getProperty(propertyName);
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldFileReaderTest.java | 29 File noFile = new File(System.getProperty("java.io.tmpdir"), "noreader.tst"); 40 br = new FileReader(System.getProperty("java.io.tmpdir") + "/noreader.tst");
|
/external/emma/core/java12/com/vladium/emma/data/ |
CoverageOptionsFactory.java | 29 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_SYNTHETIC_METHODS, 33 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_BRIDGE_METHODS, 37 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_DO_SUID_COMPENSATION, 46 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_SYNTHETIC_METHODS, 50 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_EXCLUDE_BRIDGE_METHODS, 54 Property.toBoolean (properties.getProperty (InstrProcessor.PROPERTY_DO_SUID_COMPENSATION,
|
/libcore/luni/src/test/java/tests/support/ |
Support_SQL.java | 56 String tmp = System.getProperty("java.io.tmpdir"); 102 sqlDriver = properties.getProperty("sqlDriver"); 103 sqlLogin = properties.getProperty("sqlLogin"); 104 sqlCatalog = properties.getProperty("sqlCatalog"); 105 sqlHost = properties.getProperty("sqlHost"); 106 sqlUrl = properties.getProperty("sqlUrlPrefix") + sqlHost + "/" 108 sqlPassword = properties.getProperty("sqlPassword"); 109 sqlUser = properties.getProperty("sqlUser"); 111 .getProperty("sqlMaxConnections")); 112 sqlMaxTasks = Integer.parseInt(properties.getProperty("sqlMaxTasks")) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
AbiFormatterTest.java | 50 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null); 51 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null); 56 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist32"))) 62 EasyMock.expect(device.getProperty(EasyMock.eq("ro.product.cpu.abilist64"))).andReturn(""); 63 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn(null); 74 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn("abi1,abi2"); 81 EasyMock.expect(device.getProperty("ro.product.cpu.abilist32")).andReturn(null); 82 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi"); 88 EasyMock.expect(device.getProperty("ro.product.cpu.abilist")).andReturn(""); 89 EasyMock.expect(device.getProperty("ro.product.cpu.abi")).andReturn("abi") [all...] |
/libcore/ojluni/src/main/java/sun/net/ |
NetProperties.java | 60 String fname = System.getProperty("java.home"); 90 String def = props.getProperty(key); 92 return System.getProperty(key, def); 115 val = System.getProperty(key, props.getProperty(key)); 144 val = System.getProperty(key, props.getProperty(key));
|
/external/mockito/src/main/java/org/mockito/internal/util/ |
Platform.java | 17 public static final String JAVA_VERSION = System.getProperty("java.specification.version"); 18 public static final String JVM_VERSION = System.getProperty("java.runtime.version"); 19 public static final String JVM_VENDOR = System.getProperty("java.vm.vendor"); 20 public static final String JVM_VENDOR_VERSION = System.getProperty("java.vm.version"); 21 public static final String JVM_NAME = System.getProperty("java.vm.name"); 22 public static final String JVM_INFO = System.getProperty("java.vm.info"); 23 public static final String OS_NAME = System.getProperty("os.name"); 24 public static final String OS_VERSION = System.getProperty("os.version"); 30 return System.getProperty("java.vendor", "").toLowerCase(Locale.US).contains("android");
|
/libcore/benchmarks/src/benchmarks/regression/ |
DoPrivilegedBenchmark.java | 25 String lineSeparator = System.getProperty("line.separator"); 33 lineSeparator = System.getProperty("line.separator"); 37 return System.getProperty("line.separator"); 48 return System.getProperty("line.separator"); 69 return System.getProperty(propertyName);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/parser/ |
PropertiesProvisioningDataParser.java | 119 .setDeviceAdminPackageName(props.getProperty( 121 if ((s = props.getProperty(EXTRA_PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME)) 127 builder.setTimeZone(props.getProperty(EXTRA_PROVISIONING_TIME_ZONE)) 129 props.getProperty(EXTRA_PROVISIONING_LOCALE))); 130 if ((s = props.getProperty(EXTRA_PROVISIONING_LOCAL_TIME)) != null) { 144 if ((s = props.getProperty(EXTRA_PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED)) 148 if ((s = props.getProperty(EXTRA_PROVISIONING_SKIP_ENCRYPTION)) != null) { 176 if (props.getProperty(EXTRA_PROVISIONING_WIFI_SSID) == null) { 180 .setSsid(props.getProperty(EXTRA_PROVISIONING_WIFI_SSID)) 181 .setSecurityType(props.getProperty(EXTRA_PROVISIONING_WIFI_SECURITY_TYPE) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
SipStackImpl.java | 536 .getProperty("javax.sip.IP_ADDRESS"); 552 .getProperty("javax.sip.STACK_NAME"); 557 .getProperty("gov.nist.javax.sip.STACK_LOGGER"); 585 .getProperty("gov.nist.javax.sip.SERVER_LOGGER"); 616 .getProperty("javax.sip.OUTBOUND_PROXY"); 622 .getProperty("javax.sip.ROUTER_PATH"); 653 .getProperty("javax.sip.USE_ROUTER_FOR_ALL_URIS"); 664 .getProperty("javax.sip.EXTENSION_METHODS"); [all...] |