/hardware/google/camera/common/hal/utils/ |
D | utils.cc | 308 camera_metadata_ro_entry_t new_entry; in IsSessionParameterCompatible() local 310 if (new_session->GetByIndex(&new_entry, entry_index) != OK) { in IsSessionParameterCompatible() 317 if (old_session->Get(new_entry.tag, &old_entry) != OK) { in IsSessionParameterCompatible() 318 ALOGW("Unable to get old session tag 0x%x", new_entry.tag); in IsSessionParameterCompatible() 322 if (new_entry.count != old_entry.count) { in IsSessionParameterCompatible() 326 new_entry.count, old_entry.count); in IsSessionParameterCompatible() 330 if (new_entry.tag == ANDROID_CONTROL_AE_TARGET_FPS_RANGE) { in IsSessionParameterCompatible() 337 int32_t new_min_fps = new_entry.data.i32[0]; in IsSessionParameterCompatible() 338 int32_t new_max_fps = new_entry.data.i32[1]; in IsSessionParameterCompatible() 350 int32_t cmp = memcmp(new_entry.data.u8, old_entry.data.u8, entry_size); in IsSessionParameterCompatible()
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 718 void NatApp::AddTempEntry(const nat_table_entry *new_entry) in AddTempEntry() argument 723 iptodot("Private IP", new_entry->private_ip); in AddTempEntry() 724 iptodot("Target IP", new_entry->target_ip); in AddTempEntry() 725 IPACMDBG("Private Port: %d\t Target Port: %d\t", new_entry->private_port, new_entry->target_port); in AddTempEntry() 726 IPACMDBG("protocolcol: %d\n", new_entry->protocol); in AddTempEntry() 728 if(isAlgPort(new_entry->protocol, new_entry->private_port) || in AddTempEntry() 729 isAlgPort(new_entry->protocol, new_entry->target_port)) in AddTempEntry() 735 if(ChkForDup(new_entry)) in AddTempEntry() 742 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 743 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 748 void NatApp::AddTempEntry(const nat_table_entry *new_entry) in AddTempEntry() argument 753 iptodot("Private IP", new_entry->private_ip); in AddTempEntry() 754 iptodot("Target IP", new_entry->target_ip); in AddTempEntry() 755 IPACMDBG("Private Port: %d\t Target Port: %d\t", new_entry->private_port, new_entry->target_port); in AddTempEntry() 756 IPACMDBG("protocolcol: %d\n", new_entry->protocol); in AddTempEntry() 758 if(isAlgPort(new_entry->protocol, new_entry->private_port) || in AddTempEntry() 759 isAlgPort(new_entry->protocol, new_entry->target_port)) in AddTempEntry() 765 if(ChkForDup(new_entry)) in AddTempEntry() 772 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 773 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() [all …]
|
/hardware/qcom/data/ipacfg-mgr/msm8998/ipanat/src/ |
D | ipa_nat_drvi.c | 1024 uint16_t new_entry, new_index_tbl_entry; in ipa_nati_add_ipv4_rule() local 1032 &new_entry, &new_index_tbl_entry)) { in ipa_nati_add_ipv4_rule() 1038 ipa_nati_copy_ipv4_rule_to_hw(tbl_ptr, &sw_rule, new_entry, (uint8_t)(tbl_hdl-1)); in ipa_nati_add_ipv4_rule() 1044 IPADBG("new entry:%d, new index entry: %d\n", new_entry, new_index_tbl_entry); in ipa_nati_add_ipv4_rule() 1045 if (ipa_nati_post_ipv4_dma_cmd((uint8_t)(tbl_hdl - 1), new_entry)) { in ipa_nati_add_ipv4_rule() 1051 *rule_hdl = ipa_nati_make_rule_hdl((uint16_t)tbl_hdl, new_entry); in ipa_nati_add_ipv4_rule() 1114 uint16_t prev = 0, nxt_indx = 0, new_entry; in ipa_nati_generate_tbl_rule() local 1158 new_entry = dst_hash(clnt_rule->target_ip, in ipa_nati_generate_tbl_rule() 1166 if (!Read16BitFieldValue(tbl[new_entry].ip_cksm_enbl, in ipa_nati_generate_tbl_rule() 1169 IPADBG("Destination Nat New Entry Index %d\n", new_entry); in ipa_nati_generate_tbl_rule() [all …]
|
/hardware/qcom/sdm845/data/ipacfg-mgr/ipanat/src/ |
D | ipa_nat_drvi.c | 1102 uint16_t new_entry, new_index_tbl_entry; in ipa_nati_add_ipv4_rule() local 1118 &new_entry, &new_index_tbl_entry)) { in ipa_nati_add_ipv4_rule() 1124 ipa_nati_copy_ipv4_rule_to_hw(tbl_ptr, &sw_rule, new_entry, (uint8_t)(tbl_hdl-1)); in ipa_nati_add_ipv4_rule() 1130 IPADBG("new entry:%d, new index entry: %d\n", new_entry, new_index_tbl_entry); in ipa_nati_add_ipv4_rule() 1131 if (ipa_nati_post_ipv4_dma_cmd((uint8_t)(tbl_hdl - 1), new_entry)) { in ipa_nati_add_ipv4_rule() 1137 *rule_hdl = ipa_nati_make_rule_hdl((uint16_t)tbl_hdl, new_entry); in ipa_nati_add_ipv4_rule() 1200 uint16_t prev = 0, nxt_indx = 0, new_entry; in ipa_nati_generate_tbl_rule() local 1246 new_entry = dst_hash(pub_ip_addr, clnt_rule->target_ip, in ipa_nati_generate_tbl_rule() 1254 if (!Read16BitFieldValue(tbl[new_entry].ip_cksm_enbl, in ipa_nati_generate_tbl_rule() 1257 IPADBG("Destination Nat New Entry Index %d\n", new_entry); in ipa_nati_generate_tbl_rule() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipanat/src/ |
D | ipa_nat_drvi.c | 1103 uint16_t new_entry, new_index_tbl_entry; in ipa_nati_add_ipv4_rule() local 1119 &new_entry, &new_index_tbl_entry)) { in ipa_nati_add_ipv4_rule() 1125 ipa_nati_copy_ipv4_rule_to_hw(tbl_ptr, &sw_rule, new_entry, (uint8_t)(tbl_hdl-1)); in ipa_nati_add_ipv4_rule() 1131 IPADBG("new entry:%d, new index entry: %d\n", new_entry, new_index_tbl_entry); in ipa_nati_add_ipv4_rule() 1132 if (ipa_nati_post_ipv4_dma_cmd((uint8_t)(tbl_hdl - 1), new_entry)) { in ipa_nati_add_ipv4_rule() 1138 *rule_hdl = ipa_nati_make_rule_hdl((uint16_t)tbl_hdl, new_entry); in ipa_nati_add_ipv4_rule() 1201 uint16_t prev = 0, nxt_indx = 0, new_entry; in ipa_nati_generate_tbl_rule() local 1247 new_entry = dst_hash(pub_ip_addr, clnt_rule->target_ip, in ipa_nati_generate_tbl_rule() 1255 if (!Read16BitFieldValue(tbl[new_entry].ip_cksm_enbl, in ipa_nati_generate_tbl_rule() 1258 IPADBG("Destination Nat New Entry Index %d\n", new_entry); in ipa_nati_generate_tbl_rule() [all …]
|
/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/ |
D | IPACM_Conntrack_NATApp.cpp | 989 void NatApp::AddTempEntry(const nat_table_entry *new_entry) in AddTempEntry() argument 994 iptodot("Private IP", new_entry->private_ip); in AddTempEntry() 995 iptodot("Target IP", new_entry->target_ip); in AddTempEntry() 996 IPACMDBG("Private Port: %d\t Target Port: %d\t", new_entry->private_port, new_entry->target_port); in AddTempEntry() 997 IPACMDBG("protocolcol: %d\n", new_entry->protocol); in AddTempEntry() 999 if(isAlgPort(new_entry->protocol, new_entry->private_port) || in AddTempEntry() 1000 isAlgPort(new_entry->protocol, new_entry->target_port)) in AddTempEntry() 1006 if(ChkForDup(new_entry)) in AddTempEntry() 1013 if(temp[cnt].private_ip == new_entry->private_ip && in AddTempEntry() 1014 temp[cnt].target_ip == new_entry->target_ip && in AddTempEntry() [all …]
|