/foundation/distributedhardware/device_manager/services/service/src/pinholder/ |
H A D | pin_holder.cpp | 263 nlohmann::json jsonContent; in ProcessCreateMsg() local 264 jsonContent[TAG_PIN_TYPE] = pinType; in ProcessCreateMsg() 265 jsonContent[TAG_PAYLOAD] = payload; in ProcessCreateMsg() 266 jsonContent[TAG_REMOTE_DEVICE_ID] = remoteDeviceId_; in ProcessCreateMsg() 267 std::string content = jsonContent.dump(); in ProcessCreateMsg() 342 nlohmann::json jsonContent; in ProcessDestroyMsg() local 343 jsonContent[TAG_PIN_TYPE] = pinType; in ProcessDestroyMsg() 344 jsonContent[TAG_PAYLOAD] = payload; in ProcessDestroyMsg() 345 std::string content = jsonContent.dump(); in ProcessDestroyMsg() 372 nlohmann::json jsonContent; in CloseSession() local 514 nlohmann::json jsonContent; OnSessionClosed() local 610 nlohmann::json jsonContent; ProcessChangeMsg() local [all...] |
/foundation/arkui/ace_engine/adapter/ohos/entrance/ |
H A D | utils.cpp | 97 auto jsonContent = GetStringFromHap(hapPath, jsonPath); in CheckUrlValid() local 98 auto jsonValue = JsonUtil::ParseJsonString(jsonContent); in CheckUrlValid()
|
/foundation/arkui/ace_engine/frameworks/bridge/card_frontend/ |
H A D | card_frontend.cpp | 69 std::string jsonContent; in ParseManifest() 70 if (!Framework::GetAssetContentImpl(assetManager_, MANIFEST_JSON, jsonContent)) { in ParseManifest() 74 manifestParser_->Parse(jsonContent); in ParseManifest()
|
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_entity_extension_config_test.cpp | 303 string jsonContent = R"({"allowToBackupRestore":true})"; in HWTEST_F() local 308 SaveStringToFile(jsonFilePath, jsonContent); in HWTEST_F() 314 EXPECT_NE(jsonRead, jsonContent); in HWTEST_F() 337 string jsonContent = R"({"allowToBackupRestore":true})"; in HWTEST_F() local 342 SaveStringToFile(jsonFilePath, jsonContent); in HWTEST_F() 351 EXPECT_NE(jsonRead, jsonContent); in HWTEST_F()
|
/foundation/arkui/ace_engine/adapter/ohos/entrance/pa_engine/ |
H A D | pa_backend.cpp | 292 std::string jsonContent; in ParseManifest() 293 if (!Framework::GetAssetContentImpl(assetManager_, PA_MANIFEST_JSON, jsonContent)) { in ParseManifest() 300 manifestParser_->Parse(jsonContent); in ParseManifest()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ng/ |
H A D | frontend_delegate_declarative_ng.cpp | 162 std::string jsonContent; in RunPage() local 163 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 164 manifestParser_->Parse(jsonContent); in RunPage() 166 } else if (!profile.empty() && GetAssetContent(profile, jsonContent)) { in RunPage() 167 manifestParser_->Parse(jsonContent); in RunPage() 168 } else if (GetAssetContent(PAGES_JSON, jsonContent)) { in RunPage() 169 manifestParser_->Parse(jsonContent); in RunPage()
|
/foundation/arkui/ace_engine/frameworks/bridge/plugin_frontend/ |
H A D | plugin_frontend_delegate.cpp | 116 std::string jsonContent; in RunPage() local 117 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 118 manifestParser_->Parse(jsonContent); in RunPage()
|
/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/ |
H A D | frontend_delegate_declarative.cpp | 141 std::string jsonContent; in RunPage() local 142 if (GetAssetContent(MANIFEST_JSON, jsonContent)) { in RunPage() 143 manifestParser_->Parse(jsonContent); in RunPage() 145 } else if (!profile.empty() && GetAssetContent(profile, jsonContent)) { in RunPage() 146 manifestParser_->Parse(jsonContent); in RunPage() 147 } else if (GetAssetContent(PAGES_JSON, jsonContent)) { in RunPage() 148 manifestParser_->Parse(jsonContent); in RunPage()
|
/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/ |
H A D | frontend_delegate_impl.cpp | 95 std::string jsonContent; in ParseManifest() 98 if (!delegate->GetAssetContent(MANIFEST_JSON, jsonContent)) { in ParseManifest() 103 delegate->manifestParser_->Parse(jsonContent); in ParseManifest()
|