Home
last modified time | relevance | path

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

1234567

/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()
77 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/interfaces/security/secureclock/aidl/vts/functional/
DSecureClockAidlTest.cpp39 TimeStampToken token; member
45 GetReturnErrorCode(secureClock_->generateTimeStamp(in_challenge, &result.token)); in getTimestampToken()
115 EXPECT_EQ(1U, result1.token.challenge); in TEST_P()
116 EXPECT_GT(result1.token.timestamp.milliSeconds, 0U); in TEST_P()
117 EXPECT_EQ(32U, result1.token.mac.size()); in TEST_P()
125 EXPECT_EQ(2U, result2.token.challenge); in TEST_P()
126 EXPECT_GT(result2.token.timestamp.milliSeconds, 0U); in TEST_P()
127 EXPECT_EQ(32U, result2.token.mac.size()); in TEST_P()
136 EXPECT_GE(result2.token.timestamp.milliSeconds, result1.token.timestamp.milliSeconds); in TEST_P()
138 result2.token.timestamp.milliSeconds - result1.token.timestamp.milliSeconds; in TEST_P()
[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,
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/qcom/sm7250/display/sde-drm/
Ddrm_manager.cpp220 int DRMManager::RegisterDisplay(DRMDisplayType disp_type, DRMDisplayToken *token) { in RegisterDisplay() argument
221 int ret = conn_mgr_->Reserve(disp_type, token); in RegisterDisplay()
233 ret = conn_mgr_->GetPossibleEncoders(token->conn_id, &possible_encoders); in RegisterDisplay()
240 ret = encoder_mgr_->Reserve(possible_encoders, token); in RegisterDisplay()
244 conn_mgr_->Free(token); in RegisterDisplay()
249 ret = encoder_mgr_->GetPossibleCrtcIndices(token->encoder_id, &possible_crtc_indices); in RegisterDisplay()
256 ret = crtc_mgr_->Reserve(possible_crtc_indices, token); in RegisterDisplay()
260 encoder_mgr_->Free(token); in RegisterDisplay()
261 conn_mgr_->Free(token); in RegisterDisplay()
268 int DRMManager::RegisterDisplay(int32_t display_id, DRMDisplayToken *token) { in RegisterDisplay() argument
[all …]
Ddrm_manager.h51 virtual int RegisterDisplay(DRMDisplayType disp_type, DRMDisplayToken *token);
52 virtual int RegisterDisplay(int32_t display_id, DRMDisplayToken *token);
53 virtual void UnregisterDisplay(DRMDisplayToken *token);
61 virtual int CreateAtomicReq(const DRMDisplayToken &token, DRMAtomicReqInterface **intf);
/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/radio/1.0/
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/neuralnetworks/aidl/utils/src/
DBuffer.cpp36 std::shared_ptr<aidl_hal::IBuffer> buffer, nn::Request::MemoryDomainToken token) { in create() argument
40 if (token == static_cast<nn::Request::MemoryDomainToken>(0)) { in create()
44 return std::make_shared<const Buffer>(PrivateConstructorTag{}, std::move(buffer), token); in create()
48 nn::Request::MemoryDomainToken token) in Buffer() argument
49 : kBuffer(std::move(buffer)), kToken(token) { in Buffer()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DBuffer.cpp42 sp<V1_3::IBuffer> buffer, nn::Request::MemoryDomainToken token) { in create() argument
46 if (token == static_cast<nn::Request::MemoryDomainToken>(0)) { in create()
50 return std::make_shared<const Buffer>(PrivateConstructorTag{}, std::move(buffer), token); in create()
54 nn::Request::MemoryDomainToken token) in Buffer() argument
55 : kBuffer(std::move(buffer)), kToken(token) { in Buffer()
/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp182 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel()
187 dataCache, token] { in prepareModel()
189 dataCache, token); in prepareModel()
194 token); in prepareModel()
200 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
204 modelCache, dataCache, token] { in prepareModelFromCache()
205 return device->prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache()
209 return prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache()
237 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelInternal()
242 &token](const nn::IDevice& device) { in prepareModelInternal()
[all …]
/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/nxp/nfc/snxxx/halimpl/utils/
DphNxpConfig.cc282 string token; in readConfig() local
317 token.erase(); in readConfig()
320 token.push_back(c); in readConfig()
325 token.push_back('\0'); in readConfig()
328 token.push_back(c); in readConfig()
410 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
412 pParam = new CNfcParam(token.c_str(), numValue); in readConfig()
422 pParam = new CNfcParam(token.c_str(), strValue); in readConfig()
737 string token(name); in isAllowed() local
739 if ((token.find("P2P_LISTEN_TECH_MASK") != std::string::npos) || in isAllowed()
[all …]
/hardware/interfaces/biometrics/face/1.0/vts/functional/
DVtsHalBiometricsFaceV1_0TargetTest.cpp176 hidl_vec<uint8_t> token(69); in TEST_P() local
178 token[i] = 0; in TEST_P()
181 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
197 hidl_vec<uint8_t> token(69); in TEST_P() local
199 token[i] = dist(gen); in TEST_P()
202 Return<Status> ret = mService->enroll(token, kTimeoutSec, {}); in TEST_P()
214 hidl_vec<uint8_t> token(69); in TEST_P() local
216 token[i] = 0; in TEST_P()
219 Return<Status> ret = mService->setFeature(Feature::REQUIRE_DIVERSITY, false, token, 0); in TEST_P()
229 hidl_vec<uint8_t> token(69); in TEST_P() local
[all …]
/hardware/qcom/msm8x09/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member
/hardware/qcom/msm8996/kernel-headers/sound/
Dvoice_svc.h47 __u32 token; member
59 __u32 token; member
/hardware/qcom/msm8994/original-kernel-headers/sound/
Dvoice_svc.h31 __u32 token; member
41 __u32 token; member
/hardware/qcom/msm8996/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

1234567