Lines Matching defs:aid
120 InfoLog("AddAidRoutingHceAids, aid entries cache size %{public}zu,aid entries newly builded size %{public}zu",
123 InfoLog("aid entries do not change.");
136 std::string aid = entry.aid;
140 InfoLog("AddAidRoutingHceAids: aid= %{public}s, aidInfo= "
142 aid.c_str(), aidInfo, route, power);
143 bool addResult = nciCeProxy_.lock()->AddAidRouting(aid, route, aidInfo, power);
145 ErrorLog("AddAidRoutingHceAids: add aid failed aid= %{public}s", aid.c_str());
150 InfoLog("AddAidRoutingHceAids: add aids success, update the aid entries cache");
190 // add payment aid of default payment app and foreground app
191 // add other aid of all apps
195 aidEntry.aid = aidInfo.value;
203 for (const std::string &aid : dynamicAids_) {
205 aidEntry.aid = aid;
209 aidEntries[aid] = aidEntry;
222 for (const std::string &aid : dynamicAids_) {
223 if (aid == targetAid) {
390 void CeService::SearchElementByAid(const std::string &aid, ElementName &aidElement)
392 if (aid.empty()) {
393 InfoLog("aid is empty");
396 // find dynamic aid
397 if (IsDynamicAid(aid) && !foregroundElement_.GetBundleName().empty()) {
404 ExternalDepsProxy::GetInstance().GetHceAppsByAid(aid, hceApps);
432 } else if (isDefaultPayment && IsPaymentAid(aid, hceApp)) {
467 bool CeService::IsPaymentAid(const std::string &aid, const AppDataParser::HceAppAidInfo &hceApp)
470 if (KITS::KEY_PAYMENT_AID == aidInfo.name && aid == aidInfo.value) {