Home
last modified time | relevance | path

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

12

/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 …]
DWifiHelper.java508 String[] tokens = output.split(","); in stopMonitor() local
509 List<Long> values = new ArrayList<Long>(tokens.length); in stopMonitor()
510 for (final String token : tokens) { in stopMonitor()
/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.py598 tokens = re.split("_|-", model)
599 for t in tokens:
/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.java625 String[] tokens = optionValueString.split(":=", 2); in parseArgs() local
627 if (tokens.length == 1) { in parseArgs()
628 option = new OptionDef(optionName, tokens[0], moduleName); in parseArgs()
629 } else if (tokens.length == 2) { in parseArgs()
630 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/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/invoker/shard/
DTestsPoolPoller.java134 Set<TokenProperty> tokens = test.getRequiredTokens(); in poll() local
135 if (tokens == null || tokens.isEmpty() || isSupported(tokens)) { in poll()
/tools/test/connectivity/acts/framework/acts/controllers/
Dandroid_device.py521 tokens = lines[0].split(' ')
522 if len(tokens) > 1:
523 return tokens[1].lower()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DSubprocessReportingHelper.java74 final String[] tokens = QuotationAwareTokenizer.tokenizeLine(mCommandLine); in buildSubprocessReporterJar() local
75 final String configName = tokens[0]; in buildSubprocessReporterJar()
/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.py4800 tokens = re.split(r'\s|\+|\-|\*|\/|<<|>>]', match.group(3))
4803 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.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.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.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.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.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.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[]
Dmedium.verbose_cfg228167 .local v7, "tokens", android.text.util.Rfc822Token[]
228441 .local v0, "tokens", android.text.util.Rfc822Token[]
259219 .local v19, "tokens", android.text.util.Rfc822Token[]
270628 .local v0, "tokens", android.text.util.Rfc822Token[]
272186 .local v3, "tokens", android.text.util.Rfc822Token[]
276924 .local v17, "tokens", android.text.util.Rfc822Token[]
Dmedium.code_coverage289680 .local v8, "tokens", android.text.util.Rfc822Token[]
289954 .local v1, "tokens", android.text.util.Rfc822Token[]
320825 .local v19, "tokens", android.text.util.Rfc822Token[]
332259 .local v1, "tokens", android.text.util.Rfc822Token[]
333818 .local v4, "tokens", android.text.util.Rfc822Token[]
338572 .local v17, "tokens", android.text.util.Rfc822Token[]

12