/frameworks/base/core/java/android/hardware/fingerprint/ |
IFingerprintService.aidl | 29 void authenticate(IBinder token, long sessionId, int userId, 33 void cancelAuthentication(IBinder token, String opPackageName); 36 void enroll(IBinder token, in byte [] cryptoToken, int groupId, IFingerprintServiceReceiver receiver, 40 void cancelEnrollment(IBinder token); 43 void remove(IBinder token, int fingerId, int groupId, IFingerprintServiceReceiver receiver); 54 // Get a pre-enrollment authentication token 55 long preEnroll(IBinder token); 57 // Finish an enrollment sequence and invalidate the authentication token 58 int postEnroll(IBinder token);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
HanziToPinyin.java | 40 public static class Token { 50 public Token() { 53 public Token(int type, String source, String target) { 60 * Type of this token, ASCII, PINYIN or UNKNOWN. 97 private void tokenize(char character, Token token) { 98 token.source = Character.toString(character); 102 token.type = Token.LATIN; 103 token.target = token.source 146 Token token = new Token(); local [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3commontoken.h | 2 * \brief Defines the interface for a common token. 4 * All token streams should provide their tokens using an instance 5 * of this common token. A custom pointer is provided, wher you may attach 6 * a further structure to enhance the common token if you feel the need 7 * to do so. The C runtime will assume that a token provides implementations 45 /** How many tokens to allocate at once in the token factory 49 /* Base token types, which all lexer/parser tokens come after in sequence. 52 /** Indicator of an invalid token 58 /** Imaginary token type to cause a traversal of child nodes in a tree parser 62 /** Imaginary token type to signal the end of a stream of child nodes [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/closure_linter/closure_linter/ |
requireprovidesorter_test.py | 52 token = self._tokenizer.TokenizeFile(input_lines) 54 self._metadata_pass.Process(token) 57 sorter.FixRequires(token) 59 self.assertEquals(expected_lines, self._GetLines(token)) 61 def _GetLines(self, token): 62 """Returns an array of lines based on the specified token stream.""" 65 while token: 66 line += token.string 67 if token.IsLastInLine(): 70 token = token.nex [all...] |
error_fixer.py | 32 Token = javascripttokens.JavaScriptToken 73 first_token: The first token in the file. 84 tokens: The token or sequence of tokens changed to fix an error. 90 for token in tokens: 91 self._file_changed_lines.add(token.line_number) 100 token = error.token 103 iterator = token.attached_object.type_start_token 111 # Cover the no outer brace case where the end token is part of the type. 112 while iterator and iterator != token.attached_object.type_end_token.next [all...] |
javascriptlintrules.py | 57 def HandleMissingParameterDoc(self, token, param_name): 60 'Missing docs for parameter: "%s"' % param_name, token) 62 def __ContainsRecordType(self, token): 63 """Check whether the given token contains a record type. 66 token: The token being checked 69 True if the token contains a record type, False otherwise. 71 # If we see more than one left-brace in the string of an annotation token, 74 token and token.type == Type.DOC_FLAG an [all...] |
/external/deqp/framework/randomshaders/ |
rsgPrettyPrinter.cpp | 123 inline const char* PrettyPrinter::getSimpleTokenStr (Token::Type token) 125 DE_ASSERT(de::inBounds<int>(token, 0, (int)DE_LENGTH_OF_ARRAY(s_tokenStr))); 126 return s_tokenStr[token]; 140 void PrettyPrinter::processToken (const Token& token) 144 switch (token.getType()) 146 case Token::IDENTIFIER: 149 m_line += token.getIdentifier(); 152 case Token::FLOAT_LITERAL [all...] |
/external/mesa3d/src/mesa/program/ |
nvvertparse.c | 143 * Starting at 'str' find the next token. A token can be an integer, 148 GetToken(struct parse_state *parseState, GLubyte *token) 153 token[0] = 0; 178 token[j++] = str[i++]; 181 token[j] = 0; 188 token[j++] = str[i++]; 190 token[j] = 0; 196 token[0] = str[i++]; 197 token[1] = 0 304 GLubyte token[100]; local 354 GLubyte token[100]; local 386 GLubyte token[100]; local 466 GLubyte token[100]; local 514 GLubyte token[100]; local 555 GLubyte token[100]; local 636 GLubyte token[100]; local 730 GLubyte token[100]; local 1008 GLubyte token[100]; local 1039 GLubyte token[100]; local [all...] |
/frameworks/native/opengl/libagl/ |
Tokenizer.cpp | 50 uint32_t token = run.first + run.length; local 51 _insertTokenAt(token, 1); 52 return token; 55 bool Tokenizer::isAcquired(uint32_t token) const 57 return (_indexOrderOf(token) >= 0); 60 status_t Tokenizer::reserve(uint32_t token) 63 const ssize_t i = _indexOrderOf(token, &o); 65 return BAD_VALUE; // this token is already taken 67 ssize_t err = _insertTokenAt(token, o); 71 status_t Tokenizer::release(uint32_t token) [all...] |
/cts/libs/json/src/com/android/json/stream/ |
JsonReader.java | 31 * Within JSON objects, name/value pairs are represented by a single token. 185 * long as the longest token that can be reported as a number. 197 * The type of the next token to be returned by {@link #peek} and {@link 200 private JsonToken token; field in class:JsonReader 252 * Consumes the next token from the JSON stream and asserts that it is the 260 * Consumes the next token from the JSON stream and asserts that it is the 268 * Consumes the next token from the JSON stream and asserts that it is the 276 * Consumes the next token from the JSON stream and asserts that it is the 288 if (token != expected) { 299 return token != JsonToken.END_OBJECT && token != JsonToken.END_ARRAY 522 JsonToken token = advance(); local [all...] |
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/tree_construction/ |
parser.js | 84 //Token handlers map for insertion modes 431 var token = this.tokenizer.getNextToken(); 436 if (token.type === Tokenizer.WHITESPACE_CHARACTER_TOKEN && token.chars[0] === '\n') { 437 if (token.chars.length === 1) 440 token.chars = token.chars.substr(1); 444 if (this._shouldProcessTokenInForeignContent(token)) 445 this._processTokenInForeignContent(token); 448 this._processToken(token); [all...] |
/frameworks/base/core/java/android/os/ |
TokenWatcher.java | 59 * Record that this token has been acquired. When acquire is called, and 63 * @param token An IBinder object. If this token has already been acquired, 68 public void acquire(IBinder token, String tag) 75 Death d = new Death(token, tag); 77 token.linkToDeath(d, 0); 81 mTokens.put(token, d); 90 public void cleanup(IBinder token, boolean unlink) 93 Death d = mTokens.remove(token); 95 d.token.unlinkToDeath(d, 0) 182 IBinder token; field in class:TokenWatcher.Death [all...] |
/external/jsmn/ |
jsmn.c | 6 * Allocates a fresh unused token from the token pull. 24 * Fills token type and boundaries. 26 static void jsmn_fill_token(jsmntok_t *token, jsmntype_t type, 28 token->type = type; 29 token->start = start; 30 token->end = end; 31 token->size = 0; 35 * Fills next available token with JSON primitive. 39 jsmntok_t *token; local 88 jsmntok_t *token; local 157 jsmntok_t *token; local [all...] |
/external/google-breakpad/src/processor/ |
tokenize.cc | 57 char *token = strtok_r(line, separators, &save_ptr); local 58 while (token && --remaining > 0) { 59 tokens->push_back(token); 61 token = strtok_r(NULL, separators, &save_ptr); 64 // If there's anything left, just add it as a single token. 65 if (remaining == 0 && (token = strtok_r(NULL, "\r\n", &save_ptr))) { 66 tokens->push_back(token);
|
/external/google-breakpad/src/testing/scripts/generator/cpp/ |
keywords.py | 52 def IsKeyword(token): 53 return token in ALL 55 def IsBuiltinType(token): 56 if token in ('virtual', 'inline'): 59 return token in TYPES or token in TYPE_MODIFIERS
|
/system/keymaster/ |
keymaster_enforcement_test.cpp | 54 bool auth_token_timed_out(const hw_auth_token_t& token, uint32_t timeout) const { 55 return current_time_ > ntoh(token.timestamp) + timeout; 520 hw_auth_token_t token; local 521 memset(&token, 0, sizeof(token)); 522 token.version = HW_AUTH_TOKEN_VERSION; 523 token.challenge = 99; 524 token.user_id = 9; 525 token.authenticator_id = 0; 526 token.authenticator_type = hton(static_cast<uint32_t>(HW_AUTH_PASSWORD)) 543 hw_auth_token_t token; local 572 hw_auth_token_t token; local 596 hw_auth_token_t token; local 623 hw_auth_token_t token; local 652 hw_auth_token_t token; local 681 hw_auth_token_t token; local 704 hw_auth_token_t token; local 756 hw_auth_token_t token; local 781 hw_auth_token_t token; local 830 hw_auth_token_t token; local [all...] |
/external/antlr/antlr-3.4/runtime/Perl5/lib/ANTLR/Runtime/ |
UnwantedTokenException.pm | 12 return $self->token; 19 if ($self->expecting == ANTLR::Runtime::Token->INVALID_TOKEN_TYPE) { 26 if (defined $self->token) { 27 return "UnwantedTokenException(found=" . $self->token->get_text() . "$exp)";
|
/external/chromium-trace/trace-viewer/tracing/third_party/vinn/third_party/parse5/lib/simple_api/ |
simple_api_parser.js | 48 var token = null; 53 token = this.tokenizerProxy.getNextToken(); 55 if (token.type === Tokenizer.CHARACTER_TOKEN || 56 token.type === Tokenizer.WHITESPACE_CHARACTER_TOKEN || 57 token.type === Tokenizer.NULL_CHARACTER_TOKEN) { 61 this.currentTokenLocation = token.location; 64 this.currentTokenLocation.end = token.location.end; 67 this.pendingText = (this.pendingText || '') + token.chars; 72 this._handleToken(token); 74 } while (token.type !== Tokenizer.EOF_TOKEN) [all...] |
/frameworks/base/core/java/android/app/ |
IBackupAgent.aidl | 44 * @param token Opaque token identifying this transaction. This must 54 int token, IBackupManager callbackBinder); 71 * @param token Opaque token identifying this transaction. This must 81 int token, IBackupManager callbackBinder); 92 * @param token Opaque token identifying this transaction. This must 100 void doFullBackup(in ParcelFileDescriptor data, int token, IBackupManager callbackBinder); 105 void doMeasureFullBackup(int token, IBackupManager callbackBinder) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_ne.py | 8 from ..pgen2 import token namespace 15 _accept_type = token.NOTEQUAL 22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_ne.py | 8 from ..pgen2 import token namespace 15 _accept_type = token.NOTEQUAL 22 new = pytree.Leaf(token.NOTEQUAL, u"!=", prefix=node.prefix)
|
/bootable/recovery/ |
fuse_sdcard_provider.h | 25 void finish_sdcard_fuse(void* token);
|
/cts/tools/dasm/src/java_cup/runtime/ |
char_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class char_token extends token {
|
int_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class int_token extends token {
|
long_token.java | 4 /** This subclass of token represents symbols that need to maintain one 13 public class long_token extends token {
|