Home
last modified time | relevance | path

Searched refs:token (Results 1 – 25 of 195) sorted by relevance

12345678

/packages/services/Telecomm/src/com/android/server/telecom/
DInCallAdapter.java55 long token = Binder.clearCallingIdentity(); in answerCall() local
67 Binder.restoreCallingIdentity(token); in answerCall()
78 long token = Binder.clearCallingIdentity(); in deflectCall() local
90 Binder.restoreCallingIdentity(token); in deflectCall()
103 long token = Binder.clearCallingIdentity(); in rejectCall() local
123 Binder.restoreCallingIdentity(token); in rejectCall()
137 long token = Binder.clearCallingIdentity(); in rejectCallWithReason() local
149 Binder.restoreCallingIdentity(token); in rejectCallWithReason()
159 long token = Binder.clearCallingIdentity(); in transferCall() local
172 Binder.restoreCallingIdentity(token); in transferCall()
[all …]
DTelecomServiceImpl.java121 long token = Binder.clearCallingIdentity();
129 Binder.restoreCallingIdentity(token);
173 long token = Binder.clearCallingIdentity();
181 Binder.restoreCallingIdentity(token);
205 long token = Binder.clearCallingIdentity();
213 Binder.restoreCallingIdentity(token);
232 long token = Binder.clearCallingIdentity();
240 Binder.restoreCallingIdentity(token);
264 long token = Binder.clearCallingIdentity();
272 Binder.restoreCallingIdentity(token);
[all …]
DConnectionServiceWrapper.java81 long token = Binder.clearCallingIdentity(); in handleCreateConnectionComplete() local
101 Binder.restoreCallingIdentity(token); in handleCreateConnectionComplete()
111 long token = Binder.clearCallingIdentity(); in handleCreateConferenceComplete() local
131 Binder.restoreCallingIdentity(token); in handleCreateConferenceComplete()
141 long token = Binder.clearCallingIdentity(); in setActive() local
156 Binder.restoreCallingIdentity(token); in setActive()
164 long token = Binder.clearCallingIdentity(); in setRinging() local
179 Binder.restoreCallingIdentity(token); in setRinging()
187 long token = Binder.clearCallingIdentity(); in resetConnectionTime() local
199 Binder.restoreCallingIdentity(token); in resetConnectionTime()
[all …]
DBluetoothPhoneServiceImpl.java104 long token = Binder.clearCallingIdentity();
114 Binder.restoreCallingIdentity(token);
126 long token = Binder.clearCallingIdentity();
136 Binder.restoreCallingIdentity(token);
147 long token = Binder.clearCallingIdentity();
160 Binder.restoreCallingIdentity(token);
171 long token = Binder.clearCallingIdentity();
183 Binder.restoreCallingIdentity(token);
194 long token = Binder.clearCallingIdentity();
212 Binder.restoreCallingIdentity(token);
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DHanziToPinyin.java98 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 …]
DSearchIndexManager.java182 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/
DSapRilReceiver.java59 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/services/Telephony/src/com/android/phone/
DImsRcsController.java88 final long token = Binder.clearCallingIdentity(); in registerImsRegistrationCallback() local
95 Binder.restoreCallingIdentity(token); in registerImsRegistrationCallback()
105 final long token = Binder.clearCallingIdentity(); in unregisterImsRegistrationCallback() local
111 Binder.restoreCallingIdentity(token); in unregisterImsRegistrationCallback()
121 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationState() local
132 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationState()
142 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationTransportType() local
157 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationTransportType()
171 final long token = Binder.clearCallingIdentity(); in registerRcsAvailabilityCallback() local
178 Binder.restoreCallingIdentity(token); in registerRcsAvailabilityCallback()
[all …]
/packages/apps/Dialer/java/com/android/incallui/
DCallerInfoAsyncQuery.java59 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/
DCarTestService.java73 public void stopCarService(IBinder token) throws RemoteException { in stopCarService() argument
74 Log.d(TAG, "stopCarService, token: " + token); in stopCarService()
78 if (mTokens.containsKey(token)) { in stopCarService()
83 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); in stopCarService()
84 mTokens.put(token, deathRecipient); in stopCarService()
85 token.linkToDeath(deathRecipient, 0); in stopCarService()
94 public void startCarService(IBinder token) throws RemoteException { in startCarService() argument
95 Log.d(TAG, "startCarService, token: " + token); in startCarService()
97 releaseToken(token); in startCarService()
100 private void releaseToken(IBinder token) { in releaseToken() argument
[all …]
DCarProjectionService.java281 public void stopProjectionAccessPoint(IBinder token) { in stopProjectionAccessPoint() argument
283 Log.i(TAG, "Received stop access point request from " + token); in stopProjectionAccessPoint()
287 if (!unregisterWirelessClientLocked(token)) { in stopProjectionAccessPoint()
288 Log.w(TAG, "Client " + token + " was not registered"); in stopProjectionAccessPoint()
340 BluetoothDevice device, int profile, IBinder token) { in requestBluetoothProfileInhibit() argument
351 if (token == null) { in requestBluetoothProfileInhibit()
354 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit()
373 BluetoothDevice device, int profile, IBinder token) { in releaseBluetoothProfileInhibit() argument
384 if (token == null) { in releaseBluetoothProfileInhibit()
387 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DSQLiteTokenizer.java107 final String token = sql.substring(start, end); in tokenize() local
108 checker.accept(token); in tokenize()
136 final String token; in tokenize() local
140 token = tokenUnquoted.replaceAll( in tokenize()
143 token = tokenUnquoted; in tokenize()
145 checker.accept(token); in tokenize()
165 final String token = sql.substring(quoteStart + 1, quoteEnd); in tokenize() local
167 checker.accept(token); in tokenize()
214 public static boolean isKeyword(@NonNull String token) { in isKeyword() argument
215 switch (token.toUpperCase(Locale.ROOT)) { in isKeyword()
[all …]
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
DSQLiteTokenizer.java107 final String token = sql.substring(start, end); in tokenize() local
108 checker.accept(token); in tokenize()
136 final String token; in tokenize() local
140 token = tokenUnquoted.replaceAll( in tokenize()
143 token = tokenUnquoted; in tokenize()
145 checker.accept(token); in tokenize()
165 final String token = sql.substring(quoteStart + 1, quoteEnd); in tokenize() local
167 checker.accept(token); in tokenize()
214 public static boolean isKeyword(@NonNull String token) { in isKeyword() argument
215 switch (token.toUpperCase(Locale.US)) { in isKeyword()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/sqlite/
DSqlChecker.java86 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/Dialer/java/com/android/dialer/blocking/
DFilteredNumberAsyncQueryHandler.java58 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/
DIVmsBrokerService.aidl38 in IBinder token, in registerClient() argument
42 void unregisterClient(in IBinder token) = 1; field
44 VmsProviderInfo getProviderInfo(in IBinder token, int providerId) = 2; in getProviderInfo() argument
50 in IBinder token, in setSubscriptions() argument
53 void setMonitoringEnabled(in IBinder token, boolean enabled) = 4; in setMonitoringEnabled() argument
59 in IBinder token, in registerProvider() argument
63 in IBinder token, in setProviderOfferings() argument
68 in IBinder token, in publishPacket() argument
74 in IBinder token, in publishLargePacket() argument
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DRemoteVolumePreferenceController.java56 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/
DSqliteTokenFinder.java88 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/apps/TimeZoneUpdater/src/main/com/android/timezone/updater/
DRulesCheckReceiver.java102 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/
Ddbregtest.cpp320 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/services/Car/service/src/com/android/car/trust/
DCarBleTrustAgent.java181 public void onEscrowTokenAdded(byte[] token, long handle, UserHandle user) { in onEscrowTokenAdded() argument
184 + Utils.byteArrayToHexString(token)); in onEscrowTokenAdded()
189 mCarTrustAgentEnrollmentService.onEscrowTokenAdded(token, handle, user.getIdentifier()); in onEscrowTokenAdded()
220 private void unlockUserInternally(int uid, byte[] token, long handle) { in unlockUserInternally() argument
230 unlockUserWithToken(handle, token, UserHandle.of(uid)); in unlockUserInternally()
281 public void addEscrowToken(byte[] token, int uid) {
286 token));
288 CarBleTrustAgent.this.addEscrowToken(token, UserHandle.of(uid));
320 public void onUnlockDataReceived(int user, byte[] token, long handle) {
323 Utils.bytesToLong(token)) + " handle: " + Long.toHexString(handle));
[all …]
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DCardEmulationManager.java207 long token = proto.start(CardEmulationManagerProto.REGISTERED_SERVICES_CACHE); in dumpDebug() local
209 proto.end(token); in dumpDebug()
211 token = proto.start(CardEmulationManagerProto.REGISTERED_NFC_F_SERVICES_CACHE); in dumpDebug()
213 proto.end(token); in dumpDebug()
215 token = proto.start(CardEmulationManagerProto.PREFERRED_SERVICES); in dumpDebug()
217 proto.end(token); in dumpDebug()
219 token = proto.start(CardEmulationManagerProto.ENABLED_NFC_F_SERVICES); in dumpDebug()
221 proto.end(token); in dumpDebug()
223 token = proto.start(CardEmulationManagerProto.AID_CACHE); in dumpDebug()
225 proto.end(token); in dumpDebug()
[all …]
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadStorageProvider.java205 final long token = Binder.clearCallingIdentity(); in createDocument() local
219 Binder.restoreCallingIdentity(token); in createDocument()
226 final long token = Binder.clearCallingIdentity(); in deleteDocument() local
237 Binder.restoreCallingIdentity(token); in deleteDocument()
244 final long token = Binder.clearCallingIdentity(); in renameDocument() local
264 Binder.restoreCallingIdentity(token); in renameDocument()
271 final long token = Binder.clearCallingIdentity(); in queryDocument() local
305 Binder.restoreCallingIdentity(token); in queryDocument()
326 final long token = Binder.clearCallingIdentity(); in queryChildDocuments() local
365 Binder.restoreCallingIdentity(token); in queryChildDocuments()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DRichInputMethodManager.java131 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 …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DWallpaperOffsetInterpolator.java163 public void setWindowToken(IBinder token) { in setWindowToken() argument
164 mWindowToken = token; in setWindowToken()
210 final IBinder token = (IBinder) msg.obj; in handleMessage() local
211 if (token == null) { in handleMessage()
240 setOffsetSafely(token); in handleMessage()
247 Message.obtain(this, MSG_APPLY_OFFSET, token).sendToTarget(); in handleMessage()
260 setOffsetSafely(token); in handleMessage()
268 private void setOffsetSafely(IBinder token) {
270 mWM.setWallpaperOffsets(token, mCurrentOffset, 0.5f);

12345678