Home
last modified time | relevance | path

Searched refs:aid (Results 1 – 25 of 98) sorted by relevance

1234

/ohos5.0/foundation/ai/ai_engine/services/server/plugin_manager/source/
H A Dplugin_manager.cpp27 HILOGI("[PluginManager]Get plugin for server, aid=%s, version=%lld.", aid.c_str(), version); in GetPlugin()
28 PluginKey pluginKey(aid, version); in GetPlugin()
40 return LoadPlugin(aid, version, plugin); in GetPlugin()
65 void PluginManager::DelPluginByAID(const std::string &aid) in DelPluginByAID() argument
70 if (aid == iter->first.aid) { in DelPluginByAID()
82 auto pluginPtr = std::make_shared<Plugin>(Plugin(aid, version)); in LoadPlugin()
92 PluginKey pluginKey(aid, version); in LoadPlugin()
95 HILOGI("[PluginManager]End to load plugin: aid=%s, version=%lld.", aid.c_str(), version); in LoadPlugin()
99 void PluginManager::UnloadPlugin(const std::string &aid, long long version) in UnloadPlugin() argument
101 PluginKey pluginKey(aid, version); in UnloadPlugin()
[all …]
H A Dplugin.cpp32 HandleGuard(const std::string &aid, void *handle) : aid_(aid), handle_(handle) in HandleGuard() argument
53 Plugin::Plugin(const std::string &aid, long long version) in Plugin() argument
54 : pluginAlgorithm_(nullptr), aid_(aid), version_(version), handle_(nullptr) in Plugin()
H A Dplugin_label.cpp56 int PluginLabel::GetLibPath(const std::string &aid, long long &version, std::string &libPath) in GetLibPath() argument
59 std::string label = aid + PLUS + std::to_string(version); in GetLibPath()
78 HILOGI("[PluginLabel]Succeed to get lib path of %s.", aid.c_str()); in GetLibPath()
/ohos5.0/foundation/ai/ai_engine/services/server/plugin_manager/include/
H A Dplugin_manager.h33 std::string aid; member
36 PluginKey(const std::string &aid, long long version) in PluginKey()
37 : aid(aid), version(version) in PluginKey()
43 if (aid < another.aid) {
46 if (aid == another.aid && version < another.version) {
62 …int GetPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin) override;
63 void UnloadPlugin(const std::string &aid, long long version) override;
69 void DelPluginByAID(const std::string &aid);
70 int LoadPlugin(const std::string &aid, long long version, std::shared_ptr<Plugin> &plugin);
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/include/
H A Dengine_manager.h34 std::string aid; member
37 EngineKey(const std::string &aid, long long version) : aid(aid), version(version) in EngineKey()
43 if (aid < another.aid) {
46 if (aid == another.aid && version < another.version) {
/ohos5.0/drivers/peripheral/secure_element/test/unittest/se_impl_test/
H A Dse_impl_test.cpp107 std::vector<uint8_t> aid; variable
113 int ret = seImpl->openLogicalChannel(aid, p2, response, channelNumber, status);
124 std::vector<uint8_t> aid = {0x001, 0x002, 0x003}; variable
130 int ret = seImpl->openLogicalChannel(aid, p2, response, channelNumber, status);
141 const std::vector<uint8_t> aid; variable
146 int ret = seImpl->openBasicChannel(aid, p2, response, status);
157 const std::vector<uint8_t> aid = {0x001, 0x002, 0x003}; variable
162 int ret = seImpl->openBasicChannel(aid, p2, response, status);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/
H A D_sim_authentication_request_info_v10.md21 | String [aid](#aid) | 应用标识 |
28 ### aid subsection
31 String SimAuthenticationRequestInfo::aid
H A D_sim_authentication_request_info_v11.md21 | String [aid](#aid) | 应用标识 |
28 ### aid subsection
31 String SimAuthenticationRequestInfo::aid
H A D_sim_io_request_info_v10.md29 | String [aid](#aid) | 应用标识 |
35 ### aid subsection
38 String SimIoRequestInfo::aid
H A D_sim_io_request_info_v11.md29 | String [aid](#aid) | 应用标识 |
35 ### aid subsection
38 String SimIoRequestInfo::aid
/ohos5.0/foundation/communication/nfc/services/src/card_emulation/
H A Dce_service.cpp136 std::string aid = entry.aid; in InitConfigAidRouting() local
142 aid.c_str(), aidInfo, route, power); in InitConfigAidRouting()
195 aidEntry.aid = aidInfo.value; in BuildAidEntries()
203 for (const std::string &aid : dynamicAids_) { in BuildAidEntries() local
205 aidEntry.aid = aid; in BuildAidEntries()
209 aidEntries[aid] = aidEntry; in BuildAidEntries()
222 for (const std::string &aid : dynamicAids_) { in IsDynamicAid() local
223 if (aid == targetAid) { in IsDynamicAid()
395 if (aid.empty()) { in SearchElementByAid()
407 ExternalDepsProxy::GetInstance().GetHceAppsByAid(aid, hceApps); in SearchElementByAid()
[all …]
H A Dce_service.h40 std::string aid; member
46 …return aid == other.aid && route == other.route && aidInfo == other.aidInfo && power == other.powe…
81 void SearchElementByAid(const std::string &aid, ElementName &aidElement);
92 bool IsDynamicAid(const std::string &aid);
93 bool IsPaymentAid(const std::string &aid, const AppDataParser::HceAppAidInfo &hceApp);
H A Dhost_card_emulation_manager.cpp81 std::string aid = ParseSelectAid(data); in OnHostCardEmulationDataNfcA() local
82 …InfoLog("onHostCardEmulationDataNfcA: selectAid = %{public}s, state %{public}d", aid.c_str(), hceS… in OnHostCardEmulationDataNfcA()
88 ceService_.lock()->SearchElementByAid(aid, aidElement); in OnHostCardEmulationDataNfcA()
97 HandleDataOnW4Select(aid, aidElement, data); in OnHostCardEmulationDataNfcA()
105 HandleDataOnDataTransfer(aid, aidElement, data); in OnHostCardEmulationDataNfcA()
163 void HostCardEmulationManager::HandleDataOnW4Select(const std::string& aid, ElementName& aidElement, in HandleDataOnW4Select() argument
167 if (!aid.empty()) { in HandleDataOnW4Select()
194 void HostCardEmulationManager::HandleDataOnDataTransfer(const std::string& aid, ElementName& aidEle… in HandleDataOnDataTransfer() argument
198 if (!aid.empty()) { in HandleDataOnDataTransfer()
/ohos5.0/foundation/ai/ai_engine/test/function/plugin_manager/
H A Dplugin_manager_test.cpp50 static void TestPluginManager(std::string aid, bool isExceptedLoadPluginSuccess) in TestPluginManager() argument
57 pluginManager->GetPlugin(aid, version, plugin); in TestPluginManager()
66 pluginManager->UnloadPlugin(aid, version); in TestPluginManager()
71 static void TestPluginManagerUnloadPlugin(std::string aid) in TestPluginManagerUnloadPlugin() argument
77 ASSERT_NO_THROW(pluginManager2->UnloadPlugin(aid, version)) << "UnloadPlugin test failed."; in TestPluginManagerUnloadPlugin()
/ohos5.0/drivers/peripheral/secure_element/vendor_sim_adaptor/
H A Dse_vendor_adaptions.cpp146 …const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t>& response, uint32_t *channelNum,… in VendorSimSecureElementOpenLogicalChannel() argument
149 uint32_t aidLen = aid.size(); in VendorSimSecureElementOpenLogicalChannel()
160 arrAid[i] = aid[i]; in VendorSimSecureElementOpenLogicalChannel()
179 uint8_t *aid, uint32_t len, uint8_t *rsp, uint32_t *rspLen, int *status) in VendorSimSecureElementOpenBasicChannel() argument
181 …SIM_FUNCTION_INVOKE_RETURN(vendorSimSecureElementOpenBasicChannelFunc_, aid, len, rsp, rspLen, sta… in VendorSimSecureElementOpenBasicChannel()
242 int32_t SimSeVendorAdaptions::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openLogicalChannel() argument
247 if (aid.empty()) { in openLogicalChannel()
255 …int ret = VendorSimSecureElementOpenLogicalChannel(aid, p2, response, &channelCreated, &tmpStatus); in openLogicalChannel()
286 int32_t SimSeVendorAdaptions::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openBasicChannel() argument
291 if (aid.empty()) { in openBasicChannel()
[all …]
H A Dse_vendor_adaptions.h54 …int32_t openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t>& resp…
57 …int32_t openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t>& respon…
106 …using VendorSimSecureElementOpenLogicalChannelT = int (*)(uint8_t *aid, uint32_t len, uint8_t p2, …
108 … using VendorSimSecureElementOpenBasicChannelT = int (*)(uint8_t *aid, uint32_t len, uint8_t *rsp,
137 int VendorSimSecureElementOpenLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2,
139 …int VendorSimSecureElementOpenBasicChannel(uint8_t *aid, uint32_t len, uint8_t *rsp, uint32_t *rsp…
/ohos5.0/foundation/ai/ai_engine/services/server/server_executor/source/
H A Dengine_manager.cpp60 std::string aid = GetAlgorithmIdByType(algoInfo.algorithmType); in StartEngine() local
61 if (aid == ALGORITHM_ID_INVALID) { in StartEngine()
65 EngineKey engineKey(aid, algoInfo.algorithmVersion); in StartEngine()
121 const std::string aid = plugin->GetAid(); in StopEngine() local
123 pluginManager->UnloadPlugin(aid, version); in StopEngine()
124 EngineKey engineKey(aid, version); in StopEngine()
194 int retCode = pluginManager->GetPlugin(engineKey.aid, engineKey.version, plugin); in CreateEngine()
197 engineKey.aid.c_str(), engineKey.version); in CreateEngine()
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/secureelement/
H A Dinterface_i_secure_element_interface.md23 | [openLogicalChannel](#openlogicalchannel) ([in] List&lt; unsigned char &gt; aid, [in] unsigned ch…
24 | [openBasicChannel](#openbasicchannel) ([in] List&lt; unsigned char &gt; aid, [in] unsigned char p…
114 ISecureElementInterface::openBasicChannel ([in] List< unsigned char > aid, [in] unsigned char p2, […
127 | aid | 要在此通道上选择的应用的AID的byte数组。 |
136 ISecureElementInterface::openLogicalChannel ([in] List< unsigned char > aid, [in] unsigned char p2,…
149 | aid | 要在此通道上选择的应用的AID的byte数组。 |
/ohos5.0/drivers/peripheral/secure_element/hdi_service/
H A Dse_impl.cpp58 int32_t SeImpl::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t… in openLogicalChannel() argument
61 return adaptor_.openLogicalChannel(aid, p2, response, channelNumber, status); in openLogicalChannel()
64 int32_t SeImpl::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vector<uint8_t>&… in openBasicChannel() argument
67 return adaptor_.openBasicChannel(aid, p2, response, status); in openBasicChannel()
/ohos5.0/drivers/peripheral/secure_element/test/unittest/mock/
H A Dmock.cpp57 int SecureElementCaProxy::VendorSecureElementCaOpenLogicalChannel(uint8_t *aid, uint32_t len, uint8… in VendorSecureElementCaOpenLogicalChannel() argument
64 return p->VendorSecureElementCaOpenLogicalChannel(aid, len, p2, rsp, rspLen, channelNum); in VendorSecureElementCaOpenLogicalChannel()
67 int SecureElementCaProxy::VendorSecureElementCaOpenBasicChannel(uint8_t *aid, uint32_t len, uint8_t… in VendorSecureElementCaOpenBasicChannel() argument
74 return p->VendorSecureElementCaOpenBasicChannel(aid, len, rsp, rspLen); in VendorSecureElementCaOpenBasicChannel()
/ohos5.0/drivers/peripheral/secure_element/sim_hdi_service/
H A Dsecure_element_interface_service.cpp48 int32_t SecureElementInterfaceService::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t … in openLogicalChannel() argument
52 return adaptor_.openLogicalChannel(aid, p2, response, channelNumber, status); in openLogicalChannel()
55 int32_t SecureElementInterfaceService::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openBasicChannel() argument
58 return adaptor_.openBasicChannel(aid, p2, response, status); in openBasicChannel()
/ohos5.0/drivers/peripheral/secure_element/vendor_adaptor/
H A Dse_vendor_adaptions.cpp115 int32_t SeVendorAdaptions::openLogicalChannel(const std::vector<uint8_t>& aid, uint8_t p2, in openLogicalChannel() argument
120 if (aid.empty()) { in openLogicalChannel()
130 (uint8_t *)&aid[0], aid.size(), p2, res, &resLen, &channelCreated); in openLogicalChannel()
164 int32_t SeVendorAdaptions::openBasicChannel(const std::vector<uint8_t>& aid, uint8_t p2, std::vecto… in openBasicChannel() argument
169 if (aid.empty()) { in openBasicChannel()
178 (uint8_t *)&aid[0], aid.size(), res, &resLen); in openBasicChannel()
/ohos5.0/drivers/peripheral/secure_element/secure_element_ca_proxy/
H A Dsecure_element_ca_proxy.cpp118 …uint8_t *aid, uint32_t len, uint8_t p2, uint8_t *rsp, uint32_t *rspLen, uint32_t *channelNum) const in VendorSecureElementCaOpenLogicalChannel() argument
120 …CA_FUNCTION_INVOKE_RETURN(vendorSecureElementCaOpenLogicalChannelFunc_, aid, len, p2, rsp, rspLen,… in VendorSecureElementCaOpenLogicalChannel()
124 uint8_t *aid, uint32_t len, uint8_t *rsp, uint32_t *rspLen) const in VendorSecureElementCaOpenBasicChannel() argument
126 CA_FUNCTION_INVOKE_RETURN(vendorSecureElementCaOpenBasicChannelFunc_, aid, len, rsp, rspLen); in VendorSecureElementCaOpenBasicChannel()
H A Dsecure_element_ca_proxy.h54 …uint8_t *aid, uint32_t len, uint8_t p2, uint8_t *rsp, uint32_t *rspLen, uint32_t *channelNum) cons…
55 …int VendorSecureElementCaOpenBasicChannel(uint8_t *aid, uint32_t len, uint8_t *rsp, uint32_t *rspL…
97 …using VendorSecureElementCaOpenLogicalChannelT = int (*)(uint8_t *aid, uint32_t len, uint8_t p2, u…
99 …using VendorSecureElementCaOpenBasicChannelT = int (*)(uint8_t *aid, uint32_t len, uint8_t *rsp, u…
/ohos5.0/drivers/peripheral/secure_element/test/unittest/se_vendor_adaptions_mock_test/
H A Dse_vendor_adaptions_mock_test.cpp87 std::vector<uint8_t> aid = {0x001, 0x002, 0x003}; variable
95 int ret = seVendorAdaptions->openLogicalChannel(aid, p2, response, channelNumber, status);
108 const std::vector<uint8_t> aid = {0x001, 0x002, 0x003}; variable
113 int ret = seVendorAdaptions->openBasicChannel(aid, p2, response, status);

1234