Home
last modified time | relevance | path

Searched refs:prop_name (Results 1 – 2 of 2) sorted by relevance

/system/core/libnetutils/
Ddhcp_utils.c97 char prop_name[PROPERTY_KEY_MAX]; in fill_ip_info() local
105 snprintf(prop_name, sizeof(prop_name), "%s.%s.ipaddress", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info()
106 property_get(prop_name, ipaddr, NULL); in fill_ip_info()
108 snprintf(prop_name, sizeof(prop_name), "%s.%s.gateway", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info()
109 property_get(prop_name, gateway, NULL); in fill_ip_info()
111 snprintf(prop_name, sizeof(prop_name), "%s.%s.server", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info()
112 property_get(prop_name, server, NULL); in fill_ip_info()
120 snprintf(prop_name, sizeof(prop_name), "%s.%s.mask", DHCP_PROP_NAME_PREFIX, p2p_interface); in fill_ip_info()
121 if (property_get(prop_name, prop_value, NULL)) { in fill_ip_info()
144 … snprintf(prop_name, sizeof(prop_name), "%s.%s.dns%d", DHCP_PROP_NAME_PREFIX, p2p_interface, x+1); in fill_ip_info()
[all …]
/system/core/init/
Dinit_parser.c545 char prop_name[PROP_NAME_MAX + 1]; in queue_all_property_triggers() local
551 memcpy(prop_name, name, length); in queue_all_property_triggers()
552 prop_name[length] = 0; in queue_all_property_triggers()
555 value = property_get(prop_name); in queue_all_property_triggers()