Home
last modified time | relevance | path

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

12

/tools/metalava/src/main/java/com/android/tools/metalava/doclava1/
DApiFile.java102 String token = tokenizer.getToken(); in parseApi() local
103 if (token == null) { in parseApi()
106 if ("package".equals(token)) { in parseApi()
109 throw new ApiParseException("expected package got " + token, tokenizer); in parseApi()
120 String token; in parsePackage() local
124 token = tokenizer.requireToken(); in parsePackage()
127 List<String> annotations = getAnnotations(tokenizer, token); in parsePackage()
133 token = tokenizer.getCurrent(); in parsePackage()
135 assertIdent(tokenizer, token); in parsePackage()
136 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;
29 public boolean hasToken(ITestDevice device, TokenProperty token) { in hasToken() argument
39 switch (token) { in hasToken()
47 device.getSerialNumber(), token, info); in hasToken()
55 device.getSerialNumber(), token, info); in hasToken()
63 device.getSerialNumber(), token, info); in hasToken()
66 CLog.w("Token '%s' doesn't match any TelephonyTokenProvider tokens.", token); in hasToken()
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;
DTokenProviderHelper.java16 package com.android.tradefed.invoker.shard.token;
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DRemoteInvocationExecution.java146 Semaphore token = new Semaphore(MAX_WORKER_THREAD); in runTests() local
150 new StartDeviceThread(listener, i, info, options, runUtil, token); in runTests()
604 Semaphore token) in startDevice() argument
658 if (token != null) { in startDevice()
659 token.acquire(); in startDevice()
671 if (token != null) { in startDevice()
672 token.release(); in startDevice()
703 Semaphore token) { in StartDeviceThread() argument
712 mToken = token; in StartDeviceThread()
/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.java32 import com.android.tradefed.invoker.shard.token.ITokenProvider;
33 import com.android.tradefed.invoker.shard.token.ITokenRequest;
34 import com.android.tradefed.invoker.shard.token.TokenProperty;
35 import com.android.tradefed.invoker.shard.token.TokenProviderHelper;
DShardHelper.java30 import com.android.tradefed.invoker.shard.token.ITokenRequest;
/tools/repohooks/tools/
Dcpplint.py2486 token = match.group(1)
2492 if token in ('{', '}', ';'): return False
2499 if token in ('>', '=', '[', ']', '.'): return True
2503 if token != '<':
2709 token = matched.group(1)
2710 if token == '{':
2723 elif token == ';' or token == ')':
3497 token = last_word.group(1)
3499 token = expr
3502 if _TYPES.match(token):
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/
DTokenTestClass.java19 import com.android.tradefed.invoker.shard.token.ITokenRequest;
20 import com.android.tradefed.invoker.shard.token.TokenProperty;
DTestsPoolPollerTest.java30 import com.android.tradefed.invoker.shard.token.ITokenRequest;
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_test_utils.py2160 (int(token) for token in stdout.split() if token.isdigit()), None)
2163 (int(token) for token in stdout.split() if token.isdigit()), None)
/tools/tradefederation/core/tests/src/com/android/tradefed/invoker/shard/token/
DTokenProviderHelperTest.java16 package com.android.tradefed.invoker.shard.token;
/tools/tradefederation/core/src/com/android/tradefed/device/
DWifiHelper.java507 for (final String token : tokens) { in stopMonitor()
508 values.add(Long.parseLong(token)); in stopMonitor()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DModuleDefinition.java31 import com.android.tradefed.invoker.shard.token.TokenProperty;
190 for (String token : tokens) { in ModuleDefinition()
191 mRequiredTokens.add(TokenProperty.valueOf(token.toUpperCase())); in ModuleDefinition()
DITestSuite.java37 import com.android.tradefed.invoker.shard.token.ITokenRequest;
38 import com.android.tradefed.invoker.shard.token.TokenProperty;
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiFromTextTest.kt137 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/
DUnitTests.java131 import com.android.tradefed.invoker.shard.token.TokenProviderHelperTest;
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DModuleDefinitionTest.java36 import com.android.tradefed.invoker.shard.token.TokenProperty;
/tools/dexter/testdata/expected/
Dmedium.rewrite17473 .params "token", "cookie", "cursor"
21599 16| const-string/jumbo v1, ", token="
21602 22| iget v1, v4, com.android.calendar.AsyncQueryService$Operation.token
21651 .params "token"
21697 .local v2, "token", int
21757 .params "token", "cookie", "results"
21767 .params "token", "cookie", "result"
21777 .params "token", "cookie", "uri"
21787 .params "token", "cookie", "cursor"
21797 .params "token", "cookie", "result"
[all …]
Dmedium.wrap_invoke17473 .params "token", "cookie", "cursor"
21599 16| const-string/jumbo v1, ", token="
21602 22| iget v1, v4, com.android.calendar.AsyncQueryService$Operation.token
21651 .params "token"
21697 .local v2, "token", int
21757 .params "token", "cookie", "results"
21767 .params "token", "cookie", "result"
21777 .params "token", "cookie", "uri"
21787 .params "token", "cookie", "cursor"
21797 .params "token", "cookie", "result"
[all …]

12