/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizer.java | 66 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/ |
D | config_parser.py | 138 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
|
D | utils.py | 576 tokens = re.split("_|-", model) 577 for t in tokens:
|
/tools/tradefederation/contrib/src/com/android/media/tests/ |
D | AudioJitterTest.java | 144 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()
|
D | AudioLoopbackTestHelper.java | 396 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/ |
D | TestDevice.java | 1061 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 …]
|
D | WifiHelper.java | 505 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/ |
D | SuiteModuleLoader.java | 510 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()
|
D | ModuleDefinition.java | 188 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/ |
D | Console.java | 980 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/ |
D | TestsPoolPoller.java | 141 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/ |
D | android_device.py | 526 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/ |
D | V1SchemeVerifier.java | 1650 StringTokenizer tokens = new StringTokenizer(algs); in getDigestsToVerify() local 1651 while (tokens.hasMoreTokens()) { in getDigestsToVerify() 1652 String alg = tokens.nextToken(); in getDigestsToVerify()
|
/tools/repohooks/tools/ |
D | cpplint.py | 4784 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/ |
D | descriptor.proto | 682 // tokens appearing on those lines, will be treated as a single comment.
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 132906 .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[]
|
D | medium.wrap_invoke | 132906 .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[]
|
D | medium.asm | 151116 .local v19, "tokens", android.text.util.Rfc822Token[] 157845 .local v0, "tokens", android.text.util.Rfc822Token[]
|
D | medium.scratch_regs | 153671 .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[]
|
D | medium.exit_hook | 139108 .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[]
|
D | medium.entry_hook | 136187 .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[]
|
D | medium.compact_cfg | 159247 .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[]
|