Home
last modified time | relevance | path

Searched refs:profileEntries (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/src/subscribemanager/
H A Dprofile_change_handler.cpp78 std::vector<ProfileEntry> profileEntries; in OnChange() local
83 profileEntries.reserve(numEntries); in OnChange()
91 ConvertEntry(insertedEntries, ProfileChangeType::INSERTED, profileEntries, service2Index); in OnChange()
95 ConvertEntry(updatedEntries, ProfileChangeType::UPDATED, profileEntries, service2Index); in OnChange()
99 ConvertEntry(deletedEntries, ProfileChangeType::DELETED, profileEntries, service2Index); in OnChange()
121 ProfileChangeNotification notification(profileEntries, networkId, localUdid == udid); in OnChange()
133 ProfileChangeType changeType, std::vector<ProfileEntry>& profileEntries, in ConvertEntry() argument
146 service2Index.emplace(trimmedKey, profileEntries.size()); in ConvertEntry()
147 profileEntries.emplace_back(std::move(trimmedKey), entry.value.ToString(), changeType); in ConvertEntry()
204 const auto& profileEntries = changeNotification.GetProfileEntries(); in NotifyProfileChangedLocked() local
[all …]
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dprofile_change_notification_test.cpp92 std::vector<ProfileEntry> profileEntries; variable
95 ProfileChangeNotification notification(profileEntries, networkId, isLocal);
108 std::vector<ProfileEntry> profileEntries; variable
112 std::make_shared<ProfileChangeNotification>(profileEntries, networkId, isLocal);
153 std::vector<ProfileEntry> profileEntries(1, entry); variable
156 ProfileChangeNotification notification(profileEntries, networkId, isLocal);
H A Devent_subscribe_test.cpp72 const auto& profileEntries = changeNotification.GetProfileEntries(); in OnProfileChanged() local
73 for (const auto& ProfileEntry : profileEntries) { in OnProfileChanged()
H A Dprofile_crud_test.cpp89 const auto& profileEntries = changeNotification.GetProfileEntries(); in OnProfileChanged() local
90 for (const auto& ProfileEntry : profileEntries) { in OnProfileChanged()
/ohos5.0/foundation/deviceprofile/device_info_manager/services/core/src/utils/
H A Dprofile_control_utils.cpp471 std::map<std::string, std::map<std::string, std::string>> profileEntries; in GetAllDeviceProfile() local
476 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllDeviceProfile()
478 for (const auto& item : profileEntries) { in GetAllDeviceProfile()
499 std::map<std::string, std::map<std::string, std::string>> profileEntries; in GetAllServiceProfile() local
504 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllServiceProfile()
506 for (const auto &item : profileEntries) { in GetAllServiceProfile()
527 std::map<std::string, std::map<std::string, std::string>> profileEntries; in GetAllCharacteristicProfile() local
532 profileEntries[profileKey].emplace(dbKey, dbValue); in GetAllCharacteristicProfile()
534 for (const auto& item : profileEntries) { in GetAllCharacteristicProfile()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/
H A Dprofile_change_notification.h52 ProfileChangeNotification(std::vector<ProfileEntry>& profileEntries, in ProfileChangeNotification() argument
54 : profileEntries_(std::move(profileEntries)), in ProfileChangeNotification()
/ohos5.0/foundation/deviceprofile/device_info_manager/old/services/core/include/subscribemanager/
H A Dprofile_change_handler.h45 std::vector<ProfileEntry>& profileEntries, Service2Index& service2Index);