Home
last modified time | relevance | path

Searched refs:profileJson (Results 1 - 6 of 6) sorted by relevance

/foundation/deviceprofile/device_info_manager/old/services/core/test/unittest/
H A Dservice_profile_test.cpp64 std::string profileJson; in HWTEST_F() local
66 profile.SetServiceProfileJson(profileJson); in HWTEST_F()
67 EXPECT_EQ("", profileJson); in HWTEST_F()
78 std::string profileJson = ""; in HWTEST_F() local
81 EXPECT_EQ(profileJson, result); in HWTEST_F()
/foundation/deviceprofile/device_info_manager/old/services/core/src/
H A Dservice_characteristic_profile.cpp41 void ServiceCharacteristicProfile::SetServiceProfileJson(const std::string& profileJson) in SetServiceProfileJson() argument
43 serviceProfileJson_ = profileJson; in SetServiceProfileJson()
46 void ServiceCharacteristicProfile::SetCharacteristicProfileJson(const std::string& profileJson) in SetCharacteristicProfileJson() argument
48 characteristicProfileJson_ = profileJson; in SetCharacteristicProfileJson()
/foundation/deviceprofile/device_info_manager/old/interfaces/innerkits/core/include/
H A Dservice_characteristic_profile.h30 void SetServiceProfileJson(const std::string& profileJson);
31 void SetCharacteristicProfileJson(const std::string& profileJson);
/foundation/bundlemanager/bundle_framework/interfaces/inner_api/appexecfwk_core/src/bundlemgr/
H A Dbundle_mgr_client_impl.cpp354 nlohmann::json profileJson = nlohmann::json::parse(rawData, nullptr, false); in GetResFromResMgr() local
355 if (profileJson.is_discarded()) { in GetResFromResMgr()
359 profileInfos.emplace_back(profileJson.dump()); in GetResFromResMgr()
415 nlohmann::json profileJson = nlohmann::json::parse(in, nullptr, false); in TransformFileToJsonString() local
416 if (profileJson.is_discarded()) { in TransformFileToJsonString()
421 profile = profileJson.dump(); in TransformFileToJsonString()
/foundation/systemabilitymgr/samgr/services/common/src/
H A Dparse_util.cpp306 nlohmann::json profileJson; in ParseJsonFile() local
307 bool result = ParseJsonObj(profileJson, realPath); in ParseJsonFile()
312 HILOGD("profileJson:%{private}s", profileJson.dump().c_str()); in ParseJsonFile()
314 GetStringFromJson(profileJson, SA_TAG_PROCESS, process); in ParseJsonFile()
324 if (profileJson.find(SA_TAG_SYSTEM_ABILITY) == profileJson.end()) { in ParseJsonFile()
328 nlohmann::json& systemAbilityJson = profileJson.at(SA_TAG_SYSTEM_ABILITY); in ParseJsonFile()
/foundation/ability/ability_runtime/frameworks/native/appkit/ability_runtime/app/
H A Djs_ability_stage.cpp674 nlohmann::json profileJson = nlohmann::json::parse(in, nullptr, false); in TransformFileToJsonString() local
675 if (profileJson.is_discarded()) { in TransformFileToJsonString()
680 profile = profileJson.dump(); in TransformFileToJsonString()
715 nlohmann::json profileJson = nlohmann::json::parse(rawData, nullptr, false); in GetResFromResMgr() local
716 if (profileJson.is_discarded()) { in GetResFromResMgr()
720 profileInfo.emplace_back(profileJson.dump()); in GetResFromResMgr()

Completed in 5 milliseconds