Home | History | Annotate | Download | only in init

Lines Matching refs:prop_name

37 bool IsActionableProperty(Subcontext* subcontext, const std::string& prop_name) {
44 if (kExportedActionableProperties.count(prop_name) == 1) {
48 if (android::base::StartsWith(prop_name, prefix)) {
58 std::string prop_name(trigger.substr(prop_str.length()));
59 size_t equal_pos = prop_name.find('=');
64 std::string prop_value(prop_name.substr(equal_pos + 1));
65 prop_name.erase(equal_pos);
67 if (!IsActionableProperty(subcontext, prop_name)) {
68 return Error() << "unexported property tigger found: " << prop_name;
71 if (auto [it, inserted] = property_triggers->emplace(prop_name, prop_value); !inserted) {