Home
last modified time | relevance | path

Searched refs:fromString (Results 1 – 19 of 19) sorted by relevance

/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DTimeValTest.java27 assertEquals(0, TimeVal.fromString("0")); in testBasic()
28 assertEquals(1, TimeVal.fromString("1")); in testBasic()
30 assertEquals(1000, TimeVal.fromString("1000")); in testBasic()
31 assertEquals(1000, TimeVal.fromString("1000ms")); in testBasic()
32 assertEquals(1000, TimeVal.fromString("1000Ms")); in testBasic()
33 assertEquals(1000, TimeVal.fromString("1000mS")); in testBasic()
34 assertEquals(1000, TimeVal.fromString("1000MS")); in testBasic()
36 assertEquals(1000, TimeVal.fromString("1s")); in testBasic()
37 assertEquals(1000, TimeVal.fromString("1S")); in testBasic()
39 assertEquals(1000 * 60, TimeVal.fromString("1m")); in testBasic()
[all …]
DZipUtilTest.java245 assertEquals(PosixFilePermissions.fromString("rw-r--r--"), permissions); in testPartipUnzip()
276 assertEquals(PosixFilePermissions.fromString("rw-rw-rw-"), permissions); in testPartipUnzip()
295 assertEquals(PosixFilePermissions.fromString("rwxr-xr-x"), permissions); in testPartipUnzip()
314 assertEquals(PosixFilePermissions.fromString("r--r--r--"), permissions); in testPartipUnzip()
333 assertEquals(PosixFilePermissions.fromString("rwxr--r--"), permissions); in testPartipUnzip()
352 assertEquals(PosixFilePermissions.fromString("rwxr-xr-x"), permissions); in testPartipUnzip()
406 assertEquals(PosixFilePermissions.fromString("rw-r--r--"), permissions); in testPartialUnzipWithUseZip64()
437 assertEquals(PosixFilePermissions.fromString("rw-rw-rw-"), permissions); in testPartialUnzipWithUseZip64()
456 assertEquals(PosixFilePermissions.fromString("rwxr-xr-x"), permissions); in testPartialUnzipWithUseZip64()
475 assertEquals(PosixFilePermissions.fromString("r--r--r--"), permissions); in testPartialUnzipWithUseZip64()
[all …]
DZipUtil2Test.java59 Set<PosixFilePermission> expected = PosixFilePermissions.fromString(permString); in verifyFilePermission()
/tools/tradefederation/core/tests/src/com/android/tradefed/result/
DTestDescriptionTest.java109 TestDescription fromString = TestDescription.fromString(td.toString()); in testFromString() local
110 assertThat(fromString).isEqualTo(td); in testFromString()
111 assertThat(fromString).isEquivalentAccordingToCompareTo(td); in testFromString()
/tools/ndkports/src/main/kotlin/com/android/ndkports/
DNdkVersion.kt31 private fun fromString(versionString: String): NdkVersion { in fromString() method
46 return fromString(it.groups.last()!!.value) in fromSourcePropertiesText()
/tools/tradefederation/core/src/com/android/tradefed/util/
DTimeVal.java57 mValue = fromString(value); in TimeVal()
83 public static long fromString(String value) throws NumberFormatException { in fromString() method in TimeVal
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/build/
DBuildInfoKey.java75 public static BuildInfoFileKey fromString(String keyName) { in fromString() method in BuildInfoKey.BuildInfoFileKey
/tools/tradefederation/core/src/com/android/tradefed/result/
DTestDescriptionsFile.java124 TestDescription test = TestDescription.fromString(line); in readTestsFromFile()
/tools/tradefederation/core/test_result_interfaces/com/android/tradefed/result/
DTestDescription.java158 public static TestDescription fromString(String data) { in fromString() method in TestDescription
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterHostUtil.java176 HostAndPort hostAndPort = HostAndPort.fromString(input); in isIpPort()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/junit4/
DLongevityHostRunner.java133 mTotalTimeoutMsec = TimeVal.fromString(kvPair.split(":")[1]); in getOptions()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DGceAvdInfo.java196 HostAndPort.fromString(ip).withDefaultPort(remoteAdbPort), in parseGceInfoFromString()
DGceSshTunnelMonitor.java294 mLocalHostAndPort = HostAndPort.fromString(mDevice.getSerialNumber()); in run()
DGceManager.java160 HostAndPort.fromString(mGceHost) in startGce()
/tools/tradefederation/core/src/com/android/tradefed/config/
DOptionSetter.java1065 return TimeVal.fromString(valueText); in translate()
1096 return Duration.ofMillis(TimeVal.fromString(valueText)); in translate()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBuildInfo.java364 BuildInfoFileKey key = BuildInfoFileKey.fromString(name); in setFile()
/tools/tradefederation/core/res/jacoco/
Djacocoagent.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
Djacocoant.jarMETA-INF/MANIFEST.MF META-INF/ org/ org/jacoco/ org/ ...
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...