Home
last modified time | relevance | path

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

/device/generic/goldfish/dhcp/client/
Ddhcpclient.cpp423 char propName[64]; in configureDhcp() local
424 snprintf(propName, sizeof(propName), "vendor.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), "vendor.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-opengl/system/codecs/omx/plugin/
DGoldfishOMXPlugin.cpp67 const std::string propName = BuildHWCodecPropName(libname); in useGoogleGoldfishComponentInstance() local
70 bool myret = property_get(propName.c_str(), propValue, "") > 0 && in useGoogleGoldfishComponentInstance()
73 ALOGD("%s %d found prop %s val %s", __func__, __LINE__, propName.c_str(), propValue); in useGoogleGoldfishComponentInstance()
79 const std::string propName = BuildHWCodecPropName(libname); in useAndroidGoldfishComponentInstance() local
82 bool myret = property_get(propName.c_str(), propValue, "") > 0 && in useAndroidGoldfishComponentInstance()
85 ALOGD("%s %d found prop %s val %s", __func__, __LINE__, propName.c_str(), propValue); in useAndroidGoldfishComponentInstance()
/device/generic/goldfish-opengl/system/codecs/c2/store/
DGoldfishComponentStore.cpp248 const std::string propName = BuildHWCodecPropName(libname); in useAndroidGoldfishComponentInstance() local
250 bool myret = property_get(propName.c_str(), propValue, "") > 0 && in useAndroidGoldfishComponentInstance()
253 ALOGD("%s %d found prop %s val %s", __func__, __LINE__, propName.c_str(), in useAndroidGoldfishComponentInstance()
/device/generic/goldfish/audio/
Dtalsa.cpp101 unsigned readUnsignedProperty(const char *propName, const unsigned defaultValue) { in readUnsignedProperty() argument
104 if (property_get(propName, propValue, nullptr) < 0) { in readUnsignedProperty()
/device/google/cuttlefish/guest/hals/ril/reference-ril/
Dreference-ril.c944 char propName[PROP_NAME_MAX]; in requestOrSendDataCallList() local
947 snprintf(propName, sizeof propName, "vendor.net.eth0.dns%d", nn); in requestOrSendDataCallList()
950 if (property_get(propName, propValue, "") <= 0) { in requestOrSendDataCallList()