Home
last modified time | relevance | path

Searched refs:GetJSonSource (Results 1 - 5 of 5) sorted by relevance

/foundation/filemanagement/app_file_service/utils/include/b_json/
H A Db_json_entity_extension_config.h80 std::string GetJSonSource(std::string_view jsonFromRealWorld, std::any option);
H A Db_json_entity.h35 std::string GetJSonSource(std::string_view jsonFromRealWorld, std::any option = std::any()) in GetJSonSource() function in OHOS::FileManagement::Backup::BJsonEntity
H A Db_json_cached_entity.h152 ReloadFromString(entity_.GetJSonSource(sv, option)); in BJsonCachedEntity()
/foundation/filemanagement/app_file_service/utils/src/b_json/
H A Db_json_entity_extension_config.cpp129 string BJsonEntityExtensionConfig::GetJSonSource(string_view jsonFromRealWorld, any option) in GetJSonSource() function in OHOS::FileManagement::Backup::BJsonEntityExtensionConfig
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_entity_extension_config_test.cpp293 * @tc.desc: 测试 GetJSonSource 接口能否在非service进程下正确读取backup_config.json
313 string jsonRead = cache.GetJSonSource(sv, any()); in HWTEST_F()
317 GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-an exception occurred by GetJSonSource."; in HWTEST_F()
325 * @tc.desc: 测试GetJSonSource接口能否在service进程下正确读取backup_config.json
349 string jsonRead = cache.GetJSonSource(sv, bundleName); in HWTEST_F()
354 GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-an exception occurred by GetJSonSource."; in HWTEST_F()
362 * @tc.desc: 测试GetJSonSource接口能否在backup.debug.overrideExtensionConfig为false的情况下保持原JSon字符串不变
376 string jsonRead = cache.GetJSonSource(sv, any()); in HWTEST_F()
380 GTEST_LOG_(INFO) << "BJsonEntityExtensionConfigTest-an exception occurred by GetJSonSource."; in HWTEST_F()

Completed in 4 milliseconds