Home
last modified time | relevance | path

Searched refs:mAttributes (Results 1 – 8 of 8) sorted by relevance

/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
36 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
73 return mAttributes; in attributes()
77 return mAttributes[attribute]; in get_attribute()
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
97 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
Dcpp_bindings.cpp532 if (mAttributes[i] != NULL) { in log()
550 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dcpp_bindings.h30 struct nlattr *mAttributes[NL80211_ATTR_MAX_INTERNAL + 1]; variable
36 memset(mAttributes, 0, sizeof(mAttributes)); in WifiEvent()
73 return mAttributes; in attributes()
77 return mAttributes[attribute]; in get_attribute()
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
97 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; in get_len()
101 return mAttributes[attribute] ? nla_data(mAttributes[attribute]) : NULL; in get_data()
Dcpp_bindings.cpp540 int result = nla_parse(mAttributes, NL80211_ATTR_MAX_INTERNAL, genlmsg_attrdata(mHeader, 0), in parse()
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp1585 mAttributes[attribute] = value; in setAttribute()
1589 if (mAttributes.count(attribute) == 0) { in getAttribute()
1592 return mAttributes.at(attribute); in getAttribute()
1669 "%u x %u", mAttributes.at(HWC2::Attribute::Width), in toString()
1670 mAttributes.at(HWC2::Attribute::Height)); in toString()
1673 if (mAttributes.count(HWC2::Attribute::VsyncPeriod) != 0) { in toString()
1676 1e9 / mAttributes.at(HWC2::Attribute::VsyncPeriod)); in toString()
1680 if (mAttributes.count(HWC2::Attribute::DpiX) != 0 && in toString()
1681 mAttributes.at(HWC2::Attribute::DpiX) != -1) { in toString()
1685 static_cast<float>(mAttributes.at(HWC2::Attribute::DpiX)) / 1000.0f, in toString()
[all …]
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp1670 mAttributes[attribute] = value; in setAttribute()
1675 if (mAttributes.count(attribute) == 0) { in getAttribute()
1678 return mAttributes.at(attribute); in getAttribute()
1762 "%u x %u", mAttributes.at(HWC2::Attribute::Width), in toString()
1763 mAttributes.at(HWC2::Attribute::Height)); in toString()
1766 if (mAttributes.count(HWC2::Attribute::VsyncPeriod) != 0) { in toString()
1769 1e9 / mAttributes.at(HWC2::Attribute::VsyncPeriod)); in toString()
1773 if (mAttributes.count(HWC2::Attribute::DpiX) != 0 && in toString()
1774 mAttributes.at(HWC2::Attribute::DpiX) != -1) { in toString()
1778 mAttributes.at(HWC2::Attribute::DpiX) / 1000.0f, in toString()
[all …]
DHWC2On1Adapter.h251 mAttributes() {} in Config()
283 std::unordered_map<HWC2::Attribute, int32_t> mAttributes; variable
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/include/hwc2on1adapter/
DHWC2On1Adapter.h287 mAttributes() {} in Config()
319 std::unordered_map<HWC2::Attribute, int32_t> mAttributes; variable