/frameworks/base/core/java/android/nfc/ |
NfcActivityManager.java | 121 Binder token; field in class:NfcActivityManager.NfcActivityState 132 this.token = new Binder(); 145 token = null; 207 Binder token; local 213 token = state.token; 217 setReaderMode(token, flags, extras); 223 Binder token; local 229 token = state.token; 458 Binder token; local 478 Binder token; local [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfoAsyncQuery.java | 69 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 185 if (DBG) Rlog.d(LOG_TAG, "Processing event: " + cw.event + " token (arg1): " + msg.arg1 + 201 // passing the original token value back to the caller 241 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 242 if (DBG) Rlog.d(LOG_TAG, "##### onQueryComplete() ##### query complete for token: " + token); 266 // check the token and if needed, create the callerinfo object. 326 if (DBG) Rlog.d(LOG_TAG, "constructing CallerInfo object for token: " + token); 331 startQuery(token, endMarker, null, null, null, null, null) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/view/ |
WindowFocusObserver.java | 40 public void onFocusGained(WindowId token) { 45 public void onFocusLost(WindowId token) { 96 WindowId token = getWindow().getDecorView().getWindowId(); local 97 token.registerFocusObserver(mObserver); 98 mState.setText(token.isFocused() ? "Focused" : "Not focused");
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
token.rb | 37 =begin rdoc ANTLR3::Token 52 originated. Token streams will also provide an index value for the token, which 53 indicates the position of the token relative to other tokens in the stream, 54 starting at zero. For example, the 22nd token pulled from a lexer by 57 == Token as an Interface 59 This library provides a token implementation (see CommonToken). Additionally, 60 you may write your own token class as long as you provide methods that give 61 access to the attributes expected by a token. Even though most of the ANTLR 63 checking, it's a good idea to include this ANTLR3::Token into your customize [all...] |
/external/elfutils/src/tests/ |
dwarf-getmacros.c | 30 static void include (Dwarf *dbg, Dwarf_Off macoff, ptrdiff_t token); 110 include (Dwarf *dbg, Dwarf_Off macoff, ptrdiff_t token) 112 while ((token = dwarf_getmacros_off (dbg, macoff, mac, dbg, token)) != 0) 113 if (token == -1)
|
/external/linux-tools-perf/src/tools/perf/util/ |
cgroup.c | 15 char *token, *saved_ptr = NULL; local 33 token = strtok_r(tokens, ",", &saved_ptr); 35 while (token != NULL) { 36 if (!strcmp(token, "perf_event")) { 40 token = strtok_r(NULL, ",", &saved_ptr);
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
WarningParser.java | 88 Token token = lexer.getNextToken(); local 90 int code = Integer.parseInt(token.getTokenValue()); 101 token = lexer.getNextToken(); 106 Token token2 = lexer.getNextToken(); 107 warning.setAgent(token.getTokenValue() + ":" 110 warning.setAgent(token.getTokenValue()); 130 Token tok = lexer.getNextToken(); 150 Token token2 = lexer.getNextToken();
|
/external/skia/src/animator/ |
SkAnimatorScript.h | 43 static bool EvalEnum(const char* token, size_t len, void* callBack, SkScriptValue* ); 44 static bool EvalID(const char* token, size_t len, void* callBack, SkScriptValue* ); 51 static bool EvalNamedColor(const char* token, size_t len, void* callBack, SkScriptValue* ); 55 static bool Infinity(const char* token, size_t len, void* callBack, SkScriptValue* ); 60 static bool NaN(const char* token, size_t len, void* callBack, SkScriptValue* );
|
/frameworks/base/core/java/android/service/voice/ |
VoiceInteractionSessionService.java | 47 public void newSession(IBinder token, Bundle args, int startFlags) { 49 startFlags, token, args)); 117 void doNewSession(IBinder token, Bundle args, int startFlags) { 124 mSystemService.deliverNewSession(token, mSession.mSession, mSession.mInteractor); 125 mSession.doCreate(mSystemService, token);
|
/frameworks/base/core/java/android/view/ |
InputQueue.java | 91 public void sendInputEvent(InputEvent e, Object token, boolean predispatch, 93 ActiveInputEvent event = obtainActiveInputEvent(token, callback); 113 private ActiveInputEvent obtainActiveInputEvent(Object token, 119 e.mToken = token; 159 void onFinishedInputEvent(Object token, boolean handled);
|
WindowInfo.java | 42 public IBinder token; field in class:WindowInfo 64 window.token = other.token; 94 parcel.writeStrongBinder(token); 113 builder.append(", token=").append(token); 125 token = parcel.readStrongBinder(); 142 token = null;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/parsers/ |
DocumentBuilderImpl.java | 171 * @param endToken The token that will end this recursive call. Either 180 int token = parser.getEventType(); local 184 * token to be processed. This holds for each iteration of the loop, so 188 while (token != endToken && token != XmlPullParser.END_DOCUMENT) { 189 if (token == XmlPullParser.PROCESSING_INSTRUCTION) { 191 * Found a processing instructions. We need to split the token 203 } else if (token == XmlPullParser.DOCDECL) { 209 } else if (token == XmlPullParser.COMMENT) { 211 * Found a comment. We simply take the token text, but we onl [all...] |
/external/e2fsprogs/misc/ |
util.c | 174 char *buf, *token, *next, *p, *arg; local 186 for (token = buf; token && *token; token = next) { 187 p = strchr(token, ','); 193 arg = strchr(token, '='); 199 printf("Journal option=%s, argument=%s\n", token, 202 if (strcmp(token, "device") == 0) { 212 } else if (strcmp(token, "size") == 0) [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfoAsyncQuery.java | 68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, 109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); 161 Log.d(this, "Processing event: " + cw.event + " token (arg1): " + msg.arg1 + 178 // passing the original token value back to the caller 217 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { 219 Log.d(this, "##### onQueryComplete() ##### query complete for token: " + token); 237 // check the token and if needed, create the callerinfo object. 298 Log.d(this, "constructing CallerInfo object for token: " + token) [all...] |
/external/google-breakpad/src/processor/ |
cfi_frame_info.cc | 137 char *token = strtok_r(working_copy.get(), token_breaks, &cursor); local 141 if (!token) return Report(); 144 size_t token_len = strlen(token); 145 if (token_len >= 1 && token[token_len - 1] == ':') { 152 name_.assign(token, token_len - 1); 159 expression_ += token; 161 token = strtok_r(NULL, token_breaks, &cursor);
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/C/ |
AST.stg | 98 #define CREATE_stream_<it> if (stream_<it> == NULL) {stream_<it> = antlr3RewriteRule<rewriteElementType>StreamNewAE(ADAPTOR, RECOGNIZER, (pANTLR3_UINT8)"token <it>"); \} }; separator="\n"> 141 tokenRefTrack(token,label,elementIndex,terminalOptions) ::= << 143 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) { <endif>CREATE_stream_<token>; stream_<token>->add(stream_<token>, <label>, NULL);<if(backtracking)> }<endif><\n> 149 tokenRefTrackAndListLabel(token,label,elementIndex,terminalOptions) ::= << 155 tokenRefRuleRootTrack(token,label,elementIndex,terminalOptions) ::= << 157 <if(backtracking)>if ( <actions.(actionScope).synpredgate> ) {<endif>CREATE_stream_<token>; stream_<token>->add(stream_<token>, <label>, NULL);<if(backtracking)> }<endif><\n [all...] |
/external/owasp/sanitizer/src/tests/org/owasp/html/ |
CssFuzzerTest.java | 90 // Compose a random string from token parts. 125 System.err.println(it.token() + ":" + it.type()); 145 String token = it.next(); local 147 if (filter != null && !filter.matcher(token).matches()) { 148 fail(type + " `" + token + "`, " + msg); 268 String token = it.token(); local 271 if (CssTokens.isWellKnownUnit(token)) { 272 numberFollower = token; 274 if (it.hasNext() && it.token().startsWith(".")) [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ContentProviderRecord.java | 91 public void addExternalProcessHandleLocked(IBinder token) { 92 if (token == null) { 98 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 100 handle = new ExternalProcessHandle(token); 101 externalProcessTokenToHandle.put(token, handle); 107 public boolean removeExternalProcessHandleLocked(IBinder token) { 111 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); 116 removeExternalProcessHandleInternalLocked(token); 129 private void removeExternalProcessHandleInternalLocked(IBinder token) { 130 ExternalProcessHandle handle = externalProcessTokenToHandle.get(token); [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
ContentCache.java | 54 * 1. Get a CacheToken: CacheToken token = cache.getToken(id); 56 * 3. Put the cursor in the cache: cache.putCursor(cursor, id, token); 177 * A list of tokens that are in use at any moment; there can be more than one token for an id 193 for (CacheToken token: this) { 194 if (token.getId().equals(id)) { 195 token.invalidate(); 196 removeList.add(token); 200 for (CacheToken token: removeList) { 201 remove(token); 210 for (CacheToken token: this) 229 CacheToken token = new CacheToken(id); local 447 CacheToken token = mTokenList.add(id); local [all...] |
/external/skia/experimental/PdfViewer/pdfparser/native/ |
SkPdfNativeTokenizer.cpp | 771 SkPdfNativeObject* token, 784 // no token, len would be 0 795 return readArray(current, end, token, allocator, doc); 798 return readString(start + 1, end, token, allocator); 803 return readDictionary(start + 2, end, token, allocator, doc); // skip << 805 return readHexString(start + 1, end, token, allocator); // skip < 809 return readName(start + 1, end, token, allocator); 825 SkPdfNativeObject::makeNull(token); 831 SkPdfNativeObject::makeBoolean(true, token); 842 SkPdfNativeObject::makeBoolean(false, token); [all...] |
/external/libpcap/ |
grammar.y | 273 %token DST SRC HOST GATEWAY 274 %token NET NETMASK PORT PORTRANGE LESS GREATER PROTO PROTOCHAIN CBYTE 275 %token ARP RARP IP SCTP TCP UDP ICMP IGMP IGRP PIM VRRP CARP 276 %token ATALK AARP DECNET LAT SCA MOPRC MOPDL 277 %token TK_BROADCAST TK_MULTICAST 278 %token NUM INBOUND OUTBOUND 279 %token PF_IFNAME PF_RSET PF_RNR PF_SRNR PF_REASON PF_ACTION 280 %token TYPE SUBTYPE DIR ADDR1 ADDR2 ADDR3 ADDR4 RA TA 281 %token LINK 282 %token GEQ LEQ NE [all...] |
/external/libvpx/libvpx/vp8/encoder/ |
tokenize.c | 67 t[i].Token = --j; 71 t[i].Token = a; 79 const vp8_extra_bit_struct *p = vp8_extra_bits + t[i].Token; 111 int pt; /* near block/prev token context index */ 118 int band, rc, v, token; local 131 t->Token = DCT_EOB_TOKEN; 144 token = vp8_dct_value_tokens_ptr[v].Token; 145 t->Token = token; 204 int token; local [all...] |
/frameworks/base/services/core/java/com/android/server/statusbar/ |
StatusBarManagerService.java | 82 IBinder token; field in class:StatusBarManagerService.DisableRecord 86 disableForUser(0, token, pkg, userId); 87 disable2ForUser(0, token, pkg, userId); 88 token.unlinkToDeath(this, 0); 221 public void disable(int what, IBinder token, String pkg) { 222 disableForUser(what, token, pkg, mCurrentUserId); 226 public void disableForUser(int what, IBinder token, String pkg, int userId) { 230 disableLocked(userId, what, token, pkg, 1); 241 public void disable2(int what, IBinder token, String pkg) { 242 disableForUser(what, token, pkg, mCurrentUserId) [all...] |
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vp8/encoder/ |
tokenize.c | 67 t[i].Token = --j; 71 t[i].Token = a; 79 const vp8_extra_bit_struct *p = vp8_extra_bits + t[i].Token; 111 int pt; /* near block/prev token context index */ 118 int band, rc, v, token; local 131 t->Token = DCT_EOB_TOKEN; 144 token = vp8_dct_value_tokens_ptr[v].Token; 145 t->Token = token; 204 int token; local [all...] |
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
socket.rb | 129 def consume_token( token ) 130 transmit "%s\t%s", :consume_token, serialize_token( token ) 133 def consume_hidden_token( token ) 134 transmit "%s\t%s", :consume_hidden_token, serialize_token( token ) 202 Token::INVALID_TOKEN_TYPE, escape_newlines( tree.to_s ) 205 def create_node( node, token = nil ) 206 if token 208 token.token_index 232 def serialize_token( token ) 233 [ token.token_index, token.type, token.channel [all...] |