/packages/services/Telecomm/src/com/android/server/telecom/ |
D | InCallAdapter.java | 55 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 …]
|
D | TelecomServiceImpl.java | 126 long token = Binder.clearCallingIdentity(); 134 Binder.restoreCallingIdentity(token); 178 long token = Binder.clearCallingIdentity(); 186 Binder.restoreCallingIdentity(token); 210 long token = Binder.clearCallingIdentity(); 219 Binder.restoreCallingIdentity(token); 238 long token = Binder.clearCallingIdentity(); 246 Binder.restoreCallingIdentity(token); 272 long token = Binder.clearCallingIdentity(); 282 Binder.restoreCallingIdentity(token); [all …]
|
D | ConnectionServiceWrapper.java | 88 long token = Binder.clearCallingIdentity(); in handleCreateConnectionComplete() local 115 Binder.restoreCallingIdentity(token); in handleCreateConnectionComplete() 125 long token = Binder.clearCallingIdentity(); in handleCreateConferenceComplete() local 145 Binder.restoreCallingIdentity(token); in handleCreateConferenceComplete() 155 long token = Binder.clearCallingIdentity(); in setActive() local 170 Binder.restoreCallingIdentity(token); in setActive() 178 long token = Binder.clearCallingIdentity(); in setRinging() local 193 Binder.restoreCallingIdentity(token); in setRinging() 201 long token = Binder.clearCallingIdentity(); in resetConnectionTime() local 213 Binder.restoreCallingIdentity(token); in resetConnectionTime() [all …]
|
/packages/modules/NetworkStack/common/networkstackclient/src/android/net/ip/ |
D | IpClientManager.java | 68 final long token = Binder.clearCallingIdentity(); in completedPreDhcpAction() local 76 Binder.restoreCallingIdentity(token); in completedPreDhcpAction() 84 final long token = Binder.clearCallingIdentity(); in confirmConfiguration() local 92 Binder.restoreCallingIdentity(token); in confirmConfiguration() 100 final long token = Binder.clearCallingIdentity(); in readPacketFilterComplete() local 108 Binder.restoreCallingIdentity(token); in readPacketFilterComplete() 116 final long token = Binder.clearCallingIdentity(); in shutdown() local 124 Binder.restoreCallingIdentity(token); in shutdown() 132 final long token = Binder.clearCallingIdentity(); in startProvisioning() local 140 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/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/Bluetooth/android/app/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/modules/NetworkStack/common/networkstackclient/src/android/net/ |
D | NetworkMonitorManager.java | 63 final long token = Binder.clearCallingIdentity(); in start() local 71 Binder.restoreCallingIdentity(token); in start() 76 final long token = Binder.clearCallingIdentity(); in launchCaptivePortalApp() local 84 Binder.restoreCallingIdentity(token); in launchCaptivePortalApp() 89 final long token = Binder.clearCallingIdentity(); in notifyCaptivePortalAppFinished() local 97 Binder.restoreCallingIdentity(token); in notifyCaptivePortalAppFinished() 102 final long token = Binder.clearCallingIdentity(); in setAcceptPartialConnectivity() local 110 Binder.restoreCallingIdentity(token); in setAcceptPartialConnectivity() 115 final long token = Binder.clearCallingIdentity(); in forceReevaluation() local 123 Binder.restoreCallingIdentity(token); in forceReevaluation() [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/services/Car/service/src/com/android/car/am/ |
D | CarActivityService.java | 160 public void registerTaskMonitor(IBinder token) { in registerTaskMonitor() argument 161 if (DBG) Slogf.d(TAG, "registerTaskMonitor: %s", token); in registerTaskMonitor() 167 cleanUpToken(token); in registerTaskMonitor() 172 token.linkToDeath(deathRecipient, /* flags= */ 0); in registerTaskMonitor() 175 Slogf.e(TAG, "failed to linkToDeath: %s", token); in registerTaskMonitor() 178 mTokens.put(token, deathRecipient); in registerTaskMonitor() 179 mCurrentMonitor = token; in registerTaskMonitor() 193 private void cleanUpToken(IBinder token) { in cleanUpToken() argument 195 if (mCurrentMonitor == token) { in cleanUpToken() 198 IBinder.DeathRecipient deathRecipient = mTokens.remove(token); in cleanUpToken() [all …]
|
/packages/services/Car/service/src/com/android/car/ |
D | CarTestService.java | 79 public void stopCarService(IBinder token) throws RemoteException { in stopCarService() argument 80 Slogf.d(TAG, "stopCarService, token: " + token); in stopCarService() 84 if (mTokens.containsKey(token)) { in stopCarService() 89 TokenDeathRecipient deathRecipient = new TokenDeathRecipient(token); in stopCarService() 90 mTokens.put(token, deathRecipient); in stopCarService() 91 token.linkToDeath(deathRecipient, 0); in stopCarService() 100 public void startCarService(IBinder token) throws RemoteException { in startCarService() argument 101 Slogf.d(TAG, "startCarService, token: " + token); in startCarService() 103 releaseToken(token); in startCarService() 111 private void releaseToken(IBinder token) { in releaseToken() argument [all …]
|
D | CarProjectionService.java | 301 public void stopProjectionAccessPoint(IBinder token) { in stopProjectionAccessPoint() argument 303 Slogf.i(TAG, "Received stop access point request from " + token); in stopProjectionAccessPoint() 307 if (!unregisterWirelessClientLocked(token)) { in stopProjectionAccessPoint() 308 Slogf.w(TAG, "Client " + token + " was not registered"); in stopProjectionAccessPoint() 360 BluetoothDevice device, int profile, IBinder token) { in requestBluetoothProfileInhibit() argument 371 if (token == null) { in requestBluetoothProfileInhibit() 374 return mCarBluetoothService.requestProfileInhibit(device, profile, token); in requestBluetoothProfileInhibit() 393 BluetoothDevice device, int profile, IBinder token) { in releaseBluetoothProfileInhibit() argument 404 if (token == null) { in releaseBluetoothProfileInhibit() 407 return mCarBluetoothService.releaseProfileInhibit(device, profile, token); in releaseBluetoothProfileInhibit() [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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/ |
D | SapRilReceiverTest.java | 149 int token = 1; in callback_connectResponse() local 152 mReceiver.mSapCallback.connectResponse(token, sapConnectRsp, maxMsgSize); in callback_connectResponse() 171 int token = 1; in callback_disconnectResponse() local 172 mReceiver.mSapCallback.disconnectResponse(token); in callback_disconnectResponse() 190 int token = 1; in callback_disconnectIndication() local 192 mReceiver.mSapCallback.disconnectIndication(token, disconnectType); in callback_disconnectIndication() 211 int token = 1; in callback_apduResponse() local 219 mReceiver.mSapCallback.apduResponse(token, resultCode, apduRspList); in callback_apduResponse() 239 int token = 1; in callback_transferAtrResponse() local 247 mReceiver.mSapCallback.transferAtrResponse(token, resultCode, atrList); in callback_transferAtrResponse() [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/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/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/services/Telephony/src/com/android/phone/ |
D | ImsRcsController.java | 120 final long token = Binder.clearCallingIdentity(); in registerImsRegistrationCallback() local 127 Binder.restoreCallingIdentity(token); in registerImsRegistrationCallback() 138 final long token = Binder.clearCallingIdentity(); in unregisterImsRegistrationCallback() local 144 Binder.restoreCallingIdentity(token); in unregisterImsRegistrationCallback() 155 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationState() local 166 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationState() 177 final long token = Binder.clearCallingIdentity(); in getImsRcsRegistrationTransportType() local 192 Binder.restoreCallingIdentity(token); in getImsRcsRegistrationTransportType() 206 final long token = Binder.clearCallingIdentity(); in registerRcsAvailabilityCallback() local 213 Binder.restoreCallingIdentity(token); in registerRcsAvailabilityCallback() [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 …]
|
D | BufferTracker.cpp | 204 auto token = Request::MemoryDomainToken{0}; in add() 206 token = static_cast<Request::MemoryDomainToken>(mTokenToBuffers.size()); in add() 209 token = mFreeTokens.top(); in add() 211 const auto index = static_cast<uint32_t>(token); in add() 214 VLOG(MEMORY) << "BufferTracker::add -- new token = " << token; in add() 215 return std::make_unique<Token>(token, shared_from_this()); in add() 218 std::shared_ptr<ManagedBuffer> BufferTracker::get(Request::MemoryDomainToken token) const { in get() 220 const auto index = static_cast<uint32_t>(token); in get() 222 LOG(ERROR) << "BufferTracker::get -- unknown token " << token; in get() 228 void BufferTracker::free(Request::MemoryDomainToken token) { in free() argument [all …]
|
/packages/modules/StatsD/service/java/com/android/server/stats/ |
D | StatsManagerService.java | 196 final long token = Binder.clearCallingIdentity(); in registerPullAtomCallback() local 203 Binder.restoreCallingIdentity(token); in registerPullAtomCallback() 224 final long token = Binder.clearCallingIdentity(); in unregisterPullAtomCallback() local 230 Binder.restoreCallingIdentity(token); in unregisterPullAtomCallback() 239 final long token = Binder.clearCallingIdentity(); in setDataFetchOperation() local 254 Binder.restoreCallingIdentity(token); in setDataFetchOperation() 262 final long token = Binder.clearCallingIdentity(); in removeDataFetchOperation() local 275 Binder.restoreCallingIdentity(token); in removeDataFetchOperation() 284 final long token = Binder.clearCallingIdentity(); in setActiveConfigsChangedOperation() local 298 Binder.restoreCallingIdentity(token); in setActiveConfigsChangedOperation() [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/car_product/car_ui_portrait/apps/CarUiPortraitSystemUI/src/com/android/systemui/car/displayarea/ |
D | CarDisplayAreaAnimationController.java | 57 WindowContainerToken token, SurfaceControl leash, in getAnimator() argument 59 CarDisplayAreaTransitionAnimator animator = mAnimatorMap.get(token); in getAnimator() 61 mAnimatorMap.put(token, setupDisplayAreaTransitionAnimator( in getAnimator() 63 token, leash, startPos, endPos))); in getAnimator() 68 mAnimatorMap.put(token, setupDisplayAreaTransitionAnimator( in getAnimator() 70 token, leash, startPos, endPos))); in getAnimator() 72 return mAnimatorMap.get(token); in getAnimator() 84 void removeAnimator(WindowContainerToken token) { in removeAnimator() argument 85 CarDisplayAreaTransitionAnimator animator = mAnimatorMap.remove(token); in removeAnimator() 123 private CarDisplayAreaTransitionAnimator(WindowContainerToken token, in CarDisplayAreaTransitionAnimator() argument [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/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 …]
|