Searched refs:writeToDiskMap (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/src/ |
H A D | preferences_impl.cpp | 387 const Options &options, const std::map<std::string, PreferencesValue> &writeToDiskMap) in WriteSettingXml() argument 390 for (auto it = writeToDiskMap.begin(); it != writeToDiskMap.end(); it++) { in WriteSettingXml() 462 std::map<std::string, PreferencesValue> writeToDiskMap; in WriteToDiskFile() local 464 [pref, &writeToDiskMap, &keysModified](const std::map<std::string, PreferencesValue> &map) { in WriteToDiskFile() 468 writeToDiskMap = std::move(map); in WriteToDiskFile() 476 if (!pref->WriteSettingXml(pref->options_, writeToDiskMap)) { in WriteToDiskFile() 479 pref->NotifyPreferencesObserver(keysModified, writeToDiskMap); in WriteToDiskFile() 544 const std::map<std::string, PreferencesValue> &writeToDiskMap) in NotifyPreferencesObserver() argument 559 auto dataIt = writeToDiskMap.find(*key); in NotifyPreferencesObserver() 560 if (dataIt != writeToDiskMap.end()) { in NotifyPreferencesObserver()
|
/ohos5.0/foundation/distributeddatamgr/preferences/frameworks/native/include/ |
H A D | preferences_impl.h | 66 const std::map<std::string, PreferencesValue> &writeToDiskMap); 72 …eSettingXml(const Options &options, const std::map<std::string, PreferencesValue> &writeToDiskMap);
|