Searched refs:property_name (Results 1 – 6 of 6) sorted by relevance
35 static bool FindProperty(const std::string& property_name, PropertyMonitorData* data) { in FindProperty() argument36 const prop_info* p = __system_property_find(property_name.c_str()); in FindProperty()90 for (auto& [property_name, data] : properties_) { in Run()92 if (FindProperty(property_name, &data)) { in Run()
65 std::string property_name) { in RegisterCallback() argument66 pm->Add(property_name, [output, property_name](std::string value) { in RegisterCallback()68 LOG(INFO) << property_name << " = " << value; in RegisterCallback()69 output->changes[property_name].emplace_back(std::move(value)); in RegisterCallback()
143 const std::string property_name = kSystemPropertiesPrefix + extension_name; in SetExtension() local144 if (!android::base::SetProperty(property_name, std::to_string(version))) { in SetExtension()145 LOG(ERROR) << "failed to set sdk_info prop " << property_name; in SetExtension()
595 fn wait_for_property_true(property_name: &str) -> Result<()> { in wait_for_property_true()596 let mut prop = PropertyWatcher::new(property_name)?; in wait_for_property_true()599 if system_properties::read_bool(property_name, false)? { in wait_for_property_true()
428 for (const auto& [property_name, value] : section_iter->second) { in GetPropertyNames()429 property_names.emplace_back(property_name); in GetPropertyNames()
117 if let Some(property_name) = ready_prop { in run_fuse()118 system_properties::write(property_name, "1").context("Failed to set readyprop")?; in run_fuse()