Home
last modified time | relevance | path

Searched refs:GetBool (Results 1 – 11 of 11) sorted by relevance

/drivers/hdf_core/framework/utils/src/hcs_parser/
Ddevice_resource_if.c16 instance->GetBool = HcsGetBool; in HcsIfaceConstruct()
/drivers/hdf_core/framework/model/misc/vibrator/driver/src/
Dvibrator_parser.c43 ret = parser->GetBool(infoNode, "isSupportIntensity"); in ParseVibratorInfo()
45 ret = parser->GetBool(infoNode, "isSupportFrequency"); in ParseVibratorInfo()
Dvibrator_haptic.c137 supportPresetFlag = parser->GetBool(vibratorAttrNode, "supportPreset"); in ParserVibratorHapticConfig()
/drivers/hdf_core/interfaces/inner_api/utils/
Ddevice_resource_if.h112 bool (*GetBool)(const struct DeviceResourceNode *node, const char *attrName); member
/drivers/hdf_core/framework/test/unittest/utils/hcs_parser/unittest/
Dhcs_config_test.c156 bool primaryMic = g_devResInstance->GetBool(audioNode, "builtin_primary_mic_exist"); in TestHcsAttrGetBoolSuccess()
167 dualFinger = g_devResInstance->GetBool(fingerNode, DUAL_FINGERPRINT); in TestHcsAttrGetBoolSuccess()
195 testReadBool = g_devResInstance->GetBool(audioNode, INVALID_STRING); in TestHcsAttrGetBoolFailed()
205 testReadBool = g_devResInstance->GetBool(fingerNode, INVALID_STRING); in TestHcsAttrGetBoolFailed()
210 testReadBool = g_devResInstance->GetBool(NULL, INVALID_STRING); in TestHcsAttrGetBoolFailed()
215 testReadBool = g_devResInstance->GetBool(fingerNode, NULL); in TestHcsAttrGetBoolFailed()
/drivers/peripheral/codec/image/config/
Dcodec_image_config.cpp135 cap.isSoftwareCodec = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC); in GetOneCapability()
/drivers/peripheral/codec/hal/idl_service/src/
Dcodec_component_config.cpp207 cap.isSoftwareCodec = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC); in GetOneCapability()
208 cap.canSwapWidthHeight = iface.GetBool(&childNode, CODEC_CONFIG_KEY_CAN_SWAP_WIDTH_HEIGHT); in GetOneCapability()
/drivers/peripheral/codec/hal/src/
Dcodec_config_parser.c265 cap->isSoftwareCodec = iface->GetBool(childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC); in GetOneCapability()
266 cap->canSwapWidthHeight = iface->GetBool(childNode, CODEC_CONFIG_KEY_CAN_SWAP_WIDTH_HEIGHT); in GetOneCapability()
/drivers/hdf_core/framework/test/unittest/platform/virtual/
Dregulator_virtual.c207 regNode->regulatorInfo.constraints.alwaysOn = drsOps->GetBool(node, "alwaysOn"); in VirtualRegulatorReadHcs()
/drivers/hdf_core/adapter/platform/uart/
Duart_bes.c551 resource->txDMA = dri->GetBool(resourceNode, "txDMA"); in GetUartDeviceResource()
552 resource->rxDMA = dri->GetBool(resourceNode, "rxDMA"); in GetUartDeviceResource()
/drivers/peripheral/codec/hdi_service/codec_service_stub/
Dcodec_config_parser.c319 cap->isSoftwareCodec = iface->GetBool(childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC); in GetOneCapability()