Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 22 of 22) 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.py138 tokens = item.split(':')
139 if len(tokens) > 2:
141 if len(tokens) == 1:
143 test_cls_name = tokens[0]
145 elif len(tokens) == 2:
148 test_cls_name, test_case_names = tokens
Dutils.py576 tokens = re.split("_|-", model)
577 for t in tokens:
/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.java1061 String[] tokens = lines[i].split("\\{|\\}|:"); in tokenizeListUsers() local
1062 if (tokens.length != 4 && tokens.length != 5) { in tokenizeListUsers()
1069 users.add(tokens); in tokenizeListUsers()
1623 String[] tokens = line.split("\\(|\\)| "); in removeOwners() local
1624 int userId = Integer.parseInt(tokens[4]); in removeOwners()
1629 tokens = line.split("\\{|\\}"); in removeOwners()
1630 String componentName = tokens[1]; in removeOwners()
1637 String[] tokens = line.split("\\{|\\}"); in removeOwners() local
1638 String componentName = tokens[1]; in removeOwners()
1644 tokens = line.split(":"); in removeOwners()
[all …]
DWifiHelper.java505 String[] tokens = output.split(","); in stopMonitor() local
506 List<Long> values = new ArrayList<Long>(tokens.length); in stopMonitor()
507 for (final String token : tokens) { in stopMonitor()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DSuiteModuleLoader.java510 String[] tokens = optionValueString.split(":="); in parseArgs() local
512 if (tokens.length == 1) { in parseArgs()
513 option = new OptionDef(optionName, tokens[0], moduleName); in parseArgs()
514 } else if (tokens.length == 2) { in parseArgs()
515 option = new OptionDef(optionName, tokens[0], tokens[1], moduleName); in parseArgs()
DModuleDefinition.java188 List<String> tokens = configDescriptor.getMetaData(ITestSuite.TOKEN_KEY); in ModuleDefinition() local
189 if (tokens != null) { in ModuleDefinition()
190 for (String token : tokens) { in ModuleDefinition()
/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/invoker/shard/
DTestsPoolPoller.java141 Set<TokenProperty> tokens = test.getRequiredTokens(); in poll() local
142 if (tokens == null || tokens.isEmpty() || isSupported(tokens)) { in poll()
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py526 tokens = lines[0].split(' ')
527 if len(tokens) > 1:
528 return tokens[1].lower()
/tools/apksig/src/main/java/com/android/apksig/internal/apk/v1/
DV1SchemeVerifier.java1650 StringTokenizer tokens = new StringTokenizer(algs); in getDigestsToVerify() local
1651 while (tokens.hasMoreTokens()) { in getDigestsToVerify()
1652 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/dexter/testdata/expected/
Dmedium.rewrite132906 .local v7, "tokens", android.text.util.Rfc822Token[]
133054 .local v0, "tokens", android.text.util.Rfc822Token[]
151149 .local v19, "tokens", android.text.util.Rfc822Token[]
157878 .local v0, "tokens", android.text.util.Rfc822Token[]
158784 .local v3, "tokens", android.text.util.Rfc822Token[]
161616 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.wrap_invoke132906 .local v7, "tokens", android.text.util.Rfc822Token[]
133054 .local v0, "tokens", android.text.util.Rfc822Token[]
151149 .local v19, "tokens", android.text.util.Rfc822Token[]
157878 .local v0, "tokens", android.text.util.Rfc822Token[]
158784 .local v3, "tokens", android.text.util.Rfc822Token[]
161616 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.asm151116 .local v19, "tokens", android.text.util.Rfc822Token[]
157845 .local v0, "tokens", android.text.util.Rfc822Token[]
Dmedium.scratch_regs153671 .local v7, "tokens", android.text.util.Rfc822Token[]
153825 .local v8, "tokens", android.text.util.Rfc822Token[]
174928 .local v19, "tokens", android.text.util.Rfc822Token[]
182834 .local v10, "tokens", android.text.util.Rfc822Token[]
183820 .local v7, "tokens", android.text.util.Rfc822Token[]
187152 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.exit_hook139108 .local v7, "tokens", android.text.util.Rfc822Token[]
139258 .local v0, "tokens", android.text.util.Rfc822Token[]
158202 .local v19, "tokens", android.text.util.Rfc822Token[]
165253 .local v0, "tokens", android.text.util.Rfc822Token[]
166189 .local v3, "tokens", android.text.util.Rfc822Token[]
169170 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.entry_hook136187 .local v7, "tokens", android.text.util.Rfc822Token[]
136336 .local v0, "tokens", android.text.util.Rfc822Token[]
154870 .local v19, "tokens", android.text.util.Rfc822Token[]
161776 .local v0, "tokens", android.text.util.Rfc822Token[]
162693 .local v3, "tokens", android.text.util.Rfc822Token[]
165597 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.compact_cfg159247 .local v7, "tokens", android.text.util.Rfc822Token[]
159435 .local v0, "tokens", android.text.util.Rfc822Token[]
180833 .local v19, "tokens", android.text.util.Rfc822Token[]
188972 .local v0, "tokens", android.text.util.Rfc822Token[]
190106 .local v3, "tokens", android.text.util.Rfc822Token[]
193742 .local v17, "tokens", android.text.util.Rfc822Token[]