Home
last modified time | relevance | path

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

/development/vndk/tools/sourcedr/blueprint/tests/
Dtest_lexer.py350 token, end, lit = Lexer.lex('(', 0)
351 self.assertEqual(token, Token.LPAREN)
355 token, end, lit = Lexer.lex(')', 0)
356 self.assertEqual(token, Token.RPAREN)
360 token, end, lit = Lexer.lex('[', 0)
361 self.assertEqual(token, Token.LBRACKET)
365 token, end, lit = Lexer.lex(']', 0)
366 self.assertEqual(token, Token.RBRACKET)
370 token, end, lit = Lexer.lex('{', 0)
371 self.assertEqual(token, Token.LBRACE)
[all …]
/development/vndk/tools/sourcedr/ninja/
Dninja.py370 token = Token(kind, self._line, self._line_pos + 1,
372 self._next_token = token
374 return token
378 token = self.peek()
379 if not token:
381 self._line_start = token.kind == TK.NEWLINE
385 return token
389 token = self.lex()
390 if token.kind not in match_set:
392 return token
[all …]
/development/vndk/tools/sourcedr/blueprint/
Dblueprint.py148 self.token = None
158 for token in tokens:
159 if token == self.token:
163 'unexpected token ' + self.token.name)
172 self.token, self.end, self.literal = self.lex(self.buf, self.start)
173 if self.token != Token.SPACE and self.token != Token.COMMENT:
177 self.token = Token.EOF
364 token = cls.LEXER_PATTERNS[match.lastindex - 1][0]
366 if token == Token.STRING:
370 if token in {Token.IDENT, Token.INTEGER}:
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/view/
DWindowFocusObserver.java40 public void onFocusGained(WindowId token) {
45 public void onFocusLost(WindowId token) {
96 WindowId token = getWindow().getDecorView().getWindowId(); in onAttachedToWindow() local
97 token.registerFocusObserver(mObserver); in onAttachedToWindow()
98 mState.setText(token.isFocused() ? "Focused" : "Not focused"); in onAttachedToWindow()
DExpandableList2.java59 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument
60 switch (token) { in onQueryComplete()
/development/tools/winscope/src/flickerlib/windows/
DWindowContainer.ts54 var token = tokenOverride?.toString(16) ?? identifier?.hashCode?.toString(16) ?? ""; variable
59 token,
/development/samples/MultiClientInputMethod/src/com/example/android/multiclientinputmethod/
DSoftInputWindow.java51 SoftInputWindow(Context context, IBinder token) { in SoftInputWindow() argument
60 lp.token = token; in SoftInputWindow()
DClientCallbackImpl.java158 mClientId, targetWindowHandle, window.getWindow().getAttributes().token); in onStartInputOrWindowGainedFocus()
/development/tools/winscope/adb_proxy/
Dwinscope_proxy.py305 token = token_file.readline()
307 token, WINSCOPE_TOKEN_LOCATION))
308 return token
310 token = secrets.token_hex(32)
315 token, WINSCOPE_TOKEN_LOCATION))
316 token_file.write(token)
320 token, WINSCOPE_TOKEN_LOCATION))
321 return token
389 token = self.request.headers[WINSCOPE_TOKEN_HEADER]
390 if not token or token != secret_token:
/development/vndk/tools/definition-tool/datasets/
Deligible-list-28-properties.csv239 android.hidl.memory.token@1.0,True,True,True,hidl_interface
240 android.hidl.memory.token@1.0-adapter-helper,True,True,True,hidl_interface
244 android.hidl.token@1.0,True,False,True,hidl_interface
245 android.hidl.token@1.0-adapter-helper,True,False,True,hidl_interface
246 android.hidl.token@1.0-utils,True,False,True,cc_library
Deligible-list-29-properties.csv343 android.hidl.memory.token@1.0,True,True,True,hidl_interface
344 android.hidl.memory.token@1.0-adapter-helper,True,True,True,hidl_interface
350 android.hidl.token@1.0,True,False,True,hidl_interface
351 android.hidl.token@1.0-adapter-helper,True,False,True,hidl_interface
352 android.hidl.token@1.0-utils,True,False,True,cc_library
Deligible-list-28.csv111 /system/${LIB}/android.hidl.memory.token@1.0.so,VNDK-SP,
113 /system/${LIB}/android.hidl.token@1.0-utils.so,VNDK,
114 /system/${LIB}/android.hidl.token@1.0.so,VNDK,
586 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0-utils.so,VNDK,
587 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0.so,VNDK,
694 /system/${LIB}/vndk-sp${VNDK_VER}/android.hidl.memory.token@1.0.so,VNDK-SP,
Deligible-list-26.csv62 /system/${LIB}/android.hidl.token@1.0-utils.so,VNDK,
63 /system/${LIB}/android.hidl.token@1.0.so,VNDK,
431 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0-utils.so,VNDK,
432 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0.so,VNDK,
Deligible-list-29.csv158 /system/${LIB}/android.hidl.memory.token@1.0.so,VNDK-SP,
161 /system/${LIB}/android.hidl.token@1.0-utils.so,VNDK,
162 /system/${LIB}/android.hidl.token@1.0.so,VNDK,
665 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0-utils.so,VNDK,
666 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0.so,VNDK,
766 /system/${LIB}/vndk-sp${VNDK_VER}/android.hidl.memory.token@1.0.so,VNDK-SP,
Deligible-list-27.csv73 /system/${LIB}/android.hidl.token@1.0-utils.so,VNDK,
74 /system/${LIB}/android.hidl.token@1.0.so,VNDK,
460 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0-utils.so,VNDK,
461 /system/${LIB}/vndk${VNDK_VER}/android.hidl.token@1.0.so,VNDK,
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DSoftKeyboard.java691 return window.getAttributes().token; in getToken()