Home
last modified time | relevance | path

Searched refs:parts (Results 1 – 23 of 23) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteTestFilter.java48 String[] parts = filter.split(" "); in createFrom() local
55 if (parts.length == 1) { in createFrom()
56 name = parts[0]; in createFrom()
59 if (AbiUtils.isAbiSupportedByCompatibility(parts[0])) { in createFrom()
60 abi = parts[0]; in createFrom()
63 name = parts[index]; in createFrom()
65 parts = filter.split(" ", index + 1); in createFrom()
66 if (parts.length > index) { in createFrom()
67 test = parts[index]; in createFrom()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DAbiUtilsTest.java58 String[] parts = AbiUtils.parseId(ABI_ID); in testParseId() local
59 assertEquals("Wrong size array", 2, parts.length); in testParseId()
60 assertEquals("Wrong abi name", ABI_NAME, parts[0]); in testParseId()
61 assertEquals("Wrong module name", MODULE_NAME, parts[1]); in testParseId()
66 String[] parts = AbiUtils.parseId(null); in testParseId_invalid() local
67 assertEquals(2, parts.length); in testParseId_invalid()
68 assertEquals("", parts[0]); in testParseId_invalid()
69 assertEquals("", parts[1]); in testParseId_invalid()
70 parts = AbiUtils.parseId(""); in testParseId_invalid()
71 assertEquals(2, parts.length); in testParseId_invalid()
[all …]
DGCSFileDownloaderTest.java92 String[] parts = mGCSFileDownloader.parseGcsPath("gs://bucketname/path/to/file"); in testParseGcsPath() local
93 Assert.assertEquals("bucketname", parts[0]); in testParseGcsPath()
94 Assert.assertEquals("path/to/file", parts[1]); in testParseGcsPath()
101 String[] parts = mGCSFileDownloader.parseGcsPath(gcsPath); in testparseGcsPath_singleSlash() local
102 Assert.assertEquals("bucketName", parts[0]); in testparseGcsPath_singleSlash()
103 Assert.assertEquals("path/to/file", parts[1]); in testparseGcsPath_singleSlash()
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/
DGameQualificationFpsCollector.java157 String[] parts = raw[i].split("\t"); in processRawData() local
159 if (parts.length == 3) { in processRawData()
160 if (sample(Long.parseLong(parts[2]), Long.parseLong(parts[1]))) { in processRawData()
165 outputFile.write(String.format("%20d", Long.parseLong(parts[0])) + "\t"); in processRawData()
166 outputFile.write(String.format("%20d", Long.parseLong(parts[1])) + "\t"); in processRawData()
167 outputFile.write(String.format("%20d", Long.parseLong(parts[2])) + "\n"); in processRawData()
/tools/tradefederation/core/src/com/android/tradefed/device/
DDeviceSelectionOptions.java623 String[] parts = prod.split(VARIANT_SEPARATOR); in splitOnVariant() local
624 if (parts.length == 1) { in splitOnVariant()
625 splitProducts.put(parts[0], null); in splitOnVariant()
626 } else if (parts.length == 2) { in splitOnVariant()
628 Collection<String> variants = splitProducts.get(parts[0]); in splitOnVariant()
631 splitProducts.put(parts[0], variants); in splitOnVariant()
633 variants.add(parts[1]); in splitOnVariant()
637 prod, VARIANT_SEPARATOR, parts.length)); in splitOnVariant()
DNativeDevice.java1459 final String[] parts = line.split("\\s+", 5); in getMountPointInfo() local
1460 list.add(new MountPointInfo(parts[0], parts[1], parts[2], parts[3])); in getMountPointInfo()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDefaultTestsZipInstaller.java223 private static String buildRelPath(String... parts) { in buildRelPath() argument
224 return ArrayUtil.join(FileListingService.FILE_SEPARATOR, (Object[]) parts); in buildRelPath()
227 private static String buildAbsPath(String... parts) { in buildAbsPath() argument
228 return FileListingService.FILE_SEPARATOR + buildRelPath(parts); in buildAbsPath()
DDeviceSetup.java546 String[] parts = prop.split("=", 2); in processDeprecatedOptions() local
547 String key = parts[0].trim(); in processDeprecatedOptions()
548 String value = parts.length == 2 ? parts[1].trim() : ""; in processDeprecatedOptions()
/tools/test/connectivity/acts/framework/acts/metrics/loggers/
Dblackbox.py106 parts = identifier.rsplit('.', 1)
107 return '#'.join(parts)
/tools/tradefederation/core/src/com/android/tradefed/config/
DArgsOptionParser.java345 String[] parts = p.split(tmp, /* allow empty-string values */ -1); in parseLongOption() local
347 if (parts.length == 2) { in parseLongOption()
348 key = parts[0].replaceAll("\\\\=", "="); in parseLongOption()
349 value = parts[1].replaceAll("\\\\=", "="); in parseLongOption()
350 } else if (parts.length > 2) { in parseLongOption()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DAndroidJUnitTest.java487 String[] parts = filter.split("\\."); in isClassOrMethod() local
488 if (parts.length > 0) { in isClassOrMethod()
493 return Character.isUpperCase(parts[parts.length - 1].charAt(0)); in isClassOrMethod()
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py156 parts = user_input.split('#')
157 if len(parts) == 1:
158 return parts[0], frozenset()
159 elif len(parts) == 2:
160 return parts[0], frozenset(parts[1].split(','))
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py163 parts = user_input.split('#')
164 if len(parts) == 1:
165 return parts[0], frozenset()
166 if len(parts) == 2:
167 return parts[0], frozenset(parts[1].split(','))
/tools/test/connectivity/acts/
D.gitignore21 parts/
/tools/test/connectivity/tools/
D.gitignore21 parts/
/tools/treble/split/
Dmanifest_split.py270 parts = input_path.split("/")
272 for index in reversed(range(0, len(parts))):
273 project_path = os.path.join(*parts[:index + 1])
/tools/acloud/internal/proto/
Duser_config.proto94 // the parts in {} will be automatically replaced with the actual value if
Dinternal_config.proto42 // the parts in {} will be automatically replaced with the actual value if
/tools/metalava/
DREADME.md154 need to be able to figure out which parts of the source code is included in
/tools/external/fat32lib/
DNOTICE132 14. If you wish to incorporate parts of the Library into other free programs whose distribution con…
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...
/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/ ...