Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 16 of 16) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/util/
DQuotationAwareTokenizer.java66 ArrayList<String> tokens = new ArrayList<String>(); in tokenizeLine() local
87 tokens.add(token.toString()); in tokenizeLine()
111 tokens.add(token.toString()); in tokenizeLine()
115 String[] tokensArray = new String[tokens.size()]; in tokenizeLine()
116 return tokens.toArray(tokensArray); in tokenizeLine()
151 public static String combineTokens(String... tokens) { in combineTokens() argument
154 for (int i=0; i < tokens.length; i++) { in combineTokens()
155 final String token = tokens[i]; in combineTokens()
164 if (i < (tokens.length - 1)) { in combineTokens()
/tools/test/connectivity/acts/framework/acts/
Dconfig_parser.py146 tokens = item.split(':')
147 if len(tokens) > 2:
149 if len(tokens) == 1:
151 test_cls_name = tokens[0]
153 elif len(tokens) == 2:
156 test_cls_name, test_case_names = tokens
Dutils.py596 tokens = re.split("_|-", model)
597 for t in tokens:
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessReportingHelper.java125 String[] tokens = QuotationAwareTokenizer.tokenizeLine(commandLine); in buildNewCommandConfig() local
127 builder.setWorkingDir(parentDir).setOriginalConfig(tokens[0]).setPort(port); in buildNewCommandConfig()
130 tokens[0] = f.getName(); in buildNewCommandConfig()
131 return QuotationAwareTokenizer.combineTokens(tokens); in buildNewCommandConfig()
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioJitterTest.java144 String[] tokens = line.split(" "); in parseResult() local
145 if (tokens.length >= 2) { in parseResult()
146 String metricName = tokens[0]; in parseResult()
147 String metricValue = tokens[1]; in parseResult()
DAudioLoopbackTestHelper.java396 final String[] tokens = line.split(splitOn); in parseKeyValuePairFromFile() local
397 if (tokens.length >= 2) { in parseKeyValuePairFromFile()
398 final String key = tokens[0].trim(); in parseKeyValuePairFromFile()
399 final String value = tokens[1].trim(); in parseKeyValuePairFromFile()
/tools/tradefederation/core/src/com/android/tradefed/device/
DTestDevice.java1162 for (String[] tokens : lines) { in getUserInfos()
1165 /* userId= */ Integer.parseInt(tokens[1]), in getUserInfos()
1166 /* userName= */ tokens[2], in getUserInfos()
1167 /* flag= */ Integer.parseInt(tokens[3], 16), in getUserInfos()
1168 /* isRunning= */ tokens.length >= 5 in getUserInfos()
1169 ? tokens[4].contains("running") in getUserInfos()
1196 String[] tokens = lines[i].split("\\{|\\}|:"); in tokenizeListUsers() local
1197 if (tokens.length != 4 && tokens.length != 5) { in tokenizeListUsers()
1204 users.add(tokens); in tokenizeListUsers()
1782 String[] tokens = line.split("\\(|\\)| "); in removeOwners() local
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java134 Set<TokenProperty> tokens = test.getRequiredTokens(); in poll() local
135 if (tokens == null || tokens.isEmpty() || isSupported(tokens)) { in poll()
/tools/tradefederation/core/src/com/android/tradefed/command/
DConsole.java980 String[] tokens; in run() local
996 tokens = null; in run()
998 tokens = QuotationAwareTokenizer.tokenizeLine(input); in run()
1004 if (tokens == null || tokens.length == 0) { in run()
1018 tokens = arrrgs.toArray(new String[0]); in run()
1026 Runnable command = mCommandTrie.retrieve(groups, tokens); in run()
1031 "Unable to handle command '%s'. Enter 'help' for help.", tokens[0])); in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java615 String[] tokens = optionValueString.split(":=", 2); in parseArgs() local
617 if (tokens.length == 1) { in parseArgs()
618 option = new OptionDef(optionName, tokens[0], moduleName); in parseArgs()
619 } else if (tokens.length == 2) { in parseArgs()
620 option = new OptionDef(optionName, tokens[0], tokens[1], moduleName); in parseArgs()
DModuleDefinition.java209 List<String> tokens = configDescriptor.getMetaData(ITestSuite.TOKEN_KEY); in ModuleDefinition() local
210 if (tokens != null) { in ModuleDefinition()
211 for (String token : tokens) { in ModuleDefinition()
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py519 tokens = lines[0].split(' ')
520 if len(tokens) > 1:
521 return tokens[1].lower()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1128 StringTokenizer tokens = new StringTokenizer(algs); in getDigestsToVerify() local
1129 while (tokens.hasMoreTokens()) { in getDigestsToVerify()
1130 String alg = tokens.nextToken(); in getDigestsToVerify()
/tools/repohooks/tools/
Dcpplint.py4784 tokens = re.split(r'\s|\+|\-|\*|\/|<<|>>]', match.group(3))
4787 for tok in tokens:
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto682 // tokens appearing on those lines, will be treated as a single comment.
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...