Home
last modified time | relevance | path

Searched refs:transaction (Results 1 – 24 of 24) sorted by relevance

/system/libhidl/transport/token/1.0/utils/
DHybridInterface.cpp52 auto transaction = gTokenManager->linkToDeath( in isBadTokenManager() local
54 if (!transaction.isOk()) { in isBadTokenManager()
63 bool isBadTransaction(hardware::Return<ReturnType>& transaction) { in isBadTransaction() argument
64 if (transaction.isOk()) { in isBadTransaction()
68 transaction.description().c_str()); in isBadTransaction()
77 hardware::Return<sp<HInterface> > transaction(nullptr); in retrieveHalInterface() local
83 transaction = gTokenManager->get(token); in retrieveHalInterface()
84 if (isBadTransaction(transaction)) { in retrieveHalInterface()
88 return static_cast<sp<HInterface> >(transaction); in retrieveHalInterface()
92 hardware::Return<void> transaction; in createHalToken() local
[all …]
/system/chre/chpp/
Dclients.c291 result->transaction = clientState->transaction; in chppAllocClientRequest()
295 clientState->transaction++; in chppAllocClientRequest()
317 requestHeader->transaction, rRState->transaction, in chppClientTimestampRequest()
327 rRState->transaction = requestHeader->transaction; in chppClientTimestampRequest()
341 rRState->transaction, rRState->requestTimeNs / CHPP_NSEC_PER_MSEC, in chppClientTimestampRequest()
375 if (responseHeader->transaction != rRState->transaction) { in chppClientTimestampResponse()
378 responseHeader->transaction, in chppClientTimestampResponse()
379 responseTime / CHPP_NSEC_PER_MSEC, rRState->transaction); in chppClientTimestampResponse()
389 rRState->transaction, rRState->requestTimeNs / CHPP_NSEC_PER_MSEC, in chppClientTimestampResponse()
584 response->transaction = clientState->rRStates[cmdIdx].transaction; in chppClientCloseOpenRequests()
Dservices.c127 result->transaction = 0; in chppAllocServiceNotification()
156 rRState->transaction = requestHeader->transaction; in chppServiceTimestampRequest()
Dapp.c127 rxHeader->handle, rxHeader->command, rxHeader->transaction); in chppProcessPredefinedClientRequest()
179 rxHeader->handle, rxHeader->command, rxHeader->transaction, len); in chppProcessPredefinedServiceResponse()
548 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessPredefinedHandleDatagram()
572 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessNegotiatedHandleDatagram()
583 rxHeader->handle, rxHeader->type, len, rxHeader->transaction); in chppProcessNegotiatedHandleDatagram()
596 rxHeader->transaction, rxHeader->command, len); in chppProcessNegotiatedHandleDatagram()
698 len, rxHeader->handle, rxHeader->type, rxHeader->transaction, in chppAppProcessRxDatagram()
703 len, rxHeader->handle, rxHeader->type, rxHeader->transaction, in chppAppProcessRxDatagram()
Dtransport.c1056 timeoutResponse->transaction); in chppTransportDoWork()
1132 len, header->handle, header->type, header->transaction, header->error, in chppEnqueueTxDatagram()
1321 response->transaction = in chppTransportGetClientRequestTimeoutResponse()
1324 .transaction; in chppTransportGetClientRequestTimeoutResponse()
DREADME.md171 - uint8_t transaction;
192 - 0b01 (1): Response from service (with the same command / transaction ID as the request)
198 CHPP has an 8-bit transaction ID for out-of-order responses which is optional for clients, and mand…
/system/chre/java/test/utils/src/com/google/android/utils/chre/
DChreTestUtil.java204 ContextHubTransaction<List<NanoAppState>> transaction = in queryNanoAppsAssertSuccess() local
206 assertTransactionSuccessSync(transaction, QUERY_NANOAPPS_TIMEOUT_SECONDS); in queryNanoAppsAssertSuccess()
209 response = transaction.waitForResponse(QUERY_NANOAPPS_TIMEOUT_SECONDS, in queryNanoAppsAssertSuccess()
272 ContextHubTransaction<?> transaction, long timeoutInSeconds) throws AssertionError { in assertTransactionSuccessSync() argument
273 if (transaction == null) { in assertTransactionSuccessSync()
277 String type = ContextHubTransaction.typeToString(transaction.getType(), in assertTransactionSuccessSync()
281 response = transaction.waitForResponse(timeoutInSeconds, TimeUnit.SECONDS); in assertTransactionSuccessSync()
/system/chre/chpp/services/
Dwifi.c517 .transaction = gWifiServiceContext.configureScanMonitorAsync.transaction, in chppWifiServiceScanMonitorStatusChangeCallback()
551 .transaction = gWifiServiceContext.requestScanAsync.transaction, in chppWifiServiceScanResponseCallback()
587 gWifiServiceContext.requestScanAsync.transaction); in chppWifiServiceScanEventCallback()
600 notification->header.transaction = in chppWifiServiceScanEventCallback()
601 gWifiServiceContext.requestScanAsync.transaction; in chppWifiServiceScanEventCallback()
629 gWifiServiceContext.requestRangingAsync.transaction); in chppWifiServiceRangingEventCallback()
642 notification->header.transaction = in chppWifiServiceRangingEventCallback()
643 gWifiServiceContext.requestRangingAsync.transaction; in chppWifiServiceRangingEventCallback()
Dgnss.c527 .transaction = gGnssServiceContext.controlLocationSession.transaction, in chppGnssServiceLocationStatusChangeCallback()
573 notification->header.transaction = in chppGnssServiceLocationEventCallback()
599 .transaction = gGnssServiceContext.controlMeasurementSession.transaction, in chppGnssServiceMeasurementStatusChangeCallback()
633 gGnssServiceContext.controlMeasurementSession.transaction); in chppGnssServiceMeasurementEventCallback()
646 notification->header.transaction = in chppGnssServiceMeasurementEventCallback()
647 gGnssServiceContext.controlMeasurementSession.transaction; in chppGnssServiceMeasurementEventCallback()
Dwwan.c381 rRState->transaction); in chppWwanServiceCellInfoResultCallback()
394 response->header.transaction = rRState->transaction; in chppWwanServiceCellInfoResultCallback()
/system/chre/host/common/audio_stress_test/
Daudio_stress_test.cc101 FragmentedLoadTransaction transaction = in sendLoadNanoappRequest() local
106 builder, transaction.getNextRequest()); in sendLoadNanoappRequest()
/system/chre/chpp/include/chpp/
Dapp.h180 uint8_t transaction; member
353 uint8_t transaction; // Transaction ID for the last request/response member
Dclients.h76 uint8_t transaction; // Next Transaction ID to be used member
/system/chre/host/hal_generic/common/
Dgeneric_context_hub_base.h470 FragmentedLoadTransaction &transaction = in handleLoadNanoappResponse() local
478 transaction.getTransactionId(), mParent.mCurrentFragmentId, in handleLoadNanoappResponse()
483 if (response.success && !transaction.isComplete()) { in handleLoadNanoappResponse()
484 if (mParent.sendFragmentedLoadNanoAppRequest(transaction) == in handleLoadNanoappResponse()
649 FragmentedLoadTransaction &transaction) { in sendFragmentedLoadNanoAppRequest() argument
651 const FragmentedLoadRequest &request = transaction.getNextRequest(); in sendFragmentedLoadNanoAppRequest()
/system/chre/chpp/clients/
Dwifi.c766 request->header.transaction = gWifiClientContext.client.transaction++; in chppWifiClientRequestScan()
817 request->header.transaction = gWifiClientContext.client.transaction++; in chppWifiClientRequestRanging()
Ddiscovery.c325 request->transaction = 0; in chppInitiateDiscovery()
/system/chre/chpp/test/
Dtransport_test.cpp154 EXPECT_EQ(response->appHeader.transaction, transactionID); in validateChppTestResponse()
232 appHeader.transaction = 0; in addAppHeaderToBuf()
284 appHeader->transaction = transactionID; in openService()
337 appHeader->transaction = transactionID; in sendCommandToService()
718 appHeader->transaction = transactionID; in TEST_P()
732 EXPECT_EQ(responseHeader->transaction, transactionID); in TEST_P()
Dclients_test.cpp144 EXPECT_EQ(response->transaction, request->transaction); in validateTimeoutResponse()
/system/chre/host/common/test/
Dchre_test_client.cc211 FragmentedLoadTransaction transaction = FragmentedLoadTransaction( in sendNanoappLoad() local
215 builder, transaction.getNextRequest()); in sendNanoappLoad()
/system/bt/btif/src/
Dbtif_rc.cc181 rc_transaction_t transaction[MAX_TRANSACTIONS_PER_SESSION]; member
431 memset(&p_dev->transaction_set.transaction, 0, in initialize_device()
432 sizeof(p_dev->transaction_set.transaction)); in initialize_device()
972 rc_transaction_t* transaction = NULL; in handle_rc_metamsg_cmd() local
973 transaction = get_transaction_by_lbl(p_dev, pmeta_msg->label); in handle_rc_metamsg_cmd()
974 if (transaction != NULL) { in handle_rc_metamsg_cmd()
5391 if (alarm_is_scheduled(transaction_set->transaction[lbl].txn_timer)) { in initialize_transaction()
5394 transaction_set->transaction[lbl].lbl = lbl; in initialize_transaction()
5395 transaction_set->transaction[lbl].in_use = false; in initialize_transaction()
5396 transaction_set->transaction[lbl].handle = 0; in initialize_transaction()
[all …]
/system/chre/host/common/test/power_test/
Dchre_power_test_client.cc372 FragmentedLoadTransaction transaction = FragmentedLoadTransaction( in sendLoadNanoappRequest() local
376 builder, transaction.getNextRequest()); in sendLoadNanoappRequest()
/system/bt/service/doc/
DIBluetoothGattClient.txt157 * |device_address|. Once a reliable write transaction has been initiated, all
/system/chre/platform/shared/idl/
Dhost_messages.fbs174 /// the same transaction will fail.
/system/core/fastboot/fuzzy_fastboot/
DREADME.md343 expects USB resets to cancel whatever transaction is currently going on.