Searched refs:token (Results 1 - 25 of 132) sorted by relevance

123456

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DHanziToPinyin.java60 * Type of this token, ASCII, PINYIN or UNKNOWN.
97 private void tokenize(char character, Token token) { argument
98 token.source = Character.toString(character);
102 token.type = Token.LATIN;
103 token.target = token.source;
109 token.type = Token.LATIN;
110 token.target = mAsciiTransliterator == null ? token.source :
111 mAsciiTransliterator.transliterate(token
[all...]
H A DProfileAwareUriMatcher.java79 // Keep track of whether we've passed a "lookup" token in the path; wildcards after
80 // that token will be interpreted as lookup keys. For our purposes, vcard paths
84 String token = tokens[i];
85 if (token.equals(PROFILE_SEGMENT)) {
88 } else if (token.equals(LOOKUP_SEGMENT)
89 || token.equals(VCARD_SEGMENT)) {
92 } else if (token.equals(ID_SEGMENT)) {
94 } else if (token.equals(WILDCARD_SEGMENT)) {
H A DSearchIndexManager.java178 public void appendToken(String token) { argument
179 if (TextUtils.isEmpty(token)) {
186 mSbTokens.append(token);
200 // Then, if the name contains more than one FTS token, put each token into the index
213 // So, here, we put each token in a name into the index too. In the case above,
424 for (String token : FTS_TOKEN_SEPARATOR_RE.split(s)) {
425 if (!TextUtils.isEmpty(token)) {
426 ret.add(token);
433 * Tokenizes the query and normalizes/hex encodes each token
448 addToken(StringBuilder builder, String token) argument
492 addToken(StringBuilder builder, String token) argument
504 addToken(StringBuilder builder, String token) argument
[all...]
/packages/services/Telecomm/src/com/android/server/telecom/
H A DInCallAdapter.java44 long token = Binder.clearCallingIdentity();
58 Binder.restoreCallingIdentity(token);
64 long token = Binder.clearCallingIdentity();
78 Binder.restoreCallingIdentity(token);
84 long token = Binder.clearCallingIdentity();
98 Binder.restoreCallingIdentity(token);
104 long token = Binder.clearCallingIdentity();
118 Binder.restoreCallingIdentity(token);
124 long token = Binder.clearCallingIdentity();
138 Binder.restoreCallingIdentity(token);
[all...]
H A DCallerInfoAsyncQueryFactory.java22 CallerInfoAsyncQuery startQuery(int token, Context context, String number, argument
H A DConnectionServiceWrapper.java69 long token = Binder.clearCallingIdentity();
79 Binder.restoreCallingIdentity(token);
85 long token = Binder.clearCallingIdentity();
100 Binder.restoreCallingIdentity(token);
106 long token = Binder.clearCallingIdentity();
120 Binder.restoreCallingIdentity(token);
126 long token = Binder.clearCallingIdentity();
139 Binder.restoreCallingIdentity(token);
145 long token = Binder.clearCallingIdentity();
159 Binder.restoreCallingIdentity(token);
[all...]
H A DTelecomServiceImpl.java75 long token = Binder.clearCallingIdentity();
92 Binder.restoreCallingIdentity(token);
121 long token = Binder.clearCallingIdentity();
128 Binder.restoreCallingIdentity(token);
141 long token = Binder.clearCallingIdentity();
152 Binder.restoreCallingIdentity(token);
165 long token = Binder.clearCallingIdentity();
175 Binder.restoreCallingIdentity(token);
259 long token = Binder.clearCallingIdentity();
264 Binder.restoreCallingIdentity(token);
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DAsyncQueryService.java69 public int token; field in class:AsyncQueryService.Operation
103 builder.append(", token=");
104 builder.append(token);
117 * returns a practically unique token for db operations
138 * @param token The token representing the operation to be canceled. If
139 * multiple operations have the same token they will all be
142 public final int cancelOperation(int token) { argument
143 return AsyncQueryServiceHelper.cancelOperation(token);
150 * @param token
169 startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, String[] selectionArgs, String orderBy) argument
201 startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, long delayMillis) argument
237 startUpdate(int token, Object cookie, Uri uri, ContentValues values, String selection, String[] selectionArgs, long delayMillis) argument
274 startDelete(int token, Object cookie, Uri uri, String selection, String[] selectionArgs, long delayMillis) argument
305 startBatch(int token, Object cookie, String authority, ArrayList<ContentProviderOperation> cpo, long delayMillis) argument
329 onQueryComplete(int token, Object cookie, Cursor cursor) argument
344 onInsertComplete(int token, Object cookie, Uri uri) argument
359 onUpdateComplete(int token, Object cookie, int result) argument
374 onDeleteComplete(int token, Object cookie, int result) argument
391 onBatchComplete(int token, Object cookie, ContentProviderResult[] results) argument
[all...]
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParser.java117 public Token token, jj_nt; field in class:ContentTypeParser
135 token = new Token();
147 token = new Token();
156 token = new Token();
165 token = new Token();
173 token = new Token();
181 token = new Token();
189 if ((oldToken = token).next != null) token = token
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
H A DInputMethodManagerCompatWrapper.java43 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { argument
45 METHOD_switchToNextInputMethod, token, onlyCurrentIme);
48 public boolean shouldOfferSwitchingToNextInputMethod(final IBinder token) { argument
50 METHOD_shouldOfferSwitchingToNextInputMethod, token);
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/
H A DContentTypeParser.java117 public Token token, jj_nt; field in class:ContentTypeParser
135 token = new Token();
147 token = new Token();
156 token = new Token();
165 token = new Token();
173 token = new Token();
181 token = new Token();
189 if ((oldToken = token).next != null) token = token
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/
H A DNoNullCursorAsyncQueryHandler.java36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, argument
39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs,
44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
47 super.onQueryComplete(token, projectionCookie.originalCookie, cursor);
52 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor);
55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); argument
/packages/apps/Contacts/src/com/android/contacts/util/
H A DNotifyingAsyncQueryHandler.java40 void onQueryComplete(int token, Object cookie, Cursor cursor); argument
58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { argument
61 listener.onQueryComplete(token, cookie, cursor);
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
H A DStringUtils.java12 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)}
21 * Additionally, each token is first passed through {@link BidiFormatter#unicodeWrap(String)}
28 for (String token : tokens) {
34 sb.append(bidiFormatter.unicodeWrap(token));
/packages/inputmethods/LatinIME/tools/dicttool/compat/android/text/
H A DTextUtils.java73 for (Object token: tokens) {
79 sb.append(token);
92 for (Object token: tokens) {
98 sb.append(token);
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java38 private static int parseDigits(Token token) { argument
39 return Integer.parseInt(token.image, 10);
198 {if (true) return token.image;}
411 public Token token, jj_nt; field in class:DateTimeParser
434 token = new Token();
446 token = new Token();
455 token = new Token();
464 token = new Token();
472 token = new Token();
480 token
[all...]
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/
H A DDateTimeParser.java38 private static int parseDigits(Token token) { argument
39 return Integer.parseInt(token.image, 10);
198 {if (true) return token.image;}
411 public Token token, jj_nt; field in class:DateTimeParser
434 token = new Token();
446 token = new Token();
455 token = new Token();
464 token = new Token();
472 token = new Token();
480 token
[all...]
/packages/apps/Settings/src/com/android/settings/fingerprint/
H A DFingerprintEnrollOnboard.java50 byte[] token = data.getByteArrayExtra(
53 launchFindSensor(token);
75 private void launchFindSensor(byte[] token) { argument
77 intent.putExtra(ChooseLockSettingsHelper.EXTRA_KEY_CHALLENGE_TOKEN, token);
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/
H A DVer4DictDecoder.java67 int token = 0;
71 binaryDictionary.getNextWordProperty(token);
81 token = result.mNextToken;
82 } while (token != 0);
/packages/apps/Dialer/src/com/android/dialer/calllog/
H A DVoicemailQueryHandler.java32 /** The token for the query to mark all new voicemails as old. */
58 protected void onUpdateComplete(int token, Object cookie, int result) { argument
59 if (token == UPDATE_MARK_VOICEMAILS_AS_OLD_TOKEN) {
65 Log.w(TAG, "Unknown update completed: ignoring: " + token);
/packages/apps/InCallUI/src/com/android/incallui/
H A DCallerInfoAsyncQuery.java68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); argument
99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, argument
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) { argument
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
338 startQuery(int token, Context context, CallerInfo info, OnQueryCompleteListener listener, Object cookie) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/provider/
H A DContentCache.java54 * 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
216 remove(CacheToken token) argument
264 equals(Object token) argument
475 putCursor(Cursor c, String id, String[] projection, CacheToken token) argument
482 putCursorImpl(Cursor c, String id, String[] projection, CacheToken token) argument
[all...]
/packages/apps/Camera/jni/feature_stab/src/dbregtest/
H A Ddbregtest.cpp320 string token; local
322 while (cmdline >> token)
326 int pos = token.find("-");
330 switch (token[1])
333 --c; cmdline >> token; local
334 if (token.compare("rt") == 0)
338 else if (token.compare("a") == 0)
342 else if (token.compare("p") == 0)
371 cerr << progname << "illegal option " << token << endl;
388 image_list_file_name = token;
[all...]
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/
H A Ddbregtest.cpp320 string token; local
322 while (cmdline >> token)
326 int pos = token.find("-");
330 switch (token[1])
333 --c; cmdline >> token; local
334 if (token.compare("rt") == 0)
338 else if (token.compare("a") == 0)
342 else if (token.compare("p") == 0)
371 cerr << progname << "illegal option " << token << endl;
388 image_list_file_name = token;
[all...]
/packages/apps/Calendar/tests/src/com/android/calendar/
H A DAsyncQueryServiceTest.java113 work[index].token = ++mId;
125 aqs.startQuery(work[index].token, work[index].cookie, work[index].uri,
142 work[index].token = ++mId;
152 aqs.startInsert(work[index].token, work[index].cookie, work[index].uri, work[index].values,
168 work[index].token = ++mId;
180 aqs.startUpdate(work[index].token, work[index].cookie, work[index].uri, work[index].values,
196 work[index].token = ++mId;
206 aqs.startDelete(work[index].token,
226 work[index].token = ++mId;
239 aqs.startBatch(work[index].token,
495 onQueryComplete(int token, Object cookie, Cursor cursor) argument
514 onInsertComplete(int token, Object cookie, Uri uri) argument
527 onUpdateComplete(int token, Object cookie, int result) argument
540 onDeleteComplete(int token, Object cookie, int result) argument
553 onBatchComplete(int token, Object cookie, ContentProviderResult[] results) argument
[all...]

Completed in 608 milliseconds

123456