Home
last modified time | relevance | path

Searched refs:dictionary_ (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Dcuttlefish_config.cpp84 if (!dictionary_->isMember(kFragments)) { in LoadFragment()
88 const Json::Value& json_fragments = (*dictionary_)[kFragments]; in LoadFragment()
96 Json::Value& json_fragments = (*dictionary_)[kFragments]; in SaveFragment()
107 return (*dictionary_)[kRootDir].asString(); in root_dir()
110 (*dictionary_)[kRootDir] = root_dir; in set_root_dir()
115 auto str = (*dictionary_)[kVmManager].asString(); in vm_manager()
119 (*dictionary_)[kVmManager] = fmt::format("{}", vmm); in set_vm_manager()
124 return (*dictionary_)[kApVmManager].asString(); in ap_vm_manager()
127 (*dictionary_)[kApVmManager] = name; in set_ap_vm_manager()
156 for (auto& hal : (*dictionary_)[kSecureHals]) { in secure_hals()
[all …]
Dfetcher_config.cpp112 FetcherConfig::FetcherConfig() : dictionary_(new Json::Value()) { in FetcherConfig()
126 ofs << *dictionary_; in SaveToFile()
139 if (!Json::parseFromStream(builder, ifs, dictionary_.get(), &errorMessage)) { in LoadFromFile()
145 if (base_dir != "." && dictionary_->isMember(kCvdFiles)) { in LoadFromFile()
147 for (const auto& member_name : (*dictionary_)[kCvdFiles].getMemberNames()) { in LoadFromFile()
148 (*dictionary_)[kCvdFiles][base_dir + "/" + member_name] = in LoadFromFile()
149 (*dictionary_)[kCvdFiles][member_name]; in LoadFromFile()
150 (*dictionary_)[kCvdFiles].removeMember(member_name); in LoadFromFile()
173 (*dictionary_)[kFlags] = flags_json; in RecordFlags()
206 if (!dictionary_->isMember(kCvdFiles)) { in add_cvd_file()
[all …]
Dcuttlefish_config_environment.cpp26 return &(*config_->dictionary_)[kEnvironments][envName_]; in Dictionary()
30 return &(*config_->dictionary_)[kEnvironments][envName_]; in Dictionary()
34 return &(*config_->dictionary_)[kEnvironments][envName_]; in Dictionary()
Dfetcher_config.h74 std::unique_ptr<Json::Value> dictionary_; variable
Dcuttlefish_config_instance.cpp105 return &(*config_->dictionary_)[kInstances][id_]; in Dictionary()
109 return &(*config_->dictionary_)[kInstances][id_]; in Dictionary()
Dcuttlefish_config.h991 std::unique_ptr<Json::Value> dictionary_;
/device/google/cuttlefish/host/commands/modem_simulator/
Dnvram_config.cpp90 dictionary_(new Json::Value()) {} in NvramConfig()
117 if (!Json::parseFromStream(builder, ifs, dictionary_.get(), &errorMessage)) { in LoadFromFile()
131 ofs << *dictionary_; in SaveToFile()
146 return &(*config_->dictionary_)[kInstances][id_]; in Dictionary()
150 return &(*config_->dictionary_)[kInstances][id_]; in Dictionary()
Dnvram_config.h83 std::unique_ptr<Json::Value> dictionary_; variable