/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/ |
D | ApiFile.kt | 393 val token = tokenizer.getToken() ?: break in parseApiSingleFile() constant 395 if ("package" == token) { in parseApiSingleFile() 398 throw ApiParseException("expected package got $token", tokenizer) in parseApiSingleFile() 404 var token: String = tokenizer.requireToken() in parsePackage() variable 407 val annotations = getAnnotations(tokenizer, token) in parsePackage() 409 token = tokenizer.current in parsePackage() 410 tokenizer.assertIdent(token) in parsePackage() 411 val name: String = token in parsePackage() 439 token = tokenizer.requireToken() in parsePackage() 440 if ("{" != token) { in parsePackage() [all …]
|
D | Tokenizer.kt | 71 val token = getToken(parenIsSep, eatWhitespace) in requireToken() constant 72 return token ?: throw ApiParseException("Unexpected end of file", this) in requireToken() 174 internal fun assertIdent(token: String) { in assertIdent() 175 if (!isIdent(token[0])) { in assertIdent() 176 throw ApiParseException("Expected identifier: $token", this) in assertIdent() 202 internal fun isIdent(token: String): Boolean { in isIdent() 203 return isIdent(token[0]) in isIdent()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | QuotationAwareTokenizer.java | 68 StringBuilder token = new StringBuilder(); in tokenizeLine() local 82 token.append(aChar); in tokenizeLine() 84 if (token.length() > 0) { in tokenizeLine() 87 log(String.format("Finished token '%s'", token.toString()), logging); in tokenizeLine() 89 if (token.toString().equals("''")) { in tokenizeLine() 92 tokens.add(token.toString()); in tokenizeLine() 94 token.delete(0, token.length()); in tokenizeLine() 104 token.append(aChar); in tokenizeLine() 116 if (token.length() > 0) { in tokenizeLine() 117 log(String.format("Finished final token '%s'", token.toString()), logging); in tokenizeLine() [all …]
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/token/ |
D | TelephonyTokenProvider.java | 16 package com.android.tradefed.invoker.shard.token; 43 public boolean hasToken(ITestDevice device, TokenProperty token) { in hasToken() argument 53 switch (token) { in hasToken() 61 device.getSerialNumber(), token, info); in hasToken() 69 device.getSerialNumber(), token, info); in hasToken() 93 device.getSerialNumber(), token, info); in hasToken() 96 CLog.w("Token '%s' doesn't match any TelephonyTokenProvider tokens.", token); in hasToken()
|
D | CecControllerTokenProvider.java | 16 package com.android.tradefed.invoker.shard.token; 42 public boolean hasToken(ITestDevice device, TokenProperty token) { in hasToken() argument 46 switch (token) { in hasToken() 61 CLog.e("Token '%s' doesn't match any CecControllerTokenProvider tokens.", token); in hasToken()
|
D | TokenProviderHelper.java | 16 package com.android.tradefed.invoker.shard.token;
|
/tools/tradefederation/core/src/com/android/tradefed/invoker/shard/ |
D | LocalPool.java | 20 import com.android.tradefed.invoker.shard.token.ITokenProvider; 21 import com.android.tradefed.invoker.shard.token.ITokenRequest; 22 import com.android.tradefed.invoker.shard.token.TokenProperty; 23 import com.android.tradefed.invoker.shard.token.TokenProviderHelper;
|
D | ITestsPool.java | 19 import com.android.tradefed.invoker.shard.token.ITokenRequest;
|
D | RemoteDynamicPool.java | 21 import com.android.tradefed.invoker.shard.token.ITokenRequest;
|
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/ |
D | TokenizerTest.kt | 83 fun `check token`() { in <lambda>() 96 val token = requireToken() in <lambda>() constant 97 assertEquals(expectedToken, token) in <lambda>()
|
/tools/security/gdb/ |
D | parameters_extract.py | 165 for token in func_params: 167 if token == '(': 169 elif token == ')': 174 if token == ',' and parentheses_count == 0: 178 current_param += token
|
/tools/tradefederation/core/invocation_interfaces/com/android/tradefed/invoker/shard/token/ |
D | ITokenProvider.java | 16 package com.android.tradefed.invoker.shard.token; 38 boolean hasToken(ITestDevice device, TokenProperty token); in hasToken() argument
|
D | TokenProperty.java | 16 package com.android.tradefed.invoker.shard.token;
|
D | ITokenRequest.java | 16 package com.android.tradefed.invoker.shard.token;
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/ |
D | TokenTestClass.java | 20 import com.android.tradefed.invoker.shard.token.ITokenRequest; 21 import com.android.tradefed.invoker.shard.token.TokenProperty;
|
D | RemoteDynamicPoolTest.java | 22 import com.android.tradefed.invoker.shard.token.ITokenRequest;
|
/tools/tradefederation/core/src/com/android/tradefed/command/ |
D | CommandFileParser.java | 438 String token = line.get(idx); in expandLongMacro() local 439 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandLongMacro() 488 String token = line.get(idx); in expandMacro() local 489 Matcher matchMacro = MACRO_PATTERN.matcher(token); in expandMacro()
|
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/shard/token/ |
D | TokenProviderHelperTest.java | 16 package com.android.tradefed.invoker.shard.token;
|
D | CecControllerTokenProviderTest.java | 16 package com.android.tradefed.invoker.shard.token;
|
D | TelephonyTokenProviderTest.java | 16 package com.android.tradefed.invoker.shard.token;
|
/tools/asuite/atest/logstorage/ |
D | atest_gcp_utils.py | 123 token = self._get_sso_access_token() 124 credentials = oauth2_client.AccessTokenCredentials(token, 'atest')
|
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/ |
D | ApiFromTextTest.kt | 144 fun `Annotation signatures requiring more complicated token matching`() { in Annotation signatures requiring more complicated token matching()
|
/tools/repohooks/tools/ |
D | cpplint.py | 2983 token = match.group(1) 2989 if token in ('{', '}', ';'): return False 2996 if token in ('>', '=', '[', ']', '.'): return True 3000 if token != '<': 3206 token = matched.group(1) 3207 if token == '{': 3220 elif token == ';' or token == ')': 4000 token = last_word.group(1) 4002 token = expr 4005 if _TYPES.match(token): [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/ |
D | wifi_test_utils.py | 2707 (int(token) for token in stdout.split() if token.isdigit()), None) 2710 (int(token) for token in stdout.split() if token.isdigit()), None)
|
/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | WifiHelper.java | 725 for (final String token : tokens) { in stopMonitor() 726 values.add(Long.parseLong(token)); in stopMonitor()
|