Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 36) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DApiFile.java167 String token = tokenizer.getToken(); in parseApiSingleFile() local
168 if (token == null) { in parseApiSingleFile()
172 if ("package".equals(token)) { in parseApiSingleFile()
175 throw new ApiParseException("expected package got " + token, tokenizer); in parseApiSingleFile()
182 String token; in parsePackage() local
186 token = tokenizer.requireToken(); in parsePackage()
189 List<String> annotations = getAnnotations(tokenizer, token); in parsePackage()
195 token = tokenizer.getCurrent(); in parsePackage()
197 assertIdent(tokenizer, token); in parsePackage()
198 name = token; in parsePackage()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/util/
DQuotationAwareTokenizer.java67 StringBuilder token = new StringBuilder(); in tokenizeLine() local
81 token.append(aChar); in tokenizeLine()
83 if (token.length() > 0) { in tokenizeLine()
86 log(String.format("Finished token '%s'", token.toString()), logging); in tokenizeLine()
87 tokens.add(token.toString()); in tokenizeLine()
88 token.delete(0, token.length()); in tokenizeLine()
98 token.append(aChar); in tokenizeLine()
109 if (token.length() > 0) { in tokenizeLine()
110 log(String.format("Finished final token '%s'", token.toString()), logging); in tokenizeLine()
111 tokens.add(token.toString()); in tokenizeLine()
[all …]
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/
DTelephonyTokenProvider.java16 package com.android.tradefed.invoker.shard.token;
38 public boolean hasToken(ITestDevice device, TokenProperty token) { in hasToken() argument
48 switch (token) { in hasToken()
56 device.getSerialNumber(), token, info); in hasToken()
64 device.getSerialNumber(), token, info); in hasToken()
85 device.getSerialNumber(), token, info); in hasToken()
88 CLog.w("Token '%s' doesn't match any TelephonyTokenProvider tokens.", token); in hasToken()
DTokenProviderHelper.java16 package com.android.tradefed.invoker.shard.token;
/tools/repohooks/tools/
Dcpplint.py2492 token = match.group(1)
2498 if token in ('{', '}', ';'): return False
2505 if token in ('>', '=', '[', ']', '.'): return True
2509 if token != '<':
2715 token = matched.group(1)
2716 if token == '{':
2729 elif token == ';' or token == ')':
3503 token = last_word.group(1)
3505 token = expr
3508 if _TYPES.match(token):
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2258 (int(token) for token in stdout.split() if token.isdigit()), None)
2261 (int(token) for token in stdout.split() if token.isdigit()), None)
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandFileParser.java437 String token = line.get(idx); in expandLongMacro() local
438 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandLongMacro()
487 String token = line.get(idx); in expandMacro() local
488 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandMacro()
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/
DTestsPoolPoller.java33 import com.android.tradefed.invoker.shard.token.ITokenProvider;
34 import com.android.tradefed.invoker.shard.token.ITokenRequest;
35 import com.android.tradefed.invoker.shard.token.TokenProperty;
36 import com.android.tradefed.invoker.shard.token.TokenProviderHelper;
DShardHelper.java32 import com.android.tradefed.invoker.shard.token.ITokenRequest;
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/shard/token/
DITokenProvider.java16 package com.android.tradefed.invoker.shard.token;
38 boolean hasToken(ITestDevice device, TokenProperty token); in hasToken() argument
DTokenProperty.java16 package com.android.tradefed.invoker.shard.token;
DITokenRequest.java16 package com.android.tradefed.invoker.shard.token;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTokenTestClass.java20 import com.android.tradefed.invoker.shard.token.ITokenRequest;
21 import com.android.tradefed.invoker.shard.token.TokenProperty;
DTestsPoolPollerTest.java36 import com.android.tradefed.invoker.shard.token.ITokenRequest;
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java43 import com.android.tradefed.invoker.shard.token.TokenProperty;
211 for (String token : tokens) { in ModuleDefinition()
212 mRequiredTokens.add(TokenProperty.valueOf(token.toUpperCase())); in ModuleDefinition()
DITestSuite.java44 import com.android.tradefed.invoker.shard.token.ITokenRequest;
45 import com.android.tradefed.invoker.shard.token.TokenProperty;
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java510 for (final String token : tokens) { in stopMonitor()
511 values.add(Long.parseLong(token)); in stopMonitor()
/tools/tradefederation/core/tests/src/com/android/tradefed/
DUnitTests.java149 import com.android.tradefed.invoker.shard.token.TelephonyTokenProviderTest;
150 import com.android.tradefed.invoker.shard.token.TokenProviderHelperTest;
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/
DTokenProviderHelperTest.java16 package com.android.tradefed.invoker.shard.token;
DTelephonyTokenProviderTest.java16 package com.android.tradefed.invoker.shard.token;
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt158 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
/tools/apksig/src/apksigner/java/com/android/apksigner/
Dhelp_sign.txt227 --provider-arg token.cfg --ks NONE --ks-type PKCS11 app.apk
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java44 import com.android.tradefed.invoker.shard.token.TokenProperty;
/tools/dexter/testdata/expected/
Dlarge.rewrite8286 .params "context", "thread", "className", "token", "application", "activityManager"
18730 ….params "context", "aThread", "instr", "token", "ident", "application", "intent", "info", "title",…
31900 19| const-string/jumbo v1, "status token is empty"
75605 .local v93, "token", android.os.IBinder
82089 .local v358, "token", byte[]
85411 .params "token"
85445 .params "token", "config", "stopProfiling"
85496 .params "token"
85530 .params "token"
85564 .params "token"
[all …]
Dlarge.compact_cfg9351 .params "context", "thread", "className", "token", "application", "activityManager"
22102 ….params "context", "aThread", "instr", "token", "ident", "application", "intent", "info", "title",…
38378 19| const-string/jumbo v1, "status token is empty"
91882 .local v93, "token", android.os.IBinder
99384 .local v358, "token", byte[]
103172 .params "token"
103208 .params "token", "config", "stopProfiling"
103271 .params "token"
103307 .params "token"
103343 .params "token"
[all …]

12