Searched refs:data_policy (Results 1 – 4 of 4) sorted by relevance
134 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()
218 void set_data_policy(const std::string& data_policy);219 std::string data_policy() const;
519 std::string CuttlefishConfig::data_policy() const { in data_policy() function in cuttlefish::CuttlefishConfig523 void CuttlefishConfig::set_data_policy(const std::string& data_policy) { in set_data_policy() argument524 (*dictionary_)[kDataPolicy] = data_policy; in set_data_policy()
46 DEFINE_string(data_policy, "use_existing", "How to handle userdata partition."