Home
last modified time | relevance | path

Searched refs:propName (Results 1 – 3 of 3) sorted by relevance

/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp423 char propName[64]; in configureDhcp() local
424 snprintf(propName, sizeof(propName), "net.%s.gw", in configureDhcp()
426 if (property_set(propName, addrToStr(mDhcpInfo.gateway).c_str()) != 0) { in configureDhcp()
427 ALOGE("Failed to set %s: %s", propName, strerror(errno)); in configureDhcp()
432 snprintf(propName, sizeof(propName), "net.%s.dns%d", in configureDhcp()
435 if (property_set(propName, in configureDhcp()
437 ALOGE("Failed to set %s: %s", propName, strerror(errno)); in configureDhcp()
441 if (property_set(propName, "") != 0) { in configureDhcp()
442 ALOGE("Failed to clear %s: %s", propName, strerror(errno)); in configureDhcp()
/device/generic/goldfish/radio/ril/
Dreference-ril.c789 char propName[PROP_NAME_MAX]; in requestOrSendDataCallList() local
798 snprintf(propName, sizeof propName, "net.%s.dns%d", in requestOrSendDataCallList()
802 if (property_get(propName, propValue, "") <= 0) { in requestOrSendDataCallList()
813 snprintf(propName, sizeof propName, "net.%s.ipv6dns%d", in requestOrSendDataCallList()
816 if (property_get(propName, propValue, "") <= 0) { in requestOrSendDataCallList()
827 snprintf(propName, sizeof propName, "net.%s.gw", in requestOrSendDataCallList()
831 if (property_get(propName, propValue, "") > 0) { in requestOrSendDataCallList()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c859 char propName[PROP_NAME_MAX]; in requestOrSendDataCallList() local
862 snprintf(propName, sizeof propName, "net.eth0.dns%d", nn); in requestOrSendDataCallList()
865 if (property_get(propName, propValue, "") <= 0) { in requestOrSendDataCallList()