/packages/modules/Bluetooth/system/test/mock/ |
D | mock_stack_avdt_api.cc | 28 uint16_t AVDT_CloseReq(uint8_t /* handle */) { in AVDT_CloseReq() argument 32 uint16_t AVDT_ConfigRsp(uint8_t /* handle */, uint8_t /* label */, in AVDT_ConfigRsp() argument 38 uint8_t /* channel_index */, in AVDT_ConnectReq() argument 43 uint16_t AVDT_CreateStream(uint8_t /* peer_id */, uint8_t* /* p_handle */, in AVDT_CreateStream() argument 48 uint16_t AVDT_DelayReport(uint8_t /* handle */, uint8_t /* seid */, in AVDT_DelayReport() argument 59 uint8_t /* channel_index */, in AVDT_DiscoverReq() argument 67 uint8_t /* channel_index */, uint8_t /* seid */, in AVDT_GetCapReq() argument 74 uint16_t AVDT_GetL2CapChannel(uint8_t /* handle */) { in AVDT_GetL2CapChannel() argument 78 uint16_t AVDT_OpenReq(uint8_t /* handle */, const RawAddress& /* bd_addr */, in AVDT_OpenReq() argument 84 uint16_t AVDT_ReconfigReq(uint8_t /* handle */, AvdtpSepConfig* /* p_cfg */) { in AVDT_ReconfigReq() argument [all …]
|
D | mock_stack_a2dp_codec_config.cc | 36 const uint8_t* /* p_codec_info */) { in findSinkCodecConfig() 41 const uint8_t* /* p_codec_info */) { in findSourceCodecConfig() 66 bool A2DP_AdjustCodec(uint8_t* /* p_codec_info */) { in A2DP_AdjustCodec() argument 70 bool A2DP_BuildCodecHeader(const uint8_t* /* p_codec_info */, in A2DP_BuildCodecHeader() 76 bool A2DP_CodecEquals(const uint8_t* /* p_codec_info_a */, in A2DP_CodecEquals() 81 bool A2DP_CodecTypeEquals(const uint8_t* /* p_codec_info_a */, in A2DP_CodecTypeEquals() 86 bool A2DP_GetPacketTimestamp(const uint8_t* /* p_codec_info */, in A2DP_GetPacketTimestamp() 97 int A2DP_GetEecoderEffectiveFrameSize(const uint8_t* /* p_codec_info */) { in A2DP_GetEecoderEffectiveFrameSize() 101 bool A2DP_IsPeerSinkCodecValid(const uint8_t* /* p_codec_info */) { in A2DP_IsPeerSinkCodecValid() 105 bool A2DP_IsPeerSourceCodecSupported(const uint8_t* /* p_codec_info */) { in A2DP_IsPeerSourceCodecSupported() [all …]
|
D | mock_stack_avrc_api.cc | 32 uint16_t AVRC_Close(uint8_t /* handle */) { in AVRC_Close() argument 36 uint16_t AVRC_CloseBrowse(uint8_t /* handle */) { in AVRC_CloseBrowse() argument 48 uint16_t AVRC_MsgReq(uint8_t /* handle */, uint8_t /* label */, in AVRC_MsgReq() argument 54 uint16_t AVRC_Open(uint8_t* /* p_handle */, tAVRC_CONN_CB* /* p_ccb */, in AVRC_Open() argument 59 uint16_t AVRC_OpenBrowse(uint8_t /* handle */, uint8_t /* conn_role */) { in AVRC_OpenBrowse() argument 72 uint16_t AVRC_PassCmd(uint8_t /* handle */, uint8_t /* label */, in AVRC_PassCmd() argument 77 uint16_t AVRC_PassRsp(uint8_t /* handle */, uint8_t /* label */, in AVRC_PassRsp() argument 82 void avrc_flush_cmd_q(uint8_t /* handle */) { inc_func_call_count(__func__); } in avrc_flush_cmd_q() argument 84 void avrc_send_next_vendor_cmd(uint8_t /* handle */) { in avrc_send_next_vendor_cmd() argument 87 void avrc_start_cmd_timer(uint8_t /* handle */, uint8_t /* label */, in avrc_start_cmd_timer() argument
|
D | mock_btif_co_bta_hh_co.cc | 30 int bta_hh_co_write(int /* fd */, uint8_t* /* rpt */, uint16_t /* len */) { in bta_hh_co_write() argument 35 const tAclLinkSpec& /* link_spec */, uint8_t* /* p_num_rpt */, in bta_hh_le_co_cache_load() argument 43 void bta_hh_co_data(uint8_t /* dev_handle */, uint8_t* /* p_rpt */, in bta_hh_co_data() argument 47 void bta_hh_co_get_rpt_rsp(uint8_t /* dev_handle */, uint8_t /* status */, in bta_hh_co_get_rpt_rsp() argument 48 const uint8_t* /* p_rpt */, uint16_t /* len */) { in bta_hh_co_get_rpt_rsp() 51 bool bta_hh_co_open(uint8_t /* dev_handle */, uint8_t /* sub_class */, in bta_hh_co_open() argument 61 uint8_t /* ctry_code */, int /* dscp_len */, in bta_hh_co_send_hid_info() argument 62 uint8_t* /* p_dscp */) { in bta_hh_co_send_hid_info() argument 65 void bta_hh_co_set_rpt_rsp(uint8_t /* dev_handle */, uint8_t /* status */) { in bta_hh_co_set_rpt_rsp() argument 69 uint8_t /* app_id */) { in bta_hh_le_co_reset_rpt_cache() argument [all …]
|
D | mock_stack_avct_api.cc | 27 uint16_t AVCT_CreateBrowse(uint8_t /* handle */, uint8_t /* role */) { in AVCT_CreateBrowse() argument 31 uint16_t AVCT_CreateConn(uint8_t* /* p_handle */, tAVCT_CC* /* p_cc */, in AVCT_CreateConn() argument 36 uint16_t AVCT_GetBrowseMtu(uint8_t /* handle */) { in AVCT_GetBrowseMtu() argument 40 uint16_t AVCT_GetPeerMtu(uint8_t /* handle */) { in AVCT_GetPeerMtu() argument 44 uint16_t AVCT_MsgReq(uint8_t /* handle */, uint8_t /* label */, in AVCT_MsgReq() argument 49 uint16_t AVCT_RemoveBrowse(uint8_t /* handle */) { in AVCT_RemoveBrowse() argument 53 uint16_t AVCT_RemoveConn(uint8_t /* handle */) { in AVCT_RemoveConn() argument
|
D | mock_bta_hh_api.cc | 44 tBTA_HH_ATTR_MASK /* attr_mask */, uint8_t /* sub_class */, in BTA_HhAddDev() argument 48 void BTA_HhClose(uint8_t /* dev_handle */) { inc_func_call_count(__func__); } in BTA_HhClose() argument 50 void BTA_HhGetDscpInfo(uint8_t /* dev_handle */) { in BTA_HhGetDscpInfo() argument 53 void BTA_HhGetIdle(uint8_t /* dev_handle */) { inc_func_call_count(__func__); } in BTA_HhGetIdle() argument 54 void BTA_HhGetProtoMode(uint8_t /* dev_handle */) { in BTA_HhGetProtoMode() argument 57 void BTA_HhGetReport(uint8_t /* dev_handle */, tBTA_HH_RPT_TYPE /* r_type */, in BTA_HhGetReport() argument 64 void BTA_HhRemoveDev(uint8_t /* dev_handle */) { in BTA_HhRemoveDev() argument 67 void BTA_HhSendCtrl(uint8_t /* dev_handle */, in BTA_HhSendCtrl() argument 71 void BTA_HhSendData(uint8_t /* dev_handle */, in BTA_HhSendData() argument 75 void BTA_HhSetIdle(uint8_t /* dev_handle */, uint16_t /* idle_rate */) { in BTA_HhSetIdle() argument [all …]
|
D | mock_stack_btm_ble_gap.cc | 72 tBTM_STATUS BTM_BleObserve(bool /* start */, uint8_t /* duration */, in BTM_BleObserve() argument 100 tBTM_STATUS btm_ble_start_inquiry(uint8_t /* duration */) { in btm_ble_start_inquiry() argument 114 base::Callback<void(uint8_t)> /* cb */) { in BTM_BleSetScanParams() 117 void btm_ble_decrement_link_topology_mask(uint8_t /* link_role */) { in btm_ble_decrement_link_topology_mask() argument 121 void btm_ble_increment_link_topology_mask(uint8_t /* link_role */) { in btm_ble_increment_link_topology_mask() argument 136 const RawAddress& /* bda */, uint8_t /* primary_phy */, in btm_ble_process_adv_pkt_cont() argument 139 uint8_t /* data_len */, const uint8_t* /* data */, in btm_ble_process_adv_pkt_cont() 145 const RawAddress& /* bda */, uint8_t /* primary_phy */, in btm_ble_process_adv_pkt_cont_for_inquiry() argument 148 std::vector<uint8_t> /* advertising_data */) { in btm_ble_process_adv_pkt_cont_for_inquiry() 151 void btm_ble_read_remote_features_complete(uint8_t* /* p */, in btm_ble_read_remote_features_complete() argument [all …]
|
D | mock_bta_av_ci.cc | 26 uint8_t /* err_code */, uint8_t /* category */, in bta_av_ci_setconfig() argument 27 uint8_t /* num_seid */, uint8_t* /* p_seid */, in bta_av_ci_setconfig() argument
|
D | mock_stack_hidh.cc | 31 uint16_t /* attr_mask */, uint8_t* /* handle */) { in HID_HostAddDev() argument 35 tHID_STATUS HID_HostCloseDev(uint8_t /* dev_handle */) { in HID_HostCloseDev() argument 54 tHID_STATUS HID_HostOpenDev(uint8_t /* dev_handle */) { in HID_HostOpenDev() argument 62 tHID_STATUS HID_HostRemoveDev(uint8_t /* dev_handle */) { in HID_HostRemoveDev() argument 66 tHID_STATUS HID_HostWriteDev(uint8_t /* dev_handle */, uint8_t /* t_type */, in HID_HostWriteDev() argument
|
D | mock_stack_arbiter_acl_arbiter.cc | 23 void AclArbiter::OnLeConnect(uint8_t /* tcb_idx */, in OnLeConnect() argument 26 void AclArbiter::OnLeDisconnect(uint8_t /* tcb_idx */) {} in OnLeDisconnect() argument 28 InterceptAction AclArbiter::InterceptAttPacket(uint8_t /* tcb_idx */, in InterceptAttPacket() argument 33 void AclArbiter::OnOutgoingMtuReq(uint8_t /* tcb_idx */) {} in OnOutgoingMtuReq() argument 35 void AclArbiter::OnIncomingMtuResp(uint8_t /* tcb_idx */, size_t /* mtu */) {} in OnIncomingMtuResp() argument 37 void AclArbiter::OnIncomingMtuReq(uint8_t /* tcb_idx */, size_t /* mtu */) {} in OnIncomingMtuReq() argument
|
D | mock_bta_sys_conn.cc | 29 void bta_sys_app_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_app_close() argument 33 void bta_sys_app_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_app_open() argument 37 void bta_sys_busy(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_busy() argument 45 void bta_sys_conn_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_conn_close() argument 49 void bta_sys_conn_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_conn_open() argument 53 void bta_sys_idle(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_idle() argument 71 void bta_sys_reset_sniff(uint8_t /* id */, uint8_t /* app_id */, in bta_sys_reset_sniff() argument 81 void bta_sys_sco_close(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_sco_close() argument 85 void bta_sys_sco_open(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_sco_open() argument 92 void bta_sys_sco_unuse(tBTA_SYS_ID /* id */, uint8_t /* app_id */, in bta_sys_sco_unuse() argument [all …]
|
D | mock_bta_leaudio.cc | 49 const std::vector<uint8_t>& /* handles */, in AddFromStorage() 57 std::vector<uint8_t>& /* out */) { in GetHandlesForStorage() 63 std::vector<uint8_t>& /* out */) { in GetSinkPacsForStorage() 69 std::vector<uint8_t>& /* out */) { in GetSourcePacsForStorage() 75 std::vector<uint8_t>& /* out */) { in GetAsesForStorage()
|
D | mock_stack_smp_api.cc | 47 void SMP_ConfirmReply(const RawAddress& /* bd_addr */, uint8_t /* res */) { in SMP_ConfirmReply() argument 50 void SMP_Init(uint8_t /* init_security_mode */) { in SMP_Init() argument 54 uint8_t /* len */, uint8_t* /* p_data */) { in SMP_OobDataReply() argument 57 void SMP_PasskeyReply(const RawAddress& /* bd_addr */, uint8_t /* res */, in SMP_PasskeyReply() argument 61 void SMP_SecureConnectionOobDataReply(uint8_t* /* p_data */) { in SMP_SecureConnectionOobDataReply() argument 76 uint8_t /* res */) { in SMP_SirkConfirmDeviceReply() argument
|
D | mock_btif_bqr.cc | 29 void DumpLmpLlMessage(uint8_t /* length */, const uint8_t* /* p_event */) { in DumpLmpLlMessage() argument 33 void DumpBtScheduling(uint8_t /* length */, const uint8_t* /* p_event */) { in DumpBtScheduling() argument
|
D | mock_stack_hidd_api.cc | 32 uint8_t* /* p_desc_data */) { in HID_DevAddRecord() argument 60 tHID_STATUS HID_DevReportError(uint8_t /* error */) { in HID_DevReportError() argument 64 tHID_STATUS HID_DevSendReport(uint8_t /* channel */, uint8_t /* type */, in HID_DevSendReport() argument 66 uint8_t* /* p_data */) { in HID_DevSendReport() argument 74 tHID_STATUS HID_DevSetIncomingQos(uint8_t /* service_type */, in HID_DevSetIncomingQos() argument 83 tHID_STATUS HID_DevSetOutgoingQos(uint8_t /* service_type */, in HID_DevSetOutgoingQos() argument
|
D | mock_stack_btm_interface.cc | 45 [](uint16_t /* opcode */, uint8_t /* param_len */, argument 46 uint8_t* /* p_param_buf */, tBTM_VSC_CMPL_CB* /* p_cb */) {}, in __anon9b56c4fb0402() argument 83 uint16_t* /* lmp_sub_version */) -> bool { return false; }, in __anon9b56c4fb1302() 92 const tBTM_PM_PWR_MD* /* p_mode */) -> tBTM_STATUS { in __anon9b56c4fb1502() 130 LinkKey /* link_key */, uint8_t /* key_type */, argument 131 uint8_t /* pin_length */) {}, in __anon9b56c4fb2402() argument 158 .BTM_SecClrService = [](uint8_t /* service_id */) -> uint8_t { in __anon9b56c4fb2d02() 178 uint8_t* /* p_pin */) {}, in __anon9b56c4fb3202() argument 183 uint8_t /* res */) {}, in __anon9b56c4fb3402() 185 uint8_t /* res */, uint32_t /* passkey */) {}, in __anon9b56c4fb3502() argument [all …]
|
D | mock_stack_gatt_connection_manager.cc | 32 uint8_t /* app_id */, const RawAddress& /* address */) { in background_connect_add() argument 37 uint8_t /* app_id */, const RawAddress& /* address */) { in background_connect_remove() argument 41 bool connection_manager::direct_connect_add(uint8_t /* app_id */, in direct_connect_add() argument 46 bool connection_manager::direct_connect_remove(uint8_t /* app_id */, in direct_connect_remove() argument 62 void connection_manager::on_app_deregistered(uint8_t /* app_id */) { in on_app_deregistered() argument
|
D | mock_stack_l2cap_utils.cc | 30 uint8_t /* cmd */, uint8_t /* signal_id */) { in l2cu_build_header() argument 34 bool l2c_is_cmd_rejected(uint8_t /* cmd_code */, uint8_t /* signal_id */, in l2c_is_cmd_rejected() argument 43 bool l2cu_create_conn_le(tL2C_LCB* /* p_lcb */, uint8_t /* initiating_phys */) { in l2cu_create_conn_le() argument 173 void l2cu_reject_ble_coc_connection(tL2C_LCB* /* p_lcb */, uint8_t /* rem_id */, in l2cu_reject_ble_coc_connection() argument 177 void l2cu_reject_ble_connection(tL2C_CCB* /* p_ccb */, uint8_t /* rem_id */, in l2cu_reject_ble_connection() argument 182 uint8_t /* rem_id */, uint16_t /* result */) { in l2cu_reject_connection() argument 186 uint8_t /* rem_id */, in l2cu_reject_credit_based_conn_req() argument 200 void l2cu_send_ble_reconfig_rsp(tL2C_LCB* /* p_lcb */, uint8_t /* rem_id */, in l2cu_send_ble_reconfig_rsp() argument 228 uint8_t /* rem_id */) { in l2cu_send_peer_ble_par_rsp() argument 232 uint8_t /* rem_id */, uint16_t /* p1 */, in l2cu_send_peer_cmd_reject() argument [all …]
|
D | mock_stack_btu_hcif.cc | 39 void btu_hcif_process_event(uint8_t /* controller_id */, BT_HDR* /* p_msg */) { in btu_hcif_process_event() argument 42 void btu_hcif_send_cmd(uint8_t /* controller_id */, const BT_HDR* /* p_buf */) { in btu_hcif_send_cmd() argument 46 uint16_t /* opcode */, uint8_t* /* params */, in btu_hcif_send_cmd_with_cb() argument
|
D | mock_stack_rfcomm_port_api.cc | 30 const char* PORT_GetResultString(const uint8_t /* result_code */) { in PORT_GetResultString() 81 uint16_t /* uuid */, uint8_t /* scn */, bool /* is_server */, in RFCOMM_CreateConnectionWithSecurity() argument 88 int RFCOMM_ControlReqFromBTSOCK(uint8_t /* dlci */, in RFCOMM_ControlReqFromBTSOCK() argument
|
D | mock_stack_avrc_pars.ct.cc | 28 uint8_t* /* p_buf */, in AVRC_Ctrl_ParsResponse() argument 35 uint8_t* /* p_buf */, uint16_t /* buf_len */) { in AVRC_ParsResponse() argument 39 tAVRC_STS avrc_parse_notification_rsp(uint8_t* /* p_stream */, in avrc_parse_notification_rsp() argument
|
/packages/modules/Bluetooth/system/gd/hci/facade/ |
D | le_scanning_manager_facade.cc | 129 uint8_t address_type, in OnScanResult() argument 160 std::vector<uint8_t> /* data */){}; in OnBatchScanReports() 163 void OnFilterEnable(Enable /* enable */, uint8_t /* status */){}; in OnFilterEnable() argument 165 uint8_t /* available_spaces */, ApcfAction /* action */, uint8_t /* status */){}; in OnFilterParamSetup() argument 168 uint8_t /* available_spaces */, in OnFilterConfigCallback() argument 174 uint8_t /* status */, in OnPeriodicSyncStarted() argument 187 uint8_t /* status */, in OnPeriodicSyncReport() argument 188 std::vector<uint8_t> /* data */) override { in OnPeriodicSyncReport() 197 int /* pa_source */, uint8_t /* status */, Address /* address */) override { in OnPeriodicSyncTransferred() argument
|
/packages/modules/Bluetooth/system/stack/test/ |
D | btm_iso_test.cc | 186 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in InitIsoManager() 212 base::OnceCallback<void(uint8_t*, uint16_t)> /* cb */) { in InitIsoManager() 301 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in InitIsoManager() 302 std::vector<uint8_t> buf(3); in InitIsoManager() 313 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in InitIsoManager() 579 .WillOnce([&evt](uint8_t /* type */, void* data) { in TEST_F() argument 602 auto, auto, base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in TEST_F() 617 auto, auto, base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in TEST_F() 636 auto, auto, base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in TEST_F() 645 .WillOnce([&evt](uint8_t /* type */, void* data) { in TEST_F() argument [all …]
|
/packages/modules/Bluetooth/system/main/shim/ |
D | le_scanning_manager.cc | 69 uint8_t /* scanner_id */, in OnScannerRegistered() argument 73 void OnSetScannerParameterComplete(uint8_t /* scanner_id */, in OnSetScannerParameterComplete() argument 77 void OnScanResult(uint16_t /* event_type */, uint8_t /* address_type */, in OnScanResult() argument 82 std::vector<uint8_t> /* advertising_data */) override { in OnScanResult() 91 std::vector<uint8_t> /* data */) override { in OnBatchScanReports() 97 void OnPeriodicSyncStarted(int /* reg_id */, uint8_t /* status */, in OnPeriodicSyncStarted() argument 106 int8_t /* rssi */, uint8_t /* status */, in OnPeriodicSyncReport() argument 107 std::vector<uint8_t> /* data */) override { in OnPeriodicSyncReport() 111 void OnPeriodicSyncTransferred(int /* pa_source */, uint8_t /* status */, in OnPeriodicSyncTransferred() argument 654 bluetooth::hci::Enable /* enable */, uint8_t /* status */) {} in OnFilterEnable() argument [all …]
|
/packages/modules/Bluetooth/system/stack/test/common/ |
D | mock_hcic_layer.cc | 30 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_set_cig_params() 45 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_remove_cig() 50 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_create_cis() 63 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_setup_iso_data_path() 72 base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_remove_iso_data_path() 77 uint16_t iso_handle, base::OnceCallback<void(uint8_t*, uint16_t)> cb) { in btsnd_hcic_read_iso_link_quality() 86 std::array<uint8_t, 16> bcst_code) { in btsnd_hcic_create_big() 124 uint8_t /* data_path_id */, in ConfigureDataPath() argument
|