/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/ |
D | SuiteTestFilter.java | 52 String[] parts = filter.split(" +"); in createFrom() local 62 if (parts.length == 1) { in createFrom() 63 name = parts[0]; in createFrom() 66 if (parts[index].startsWith("shard_")) { in createFrom() 67 shardIndex = Integer.parseInt(parts[index].substring("shard_".length())); in createFrom() 71 shardIndex = Integer.parseInt(parts[index]); in createFrom() 77 if (AbiUtils.isAbiSupportedByCompatibility(parts[index])) { in createFrom() 78 abi = parts[index]; in createFrom() 81 name = parts[index]; in createFrom() 83 parts = filter.split(" +", index + 1); in createFrom() [all …]
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | AbiUtilsTest.java | 59 String[] parts = AbiUtils.parseId(ABI_ID); in testParseId() local 60 assertEquals("Wrong size array", 2, parts.length); in testParseId() 61 assertEquals("Wrong abi name", ABI_NAME, parts[0]); in testParseId() 62 assertEquals("Wrong module name", MODULE_NAME, parts[1]); in testParseId() 67 String[] parts = AbiUtils.parseId(null); in testParseId_invalid() local 68 assertEquals(2, parts.length); in testParseId_invalid() 69 assertEquals("", parts[0]); in testParseId_invalid() 70 assertEquals("", parts[1]); in testParseId_invalid() 71 parts = AbiUtils.parseId(""); in testParseId_invalid() 72 assertEquals(2, parts.length); in testParseId_invalid() [all …]
|
D | GCSFileDownloaderTest.java | 92 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/connectivity/acts/framework/acts/metrics/loggers/ |
D | bounded_metrics.py | 69 parts = identifier.rsplit('.', 1) 70 return None if len(parts) < 2 else parts[1] 74 parts = identifier.rsplit('.', 1) 75 return parts[0]
|
D | blackbox.py | 100 parts = identifier.rsplit('.', 1) 101 return '#'.join(parts)
|
/tools/test/graphicsbenchmark/performance_tests/hostside/src/com/android/game/qualification/metric/ |
D | GameQualificationFpsCollector.java | 157 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/metalava/metalava/src/main/java/com/android/tools/metalava/apilevels/ |
D | ApiToExtensionsMap.kt | 67 val parts = what.split(REGEX_DELIMITERS) in isEmpty() constant 70 var node = root.children.findNode(parts[0]) ?: return lastSeenExtensions in isEmpty() 75 for (part in parts.stream().skip(1)) { in isEmpty() 249 val parts = pattern.split(REGEX_DELIMITERS) in fromXml() constant 250 var node = root.children.addNode(parts[0]) in fromXml() 251 for (name in parts.stream().skip(1)) { in fromXml()
|
/tools/treble/build/treble_build/report/ |
D | projects.go | 55 parts := strings.Split(symlink, "/") 57 for ; repostart < len(parts); repostart++ { 58 if parts[repostart] != ".." { 61 parts[repostart] = "/src" 66 gitDir = filepath.Join(parts[repostart:]...)
|
/tools/repohooks/rh/ |
D | git.py | 214 parts = os.path.relpath(abs_orig_path, root).split(os.path.sep) 215 while parts and not os.path.isdir( 216 os.path.join(root, '.repo', 'submanifests', *parts, 'manifests')): 217 parts.pop() 218 path = os.path.join(root, *parts)
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | DeviceSelectionOptions.java | 701 String[] parts = prod.split(VARIANT_SEPARATOR); in splitOnVariant() local 702 if (parts.length == 1) { in splitOnVariant() 703 splitProducts.put(parts[0], null); in splitOnVariant() 704 } else if (parts.length == 2) { in splitOnVariant() 706 Collection<String> variants = splitProducts.get(parts[0]); in splitOnVariant() 709 splitProducts.put(parts[0], variants); in splitOnVariant() 711 variants.add(parts[1]); in splitOnVariant() 715 prod, VARIANT_SEPARATOR, parts.length)); in splitOnVariant()
|
D | DeviceManager.java | 545 String[] parts = preconfigureDevice.split(":", 2); in addNetworkDevices() local 546 preconfigureHostUsers.putIfAbsent(parts[0], new ArrayList<>()); in addNetworkDevices() 547 preconfigureHostUsers.get(parts[0]).add(parts.length > 1 ? parts[1] : null); in addNetworkDevices()
|
D | NativeDevice.java | 721 String[] parts = line.trim().split("]: \\["); in batchPrefetchStartupBuildProps() local 722 if (parts.length != 2) { in batchPrefetchStartupBuildProps() 725 String propName = parts[0].substring(1).trim(); in batchPrefetchStartupBuildProps() 726 String propValue = parts[1].substring(0, parts[1].length() - 1).trim(); in batchPrefetchStartupBuildProps() 1911 final String[] parts = line.split("\\s+", 5); in getMountPointInfo() local 1912 list.add(new MountPointInfo(parts[0], parts[1], parts[2], parts[3])); in getMountPointInfo() 5790 String[] parts = addr.split(":"); in getEUI48MacAddressInLong() local 5791 if (parts.length != ETHER_ADDR_LEN) { in getEUI48MacAddressInLong() 5795 for (int i = 0; i < parts.length; i++) { in getEUI48MacAddressInLong() 5796 int x = Integer.valueOf(parts[i], 16); in getEUI48MacAddressInLong()
|
/tools/netsim/rust/daemon/src/http_server/ |
D | http_request.rs | 42 let mut parts = line.split_whitespace(); in parse_http_request() localVariable 43 let method = parts.next().ok_or("Invalid request line, missing method")?; in parse_http_request() 44 let uri = parts.next().ok_or("Invalid request line, missing uri")?; in parse_http_request() 45 let version_str = parts.next().ok_or("Invalid request line, missing version")?; in parse_http_request()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/ |
D | DefaultTestsZipInstaller.java | 223 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()
|
D | DeviceSetup.java | 731 String[] parts = prop.split("=", 2); in processDeprecatedOptions() local 732 String key = parts[0].trim(); in processDeprecatedOptions() 733 String value = parts.length == 2 ? parts[1].trim() : ""; in processDeprecatedOptions()
|
/tools/asuite/atest/test_finders/ |
D | test_filter_utils.py | 310 parts = user_input.split('#') 311 if len(parts) > 2: 316 for part in parts[1].split(','): 329 return parts[0], frozenset(parsed_methods)
|
/tools/tradefederation/core/src/com/android/tradefed/config/ |
D | ArgsOptionParser.java | 388 String[] parts = p.split(tmp, /* allow empty-string values */ -1); in parseLongOption() local 390 if (parts.length == 2) { in parseLongOption() 391 key = parts[0].replaceAll("\\\\=", "="); in parseLongOption() 392 value = parts[1].replaceAll("\\\\=", "="); in parseLongOption() 393 } else if (parts.length > 2) { in parseLongOption()
|
/tools/netsim/rust/common/src/util/ |
D | ini_file.rs | 58 let parts = line.split_once('='); in read() localVariable 59 if parts.is_none() { in read() 62 let key = parts.unwrap().0.trim(); in read() 63 let value = parts.unwrap().1.trim(); in read()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/ |
D | AndroidJUnitTest.java | 625 String[] parts = filter.split("\\."); in isClassOrMethod() local 626 if (parts.length > 0) { in isClassOrMethod() 631 return Character.isUpperCase(parts[parts.length - 1].charAt(0)); in isClassOrMethod()
|
/tools/netsim/rust/daemon/src/wifi/packets/ |
D | ieee80211.rs | 264 let parts: Vec<&str> = s.split(':').collect(); in parse_mac_address() localVariable 265 if parts.len() != 6 { in parse_mac_address() 269 for (i, part) in parts.iter().enumerate() { in parse_mac_address()
|
/tools/treble/split/ |
D | manifest_split.py | 403 parts = input_path.split("/") 405 for index in reversed(range(0, len(parts))): 406 project_path = os.path.join(*parts[:index + 1])
|
/tools/test/connectivity/tools/ |
D | .gitignore | 21 parts/
|
/tools/test/connectivity/acts_tests/ |
D | .gitignore | 21 parts/
|
/tools/test/connectivity/acts/ |
D | .gitignore | 21 parts/
|
/tools/tradefederation/core/proto/feature/ |
D | tradefed_service.proto | 47 // A more complex response due to the request needing multiple parts.
|