Lines Matching defs:childNode
91 struct DeviceResourceNode *childNode = nullptr;
99 DEV_RES_NODE_FOR_EACH_CHILD_NODE(codecGroupNode, childNode)
102 if (GetOneCapability(*iface, *childNode, cap) != HDF_SUCCESS) {
112 const struct DeviceResourceNode &childNode, CodecImageCapability &cap)
115 auto ret = iface.GetString(&childNode, CODEC_CONFIG_KEY_NAME, &name, "");
120 if (iface.GetUint32(&childNode, CODEC_CONFIG_KEY_ROLE, reinterpret_cast<uint32_t *>(&cap.role),
123 CODEC_LOGE("failed to get role for: %{public}s! Discarded", childNode.name);
127 if (iface.GetUint32(&childNode, CODEC_CONFIG_KEY_TYPE, reinterpret_cast<uint32_t *>(&cap.type),
131 CODEC_LOGE("failed to get type for: %{public}s! Discarded", childNode.name);
135 cap.isSoftwareCodec = iface.GetBool(&childNode, CODEC_CONFIG_KEY_IS_SOFTWARE_CODEC);
149 auto err = iface.GetUint32(&childNode, nodeAttrs[i].attrName.c_str(),
153 childNode.name, nodeAttrs[i].attrName.c_str());
157 ret = GetUintTableConfig(iface, childNode, attr);