Home
last modified time | relevance | path

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

/foundation/ability/dmsfwk/services/dtbschedmgr/src/distributedWant/
H A Ddistributed_want.cpp1111 nlohmann::json wantJson = nlohmann::json { in ToJson() local
1122 return wantJson; in ToJson()
1125 bool DistributedWant::CanReadFromJson(nlohmann::json& wantJson) in CanReadFromJson() argument
1127 const auto& jsonObjectEnd = wantJson.end(); in CanReadFromJson()
1128 if ((wantJson.find("deviceId") == jsonObjectEnd) in CanReadFromJson()
1129 || (wantJson.find("bundleName") == jsonObjectEnd) in CanReadFromJson()
1130 || (wantJson.find("abilityName") == jsonObjectEnd) in CanReadFromJson()
1131 || (wantJson.find("uri") == jsonObjectEnd) in CanReadFromJson()
1132 || (wantJson.find("type") == jsonObjectEnd) in CanReadFromJson()
1133 || (wantJson in CanReadFromJson()
1174 ReadFromJson(nlohmann::json& wantJson) ReadFromJson() argument
1234 nlohmann::json wantJson = nlohmann::json::parse(string, nullptr, false); FromString() local
[all...]
/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dwant.cpp1853 nlohmann::json wantJson = nlohmann::json { in ToJson() local
1865 return wantJson; in ToJson()
1868 bool Want::ReadFromJson(nlohmann::json &wantJson) in ReadFromJson() argument
1870 const auto &jsonObjectEnd = wantJson.end(); in ReadFromJson()
1871 if ((wantJson.find("deviceId") == jsonObjectEnd) in ReadFromJson()
1872 || (wantJson.find("bundleName") == jsonObjectEnd) in ReadFromJson()
1873 || (wantJson.find("abilityName") == jsonObjectEnd) in ReadFromJson()
1874 || (wantJson.find("uri") == jsonObjectEnd) in ReadFromJson()
1875 || (wantJson.find("type") == jsonObjectEnd) in ReadFromJson()
1876 || (wantJson in ReadFromJson()
1961 nlohmann::json wantJson = nlohmann::json::parse(string, nullptr, false); FromString() local
[all...]
/foundation/ability/ability_base/test/fuzztest/wantthird_fuzzer/
H A Dwantthird_fuzzer.cpp69 nlohmann::json wantJson; in DoSomethingInterestingWithMyAPI() local
70 want->ReadFromJson(wantJson); in DoSomethingInterestingWithMyAPI()
/foundation/ability/dmsfwk/test/fuzztest/distributedwant_fuzzer/
H A Ddistributedwant_fuzzer.cpp94 nlohmann::json wantJson; in DoSomethingInterestingWithMyAPI_DistributedWant_003() local
95 want->ReadFromJson(wantJson); in DoSomethingInterestingWithMyAPI_DistributedWant_003()
/foundation/ability/dmsfwk/services/dtbschedmgr/include/distributedWant/
H A Ddistributed_want.h750 bool ReadFromJson(nlohmann::json& wantJson);
751 bool CanReadFromJson(nlohmann::json& wantJson);
/foundation/ability/ability_base/interfaces/kits/native/want/include/
H A Dwant.h933 bool ReadFromJson(nlohmann::json &wantJson);

Completed in 8 milliseconds