Home
last modified time | relevance | path

Searched refs:Token (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/compile/slang/
Dslang_pragma_recorder.cpp28 bool PragmaRecorder::GetPragmaNameFromToken(const clang::Token &Token, in GetPragmaNameFromToken() argument
30 if (Token.isLiteral()) in GetPragmaNameFromToken()
31 PragmaName.assign(Token.getLiteralData(), Token.getLength()); in GetPragmaNameFromToken()
32 else if (Token.is(clang::tok::identifier)) in GetPragmaNameFromToken()
33 PragmaName.assign(Token.getIdentifierInfo()->getNameStart(), in GetPragmaNameFromToken()
34 Token.getIdentifierInfo()->getLength()); in GetPragmaNameFromToken()
40 bool PragmaRecorder::GetPragmaValueFromToken(const clang::Token &Token, in GetPragmaValueFromToken() argument
43 if (Token.is(clang::tok::r_paren)) in GetPragmaValueFromToken()
46 return GetPragmaNameFromToken(Token, PragmaValue); in GetPragmaValueFromToken()
57 clang::Token &FirstToken) { in HandlePragma()
[all …]
Dslang_rs_pragma_handler.cpp48 clang::Token &FirstToken) { in HandlePragma()
60 clang::Token &FirstToken) { in HandlePragma()
83 clang::Token &PragmaToken = FirstToken; in HandlePragma()
107 const clang::Token &NextTok = PP.LookAhead(0); in HandlePragma()
135 clang::Token &FirstToken) { in HandlePragma()
143 clang::Token &Tok, in handleInt()
165 clang::Token &FirstToken) { in HandlePragma()
180 clang::Token &Token) { in HandlePragma() argument
184 PP.Diag(Token, PP.getDiagnostics().getCustomDiagID( in HandlePragma()
195 PP.Diag(Token, PP.getDiagnostics().getCustomDiagID( in HandlePragma()
[all …]
Dslang_pragma_recorder.h27 class Token; variable
39 static bool GetPragmaNameFromToken(const clang::Token &Token,
42 static bool GetPragmaValueFromToken(const clang::Token &Token,
50 clang::Token &FirstToken);
Dslang_rs_pragma_handler.h25 class Token; variable
47 virtual void handleInt(clang::Preprocessor &PP, clang::Token &Tok, in handleInt()
52 clang::Token &FirstToken);
56 clang::Token &FirstToken);
60 clang::Token &FirstToken);
64 clang::Token &FirstToken);
69 clang::Token &FirstToken) = 0;
/frameworks/compile/mclinker/include/mcld/LD/
DEhFrameReader.h59 struct Token { struct
72 const Token& pToken); argument
75 template<bool SAME_ENDIAN> Token scan(ConstAddress pHandler,
81 const Token& pToken);
85 const Token& pToken);
89 const Token& pToken);
93 const Token& pToken);
99 template<> EhFrameReader::Token
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java214 public Token getSessionToken() { in getSessionToken()
420 public static final class Token implements Parcelable { class in MediaSessionCompat
423 Token(Parcelable inner) { in Token() method in MediaSessionCompat.Token
450 public static final Parcelable.Creator<Token> CREATOR
451 = new Parcelable.Creator<Token>() {
453 public Token createFromParcel(Parcel in) {
454 return new Token(in.readParcelable(null));
458 public Token[] newArray(int size) {
459 return new Token[size];
473 Token getSessionToken(); in getSessionToken()
[all …]
DMediaControllerCompat.java70 public MediaControllerCompat(Context context, MediaSessionCompat.Token sessionToken) in MediaControllerCompat()
518 public MediaControllerImplApi21(Context context, MediaSessionCompat.Token sessionToken) in MediaControllerImplApi21()
/frameworks/base/services/core/java/com/android/server/am/
DEventLogTags.logtags17 30001 am_finish_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
21 30003 am_new_intent (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME Type|3…
25 30005 am_create_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Action|3),(MIME T…
27 30006 am_restart_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
29 30007 am_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
33 30009 am_activity_launch_time (User|1|5),(Token|1|5),(Component Name|3),(time|2|3)
39 30012 am_failed_to_pause (User|1|5),(Token|1|5),(Wanting to pause|3),(Currently pausing|3)
41 30013 am_pause_activity (User|1|5),(Token|1|5),(Component Name|3)
51 30018 am_destroy_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3),(Reason|3)
53 30019 am_relaunch_resume_activity (User|1|5),(Token|1|5),(Task ID|1|5),(Component Name|3)
[all …]
/frameworks/base/core/java/com/google/android/util/
DSmileyParser.java64 ArrayList<Token> tokens = part.getTokens(); in getSpannableString()
67 Token token = tokens.get(i); in getSpannableString()
70 if (token.getType() == AbstractMessageParser.Token.Type.SMILEY) { in getSpannableString()
DAbstractMessageParser.java73 private ArrayList<Token> tokens;
105 this.tokens = new ArrayList<Token>(); in AbstractMessageParser()
195 public static Token tokenForUrl(String url, String text) { in tokenForUrl()
235 Token token = tokens.get(i); in buildParts()
654 public static abstract class Token { class in AbstractMessageParser
686 protected Token(Type type, String text) { in Token() method in AbstractMessageParser.Token
721 public static class Html extends Token {
769 public static class MusicTrack extends Token {
789 public static class Link extends Token {
810 public static class Video extends Token {
[all …]
/frameworks/compile/mclinker/lib/LD/
DEhFrameReader.cpp46 template<> EhFrameReader::Token
51 Token result; in scan()
142 Token token = scan<true>(handler, file_off, sect_reg); in read()
173 const EhFrameReader::Token& pToken) in addCIE()
338 const EhFrameReader::Token& pToken) in addFDE()
360 const EhFrameReader::Token& pToken) in addTerm()
367 const EhFrameReader::Token& pToken) in reject()
/frameworks/base/media/java/android/media/session/
DMediaSession.java108 private final MediaSession.Token mSessionToken;
155 mSessionToken = new Token(mBinder.getController()); in MediaSession()
375 public @NonNull Token getSessionToken() { in getSessionToken()
585 public static final class Token implements Parcelable { class in MediaSession
592 public Token(ISessionController binder) { in Token() method in MediaSession.Token
622 Token other = (Token) obj; in equals()
635 public static final Parcelable.Creator<Token> CREATOR
636 = new Parcelable.Creator<Token>() {
638 public Token createFromParcel(Parcel in) {
639 return new Token(ISessionController.Stub.asInterface(in.readStrongBinder()));
[all …]
DMediaSession.aidl18 parcelable MediaSession.Token;
DIActiveSessionsListener.aidl25 void onActiveSessionsChanged(in List<MediaSession.Token> sessions); in onActiveSessionsChanged()
DMediaController.java70 private final MediaSession.Token mToken;
97 mToken = new MediaSession.Token(sessionBinder); in MediaController()
107 public MediaController(@NonNull Context context, @NonNull MediaSession.Token token) { in MediaController()
287 public @NonNull MediaSession.Token getSessionToken() { in getSessionToken()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DIPlayerCallback.aidl21 void onSessionChanged(in MediaSession.Token session); in onSessionChanged()
DIPlayerService.aidl26 MediaSession.Token getSessionToken(); in getSessionToken()
DPlayerController.java140 public MediaSession.Token getSessionToken() { in getSessionToken()
179 MediaSession.Token token;
DPlayerService.java157 public MediaSession.Token getSessionToken() throws RemoteException { in getSessionToken()
/frameworks/base/media/java/android/service/media/
DIMediaBrowserServiceCallbacks.aidl23 void onConnect(String root, in MediaSession.Token session, in Bundle extras); in onConnect()
DMediaBrowserService.java80 MediaSession.Token mSession;
327 public void setSessionToken(MediaSession.Token token) { in setSessionToken()
339 public @Nullable MediaSession.Token getSessionToken() { in getSessionToken()
/frameworks/base/media/java/android/media/browse/
DMediaBrowser.java78 private MediaSession.Token mMediaSessionToken;
281 public @NonNull MediaSession.Token getSessionToken() { in getSessionToken()
386 final String root, final MediaSession.Token session, final Bundle extra) { in onServiceConnected()
790 public void onConnect(final String root, final MediaSession.Token session, in onConnect()
/frameworks/base/docs/html/google/play-services/
Dauth.jd10 <li><a href="#obtain">Obtaining an Access Token</a></li>
12 <li><a href="#use">Using the Access Token</a></li>
59 <h2 id="obtain">Obtaining an Access Token</h2>
199 <h2 id="use">Using the Access Token</h2>
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java239 .onActiveSessionsChanged(new ArrayList<MediaSession.Token>()); in updateActiveSessionListeners()
446 ArrayList<MediaSession.Token> tokens = new ArrayList<MediaSession.Token>(); in pushSessionsChanged()
448 tokens.add(new MediaSession.Token(records.get(i).getControllerBinder())); in pushSessionsChanged()
/frameworks/base/docs/html/training/id-auth/
Dauthenticate.jd19 <li><a href="#RequestToken">Request an Auth Token</a></li>
20 <li><a href="#RequestAgain">Request an Auth Token... Again</a></li>
73 <h2 id="RequestToken">Request an Auth Token</h2>
146 <h2 id="RequestAgain">Request an Auth Token... Again</h2>

12