Searched refs:PROP_VALUE_MAX (Results 1 – 15 of 15) sorted by relevance
61 if (value.size() >= PROP_VALUE_MAX && !StartsWith(value, "ro.")) { in setprop_main()63 << " bytes vs a max of " << PROP_VALUE_MAX << std::endl; in setprop_main()
35 #define PROP_VALUE_MAX 92 macro
33 #define PROP_VALUE_MAX 92 macro
542 char prop_value[PROP_VALUE_MAX]; in handle_property_set_fd()545 !socket.RecvChars(prop_value, PROP_VALUE_MAX, &timeout_ms)) { in handle_property_set_fd()551 prop_value[PROP_VALUE_MAX-1] = 0; in handle_property_set_fd()753 config.length() + 4 < PROP_VALUE_MAX) { in update_sys_usb_config()
426 if (value.size() >= PROP_VALUE_MAX && !StartsWith(name, "ro.")) { in IsLegalPropertyValue()
641 return IsLegalPropertyName("init.svc." + name) && name.size() <= PROP_VALUE_MAX; in IsValidName()
1107 if (value_len >= PROP_VALUE_MAX) { in do_wait_for_prop()
55 char value[PROP_VALUE_MAX] = ""; in debuggerd_register_handlers()
37 #define PROPERTY_VALUE_MAX PROP_VALUE_MAX
38 static constexpr size_t SERVICE_NAME_MAX = PROP_VALUE_MAX;
206 static_assert(sizeof(cached_value_) == PROP_VALUE_MAX); in CachedProperty()237 strlcpy(instance->cached_value_, value, PROP_VALUE_MAX); in Get()
72 char buf[PROP_VALUE_MAX]; in refresh_cache()434 char property[PROP_VALUE_MAX];
1256 char hold[4][PROP_VALUE_MAX]; in TEST()1644 char persist[PROP_VALUE_MAX]; in TEST()1645 char persist_hold[PROP_VALUE_MAX]; in TEST()1646 char readonly[PROP_VALUE_MAX]; in TEST()1653 strncpy(persist_hold, persist, PROP_VALUE_MAX); in TEST()1751 char persist[PROP_VALUE_MAX]; in TEST()
84 char prop_value[PROP_VALUE_MAX] = {0}; in propertyValueIsTrue()