Home
last modified time | relevance | path

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

12345

/hardware/interfaces/radio/1.0/vts/functional/
Dsap_callback.cpp21 Return<void> SapCallback::connectResponse(int32_t token, SapConnectRsp /*sapConnectRsp*/, in connectResponse() argument
23 sapResponseToken = token; in connectResponse()
24 parent.notify(token); in connectResponse()
28 Return<void> SapCallback::disconnectResponse(int32_t token) { in disconnectResponse() argument
29 sapResponseToken = token; in disconnectResponse()
30 parent.notify(token); in disconnectResponse()
39 Return<void> SapCallback::apduResponse(int32_t token, SapResultCode resultCode, in apduResponse() argument
41 sapResponseToken = token; in apduResponse()
43 parent.notify(token); in apduResponse()
48 int32_t token, SapResultCode resultCode, in transferAtrResponse() argument
[all …]
Dsap_hidl_hal_api.cpp25 token = GetRandomSerialNumber(); in TEST_P()
28 sap->connectReq(token, maxMsgSize); in TEST_P()
30 EXPECT_EQ(sapCb->sapResponseToken, token); in TEST_P()
43 token = GetRandomSerialNumber(); in TEST_P()
45 sap->disconnectReq(token); in TEST_P()
47 EXPECT_EQ(sapCb->sapResponseToken, token); in TEST_P()
56 token = GetRandomSerialNumber(); in TEST_P()
60 sap->apduReq(token, sapApduType, command); in TEST_P()
62 EXPECT_EQ(sapCb->sapResponseToken, token); in TEST_P()
76 token = GetRandomSerialNumber(); in TEST_P()
[all …]
Dsap_hidl_hal_utils.h56 Return<void> connectResponse(int32_t token, SapConnectRsp sapConnectRsp, int32_t maxMsgSize);
58 Return<void> disconnectResponse(int32_t token);
60 Return<void> disconnectIndication(int32_t token, SapDisconnectType disconnectType);
62 Return<void> apduResponse(int32_t token, SapResultCode resultCode,
65 Return<void> transferAtrResponse(int32_t token, SapResultCode resultCode,
68 Return<void> powerResponse(int32_t token, SapResultCode resultCode);
70 Return<void> resetSimResponse(int32_t token, SapResultCode resultCode);
72 Return<void> statusIndication(int32_t token, SapStatus status);
74 Return<void> transferCardReaderStatusResponse(int32_t token, SapResultCode resultCode,
77 Return<void> errorResponse(int32_t token);
[all …]
/hardware/interfaces/keymaster/4.0/vts/functional/
DVerificationTokenTest.cpp30 VerificationToken token; member
40 [&](auto error, auto token) { in verifyAuthorization() argument
42 result.token = token; in verifyAuthorization()
91 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
92 EXPECT_EQ(SecLevel(), result1.token.securityLevel); in TEST_P()
93 EXPECT_EQ(0U, result1.token.parametersVerified.size()) in TEST_P()
95 EXPECT_GT(result1.token.timestamp, 0U); in TEST_P()
105 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
106 EXPECT_EQ(SecLevel(), result2.token.securityLevel); in TEST_P()
107 EXPECT_EQ(0U, result2.token.parametersVerified.size()) in TEST_P()
[all …]
/hardware/interfaces/keymaster/4.0/support/
Dkeymaster_utils.cpp61 hidl_vec<uint8_t> authToken2HidlVec(const HardwareAuthToken& token) { in authToken2HidlVec() argument
62 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in authToken2HidlVec()
63 sizeof(token.authenticatorId) + sizeof(token.authenticatorType) + in authToken2HidlVec()
64 sizeof(token.timestamp) + kHmacSize == in authToken2HidlVec()
72 pos = copy_bytes_to_iterator(token.challenge, pos); in authToken2HidlVec()
73 pos = copy_bytes_to_iterator(token.userId, pos); in authToken2HidlVec()
74 pos = copy_bytes_to_iterator(token.authenticatorId, pos); in authToken2HidlVec()
75 auto auth_type = htonl(static_cast<uint32_t>(token.authenticatorType)); in authToken2HidlVec()
77 auto timestamp = htonq(token.timestamp); in authToken2HidlVec()
79 if (token.mac.size() != kHmacSize) { in authToken2HidlVec()
[all …]
/hardware/ril/libril/
Dsap_service.cpp52 Return<void> connectReq(int32_t token, int32_t maxMsgSize);
54 Return<void> disconnectReq(int32_t token);
56 Return<void> apduReq(int32_t token, SapApduType type, const hidl_vec<uint8_t>& command);
58 Return<void> transferAtrReq(int32_t token);
60 Return<void> powerReq(int32_t token, bool state);
62 Return<void> resetSimReq(int32_t token);
64 Return<void> transferCardReaderStatusReq(int32_t token);
66 Return<void> setTransferProtocolReq(int32_t token, SapTransferProtocol transferProtocol);
68 MsgHeader* createMsgHeader(MsgId msgId, int32_t token);
72 void sendFailedResponse(MsgId msgId, int32_t token, int numPointers, ...);
[all …]
Dril_service.h27 int token, RIL_Errno e, void *response, size_t responselen);
555 int indicationType, int token, RIL_Errno e, void *response,
558 int callStateChangedInd(int slotId, int indType, int token,
562 int token, RIL_Errno e, void *response, size_t responselen);
565 int token, RIL_Errno e, void *response, size_t responselen);
568 int token, RIL_Errno e, void *response, size_t responselen);
571 int token, RIL_Errno e, void *response, size_t responselen);
574 int token, RIL_Errno e, void *response, size_t responselen);
577 int token, RIL_Errno e, void *response, size_t responselen);
580 int indicationType, int token, RIL_Errno e,
[all …]
Dril_internal.h46 #define printRequest(token, req) \ argument
47 RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
59 #define printRequest(token, req)
73 int32_t token; //this is not RIL_Token member
84 int(*responseFunction) (int slotId, int responseType, int token,
DRilSapSocket.cpp209 currRequest->token = req->token; in dispatchRequest()
219 req->token, in dispatchRequest()
245 rsp.token = request->curr->token; in onRequestComplete()
261 hdr->token, hdr->id, t); in onRequestComplete()
268 if(!pendingResponseQueue.checkAndDequeue(hdr->id, hdr->token)) { in onRequestComplete()
269 RLOGE("Token:%d, MessageId:%d", hdr->token, hdr->id); in onRequestComplete()
DrilSocketQueue.h85 int checkAndDequeue( MsgId id, int token);
137 int Ril_queue<T>::checkAndDequeue(MsgId id, int token) { in checkAndDequeue() argument
144 if (token == (*ppCur)->token && id == (*ppCur)->curr->id) { in checkAndDequeue()
/hardware/interfaces/radio/1.0/
DISap.hal32 * @param token Id to match req-resp. Resp must include same token.
35 oneway connectReq(int32_t token, int32_t maxMsgSize);
40 * @param token Id to match req-resp. Resp must include same token.
42 oneway disconnectReq(int32_t token);
47 * @param token Id to match req-resp. Resp must include same token.
51 oneway apduReq(int32_t token, SapApduType type, vec<uint8_t> command);
56 * @param token Id to match req-resp. Resp must include same token.
58 oneway transferAtrReq(int32_t token);
63 * @param token Id to match req-resp. Resp must include same token.
66 oneway powerReq(int32_t token, bool state);
[all …]
DISapCallback.hal23 * @param token Id to match req-resp. Value must match the one in req.
28 oneway connectResponse(int32_t token, SapConnectRsp sapConnectRsp, int32_t maxMsgSize);
33 * @param token Id to match req-resp. Value must match the one in req.
35 oneway disconnectResponse(int32_t token);
40 * @param token Id to match req-resp. Value must match the one in req.
43 oneway disconnectIndication(int32_t token, SapDisconnectType disconnectType);
48 * @param token Id to match req-resp. Value must match the one in req.
59 oneway apduResponse(int32_t token,
66 * @param token Id to match req-resp. Value must match the one in req.
77 oneway transferAtrResponse(int32_t token, SapResultCode resultCode, vec<uint8_t> atr);
[all …]
/hardware/interfaces/radio/1.2/default/
DSap.h42 Return<void> connectReq(int32_t token, int32_t maxMsgSize) override;
43 Return<void> disconnectReq(int32_t token) override;
44 Return<void> apduReq(int32_t token, ::android::hardware::radio::V1_0::SapApduType type,
46 Return<void> transferAtrReq(int32_t token) override;
47 Return<void> powerReq(int32_t token, bool state) override;
48 Return<void> resetSimReq(int32_t token) override;
49 Return<void> transferCardReaderStatusReq(int32_t token) override;
51 int32_t token,
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehiclePropertyStore.cpp29 return prop == other.prop && area == other.area && token == other.token; in operator ==()
35 || (prop == other.prop && area == other.area && token < other.token); in operator <()
108 int32_t prop, int32_t area, int64_t token) const { in readValueOrNull()
109 RecordId recId = {prop, isGlobalProp(prop) ? 0 : area, token }; in readValueOrNull()
146 .token = 0 in getRecordIdLocked()
153 recId.token = it->second.tokenFunction(valuePrototype); in getRecordIdLocked()
/hardware/qcom/sdm845/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp170 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in SetupConcurrentWriteback()
177 drm_mgr_intf_->UnregisterDisplay(cwb_config_.token); in TeardownConcurrentWriteback()
187 if (drm_mgr_intf_->RegisterDisplay(DRMDisplayType::VIRTUAL, &cwb_config_.token)) { in SetupConcurrentWritebackModes()
200 cwb_cfg.connector_id = cwb_config_.token.conn_id; in SetupConcurrentWritebackModes()
210 drm_mgr_intf_->UnregisterDisplay(cwb_config_.token); in SetupConcurrentWritebackModes()
224 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback()
233 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback()
238 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, cwb_config_.token.conn_id, mode); in ConfigureConcurrentWriteback()
246 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, cwb_config_.token.conn_id, dst); in ConfigureConcurrentWriteback()
255 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_GET_RETIRE_FENCE, cwb_config_.token.conn_id, fence); in PostCommitConcurrentWriteback()
/hardware/interfaces/biometrics/face/1.0/vts/functional/
DVtsHalBiometricsFaceV1_0TargetTest.cpp172 hidl_vec<uint8_t> token(69); in TEST_P() local
174 token[i] = 0; in TEST_P()
177 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
193 hidl_vec<uint8_t> token(69); in TEST_P() local
195 token[i] = dist(gen); in TEST_P()
198 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
210 hidl_vec<uint8_t> token(69); in TEST_P() local
212 token[i] = 0; in TEST_P()
215 Return<Status> ret = mService->setFeature(Feature::REQUIRE_DIVERSITY, false, token, 0); in TEST_P()
225 hidl_vec<uint8_t> token(69); in TEST_P() local
[all …]
/hardware/qcom/audio/hal/
Dplatform_info.c658 char *token = strtok(value, " "); in process_microphone_characteristic() local
659 while (token) { in process_microphone_characteristic()
660 microphone.frequency_responses[0][num_frequencies++] = atof(token); in process_microphone_characteristic()
665 token = strtok(NULL, " "); in process_microphone_characteristic()
669 char *token = strtok(value, " "); in process_microphone_characteristic() local
670 while (token) { in process_microphone_characteristic()
671 microphone.frequency_responses[1][num_responses++] = atof(token); in process_microphone_characteristic()
676 token = strtok(NULL, " "); in process_microphone_characteristic()
686 char *token = strtok(value, " "); in process_microphone_characteristic() local
689 while (token) { in process_microphone_characteristic()
[all …]
/hardware/qcom/sm8150/display/sdm/libs/core/drm/
Dhw_peripheral_drm.cpp328 cwb_config_.token.conn_id, fence); in SetupConcurrentWriteback()
332 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, 0); in SetupConcurrentWriteback()
339 drm_mgr_intf_->UnregisterDisplay(&(cwb_config_.token)); in TeardownConcurrentWriteback()
349 if (drm_mgr_intf_->RegisterDisplay(DRMDisplayType::VIRTUAL, &cwb_config_.token)) { in SetupConcurrentWritebackModes()
362 cwb_cfg.connector_id = cwb_config_.token.conn_id; in SetupConcurrentWritebackModes()
372 drm_mgr_intf_->UnregisterDisplay(&(cwb_config_.token)); in SetupConcurrentWritebackModes()
386 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_CRTC, cwb_config_.token.conn_id, token_.crtc_id); in ConfigureConcurrentWriteback()
395 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_FB_ID, cwb_config_.token.conn_id, fb_id); in ConfigureConcurrentWriteback()
400 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_FB_SECURE_MODE, cwb_config_.token.conn_id, mode); in ConfigureConcurrentWriteback()
408 drm_atomic_intf_->Perform(DRMOps::CONNECTOR_SET_OUTPUT_RECT, cwb_config_.token.conn_id, dst); in ConfigureConcurrentWriteback()
/hardware/qcom/msm8996/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member
/hardware/qcom/msm8x09/original-kernel-headers/sound/
Dvoice_svc.h31 __u32 token; member
41 __u32 token; member
/hardware/qcom/msm8994/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member
/hardware/qcom/msm8996/original-kernel-headers/sound/
Dvoice_svc.h31 __u32 token; member
41 __u32 token; member
/hardware/qcom/msm8998/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member
/hardware/qcom/msm8998/original-kernel-headers/sound/
Dvoice_svc.h31 __u32 token; member
41 __u32 token; member
/hardware/qcom/msm8x09/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member

12345