/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 44 long token = Binder.clearCallingIdentity(); in answerCall() local 58 Binder.restoreCallingIdentity(token); in answerCall() 64 long token = Binder.clearCallingIdentity(); in rejectCall() local 78 Binder.restoreCallingIdentity(token); in rejectCall() 84 long token = Binder.clearCallingIdentity(); in playDtmfTone() local 98 Binder.restoreCallingIdentity(token); in playDtmfTone() 104 long token = Binder.clearCallingIdentity(); in stopDtmfTone() local 118 Binder.restoreCallingIdentity(token); in stopDtmfTone() 124 long token = Binder.clearCallingIdentity(); in postDialContinue() local 138 Binder.restoreCallingIdentity(token); in postDialContinue() [all …]
|
D | TelecomServiceImpl.java | 76 long token = Binder.clearCallingIdentity(); 93 Binder.restoreCallingIdentity(token); 122 long token = Binder.clearCallingIdentity(); 129 Binder.restoreCallingIdentity(token); 142 long token = Binder.clearCallingIdentity(); 153 Binder.restoreCallingIdentity(token); 166 long token = Binder.clearCallingIdentity(); 176 Binder.restoreCallingIdentity(token); 260 long token = Binder.clearCallingIdentity(); 265 Binder.restoreCallingIdentity(token); [all …]
|
D | ConnectionServiceWrapper.java | 69 long token = Binder.clearCallingIdentity(); in handleCreateConnectionComplete() local 79 Binder.restoreCallingIdentity(token); in handleCreateConnectionComplete() 85 long token = Binder.clearCallingIdentity(); in setActive() local 100 Binder.restoreCallingIdentity(token); in setActive() 106 long token = Binder.clearCallingIdentity(); in setRinging() local 120 Binder.restoreCallingIdentity(token); in setRinging() 126 long token = Binder.clearCallingIdentity(); in setVideoProvider() local 139 Binder.restoreCallingIdentity(token); in setVideoProvider() 145 long token = Binder.clearCallingIdentity(); in setDialing() local 159 Binder.restoreCallingIdentity(token); in setDialing() [all …]
|
D | BluetoothPhoneServiceImpl.java | 88 long token = Binder.clearCallingIdentity(); 98 Binder.restoreCallingIdentity(token); 109 long token = Binder.clearCallingIdentity(); 119 Binder.restoreCallingIdentity(token); 129 long token = Binder.clearCallingIdentity(); 142 Binder.restoreCallingIdentity(token); 152 long token = Binder.clearCallingIdentity(); 164 Binder.restoreCallingIdentity(token); 174 long token = Binder.clearCallingIdentity(); 191 Binder.restoreCallingIdentity(token); [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | AsyncQueryService.java | 69 public int token; field in AsyncQueryService.Operation 104 builder.append(token); in toString() 142 public final int cancelOperation(int token) { in cancelOperation() argument 143 return AsyncQueryServiceHelper.cancelOperation(token); in cancelOperation() 169 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument 176 info.token = token; in startQuery() 201 public void startInsert(int token, Object cookie, Uri uri, ContentValues initialValues, in startInsert() argument 208 info.token = token; in startInsert() 237 public void startUpdate(int token, Object cookie, Uri uri, ContentValues values, in startUpdate() argument 244 info.token = token; in startUpdate() [all …]
|
D | AsyncQueryServiceHelper.java | 52 public int token; // Used for cancel field in AsyncQueryServiceHelper.OperationInfo 106 builder.append(token); in toString() 149 return o.token == this.token && o.op == this.op; in equivalent() 190 op.token = info.token; in getLastCancelableOperation() 201 + " token:" + op.token); in getLastCancelableOperation() 216 static public int cancelOperation(int token) { in cancelOperation() argument 221 if (it.next().token == token) { in cancelOperation() 229 Log.d(TAG, "cancelOperation(" + token + ") -> " + canceled); in cancelOperation() 342 Message reply = args.handler.obtainMessage(args.token); in onHandleIntent()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | HanziToPinyin.java | 97 private void tokenize(char character, Token token) { in tokenize() argument 98 token.source = Character.toString(character); in tokenize() 102 token.type = Token.LATIN; in tokenize() 103 token.target = token.source; in tokenize() 109 token.type = Token.LATIN; in tokenize() 110 token.target = mAsciiTransliterator == null ? token.source : in tokenize() 111 mAsciiTransliterator.transliterate(token.source); in tokenize() 115 token.type = Token.PINYIN; in tokenize() 116 token.target = mPinyinTransliterator.transliterate(token.source); in tokenize() 117 if (TextUtils.isEmpty(token.target) || in tokenize() [all …]
|
D | SearchIndexManager.java | 178 public void appendToken(String token) { in appendToken() argument 179 if (TextUtils.isEmpty(token)) { in appendToken() 186 mSbTokens.append(token); in appendToken() 424 for (String token : FTS_TOKEN_SEPARATOR_RE.split(s)) { in splitIntoFtsTokens() 425 if (!TextUtils.isEmpty(token)) { in splitIntoFtsTokens() 426 ret.add(token); in splitIntoFtsTokens() 441 for (String token : splitIntoFtsTokens(query)) { in getFtsMatchQuery() 442 ftsQueryBuilder.addToken(result, token); in getFtsMatchQuery() 448 public abstract void addToken(StringBuilder builder, String token); in addToken() argument 470 public void addToken(StringBuilder builder, String token) { in getDigitsQueryBuilder() [all …]
|
D | NameSplitter.java | 237 final String token = nextToken(); in NameTokenizer() local 238 if (token.length() > 0) { in NameTokenizer() 239 final char c = token.charAt(0); in NameTokenizer() 245 if (mEndPointer > 0 && token.charAt(0) == '.') { in NameTokenizer() 247 } else if (mEndPointer > 0 && token.charAt(0) == ',') { in NameTokenizer() 250 mTokens[mEndPointer] = token; in NameTokenizer() 422 String token = tokenizer.nextToken(); in splitChineseName() local 424 name.givenNames = token; in splitChineseName() 427 name.givenNames = token; in splitChineseName() 430 name.givenNames = token; in splitChineseName() [all …]
|
D | ContactLocaleUtils.java | 387 final Token token = tokens.get(i); in getPinyinNameLookupKeys() local 388 if (Token.UNKNOWN == token.type) { in getPinyinNameLookupKeys() 391 if (Token.PINYIN == token.type) { in getPinyinNameLookupKeys() 392 keyPinyin.insert(0, token.target); in getPinyinNameLookupKeys() 393 keyInitial.insert(0, token.target.charAt(0)); in getPinyinNameLookupKeys() 394 } else if (Token.LATIN == token.type) { in getPinyinNameLookupKeys() 402 keyPinyin.insert(0, token.source); in getPinyinNameLookupKeys() 403 keyInitial.insert(0, token.source.charAt(0)); in getPinyinNameLookupKeys() 405 keyOriginal.insert(0, token.source); in getPinyinNameLookupKeys()
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 117 public Token token, jj_nt; field in ContentTypeParser 135 token = new Token(); in ContentTypeParser() 147 token = new Token(); in ReInit() 156 token = new Token(); in ContentTypeParser() 165 token = new Token(); in ReInit() 173 token = new Token(); in ContentTypeParser() 181 token = new Token(); in ReInit() 189 if ((oldToken = token).next != null) token = token.next; in jj_consume_token() 190 else token = token.next = token_source.getNextToken(); in jj_consume_token() 192 if (token.kind == kind) { in jj_consume_token() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/contenttype/parser/ |
D | ContentTypeParser.java | 117 public Token token, jj_nt; field in ContentTypeParser 135 token = new Token(); in ContentTypeParser() 147 token = new Token(); in ReInit() 156 token = new Token(); in ContentTypeParser() 165 token = new Token(); in ReInit() 173 token = new Token(); in ContentTypeParser() 181 token = new Token(); in ReInit() 189 if ((oldToken = token).next != null) token = token.next; in jj_consume_token() 190 else token = token.next = token_source.getNextToken(); in jj_consume_token() 192 if (token.kind == kind) { in jj_consume_token() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 38 private static int parseDigits(Token token) { in parseDigits() argument 39 return Integer.parseInt(token.image, 10); in parseDigits() 198 {if (true) return token.image;} in day_of_week() 411 public Token token, jj_nt; field in DateTimeParser 434 token = new Token(); in DateTimeParser() 446 token = new Token(); in ReInit() 455 token = new Token(); in DateTimeParser() 464 token = new Token(); in ReInit() 472 token = new Token(); in DateTimeParser() 480 token = new Token(); in ReInit() [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/datetime/parser/ |
D | DateTimeParser.java | 38 private static int parseDigits(Token token) { in parseDigits() argument 39 return Integer.parseInt(token.image, 10); in parseDigits() 198 {if (true) return token.image;} in day_of_week() 411 public Token token, jj_nt; field in DateTimeParser 434 token = new Token(); in DateTimeParser() 446 token = new Token(); in ReInit() 455 token = new Token(); in DateTimeParser() 464 token = new Token(); in ReInit() 472 token = new Token(); in DateTimeParser() 480 token = new Token(); in ReInit() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/ |
D | AsyncQueryServiceTest.java | 113 work[index].token = ++mId; in testQuery() 125 aqs.startQuery(work[index].token, work[index].cookie, work[index].uri, in testQuery() 142 work[index].token = ++mId; in testInsert() 152 aqs.startInsert(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testInsert() 168 work[index].token = ++mId; in testUpdate() 180 aqs.startUpdate(work[index].token, work[index].cookie, work[index].uri, work[index].values, in testUpdate() 196 work[index].token = ++mId; in testDelete() 206 aqs.startDelete(work[index].token, in testDelete() 226 work[index].token = ++mId; in testBatch() 239 aqs.startBatch(work[index].token, in testBatch() [all …]
|
/packages/apps/Email/provider_src/com/android/email/provider/ |
D | ContentCache.java | 193 for (CacheToken token: this) { in invalidateTokens() 194 if (token.getId().equals(id)) { in invalidateTokens() 195 token.invalidate(); in invalidateTokens() 196 removeList.add(token); in invalidateTokens() 200 for (CacheToken token: removeList) { in invalidateTokens() 201 remove(token); in invalidateTokens() 210 for (CacheToken token: this) { in invalidate() 211 token.invalidate(); in invalidate() 216 /*package*/ boolean remove(CacheToken token) { in remove() argument 217 boolean result = super.remove(token); in remove() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 614 jj_la = xla; jj_lastpos = jj_scanpos = token; in jj_2_1() 621 jj_la = xla; jj_lastpos = jj_scanpos = token; in jj_2_2() 700 public Token token, jj_nt; field in AddressListParser 730 token = new Token(); in AddressListParser() 743 token = new Token(); in ReInit() 754 token = new Token(); in AddressListParser() 764 token = new Token(); in ReInit() 774 token = new Token(); in AddressListParser() 783 token = new Token(); in ReInit() 793 if ((oldToken = token).next != null) token = token.next; in jj_consume_token() [all …]
|
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/parser/ |
D | AddressListParser.java | 614 jj_la = xla; jj_lastpos = jj_scanpos = token; in jj_2_1() 621 jj_la = xla; jj_lastpos = jj_scanpos = token; in jj_2_2() 700 public Token token, jj_nt; field in AddressListParser 730 token = new Token(); in AddressListParser() 743 token = new Token(); in ReInit() 754 token = new Token(); in AddressListParser() 764 token = new Token(); in ReInit() 774 token = new Token(); in AddressListParser() 783 token = new Token(); in ReInit() 793 if ((oldToken = token).next != null) token = token.next; in jj_consume_token() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodManager.java | 130 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { in switchToNextInputMethod() argument 131 if (mImmWrapper.switchToNextInputMethod(token, onlyCurrentIme)) { in switchToNextInputMethod() 136 if (switchToNextInputSubtypeInThisIme(token, onlyCurrentIme)) { in switchToNextInputMethod() 139 return switchToNextInputMethodAndSubtype(token); in switchToNextInputMethod() 142 private boolean switchToNextInputSubtypeInThisIme(final IBinder token, in switchToNextInputSubtypeInThisIme() argument 161 setInputMethodAndSubtype(token, nextSubtype); in switchToNextInputSubtypeInThisIme() 165 private boolean switchToNextInputMethodAndSubtype(final IBinder token) { in switchToNextInputMethodAndSubtype() argument 179 imm.setInputMethod(token, nextImi.getId()); in switchToNextInputMethodAndSubtype() 183 imm.setInputMethodAndSubtype(token, nextImi.getId(), firstSubtype); in switchToNextInputMethodAndSubtype() 431 public void setInputMethodAndSubtype(final IBinder token, final InputMethodSubtype subtype) { in setInputMethodAndSubtype() argument [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 120 final long token = Binder.clearCallingIdentity(); in createDocument() local 136 Binder.restoreCallingIdentity(token); in createDocument() 143 final long token = Binder.clearCallingIdentity(); in deleteDocument() local 149 Binder.restoreCallingIdentity(token); in deleteDocument() 161 final long token = Binder.clearCallingIdentity(); in queryDocument() local 171 Binder.restoreCallingIdentity(token); in queryDocument() 183 final long token = Binder.clearCallingIdentity(); in queryChildDocuments() local 194 Binder.restoreCallingIdentity(token); in queryChildDocuments() 206 final long token = Binder.clearCallingIdentity(); in queryChildDocumentsForManage() local 217 Binder.restoreCallingIdentity(token); in queryChildDocumentsForManage() [all …]
|
/packages/apps/InCallUI/src/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 99 public void startQuery(int token, Object cookie, Uri uri, String[] projection, in startQuery() argument 109 super.startQuery(token, cookie, uri, projection, selection, selectionArgs, orderBy); in startQuery() 217 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 219 Log.d(this, "##### onQueryComplete() ##### query complete for token: " + token); in onQueryComplete() 298 Log.d(this, "constructing CallerInfo object for token: " + token); in onQueryComplete() 303 startQuery(token, endMarker, null, null, null, null, null); in onQueryComplete() 309 " for token: " + token + mCallerInfo); in onQueryComplete() 310 cw.listener.onQueryComplete(token, cw.cookie, mCallerInfo); in onQueryComplete() 338 public static CallerInfoAsyncQuery startQuery(int token, Context context, CallerInfo info, in startQuery() argument [all …]
|
/packages/apps/Camera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 320 string token; in parse_cmd_line() local 322 while (cmdline >> token) in parse_cmd_line() 326 int pos = token.find("-"); in parse_cmd_line() 330 switch (token[1]) in parse_cmd_line() 333 --c; cmdline >> token; in parse_cmd_line() 334 if (token.compare("rt") == 0) in parse_cmd_line() 338 else if (token.compare("a") == 0) in parse_cmd_line() 342 else if (token.compare("p") == 0) in parse_cmd_line() 371 cerr << progname << "illegal option " << token << endl; in parse_cmd_line() 388 image_list_file_name = token; in parse_cmd_line()
|
/packages/apps/LegacyCamera/jni/feature_stab/src/dbregtest/ |
D | dbregtest.cpp | 320 string token; in parse_cmd_line() local 322 while (cmdline >> token) in parse_cmd_line() 326 int pos = token.find("-"); in parse_cmd_line() 330 switch (token[1]) in parse_cmd_line() 333 --c; cmdline >> token; in parse_cmd_line() 334 if (token.compare("rt") == 0) in parse_cmd_line() 338 else if (token.compare("a") == 0) in parse_cmd_line() 342 else if (token.compare("p") == 0) in parse_cmd_line() 371 cerr << progname << "illegal option " << token << endl; in parse_cmd_line() 388 image_list_file_name = token; in parse_cmd_line()
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaDocumentsProvider.java | 211 final long token = Binder.clearCallingIdentity(); in deleteDocument() local 215 Binder.restoreCallingIdentity(token); in deleteDocument() 234 final long token = Binder.clearCallingIdentity(); in queryDocument() local 314 Binder.restoreCallingIdentity(token); in queryDocument() 326 final long token = Binder.clearCallingIdentity(); in queryChildDocuments() local 404 Binder.restoreCallingIdentity(token); in queryChildDocuments() 415 final long token = Binder.clearCallingIdentity(); in queryRecentDocuments() local 439 Binder.restoreCallingIdentity(token); in queryRecentDocuments() 454 final long token = Binder.clearCallingIdentity(); in openDocument() local 458 Binder.restoreCallingIdentity(token); in openDocument() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/database/ |
D | NoNullCursorAsyncQueryHandler.java | 36 public void startQuery(int token, Object cookie, Uri uri, String[] projection, String selection, in startQuery() argument 39 super.startQuery(token, projectionCookie, uri, projection, selection, selectionArgs, in startQuery() 44 protected final void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 47 super.onQueryComplete(token, projectionCookie.originalCookie, cursor); in onQueryComplete() 52 onNotNullableQueryComplete(token, projectionCookie.originalCookie, cursor); in onQueryComplete() 55 protected abstract void onNotNullableQueryComplete(int token, Object cookie, Cursor cursor); in onNotNullableQueryComplete() argument
|