Home
last modified time | relevance | path

Searched refs:pValue (Results 1 – 9 of 9) sorted by relevance

/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp64 bool getValue(const char* name, char* pValue, size_t& len) const;
67 bool getValue(const char* name, char* pValue, long len, long* readlen) const;
416 bool CNfcConfig::getValue(const char* name, char* pValue, size_t& len) const { in getValue() argument
418 if (pParam == NULL || pValue == NULL) return false; in getValue()
421 memset(pValue, 0, len); in getValue()
427 memcpy(pValue, pParam->str_value(), len); in getValue()
442 bool CNfcConfig::getValue(const char* name, char* pValue, long len, in getValue() argument
448 memset(pValue, 0, len); in getValue()
449 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
660 extern "C" int GetStrValue(const char* name, char* pValue, unsigned long l) { in GetStrValue() argument
[all …]
/hardware/nxp/nfc/halimpl/utils/
DphNxpConfig.cpp131 bool getValue(const char* name, char* pValue, size_t len) const;
134 bool getValue(const char* name, char* pValue, long len, long* readlen) const;
489 bool CNfcConfig::getValue(const char* name, char* pValue, size_t len) const { in getValue() argument
494 memset(pValue, 0, len); in getValue()
495 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
501 bool CNfcConfig::getValue(const char* name, char* pValue, long len, in getValue() argument
508 memset(pValue, 0, len); in getValue()
509 memcpy(pValue, pParam->str_value(), pParam->str_len()); in getValue()
752 extern "C" int GetNxpStrValue(const char* name, char* pValue, in GetNxpStrValue() argument
756 return rConfig.getValue(name, pValue, len); in GetNxpStrValue()
[all …]
DphNxpConfig.h48 int GetNxpByteArrayValue(const char* name, char* pValue, long bufflen,
/hardware/st/nfc/1.0/adaptation/
Dconfig.cpp63 bool getValue(const char* name, char* pValue, size_t& len) const;
389 bool CNfcConfig::getValue(const char* name, char* pValue, size_t& len) const { in getValue() argument
391 if (pParam == NULL || pValue== NULL) return false; in getValue()
394 memset(pValue, 0, len); in getValue()
396 memcpy(pValue, pParam->str_value(), len); in getValue()
603 extern "C" int GetStrValue(const char* name, char* pValue, unsigned long l) { in GetStrValue() argument
607 return rConfig.getValue(name, pValue, len); in GetStrValue()
619 extern "C" int GetNumValue(const char* name, void* pValue, unsigned long len) { in GetNumValue() argument
620 if (!pValue) return false; in GetNumValue()
636 *(static_cast<unsigned long*>(pValue)) = (unsigned long)v; in GetNumValue()
[all …]
/hardware/interfaces/automotive/vehicle/2.0/default/tests/
DVehicleHalManager_test.cpp56 VehiclePropValuePtr pValue; in get() local
62 pValue = getValuePool()->obtainString(kCarMake); in get()
69 pValue = getValuePool()->obtainFloat(42.42); in get()
74 pValue = getValuePool()->obtainComplex(); in get()
75 pValue->value.int32Values = hidl_vec<int32_t> { 10, 20 }; in get()
76 pValue->value.int64Values = hidl_vec<int64_t> { 30, 40 }; in get()
77 pValue->value.floatValues = hidl_vec<float_t> { 1.1, 2.2 }; in get()
78 pValue->value.bytes = hidl_vec<uint8_t> { 1, 2, 3 }; in get()
79 pValue->value.stringValue = kCarMake; in get()
86 pValue = getValuePool()->obtain(mValues[key]); in get()
[all …]
/hardware/st/secure_element/ese-spi-driver/utils-lib/
Dandroid_logmsg.h33 extern int GetByteArrayValue(const char* name, char* pValue, long bufflen,
35 extern int GetStrValue(const char* name, char* pValue, unsigned long l);
/hardware/st/nfc/st21nfc/include/
Dandroid_logmsg.h37 extern int GetByteArrayValue(const char* name, char* pValue, long bufflen,
39 extern int GetStrValue(const char* name, char* pValue, unsigned long l);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera.c2615 char *pValue) { in cam_get_dbg_level() argument
2619 if (!strcmp(pValue, "none")) { in cam_get_dbg_level()
2621 } else if (!strcmp(pValue, "warn")) { in cam_get_dbg_level()
2623 } else if (!strcmp(pValue, "debug")) { in cam_get_dbg_level()
2625 } else if (!strcmp(pValue, "error")) { in cam_get_dbg_level()
2627 } else if (!strcmp(pValue, "low")) { in cam_get_dbg_level()
2629 } else if (!strcmp(pValue, "high")) { in cam_get_dbg_level()
2631 } else if (!strcmp(pValue, "info")) { in cam_get_dbg_level()
2634 ALOGE("Invalid %s debug log level %s\n", module, pValue); in cam_get_dbg_level()
/hardware/interfaces/automotive/vehicle/2.0/default/common/src/
DVehicleHalManager.cpp240 for (VehiclePropValue* pValue : cv.values) { in onBatchHalEvent()
241 shallowCopy(&(vec)[i++], *pValue); in onBatchHalEvent()