Home
last modified time | relevance | path

Searched refs:num_params (Results 1 – 20 of 20) sorted by relevance

/system/nfc/src/nfa/dm/
Dnfa_dm_discover.cc94 uint8_t num_params = 0; in nfa_dm_get_rf_discover_config() local
110 disc_params[num_params].type = NFC_DISCOVERY_TYPE_POLL_A; in nfa_dm_get_rf_discover_config()
111 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pa; in nfa_dm_get_rf_discover_config()
112 num_params++; in nfa_dm_get_rf_discover_config()
114 if (num_params >= max_params) return num_params; in nfa_dm_get_rf_discover_config()
119 disc_params[num_params].type = NFC_DISCOVERY_TYPE_POLL_B; in nfa_dm_get_rf_discover_config()
120 disc_params[num_params].frequency = p_nfa_dm_rf_disc_freq_cfg->pb; in nfa_dm_get_rf_discover_config()
121 num_params++; in nfa_dm_get_rf_discover_config()
123 if (num_params >= max_params) return num_params; in nfa_dm_get_rf_discover_config()
128 disc_params[num_params].type = NFC_DISCOVERY_TYPE_POLL_F; in nfa_dm_get_rf_discover_config()
[all …]
/system/bt/btif/src/
Dbtif_sdp_server.cc404 protoList[0].num_params = 0; in add_maps_sdp()
406 protoList[1].num_params = 1; in add_maps_sdp()
409 protoList[2].num_params = 0; in add_maps_sdp()
491 protoList[0].num_params = 0; in add_mapc_sdp()
493 protoList[1].num_params = 1; in add_mapc_sdp()
496 protoList[2].num_params = 0; in add_mapc_sdp()
611 protoList[0].num_params = 0; in add_pbaps_sdp()
613 protoList[1].num_params = 1; in add_pbaps_sdp()
616 protoList[2].num_params = 0; in add_pbaps_sdp()
699 protoList[0].num_params = 0; in add_opps_sdp()
[all …]
Dbtif_sock_sdp.cc112 proto_list[0].num_params = 0; in create_base_record()
114 proto_list[1].num_params = 1; in create_base_record()
119 proto_list[2].num_params = 0; in create_base_record()
/system/bt/stack/avrc/
Davrc_sdp.cc224 avrc_proto_desc_list[0].num_params = 1; in AVRC_AddRecord()
229 avrc_proto_desc_list[index].num_params = 1; in AVRC_AddRecord()
241 avrc_add_proto_desc_list.list_elem[0].num_params = 1; in AVRC_AddRecord()
245 avrc_add_proto_desc_list.list_elem[1].num_params = 1; in AVRC_AddRecord()
/system/bt/stack/hid/
Dhidd_api.cc199 proto_list[0].num_params = 1; in HID_DevAddRecord()
203 proto_list[1].num_params = 0; in HID_DevAddRecord()
221 add_proto_list.list_elem[0].num_params = 1; in HID_DevAddRecord()
224 add_proto_list.list_elem[1].num_params = 0; in HID_DevAddRecord()
/system/keymaster/km_openssl/
Dsoft_keymaster_enforcement.cpp149 size_t num_chunks = params_array.num_params * 2; in ComputeSharedHmac()
155 for (auto& params : array_range(params_array.params_array, params_array.num_params)) { in ComputeSharedHmac()
/system/bt/stack/a2dp/
Da2dp_api.cc196 proto_list[0].num_params = 1; in A2DP_AddRecord()
199 proto_list[1].num_params = 1; in A2DP_AddRecord()
/system/bt/bta/hf_client/
Dbta_hf_client_sdp.cc108 proto_elem_list[0].num_params = 0; in bta_hf_client_add_record()
110 proto_elem_list[1].num_params = 1; in bta_hf_client_add_record()
/system/keymaster/android_keymaster/
Dandroid_keymaster_messages.cpp598 for (size_t i = 0; i < num_params; ++i) { in SerializedSize()
605 buf = append_uint32_to_buf(buf, end, num_params); in Serialize()
606 for (size_t i = 0; i < num_params; ++i) { in Serialize()
613 if (!copy_uint32_from_buf(buf_ptr, end, &num_params)) return false; in Deserialize()
614 params_array = new (std::nothrow) HmacSharingParameters[num_params]; in Deserialize()
616 for (size_t i = 0; i < num_params; ++i) { in Deserialize()
/system/bt/stack/sdp/
Dsdp_api.cc645 p_elem->num_params = 0; in sdp_fill_proto_elem()
654 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u16; in sdp_fill_proto_elem()
656 p_elem->params[p_elem->num_params++] = p_sattr->attr_value.v.u8; in sdp_fill_proto_elem()
658 if (p_elem->num_params >= SDP_MAX_PROTOCOL_PARAMS) break; in sdp_fill_proto_elem()
Dsdp_db.cc211 len = 3 + (p_elem_list->num_params * 3); in sdp_compose_proto_list()
225 for (yy = 0; yy < p_elem_list->num_params; yy++) { in sdp_compose_proto_list()
Dsdp_utils.cc206 if (protocol_elements.num_params >= 1) { in sdpu_log_attribute_metrics()
/system/bt/bta/ag/
Dbta_ag_sdp.cc149 proto_elem_list[0].num_params = 0; in bta_ag_add_record()
151 proto_elem_list[1].num_params = 1; in bta_ag_add_record()
/system/keymaster/include/keymaster/
Dandroid_keymaster_messages.h709 HmacSharingParametersArray() : params_array(nullptr), num_params(0) {} in HmacSharingParametersArray()
713 num_params = other.num_params; in HmacSharingParametersArray()
715 other.num_params = 0; in HmacSharingParametersArray()
724 size_t num_params; member
/system/bt/stack/include/
Dsdp_api.h135 uint16_t num_params; member
/system/nfc/src/nfc/nfc/
Dnfc_main.cc881 tNFC_STATUS NFC_DiscoveryStart(uint8_t num_params, in NFC_DiscoveryStart() argument
896 params_size = sizeof(tNFC_DISCOVER_PARAMS) * num_params; in NFC_DiscoveryStart()
901 *p++ = num_params; in NFC_DiscoveryStart()
/system/bt/stack/gatt/
Dgatt_utils.cc802 proto_elem_list[0].num_params = 1; in gatt_add_sdp_record()
805 proto_elem_list[1].num_params = 2; in gatt_add_sdp_record()
/system/nfc/src/nfc/include/
Dnfc_api.h971 extern tNFC_STATUS NFC_DiscoveryStart(uint8_t num_params,
/system/keymaster/ng/
DAndroidKeymaster4Device.cpp247 request.params_array.num_params = params.size(); in computeSharedHmac()
/system/keymaster/tests/
Dandroid_keymaster_test.cpp4326 req.params_array.num_params = paramsVec.size(); in ComputeSharedHmac()