Home
last modified time | relevance | path

Searched refs:num_val (Results 1 – 15 of 15) sorted by relevance

/packages/modules/Bluetooth/system/bta/test/
Dbta_sec_test.cc78 .num_val = kNumVal, in TEST_F()
92 ASSERT_EQ(kNumVal, bta_dm_sec_cb.num_val); in TEST_F()
99 ASSERT_EQ(kNumVal, cfm_req.num_val); in TEST_F()
128 .num_val = kNumVal, in TEST_F()
141 ASSERT_EQ(kNumVal, bta_dm_sec_cb.num_val); in TEST_F()
167 .num_val = kNumVal, in TEST_F()
180 ASSERT_EQ(kNumVal, bta_dm_sec_cb.num_val); in TEST_F()
186 ASSERT_EQ(kNumVal, cfm_req.num_val); in TEST_F()
223 ASSERT_EQ(kPassKey, bta_dm_sec_cb.num_val); in TEST_F()
/packages/modules/Bluetooth/system/stack/avrc/
Davrc_pars_tg.cc201 BE_STREAM_TO_UINT8(p_result->set_app_val.num_val, p); in avrc_pars_vendor_cmd()
203 if (p_buf && (len == ((p_result->set_app_val.num_val << 1) + 1))) { in avrc_pars_vendor_cmd()
207 ((xx < p_result->set_app_val.num_val) && (buf_len > size_needed)); in avrc_pars_vendor_cmd()
215 if (xx != p_result->set_app_val.num_val) { in avrc_pars_vendor_cmd()
219 xx, p_result->set_app_val.num_val); in avrc_pars_vendor_cmd()
220 p_result->set_app_val.num_val = xx; in avrc_pars_vendor_cmd()
237 BE_STREAM_TO_UINT8(p_result->get_app_val_txt.num_val, p); in avrc_pars_vendor_cmd()
239 p_result->get_app_val_txt.num_val) in avrc_pars_vendor_cmd()
242 if (p_result->get_app_val_txt.num_val > AVRC_MAX_APP_ATTR_SIZE) { in avrc_pars_vendor_cmd()
243 p_result->get_app_val_txt.num_val = AVRC_MAX_APP_ATTR_SIZE; in avrc_pars_vendor_cmd()
[all …]
Davrc_pars_ct.cc606 p_result->list_app_values.num_val = 0; in avrc_ctrl_pars_vendor_rsp()
610 BE_STREAM_TO_UINT8(p_result->list_app_values.num_val, p); in avrc_ctrl_pars_vendor_rsp()
611 if (p_result->list_app_values.num_val > AVRC_MAX_APP_ATTR_SIZE) { in avrc_ctrl_pars_vendor_rsp()
612 p_result->list_app_values.num_val = AVRC_MAX_APP_ATTR_SIZE; in avrc_ctrl_pars_vendor_rsp()
615 log::verbose("value count = {}", p_result->list_app_values.num_val); in avrc_ctrl_pars_vendor_rsp()
616 min_len += p_result->list_app_values.num_val; in avrc_ctrl_pars_vendor_rsp()
618 for (int xx = 0; xx < p_result->list_app_values.num_val; xx++) { in avrc_ctrl_pars_vendor_rsp()
625 p_result->get_cur_app_val.num_val = 0; in avrc_ctrl_pars_vendor_rsp()
629 BE_STREAM_TO_UINT8(p_result->get_cur_app_val.num_val, p); in avrc_ctrl_pars_vendor_rsp()
630 log::verbose("attr count = {}", p_result->get_cur_app_val.num_val); in avrc_ctrl_pars_vendor_rsp()
[all …]
Davrc_bld_ct.cc291 uint8_t param_len = p_cmd->num_val + 1; in avrc_bld_get_player_app_setting_value_text_cmd()
294 UINT8_TO_BE_STREAM(p_data, p_cmd->num_val); in avrc_bld_get_player_app_setting_value_text_cmd()
295 for (int count = 0; count < p_cmd->num_val; count++) { in avrc_bld_get_player_app_setting_value_text_cmd()
647 p_pkt, p_cmd->set_app_val.num_val, p_cmd->set_app_val.p_vals); in AVRC_BldCommand()
Davrc_bld_tg.cc189 *p_num = p_rsp->num_val; in avrc_bld_list_app_settings_values_rsp()
193 *p_num += p_rsp->num_val; in avrc_bld_list_app_settings_values_rsp()
196 for (xx = 0; xx < p_rsp->num_val; xx++) { in avrc_bld_list_app_settings_values_rsp()
243 for (xx = 0; xx < p_rsp->num_val; xx++) { in avrc_bld_get_cur_app_setting_value_rsp()
/packages/modules/Bluetooth/system/include/hardware/
Dbt_rc.h201 uint8_t num_val; member
207 uint8_t num_val; member
319 uint8_t attr_id, uint8_t num_val, uint8_t* p_vals,
457 int num_val, uint8_t* p_vals);
477 const RawAddress& bd_addr, int num_val,
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_sec_int.h59 uint32_t num_val; /* the numeric value for comparison. If just_works, do not member
Dbta_dm_sec.cc222 bta_dm_sec_cb.num_val; /* get PIN code numeric number */ in bta_dm_pinname_cback()
244 bta_dm_sec_cb.num_val; /* get PIN code numeric number */ in bta_dm_pinname_cback()
433 bta_dm_sec_cb.num_val = sec_event.key_notif.passkey = in bta_dm_sp_cback()
/packages/modules/Bluetooth/system/stack/include/
Davrc_defs.h1131 uint8_t num_val; member
1150 uint8_t num_val; member
1354 uint8_t num_val; member
1364 uint8_t num_val; member
Dbtm_sec_api_types.h315 uint32_t num_val; /* the numeric value for comparison. If just_works, do not member
/packages/modules/Bluetooth/system/btif/src/
Dbtif_rc.cc3498 p_app_settings->attrs[attr_index].num_val = p_rsp->num_val; in handle_app_val_response()
3499 for (xx = 0; xx < p_rsp->num_val; xx++) { in handle_app_val_response()
3523 p_app_settings->ext_attrs[attr_index].num_val = p_rsp->num_val; in handle_app_val_response()
3524 for (xx = 0; xx < p_rsp->num_val; xx++) { in handle_app_val_response()
3574 app_settings.num_attr = p_rsp->num_val; in handle_app_cur_val_response()
3666 xx < p_app_settings->ext_attrs[0].num_val && xx < BTRC_MAX_APP_ATTR_SIZE; in handle_app_attr_txt_response()
3716 for (x = 0; x < p_ext_attr->num_val && x < BTRC_MAX_APP_ATTR_SIZE; x++) in handle_app_attr_val_txt_response()
3718 p_ext_attr->num_val = 0; in handle_app_attr_val_txt_response()
3757 for (xx = 0; xx < p_app_settings->ext_attrs[attr_index].num_val; xx++) { in handle_app_attr_val_txt_response()
3800 for (x = 0; x < p_ext_attr->num_val && x < BTRC_MAX_APP_ATTR_SIZE; x++) { in cleanup_app_attr_val_txt_response()
[all …]
Dbtif_dm.cc1131 p_ssp_cfm_req->num_val)); in btif_dm_ssp_cfm_req_evt()
1136 p_ssp_cfm_req->num_val); in btif_dm_ssp_cfm_req_evt()
/packages/modules/Bluetooth/system/bta/include/
Dbta_sec_api.h186 uint32_t num_val; /* the numeric value for comparison. If just_works, do not member
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_avrcp_controller.cpp126 arraylen += 2 + app_attrs[i].num_val; in btavrcp_playerapplicationsetting_callback()
142 (jbyte*)&(app_attrs[i].num_val)); in btavrcp_playerapplicationsetting_callback()
145 app_attrs[i].num_val, in btavrcp_playerapplicationsetting_callback()
147 k = k + app_attrs[i].num_val; in btavrcp_playerapplicationsetting_callback()
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_sec.cc2816 evt_data.cfm_req.num_val = value; in btm_proc_sp_req_evt()
2817 log::verbose("num_val:{}", evt_data.cfm_req.num_val); in btm_proc_sp_req_evt()