/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 53 long token = Binder.clearCallingIdentity(); in answerCall() local 65 Binder.restoreCallingIdentity(token); in answerCall() 76 long token = Binder.clearCallingIdentity(); in deflectCall() local 88 Binder.restoreCallingIdentity(token); in deflectCall() 101 long token = Binder.clearCallingIdentity(); in rejectCall() local 121 Binder.restoreCallingIdentity(token); in rejectCall() 132 long token = Binder.clearCallingIdentity(); in playDtmfTone() local 144 Binder.restoreCallingIdentity(token); in playDtmfTone() 155 long token = Binder.clearCallingIdentity(); in stopDtmfTone() local 167 Binder.restoreCallingIdentity(token); in stopDtmfTone() [all …]
|
D | TelecomServiceImpl.java | 120 long token = Binder.clearCallingIdentity(); 128 Binder.restoreCallingIdentity(token); 164 long token = Binder.clearCallingIdentity(); 172 Binder.restoreCallingIdentity(token); 190 long token = Binder.clearCallingIdentity(); 198 Binder.restoreCallingIdentity(token); 215 long token = Binder.clearCallingIdentity(); 223 Binder.restoreCallingIdentity(token); 247 long token = Binder.clearCallingIdentity(); 255 Binder.restoreCallingIdentity(token); [all …]
|
D | ConnectionServiceWrapper.java | 76 long token = Binder.clearCallingIdentity(); in handleCreateConnectionComplete() local 96 Binder.restoreCallingIdentity(token); in handleCreateConnectionComplete() 104 long token = Binder.clearCallingIdentity(); in setActive() local 119 Binder.restoreCallingIdentity(token); in setActive() 127 long token = Binder.clearCallingIdentity(); in setRinging() local 142 Binder.restoreCallingIdentity(token); in setRinging() 150 long token = Binder.clearCallingIdentity(); in resetConnectionTime() local 162 Binder.restoreCallingIdentity(token); in resetConnectionTime() 171 long token = Binder.clearCallingIdentity(); in setVideoProvider() local 184 Binder.restoreCallingIdentity(token); in setVideoProvider() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | HanziToPinyin.java | 98 private void tokenize(char character, Token token) { in tokenize() argument 99 token.source = Character.toString(character); in tokenize() 103 token.type = Token.LATIN; in tokenize() 104 token.target = token.source; in tokenize() 110 token.type = Token.LATIN; in tokenize() 111 token.target = mAsciiTransliterator == null ? token.source : in tokenize() 112 mAsciiTransliterator.transliterate(token.source); in tokenize() 116 token.type = Token.PINYIN; in tokenize() 117 token.target = mPinyinTransliterator.transliterate(token.source); in tokenize() 118 if (TextUtils.isEmpty(token.target) || in tokenize() [all …]
|
D | SearchIndexManager.java | 182 public void appendToken(String token) { in appendToken() argument 183 if (TextUtils.isEmpty(token)) { in appendToken() 190 mSbTokens.append(token); in appendToken() 428 for (String token : FTS_TOKEN_SEPARATOR_RE.split(s)) { in splitIntoFtsTokens() 429 if (!TextUtils.isEmpty(token)) { in splitIntoFtsTokens() 430 ret.add(token); in splitIntoFtsTokens() 445 for (String token : splitIntoFtsTokens(query)) { in getFtsMatchQuery() 446 ftsQueryBuilder.addToken(result, token); in getFtsMatchQuery() 452 public abstract void addToken(StringBuilder builder, String token); in addToken() argument 474 public void addToken(StringBuilder builder, String token) { in getDigitsQueryBuilder() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/sap/ |
D | SapRilReceiver.java | 59 private void removeOngoingReqAndSendMessage(int token, SapMessage sapMessage) { in removeOngoingReqAndSendMessage() argument 60 Integer reqType = SapMessage.sOngoingRequests.remove(token); in removeOngoingReqAndSendMessage() 62 Log.d(TAG, "removeOngoingReqAndSendMessage: token " + token + " reqType " + ( in removeOngoingReqAndSendMessage() 70 public void connectResponse(int token, int sapConnectRsp, int maxMsgSize) { in connectResponse() argument 71 Log.d(TAG, "connectResponse: token " + token + " sapConnectRsp " + sapConnectRsp in connectResponse() 80 removeOngoingReqAndSendMessage(token, sapMessage); in connectResponse() 84 public void disconnectResponse(int token) { in disconnectResponse() argument 85 Log.d(TAG, "disconnectResponse: token " + token); in disconnectResponse() 89 removeOngoingReqAndSendMessage(token, sapMessage); in disconnectResponse() 93 public void disconnectIndication(int token, int disconnectType) { in disconnectIndication() argument [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/apps/Dialer/java/com/android/incallui/ |
D | CallerInfoAsyncQuery.java | 59 void onQueryComplete(int token, Object cookie, CallerInfo ci); in onQueryComplete() argument 63 void onDataLoaded(int token, Object cookie, CallerInfo ci); in onDataLoaded() argument 86 final int token, in startQuery() argument 98 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { in startQuery() 103 || !startOtherDirectoriesQuery(token, context, info, listener, cookie)) { in startQuery() 105 listener.onQueryComplete(token, cookie, ci); in startQuery() 111 public void onDataLoaded(int token, Object cookie, CallerInfo ci) { in startQuery() 113 listener.onDataLoaded(token, cookie, ci); in startQuery() 116 startDefaultDirectoryQuery(token, context, info, contactsProviderQueryCompleteListener, cookie); in startQuery() 121 int token, in startDefaultDirectoryQuery() argument [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarTestService.java | 68 public void stopCarService(IBinder token) throws RemoteException { in stopCarService() argument 69 Log.d(TAG, "stopCarService, token: " + token); in stopCarService() 73 if (mTokens.containsKey(token)) { in stopCarService() 78 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); in stopCarService() 79 mTokens.put(token, deathRecipient); in stopCarService() 80 token.linkToDeath(deathRecipient, 0); in stopCarService() 89 public void startCarService(IBinder token) throws RemoteException { in startCarService() argument 90 Log.d(TAG, "startCarService, token: " + token); in startCarService() 92 releaseToken(token); in startCarService() 95 private synchronized void releaseToken(IBinder token) { in releaseToken() argument [all …]
|
D | CarProjectionService.java | 267 public void stopProjectionAccessPoint(IBinder token) { in stopProjectionAccessPoint() argument 269 Log.i(TAG, "Received stop access point request from " + token); in stopProjectionAccessPoint() 273 if (!unregisterWirelessClientLocked(token)) { in stopProjectionAccessPoint() 274 Log.w(TAG, "Client " + token + " was not registered"); in stopProjectionAccessPoint() 326 BluetoothDevice device, int profile, IBinder token) { in requestBluetoothProfileInhibit() argument 337 if (token == null) { in requestBluetoothProfileInhibit() 340 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit() 359 BluetoothDevice device, int profile, IBinder token) { in releaseBluetoothProfileInhibit() argument 370 if (token == null) { in releaseBluetoothProfileInhibit() 373 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit() [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/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/ |
D | SqlChecker.java | 86 private void throwIfContainsToken(String token, String sql) { in throwIfContainsToken() argument 87 final String lower = token.toLowerCase(); in throwIfContainsToken() 89 throw genException("Detected disallowed token: " + token, sql); in throwIfContainsToken() 97 findTokens(sql, OPTION_NONE, token -> throwIfContainsToken(token, sql)); in ensureNoInvalidTokens() 107 findTokens(sql, OPTION_TOKEN_ONLY, token -> { in ensureSingleTokenOnly() 112 throwIfContainsToken(token, sql); in ensureSingleTokenOnly() 158 final String token = sql.substring(start, end); in findTokens() local 159 checker.accept(token); in findTokens() 187 final String token; in findTokens() local 191 token = tokenUnquoted.replaceAll( in findTokens() [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/apps/Dialer/java/com/android/dialer/blocking/ |
D | FilteredNumberAsyncQueryHandler.java | 58 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in onQueryComplete() argument 61 ((Listener) cookie).onQueryComplete(token, cookie, cursor); in onQueryComplete() 71 protected void onInsertComplete(int token, Object cookie, Uri uri) { in onInsertComplete() argument 73 ((Listener) cookie).onInsertComplete(token, cookie, uri); in onInsertComplete() 78 protected void onUpdateComplete(int token, Object cookie, int result) { in onUpdateComplete() argument 80 ((Listener) cookie).onUpdateComplete(token, cookie, result); in onUpdateComplete() 85 protected void onDeleteComplete(int token, Object cookie, int result) { in onDeleteComplete() argument 87 ((Listener) cookie).onDeleteComplete(token, cookie, result); in onDeleteComplete() 100 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in hasBlockedNumbers() 160 protected void onQueryComplete(int token, Object cookie, Cursor cursor) { in isBlockedNumber() [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | VmsPublisherClientService.java | 84 private void setToken(IBinder token) { in setToken() argument 86 mToken = token; in setToken() 118 IBinder token = getTokenForPublisherServiceThreadSafe(); in publish() local 121 mVmsPublisherService.publish(token, layer, publisherId, payload); in publish() 139 IBinder token = getTokenForPublisherServiceThreadSafe(); in setLayersOffering() local 142 mVmsPublisherService.setLayersOffering(token, offering); in setLayersOffering() 154 IBinder token; in getTokenForPublisherServiceThreadSafe() local 156 token = mToken; in getTokenForPublisherServiceThreadSafe() 158 if (token == null) { in getTokenForPublisherServiceThreadSafe() 161 return token; in getTokenForPublisherServiceThreadSafe() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | RemoteVolumePreferenceController.java | 55 public void onRemoteUpdate(MediaSession.Token token, String name, 58 updateToken(token); 60 if (Objects.equals(mActiveToken, token)) { 76 public void onRemoteVolumeChanged(MediaSession.Token token, int flags) { 77 if (Objects.equals(mActiveToken, token)) { 219 MediaSession.Token token, MediaController.PlaybackInfo playbackInfo) { in updatePreference() argument 220 if (seekBarPreference == null || token == null || playbackInfo == null) { in updatePreference() 229 private void updateToken(MediaSession.Token token) { in updateToken() argument 230 mActiveToken = token; in updateToken() 231 if (token != null) { in updateToken() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/ |
D | RemoteVolumePreferenceController.java | 56 public void onRemoteUpdate(MediaSession.Token token, String name, 59 updateToken(token); 61 if (Objects.equals(mActiveToken, token)) { 77 public void onRemoteVolumeChanged(MediaSession.Token token, int flags) { 78 if (Objects.equals(mActiveToken, token)) { 201 MediaSession.Token token, MediaController.PlaybackInfo playbackInfo) { in updatePreference() argument 202 if (seekBarPreference == null || token == null || playbackInfo == null) { in updatePreference() 211 private void updateToken(MediaSession.Token token) { in updateToken() argument 212 mActiveToken = token; in updateToken() 213 if (token != null) { in updateToken() [all …]
|
/packages/providers/TvProvider/src/com/android/providers/tv/util/ |
D | SqliteTokenFinder.java | 88 final String token = sql.substring(start, end); in findTokens() local 89 checker.accept(Pair.create(TYPE_REGULAR, token)); in findTokens() 114 String token = sql.substring(quoteStart + 1, quoteEnd); in findTokens() local 116 if (token.indexOf(ch) >= 0) { in findTokens() 117 token = token.replaceAll(String.valueOf(ch) + ch, String.valueOf(ch)); in findTokens() 131 checker.accept(Pair.create(type, token)); in findTokens() 146 final String token = sql.substring(quoteStart + 1, quoteEnd); in findTokens() local 148 checker.accept(Pair.create(TYPE_IN_BRACKETS, token)); in findTokens()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadStorageProvider.java | 203 final long token = Binder.clearCallingIdentity(); in createDocument() local 217 Binder.restoreCallingIdentity(token); in createDocument() 224 final long token = Binder.clearCallingIdentity(); in deleteDocument() local 235 Binder.restoreCallingIdentity(token); in deleteDocument() 242 final long token = Binder.clearCallingIdentity(); in renameDocument() local 262 Binder.restoreCallingIdentity(token); in renameDocument() 269 final long token = Binder.clearCallingIdentity(); in queryDocument() local 302 Binder.restoreCallingIdentity(token); in queryDocument() 323 final long token = Binder.clearCallingIdentity(); in queryChildDocuments() local 362 Binder.restoreCallingIdentity(token); in queryChildDocuments() [all …]
|
/packages/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/ |
D | RulesCheckReceiver.java | 102 byte[] token = intent.getByteArrayExtra(RulesUpdaterContract.EXTRA_CHECK_TOKEN); in onReceive() 103 EventLogTags.writeTimezoneCheckTriggerReceived(Arrays.toString(token)); in onReceive() 109 handleUninstall(token); in onReceive() 119 DistroOperation operation = getOperation(context, token); in onReceive() 123 handleCheckComplete(token, success); in onReceive() 132 handleCheckComplete(token, true /* success */); in onReceive() 135 handleUninstall(token); in onReceive() 138 handleCopyAndInstall(context, token, operation.mDistroFormatVersion, in onReceive() 145 handleCheckComplete(token, success); in onReceive() 348 private void handleCheckComplete(final byte[] token, final boolean success) { in handleCheckComplete() argument [all …]
|
/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/TelephonyProvider/src/com/android/providers/telephony/ |
D | SqlTokenFinder.java | 76 final String token = sql.substring(start, end); in findTokens() local 77 checker.accept(token); in findTokens() 105 final String token; in findTokens() local 109 token = tokenUnquoted.replaceAll( in findTokens() 112 token = tokenUnquoted; in findTokens() 114 checker.accept(token); in findTokens() 130 final String token = sql.substring(quoteStart + 1, quoteEnd); in findTokens() local 132 checker.accept(token); in findTokens()
|
/packages/services/Car/service/src/com/android/car/trust/ |
D | CarBleTrustAgent.java | 171 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded() argument 174 + Utils.byteArrayToHexString(token)); in onEscrowTokenAdded() 179 mCarTrustAgentEnrollmentService.onEscrowTokenAdded(token, handle, user.getIdentifier()); in onEscrowTokenAdded() 207 private void unlockUserInternally(int uid, byte[] token, long handle) { in unlockUserInternally() argument 217 unlockUserWithToken(handle, token, UserHandle.of(uid)); in unlockUserInternally() 268 public void addEscrowToken(byte[] token, int uid) { 273 token)); 275 CarBleTrustAgent.this.addEscrowToken(token, UserHandle.of(uid)); 307 public void onUnlockDataReceived(int user, byte[] token, long handle) { 310 Utils.bytesToLong(token)) + " handle: " + Long.toHexString(handle)); [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
D | RichInputMethodManager.java | 131 public boolean switchToNextInputMethod(final IBinder token, final boolean onlyCurrentIme) { in switchToNextInputMethod() argument 132 if (mImmWrapper.switchToNextInputMethod(token, onlyCurrentIme)) { in switchToNextInputMethod() 137 if (switchToNextInputSubtypeInThisIme(token, onlyCurrentIme)) { in switchToNextInputMethod() 140 return switchToNextInputMethodAndSubtype(token); in switchToNextInputMethod() 143 private boolean switchToNextInputSubtypeInThisIme(final IBinder token, in switchToNextInputSubtypeInThisIme() argument 162 setInputMethodAndSubtype(token, nextSubtype); in switchToNextInputSubtypeInThisIme() 166 private boolean switchToNextInputMethodAndSubtype(final IBinder token) { in switchToNextInputMethodAndSubtype() argument 180 imm.setInputMethod(token, nextImi.getId()); in switchToNextInputMethodAndSubtype() 184 imm.setInputMethodAndSubtype(token, nextImi.getId(), firstSubtype); in switchToNextInputMethodAndSubtype() 472 public void setInputMethodAndSubtype(final IBinder token, final InputMethodSubtype subtype) { in setInputMethodAndSubtype() argument [all …]
|