Home
last modified time | relevance | path

Searched refs:uniqueId (Results 1 - 21 of 21) sorted by relevance

/base/print/print_fwk/services/scan_service/include/
H A Dscan_system_data.h35 void InsertScannerInfo(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo);
36 bool DeleteScannerInfo(const std::string &uniqueId);
37 bool UpdateScannerNameByUniqueId(const std::string &uniqueId, const std::string &deviceName);
38 bool UpdateScannerInfoByUniqueId(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo);
39 bool UpdateScannerIdByUsbDevicePort(const std::string &uniqueId, const std::string &usbDevicePort);
40 bool QueryScannerNameByUniqueId(const std::string &uniqueId, std::string &deviceName);
41 bool QueryScannerInfoByUniqueId(const std::string &uniqueId, ScanDeviceInfo &scannerInfo);
45 bool IsContainScanner(const std::string &uniqueId);
/base/security/access_token/services/tokensyncmanager/src/remote/
H A Dremote_command_executor.cpp65 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in ProcessOneCommand() local
66 ACCESSTOKEN_LOG_INFO(LABEL, "TargetNodeId %{public}s, process one command start, uniqueId: %{public}s", in ProcessOneCommand()
67 ConstantCommon::EncryptDevId(targetNodeId_).c_str(), uniqueId.c_str()); in ProcessOneCommand()
73 "targetNodeId %{public}s, process one command error, uniqueId: %{public}s, message: " in ProcessOneCommand()
75 uniqueId.c_str(), status); in ProcessOneCommand()
111 const std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; in AddCommand() local
112 ACCESSTOKEN_LOG_DEBUG(LABEL, "TargetNodeId %{public}s, add uniqueId %{public}s", in AddCommand()
113 ConstantCommon::EncryptDevId(targetNodeId_).c_str(), uniqueId in AddCommand()
246 std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; ExecuteRemoteCommand() local
315 std::string uniqueId = ptrCommand->remoteProtocol_.uniqueId; ClientProcessResult() local
[all...]
H A Dremote_command_manager.cpp67 ACCESSTOKEN_LOG_INFO(LABEL, "Add uniqueId"); in AddCommand()
93 std::string uniqueId = command->remoteProtocol_.uniqueId; in ExecuteCommand() local
94 ACCESSTOKEN_LOG_INFO(LABEL, "Start with udid: %{public}s , uniqueId: %{public}s ", in ExecuteCommand()
95 ConstantCommon::EncryptDevId(udid).c_str(), ConstantCommon::EncryptDevId(uniqueId).c_str()); in ExecuteCommand()
H A Dsoft_bus_channel.cpp408 ACCESSTOKEN_LOG_DEBUG(LABEL, "Command uniqueId: %{public}s, finish with status: %{public}d, message: %{public}s", in HandleRequest()
409 ConstantCommon::EncryptDevId(command->remoteProtocol_.uniqueId).c_str(), command->remoteProtocol_.statusCode, in HandleRequest()
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAnimatorSceneDataProcessor.cpp87 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in ProcessSceneData()
94 DeleteRecord(evt->animatorInfo.basicInfo.uniqueId); in ProcessSceneData()
106 db.insert(std::map<int32_t, AnimatorRecord*>::value_type(evt->animatorInfo.basicInfo.uniqueId, animatorRecord)); in CreateRecord()
115 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in HasStartPoint()
127 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in AllPointsReceived()
143 AnimatorRecord* record = GetRecord(evt->animatorInfo.basicInfo.uniqueId); in SaveAnimatorPoint()
184 AnimatorRecord* AnimatorSceneDataProcessor::GetRecord(const int32_t uniqueId) in GetRecord() argument
187 if (db.find(uniqueId) != db.end()) { in GetRecord()
188 record = db[uniqueId]; in GetRecord()
193 void AnimatorSceneDataProcessor::DeleteRecord(const int32_t uniqueId) in DeleteRecord() argument
[all...]
H A DAnimatorSceneDataProcessor.h41 void DeleteRecord(const int32_t uniqueId) override;
47 AnimatorRecord* GetRecord(const int32_t uniqueId);
/base/print/print_fwk/services/scan_service/src/
H A Dscan_system_data.cpp65 std::string uniqueId = scanDeviceInfo.discoverMode + scanDeviceInfo.serialNumber; in ParseScannerListJsonV1() local
66 InsertScannerInfo(uniqueId, scanDeviceInfo); in ParseScannerListJsonV1()
149 bool ScanSystemData::UpdateScannerIdByUsbDevicePort(const std::string &uniqueId, const std::string &usbDevicePort) in UpdateScannerIdByUsbDevicePort() argument
152 auto iter = addedScannerMap_.find(uniqueId); in UpdateScannerIdByUsbDevicePort()
170 void ScanSystemData::InsertScannerInfo(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo) in InsertScannerInfo() argument
173 auto iter = addedScannerMap_.find(uniqueId); in InsertScannerInfo()
176 addedScannerMap_[uniqueId] = std::make_shared<ScanDeviceInfo>(scannerInfo); in InsertScannerInfo()
188 bool ScanSystemData::DeleteScannerInfo(const std::string &uniqueId) in DeleteScannerInfo() argument
191 auto iter = addedScannerMap_.find(uniqueId); in DeleteScannerInfo()
193 addedScannerMap_.erase(uniqueId); in DeleteScannerInfo()
201 UpdateScannerNameByUniqueId(const std::string &uniqueId, const std::string &deviceName) UpdateScannerNameByUniqueId() argument
214 UpdateScannerInfoByUniqueId(const std::string &uniqueId, const ScanDeviceInfo &scannerInfo) UpdateScannerInfoByUniqueId() argument
230 QueryScannerNameByUniqueId(const std::string &uniqueId, std::string &deviceName) QueryScannerNameByUniqueId() argument
242 QueryScannerInfoByUniqueId(const std::string &uniqueId, ScanDeviceInfo &scannerInfo) QueryScannerInfoByUniqueId() argument
317 IsContainScanner(const std::string &uniqueId) IsContainScanner() argument
[all...]
H A Dscan_service_ability.cpp423 std::string uniqueId = info.discoverMode + info.serialNumber; in SyncScannerInfo() local
425 if (ScanSystemData::GetInstance().QueryScannerNameByUniqueId(uniqueId, deviceName)) { in SyncScannerInfo()
430 if (ScanSystemData::GetInstance().UpdateScannerInfoByUniqueId(uniqueId, info)) { in SyncScannerInfo()
1415 std::string uniqueId = discoverMode + serialNumber; in AddScanner()
1420 if (usbIt == saneGetUsbDeviceInfoMap.end() || scanData.IsContainScanner(uniqueId)) { in AddScanner()
1424 scanData.InsertScannerInfo(uniqueId, usbIt->second); in AddScanner()
1432 if (tcpIt == saneGetTcpDeviceInfoMap.end() || scanData.IsContainScanner(uniqueId)) { in AddScanner()
1436 scanData.InsertScannerInfo(uniqueId, tcpIt->second); in AddScanner()
1461 std::string uniqueId = discoverMode + serialNumber; in DeleteScanner() local
1463 if (!ScanSystemData::GetInstance().QueryScannerInfoByUniqueId(uniqueId, scannerInf in DeleteScanner()
1507 std::string uniqueId = discoverMode + serialNumber; UpdateScannerName() local
[all...]
H A Dscan_usb_manager.cpp189 std::string uniqueId = "USB" + serialNumber; in UpdateUsbScannerId() local
190 if (ScanSystemData::GetInstance().UpdateScannerIdByUsbDevicePort(uniqueId, usbDevicePort)) { in UpdateUsbScannerId()
/base/hiviewdfx/hiview/base/event_store/store/
H A Dsys_event_repeat_guard.cpp79 bool SysEventRepeatGuard::GetEventUniqueId(std::shared_ptr<SysEvent> event, std::string& uniqueId) in GetEventUniqueId() argument
84 uniqueId = event->GetEventValue("FINGERPRINT"); in GetEventUniqueId()
85 if (!uniqueId.empty()) { in GetEventUniqueId()
95 if (!GetShaStr(eventData, uniqueId) || uniqueId.empty()) { in GetEventUniqueId()
/base/security/access_token/services/tokensyncmanager/include/protocol/
H A Dremote_protocol.h24 std::string uniqueId; member
/base/hiviewdfx/hiview/plugins/performance/monitor/gateway/
H A DIAnimatorSceneDataProcessor.h55 virtual void DeleteRecord(const int32_t uniqueId) = 0;
/base/hiviewdfx/hiview/base/event_store/store/include/
H A Dsys_event_repeat_guard.h65 static bool GetEventUniqueId(std::shared_ptr<SysEvent> event, std::string& uniqueId);
/base/security/access_token/services/tokensyncmanager/src/command/
H A Dsync_remote_hap_token_command.cpp36 remoteProtocol_.uniqueId = COMMAND_NAME; in SyncRemoteHapTokenCommand()
H A Dupdate_remote_hap_token_command.cpp38 remoteProtocol_.uniqueId = COMMAND_NAME; in UpdateRemoteHapTokenCommand()
H A Ddelete_remote_token_command.cpp39 remoteProtocol_.uniqueId = COMMAND_NAME; in DeleteRemoteTokenCommand()
H A Dbase_remote_command.cpp26 static const std::string JSON_UNIQUEID = "uniqueId";
72 GetStringFromJson(jsonObject, JSON_UNIQUEID, remoteProtocol_.uniqueId); in FromRemoteProtocolJson()
88 j["uniqueId"] = remoteProtocol_.uniqueId; in ToRemoteProtocolJson()
/base/hiviewdfx/hiview/plugins/performance/
H A DXperfEvt.h27 int32_t uniqueId{0};
H A DEvtParser.h281 evt.animatorInfo.basicInfo.uniqueId = static_cast<int32_t>(sysEvent.GetEventIntValue(UNIQUE_ID)); in ConvertToXperfAnimatorEvent()
/base/security/access_token/services/tokensyncmanager/test/unittest/
H A Dtoken_sync_service_test.cpp614 "\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"request\"}"; in HWTEST_F()
665 "\\\"statusCode\\\":0,\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"response\"}"; in HWTEST_F()
698 "\\\"statusCode\\\":0,\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"response\"}"; in HWTEST_F()
732 "\\\"statusCode\\\":0,\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"response\"}"; in HWTEST_F()
766 "\\\"statusCode\\\":0,\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"response\"}"; in HWTEST_F()
800 "\\\"statusCode\\\":-2,\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\"," in HWTEST_F()
840 "\\\"uniqueId\\\":\\\"SyncRemoteHapTokenCommand\\\"}\",\"type\":\"request\"}"; in HWTEST_F()
877 ASSERT_EQ(deleteRemoteTokenCommand->remoteProtocol_.uniqueId, "DeleteRemoteTokenCommand"); in HWTEST_F()
906 ASSERT_EQ(command->remoteProtocol_.uniqueId, "UpdateRemoteHapTokenCommand"); in HWTEST_F()
/base/security/access_token/services/privacymanager/src/record/
H A Dpermission_record_manager.cpp1103 uint64_t uniqueId = GetUniqueId(tokenId, pid); in ExecuteCameraCallbackAsync()
1107 if ((uniqueId == id) && (callback != nullptr)) { in ExecuteCameraCallbackAsync()

Completed in 19 milliseconds