Home
last modified time | relevance | path

Searched refs:data_policy (Results 1 – 4 of 4) sorted by relevance

/device/google/cuttlefish/host/libs/config/
Ddata_image.cpp134 if (config.data_policy() == kDataPolicyUseExisting) { in ApplyDataImagePolicy()
147 } else if (config.data_policy() == kDataPolicyAlwaysCreate) { in ApplyDataImagePolicy()
151 } else if (config.data_policy() == kDataPolicyCreateIfMissing) { in ApplyDataImagePolicy()
155 } else if (config.data_policy() == kDataPolicyResizeUpTo) { in ApplyDataImagePolicy()
160 LOG(ERROR) << "Invalid data_policy: " << config.data_policy(); in ApplyDataImagePolicy()
Dcuttlefish_config.h218 void set_data_policy(const std::string& data_policy);
219 std::string data_policy() const;
Dcuttlefish_config.cpp519 std::string CuttlefishConfig::data_policy() const { in data_policy() function in cuttlefish::CuttlefishConfig
523 void CuttlefishConfig::set_data_policy(const std::string& data_policy) { in set_data_policy() argument
524 (*dictionary_)[kDataPolicy] = data_policy; in set_data_policy()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dflags.cc46 DEFINE_string(data_policy, "use_existing", "How to handle userdata partition."