/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IpClientManager.java | 69 final long token = Binder.clearCallingIdentity(); in completedPreDhcpAction() local 77 Binder.restoreCallingIdentity(token); in completedPreDhcpAction() 85 final long token = Binder.clearCallingIdentity(); in confirmConfiguration() local 93 Binder.restoreCallingIdentity(token); in confirmConfiguration() 101 final long token = Binder.clearCallingIdentity(); in readPacketFilterComplete() local 109 Binder.restoreCallingIdentity(token); in readPacketFilterComplete() 117 final long token = Binder.clearCallingIdentity(); in shutdown() local 125 Binder.restoreCallingIdentity(token); in shutdown() 133 final long token = Binder.clearCallingIdentity(); in startProvisioning() local 141 Binder.restoreCallingIdentity(token); in startProvisioning() [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 …]
|
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 58 long token = Binder.clearCallingIdentity(); in answerCall() local 70 Binder.restoreCallingIdentity(token); in answerCall() 81 long token = Binder.clearCallingIdentity(); in deflectCall() local 93 Binder.restoreCallingIdentity(token); in deflectCall() 106 long token = Binder.clearCallingIdentity(); in rejectCall() local 126 Binder.restoreCallingIdentity(token); in rejectCall() 140 long token = Binder.clearCallingIdentity(); in rejectCallWithReason() local 152 Binder.restoreCallingIdentity(token); in rejectCallWithReason() 162 long token = Binder.clearCallingIdentity(); in transferCall() local 175 Binder.restoreCallingIdentity(token); in transferCall() [all …]
|
D | TelecomServiceImpl.java | 300 long token = Binder.clearCallingIdentity(); 308 Binder.restoreCallingIdentity(token); 352 long token = Binder.clearCallingIdentity(); 362 Binder.restoreCallingIdentity(token); 410 long token = Binder.clearCallingIdentity(); 422 Binder.restoreCallingIdentity(token); 441 long token = Binder.clearCallingIdentity(); 449 Binder.restoreCallingIdentity(token); 474 long token = Binder.clearCallingIdentity(); 484 Binder.restoreCallingIdentity(token); [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | NetworkMonitorManager.java | 61 final long token = Binder.clearCallingIdentity(); in start() local 69 Binder.restoreCallingIdentity(token); in start() 74 final long token = Binder.clearCallingIdentity(); in launchCaptivePortalApp() local 82 Binder.restoreCallingIdentity(token); in launchCaptivePortalApp() 87 final long token = Binder.clearCallingIdentity(); in notifyCaptivePortalAppFinished() local 95 Binder.restoreCallingIdentity(token); in notifyCaptivePortalAppFinished() 100 final long token = Binder.clearCallingIdentity(); in setAcceptPartialConnectivity() local 108 Binder.restoreCallingIdentity(token); in setAcceptPartialConnectivity() 113 final long token = Binder.clearCallingIdentity(); in forceReevaluation() local 121 Binder.restoreCallingIdentity(token); in forceReevaluation() [all …]
|
/packages/modules/Bluetooth/system/gd/packet/parser/ |
D | language_l.ll | 18 using token = yy::parser::token; 61 "_body_" { return(token::BODY); } 62 "_payload_" { return(token::PAYLOAD); } 63 "_size_" { return(token::SIZE); } 64 "_count_" { return(token::COUNT); } 65 "_fixed_" { return(token::FIXED); } 66 "_reserved_" { return(token::RESERVED); } 67 "_checksum_start_" { return(token::CHECKSUM_START); } 68 "_padding_" { return(token::PADDING); } 70 "checksum" { return(token::CHECKSUM); } [all …]
|
/packages/modules/NeuralNetworks/shim_and_sl/ |
D | ShimBufferTracker.cpp | 40 uint32_t token = 0; in add() local 42 token = mTokenToBuffers.size(); in add() 45 token = mFreeTokens.top(); in add() 47 mTokenToBuffers[token] = std::move(buffer); in add() 49 return std::make_unique<Token>(token, shared_from_this()); in add() 52 std::shared_ptr<::android::nn::sl_wrapper::Memory> ShimBufferTracker::get(uint32_t token) const { in get() 54 if (mTokenToBuffers.size() <= token || mTokenToBuffers[token] == nullptr) { in get() 55 LOG(ERROR) << "ShimBufferTracker::get -- unknown token " << token; in get() 58 return mTokenToBuffers[token]; in get() 61 void ShimBufferTracker::free(uint32_t token) { in free() argument [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/ |
D | SapRilReceiverHidl.java | 195 private void removeOngoingReqAndSendMessage(int token, SapMessage sapMessage) { in removeOngoingReqAndSendMessage() argument 196 Integer reqType = SapMessage.sOngoingRequests.remove(token); in removeOngoingReqAndSendMessage() 200 + token in removeOngoingReqAndSendMessage() 221 public void connectResponse(int token, int sapConnectRsp, int maxMsgSize) { in connectResponse() argument 225 + token in connectResponse() 237 removeOngoingReqAndSendMessage(token, sapMessage); in connectResponse() 241 public void disconnectResponse(int token) { in disconnectResponse() argument 242 Log.d(TAG, "disconnectResponse: token " + token); in disconnectResponse() 246 removeOngoingReqAndSendMessage(token, sapMessage); in disconnectResponse() 250 public void disconnectIndication(int token, int disconnectType) { in disconnectIndication() argument [all …]
|
D | SapRilReceiver.java | 186 private void removeOngoingReqAndSendMessage(int token, SapMessage sapMessage) { in removeOngoingReqAndSendMessage() argument 187 Integer reqType = SapMessage.sOngoingRequests.remove(token); in removeOngoingReqAndSendMessage() 191 + token in removeOngoingReqAndSendMessage() 199 public void connectResponse(int token, int sapConnectRsp, int maxMsgSize) { in connectResponse() argument 203 + token in connectResponse() 215 removeOngoingReqAndSendMessage(token, sapMessage); in connectResponse() 219 public void disconnectResponse(int token) { in disconnectResponse() argument 220 Log.d(TAG, "disconnectResponse: token " + token); in disconnectResponse() 224 removeOngoingReqAndSendMessage(token, sapMessage); in disconnectResponse() 228 public void disconnectIndication(int token, int disconnectType) { in disconnectIndication() argument [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/am/ |
D | CarActivityService.java | 218 public void registerTaskMonitor(IBinder token) { in registerTaskMonitor() argument 219 if (DBG) Slogf.d(TAG, "registerTaskMonitor: %s", token); in registerTaskMonitor() 225 cleanUpMonitorToken(token); in registerTaskMonitor() 230 token.linkToDeath(deathRecipient, /* flags= */ 0); in registerTaskMonitor() 233 Slogf.e(TAG, "failed to linkToDeath: %s", token); in registerTaskMonitor() 236 mMonitorTokens.put(token, deathRecipient); in registerTaskMonitor() 237 mCurrentMonitor = token; in registerTaskMonitor() 256 private void cleanUpMonitorToken(IBinder token) { in cleanUpMonitorToken() argument 258 if (mCurrentMonitor == token) { in cleanUpMonitorToken() 261 IBinder.DeathRecipient deathRecipient = mMonitorTokens.remove(token); in cleanUpMonitorToken() [all …]
|
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/ |
D | SQLiteTokenizer.java | 107 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/MediaProvider/src/com/android/providers/media/util/ |
D | SQLiteTokenizer.java | 107 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/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/modules/NeuralNetworks/common/ |
D | HalBufferTracker.cpp | 197 uint32_t token = 0; in add() local 199 token = mTokenToBuffers.size(); in add() 202 token = mFreeTokens.top(); in add() 204 mTokenToBuffers[token] = std::move(buffer); in add() 206 VLOG(MEMORY) << "HalBufferTracker::add -- new token = " << token; in add() 207 return std::make_unique<Token>(token, shared_from_this()); in add() 210 std::shared_ptr<HalManagedBuffer> HalBufferTracker::get(uint32_t token) const { in get() 212 if (mTokenToBuffers.size() <= token || mTokenToBuffers[token] == nullptr) { in get() 213 LOG(ERROR) << "HalBufferTracker::get -- unknown token " << token; in get() 216 return mTokenToBuffers[token]; in get() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapRilReceiverTest.java | 156 int token = 1; in callback_connectResponse() local 159 mReceiver.mSapCallback.connectResponse(token, sapConnectRsp, maxMsgSize); in callback_connectResponse() 180 int token = 1; in callback_disconnectResponse() local 181 mReceiver.mSapCallback.disconnectResponse(token); in callback_disconnectResponse() 201 int token = 1; in callback_disconnectIndication() local 203 mReceiver.mSapCallback.disconnectIndication(token, disconnectType); in callback_disconnectIndication() 224 int token = 1; in callback_apduResponse() local 228 mReceiver.mSapCallback.apduResponse(token, resultCode, apduRsp); in callback_apduResponse() 250 int token = 1; in callback_transferAtrResponse() local 254 mReceiver.mSapCallback.transferAtrResponse(token, resultCode, atr); in callback_transferAtrResponse() [all …]
|
D | SapRilReceiverHidlTest.java | 151 int token = 1; in callback_connectResponse() local 154 mReceiver.mSapCallback.connectResponse(token, sapConnectRsp, maxMsgSize); in callback_connectResponse() 175 int token = 1; in callback_disconnectResponse() local 176 mReceiver.mSapCallback.disconnectResponse(token); in callback_disconnectResponse() 196 int token = 1; in callback_disconnectIndication() local 198 mReceiver.mSapCallback.disconnectIndication(token, disconnectType); in callback_disconnectIndication() 219 int token = 1; in callback_apduResponse() local 227 mReceiver.mSapCallback.apduResponse(token, resultCode, apduRspList); in callback_apduResponse() 249 int token = 1; in callback_transferAtrResponse() local 257 mReceiver.mSapCallback.transferAtrResponse(token, resultCode, atrList); in callback_transferAtrResponse() [all …]
|
/packages/services/Car/car-lib/src/android/car/vms/ |
D | IVmsBrokerService.aidl | 38 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/service/src/com/android/car/ |
D | CarTestService.java | 93 public void stopCarService(IBinder token) throws RemoteException { in stopCarService() argument 94 Slogf.d(TAG, "stopCarService, token: " + token); in stopCarService() 98 if (mTokens.containsKey(token)) { in stopCarService() 103 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); in stopCarService() 104 mTokens.put(token, deathRecipient); in stopCarService() 105 token.linkToDeath(deathRecipient, 0); in stopCarService() 114 public void startCarService(IBinder token) throws RemoteException { in startCarService() argument 115 Slogf.d(TAG, "startCarService, token: " + token); in startCarService() 117 releaseToken(token); in startCarService() 252 private void releaseToken(IBinder token) { in releaseToken() argument [all …]
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 240 final long token = Binder.clearCallingIdentity(); in registerPullAtomCallback() local 247 Binder.restoreCallingIdentity(token); in registerPullAtomCallback() 268 final long token = Binder.clearCallingIdentity(); in unregisterPullAtomCallback() local 274 Binder.restoreCallingIdentity(token); in unregisterPullAtomCallback() 283 final long token = Binder.clearCallingIdentity(); in setDataFetchOperation() local 298 Binder.restoreCallingIdentity(token); in setDataFetchOperation() 306 final long token = Binder.clearCallingIdentity(); in removeDataFetchOperation() local 319 Binder.restoreCallingIdentity(token); in removeDataFetchOperation() 328 final long token = Binder.clearCallingIdentity(); in setActiveConfigsChangedOperation() local 342 Binder.restoreCallingIdentity(token); in setActiveConfigsChangedOperation() [all …]
|
/packages/modules/Connectivity/framework/src/android/net/ |
D | SocketKeepalive.java | 268 final long token = Binder.clearCallingIdentity(); in SocketKeepalive() 274 Binder.restoreCallingIdentity(token); in SocketKeepalive() 280 final long token = Binder.clearCallingIdentity(); in SocketKeepalive() 286 Binder.restoreCallingIdentity(token); in SocketKeepalive() 292 final long token = Binder.clearCallingIdentity(); in SocketKeepalive() 298 Binder.restoreCallingIdentity(token); in SocketKeepalive() 304 final long token = Binder.clearCallingIdentity(); in SocketKeepalive() 310 Binder.restoreCallingIdentity(token); in SocketKeepalive() 316 final long token = Binder.clearCallingIdentity(); in SocketKeepalive() 322 Binder.restoreCallingIdentity(token); in SocketKeepalive() [all …]
|
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/sdkprovider/ |
D | SdkSandboxActivityRegistryTest.java | 119 IBinder token = mRegistry.register(mSdkContext, mHandler); in testUnregisterSdkSandboxActivityHandler() local 120 Intent intent = buildSandboxActivityIntent(token); in testUnregisterSdkSandboxActivityHandler() 158 IBinder token = mRegistry.register(mSdkContext, mHandler); in testNotifyOnActivityCreation() local 159 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation() 177 IBinder token = mRegistry.register(mSdkContext, mHandler); in testNotifyOnActivityCreationMultipleTimeSucceed() local 178 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreationMultipleTimeSucceed() 191 IBinder token = mRegistry.register(mSdkContext, mHandler); in testNotifyOnActivityCreation_CallsStatsd() local 192 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_CallsStatsd() 224 IBinder token = mRegistry.register(mSdkContext, mHandler); in testNotifyOnActivityCreation_MultipleTimes_CallsStatsd() local 225 Intent intent = buildSandboxActivityIntent(token); in testNotifyOnActivityCreation_MultipleTimes_CallsStatsd() [all …]
|
/packages/modules/Bluetooth/system/blueberry/tests/gd/cert/ |
D | py_le_acl_manager.py | 100 token = self.initiate_connection(remote_addr) 101 return self.complete_outgoing_connection(token) 107 def wait_for_connection_fail(self, token): argument 108 assertThat(self.outgoing_connection_event_streams[token]).isNotNone() 109 event_stream = self.outgoing_connection_event_streams[token][0] 115 def cancel_connection(self, token): argument 116 assertThat(token in self.outgoing_connection_event_streams).isTrue() 117 pair = self.outgoing_connection_event_streams.pop(token) 126 token = self.next_token 128 return token [all …]
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioProtoUtils.java | 61 long token = proto.start(fieldId); in dumpCarAudioAttributesProto() local 64 proto.end(token); in dumpCarAudioAttributesProto() 74 long token = proto.start(fieldId); in dumpCarAudioFadeConfigurationProto() local 78 proto.end(token); in dumpCarAudioFadeConfigurationProto() 88 long token = proto.start(fieldId); in dumpFadeManagerConfigurationProto() local 93 proto.end(token); in dumpFadeManagerConfigurationProto() 146 proto.end(token); in dumpFadeManagerConfigurationProto() 163 long token = proto.start(fieldId); in dumpUsageToVolumeShaperConfigProto() local 167 proto.end(token); in dumpUsageToVolumeShaperConfigProto() 177 long token = proto.start(fieldId); in dumpAttributeToVolumeShaperConfigProto() local [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 …]
|