Home
last modified time | relevance | path

Searched refs:attrib (Results 1 – 25 of 60) sorted by relevance

123

/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp586 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
620 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
654 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.tos_value in IPACM_firewall_xml_parse_tree()
672 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Wan.cpp278 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
282 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
283 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
284 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
285 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
286 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
377 memcpy(&flt_rule_entry.rule.attrib, &rx_prop->rx[0].attrib, sizeof(flt_rule_entry.rule.attrib)); in handle_addr_evt()
[all …]
DIPACM_Iface.cpp139 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
140 &rx_prop->rx[0].attrib, in handle_software_routing_enable()
141 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
568 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
620 cnt, rx_prop->rx[cnt].attrib.attrib_mask, rx_prop->rx[cnt].ip, rx_prop->rx[cnt].src_pipe); in query_iface_property()
712 IPACMDBG_H("rx property attrib mask:0x%x\n", rx_prop->rx[0].attrib.attrib_mask); in init_fl_rule()
713 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
714 &rx_prop->rx[0].attrib, in init_fl_rule()
715 sizeof(flt_rule_entry.rule.attrib)); in init_fl_rule()
717 flt_rule_entry.rule.attrib.attrib_mask |= IPA_FLT_FRAGMENT; in init_fl_rule()
[all …]
DIPACM_Lan.cpp1335 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1337 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1338 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1404 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1405 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1406 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1407 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1408 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1409 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1410 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp1552 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1553 &tx_prop->tx[tx_index].attrib, in handle_wlan_client_route_rule()
1554 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1555 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1557 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1558 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1593 memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1595 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1596 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1597 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
DIPACM_Xml.cpp586 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
620 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
654 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
680 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Wan.cpp273 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
372 memcpy(&flt_rule_entry.rule.attrib, &rx_prop->rx[0].attrib, sizeof(flt_rule_entry.rule.attrib)); in handle_addr_evt()
[all …]
DIPACM_Iface.cpp139 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
140 &rx_prop->rx[0].attrib, in handle_software_routing_enable()
141 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
568 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
620 cnt, rx_prop->rx[cnt].attrib.attrib_mask, rx_prop->rx[cnt].ip, rx_prop->rx[cnt].src_pipe); in query_iface_property()
709 IPACMDBG_H("rx property attrib mask:0x%x\n", rx_prop->rx[0].attrib.attrib_mask); in init_fl_rule()
710 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
711 &rx_prop->rx[0].attrib, in init_fl_rule()
712 sizeof(flt_rule_entry.rule.attrib)); in init_fl_rule()
714 flt_rule_entry.rule.attrib.attrib_mask |= IPA_FLT_FRAGMENT; in init_fl_rule()
[all …]
DIPACM_Lan.cpp1324 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1326 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1327 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1393 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1394 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1395 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1396 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1397 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1398 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1399 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp1491 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1492 &tx_prop->tx[tx_index].attrib, in handle_wlan_client_route_rule()
1493 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1494 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1496 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1497 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1532 memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1534 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1535 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1536 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
DIPACM_Xml.cpp586 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
599 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr in IPACM_firewall_xml_parse_tree()
613 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.src_addr_mask in IPACM_firewall_xml_parse_tree()
620 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
633 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr in IPACM_firewall_xml_parse_tree()
647 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.dst_addr_mask in IPACM_firewall_xml_parse_tree()
654 …config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.attrib_mask |= IPA_FLT… in IPACM_firewall_xml_parse_tree()
666 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
669 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos); in IPACM_firewall_xml_parse_tree()
680 config->extd_firewall_entries[config->num_extd_firewall_entries - 1].attrib.u.v4.tos in IPACM_firewall_xml_parse_tree()
[all …]
DIPACM_Wan.cpp273 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
274 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
275 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
276 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
277 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
278 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
279 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
280 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[2] = 0xFFFFFFFF; in handle_addr_evt()
281 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[3] = 0xFFFFFFFF; in handle_addr_evt()
372 memcpy(&flt_rule_entry.rule.attrib, &rx_prop->rx[0].attrib, sizeof(flt_rule_entry.rule.attrib)); in handle_addr_evt()
[all …]
DIPACM_Iface.cpp139 memcpy(&flt_rule_entry.rule.attrib, in handle_software_routing_enable()
140 &rx_prop->rx[0].attrib, in handle_software_routing_enable()
141 sizeof(flt_rule_entry.rule.attrib)); in handle_software_routing_enable()
562 cnt, tx_prop->tx[cnt].attrib.attrib_mask, in query_iface_property()
614 cnt, rx_prop->rx[cnt].attrib.attrib_mask, rx_prop->rx[cnt].ip, rx_prop->rx[cnt].src_pipe); in query_iface_property()
710 IPACMDBG_H("rx property attrib mask:0x%x\n", rx_prop->rx[0].attrib.attrib_mask); in init_fl_rule()
711 memcpy(&flt_rule_entry.rule.attrib, in init_fl_rule()
712 &rx_prop->rx[0].attrib, in init_fl_rule()
713 sizeof(flt_rule_entry.rule.attrib)); in init_fl_rule()
715 flt_rule_entry.rule.attrib.attrib_mask |= IPA_FLT_FRAGMENT; in init_fl_rule()
[all …]
DIPACM_Lan.cpp1168 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1170 rt_rule_entry->rule.attrib.u.v4.dst_addr = data->ipv4_addr; in handle_addr_evt()
1171 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_addr_evt()
1231 rt_rule_entry->rule.attrib.attrib_mask = IPA_FLT_DST_ADDR; in handle_addr_evt()
1232 rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = data->ipv6_addr[0]; in handle_addr_evt()
1233 rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = data->ipv6_addr[1]; in handle_addr_evt()
1234 rt_rule_entry->rule.attrib.u.v6.dst_addr[2] = data->ipv6_addr[2]; in handle_addr_evt()
1235 rt_rule_entry->rule.attrib.u.v6.dst_addr[3] = data->ipv6_addr[3]; in handle_addr_evt()
1236 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[0] = 0xFFFFFFFF; in handle_addr_evt()
1237 rt_rule_entry->rule.attrib.u.v6.dst_addr_mask[1] = 0xFFFFFFFF; in handle_addr_evt()
[all …]
DIPACM_Wlan.cpp1418 memcpy(&rt_rule_entry->rule.attrib, in handle_wlan_client_route_rule()
1419 &tx_prop->tx[tx_index].attrib, in handle_wlan_client_route_rule()
1420 sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1421 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1423 rt_rule_entry->rule.attrib.u.v4.dst_addr = get_client_memptr(wlan_client, wlan_index)->v4_addr; in handle_wlan_client_route_rule()
1424 rt_rule_entry->rule.attrib.u.v4.dst_addr_mask = 0xFFFFFFFF; in handle_wlan_client_route_rule()
1456 memset(&rt_rule_entry->rule.attrib, 0, sizeof(rt_rule_entry->rule.attrib)); in handle_wlan_client_route_rule()
1458 rt_rule_entry->rule.attrib.attrib_mask |= IPA_FLT_DST_ADDR; in handle_wlan_client_route_rule()
1459 …rt_rule_entry->rule.attrib.u.v6.dst_addr[0] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
1460 …rt_rule_entry->rule.attrib.u.v6.dst_addr[1] = get_client_memptr(wlan_client, wlan_index)->v6_addr[… in handle_wlan_client_route_rule()
[all …]
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/
Ddisplay_hdmi.cpp170 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
172 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
177 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
184 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
195 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8909/sdm/libs/core/
Ddisplay_hdmi.cpp170 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
172 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
177 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
184 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
189 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
191 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
192 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
194 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
195 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8996/sdm/libs/core/
Ddisplay_hdmi.cpp177 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
179 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
184 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
191 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
196 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
198 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
199 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
201 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
202 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/display/msm8998/sdm/libs/core/
Ddisplay_hdmi.cpp169 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
171 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
176 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
183 if (!attrib[index].s3d_config[s3d_mode]) in GetBestConfig()
188 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
190 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
191 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
193 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
194 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/qcom/sdm845/display/sdm/libs/core/
Ddisplay_hdmi.cpp177 std::vector<HWDisplayAttributes> attrib(num_modes); in GetBestConfig() local
179 hw_intf_->GetDisplayAttributes(index, &attrib[index]); in GetBestConfig()
184 if (attrib[index].s3d_config[s3d_mode]) { in GetBestConfig()
195 if (attrib[index].x_pixels > attrib[best_index].x_pixels) { in GetBestConfig()
197 } else if (attrib[index].x_pixels == attrib[best_index].x_pixels) { in GetBestConfig()
198 if (attrib[index].y_pixels > attrib[best_index].y_pixels) { in GetBestConfig()
200 } else if (attrib[index].y_pixels == attrib[best_index].y_pixels) { in GetBestConfig()
201 if (attrib[index].vsync_period_ns < attrib[best_index].vsync_period_ns) { in GetBestConfig()
/hardware/google/av/media/sfplugin/
DCCodecConfig.h154 C2ParamDescriptor::attrib_t attrib = C2ParamDescriptor::IS_READ_ONLY,
183 mParamUpdater->addStandardParam<T>(name, attrib);
194 C2ParamDescriptor::attrib_t attrib = C2ParamDescriptor::IS_READ_ONLY,
197 if (addLocalParam<T>(name, attrib, validator_)) {
214 C2ParamDescriptor::attrib_t attrib = C2ParamDescriptor::IS_READ_ONLY,
217 return addLocalParam(std::unique_ptr<T>(default_), name, attrib, validator_);
DReflectedParamUpdater.h95 void addStandardParam(const std::string &name, C2ParamDescriptor::attrib_t attrib =
98 C2Param::Index(T::PARAM_TYPE), attrib, name.c_str()),
/hardware/google/av/codec2/include/
DC2.h300 #define DEFINE_C2_CNTR_BINARY_OP(attrib, op, op_assign) \ argument
302 attrib inline c2_cntr_t<T>& operator op_assign(const U &value) { \
308 attrib inline constexpr c2_cntr_t<T> operator op(const U &value) const { \
313 attrib inline constexpr c2_cntr_t<U> operator op(const c2_cntr_t<U> &value) const { \
317 #define DEFINE_C2_CNTR_UNARY_OP(attrib, op) \ argument
318 attrib inline constexpr c2_cntr_t<T> operator op() const { \
322 #define DEFINE_C2_CNTR_CREMENT_OP(attrib, op) \ argument
323 attrib inline c2_cntr_t<T> &operator op() { \
327 attrib inline c2_cntr_t<T> operator op(int) { \
/hardware/google/av/codec2/vndk/include/util/
DC2InterfaceHelper.h352 attrib_t& attrib();
454 attrib() = attrib_t::IS_PERSISTENT;
459 attrib() |= attrib_t::IS_REQUIRED;
465 attrib() &= ~attrib_t::IS_PERSISTENT;
471 attrib() |= attrib_t::IS_HIDDEN;
477 attrib() |= attrib_t::IS_INTERNAL;
512 attrib() |= attrib_t::IS_CONST;
544 attrib() |= attrib_t::IS_STRICT;
626 attrib() |= attrib_t::IS_READ_ONLY;
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp587 HWDisplayAttributes *attrib) { in GetDisplayS3DSupport() argument
597 attrib->s3d_config[kS3DModeNone] = 1; in GetDisplayS3DSupport()
624 attrib->s3d_config[kS3DModeLR] = 1; in GetDisplayS3DSupport()
625 attrib->s3d_config[kS3DModeRL] = 1; in GetDisplayS3DSupport()
627 attrib->s3d_config[kS3DModeTB] = 1; in GetDisplayS3DSupport()
629 attrib->s3d_config[kS3DModeFP] = 1; in GetDisplayS3DSupport()

123