Home
last modified time | relevance | path

Searched refs:do_in_main_thread (Results 1 – 25 of 31) sorted by relevance

12

/system/bt/bta/ag/
Dbta_ag_api.cc65 do_in_main_thread(FROM_HERE, base::Bind(&bta_ag_api_enable, p_cback)); in BTA_AgEnable()
80 do_in_main_thread(FROM_HERE, base::Bind(&bta_ag_api_disable)); in BTA_AgDisable()
97 do_in_main_thread( in BTA_AgRegister()
113 do_in_main_thread( in BTA_AgDeregister()
135 do_in_main_thread(FROM_HERE, base::Bind(&bta_ag_sm_execute_by_handle, handle, in BTA_AgOpen()
151 do_in_main_thread(FROM_HERE, in BTA_AgClose()
168 do_in_main_thread( in BTA_AgAudioOpen()
185 do_in_main_thread( in BTA_AgAudioClose()
204 do_in_main_thread(FROM_HERE, in BTA_AgResult()
223 do_in_main_thread(FROM_HERE, base::Bind(&bta_ag_sm_execute_by_handle, handle, in BTA_AgSetCodec()
[all …]
Dbta_ag_rfc.cc93 do_in_main_thread(FROM_HERE, in bta_ag_port_cback()
158 do_in_main_thread( in bta_ag_mgmt_cback()
374 do_in_main_thread( in bta_ag_rfc_do_close()
Dbta_ag_sco.cc137 do_in_main_thread(FROM_HERE, in bta_ag_sco_conn_cback()
220 do_in_main_thread(FROM_HERE, in bta_ag_sco_disc_cback()
376 do_in_main_thread( in bta_ag_create_sco()
Dbta_ag_sdp.cc91 do_in_main_thread(FROM_HERE, base::Bind(&bta_ag_sm_execute_by_handle, idx, in bta_ag_sdp_cback()
/system/bt/bta/dm/
Dbta_dm_api.cc67 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_enable, p_cback)); in BTA_EnableBluetooth()
82 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_disable)); in BTA_DisableBluetooth()
88 do_in_main_thread(FROM_HERE, in BTA_EnableTestMode()
94 do_in_main_thread(FROM_HERE, base::Bind(BTM_DeviceReset, nullptr)); in BTA_DisableTestMode()
102 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_set_dev_name, name)); in BTA_DmSetDeviceName()
110 do_in_main_thread(FROM_HERE, in BTA_DmSetVisibility()
215 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond, bd_addr, addr_type, in BTA_DmBond()
222 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond_cancel, bd_addr)); in BTA_DmBondCancel()
248 do_in_main_thread(FROM_HERE, in BTA_DmPinReply()
266 do_in_main_thread(FROM_HERE, base::Bind(BTM_ReadLocalOobData)); in BTA_DmLocalOob()
[all …]
Dbta_dm_ci.cc49 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_ci_io_req_act, bd_addr, io_cap, in bta_dm_ci_io_req()
74 do_in_main_thread(FROM_HERE, in bta_dm_ci_rmt_oob()
Dbta_dm_pm.cc850 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_pm_btm_status, bd_addr, status,
891 do_in_main_thread(
/system/bt/bta/jv/
Dbta_jv_api.cc78 do_in_main_thread(FROM_HERE, Bind(&bta_jv_enable, p_cback)); in BTA_JvEnable()
88 do_in_main_thread(FROM_HERE, Bind(&bta_jv_disable)); in BTA_JvDisable()
143 do_in_main_thread(FROM_HERE, in BTA_JvGetChannelId()
164 do_in_main_thread(FROM_HERE, Bind(&bta_jv_free_scn, conn_type, channel)); in BTA_JvFreeChannel()
189 do_in_main_thread(FROM_HERE, in BTA_JvStartDiscovery()
210 do_in_main_thread(FROM_HERE, Bind(&bta_jv_create_record, rfcomm_slot_id)); in BTA_JvCreateRecordByUser()
227 do_in_main_thread(FROM_HERE, Bind(&bta_jv_delete_record, handle)); in BTA_JvDeleteRecord()
248 do_in_main_thread(FROM_HERE, Bind(&bta_jv_l2cap_connect_le, remote_chan, in BTA_JvL2capConnectLE()
274 do_in_main_thread(FROM_HERE, in BTA_JvL2capConnect()
296 do_in_main_thread( in BTA_JvL2capClose()
[all …]
/system/bt/btif/src/
Dbtif_ble_scanner.cc208 do_in_main_thread(FROM_HERE, in RegisterScanner()
219 do_in_main_thread(FROM_HERE, Bind(&BTA_GATTC_AppDeregister, scanner_id)); in Unregister()
226 do_in_main_thread(FROM_HERE, in Scan()
232 do_in_main_thread( in Scan()
245 do_in_main_thread( in ScanFilterParamSetup()
250 do_in_main_thread( in ScanFilterParamSetup()
260 do_in_main_thread( in ScanFilterAdd()
272 do_in_main_thread( in ScanFilterClear()
282 do_in_main_thread(FROM_HERE, in ScanFilterEnable()
289 do_in_main_thread( in SetScanParameters()
[all …]
Dbtif_hearing_aid.cc61 do_in_main_thread( in Init()
87 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Connect, in Connect()
93 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Disconnect, in Disconnect()
101 do_in_main_thread(FROM_HERE, Bind(&HearingAid::AddToWhiteList, in AddToWhiteList()
109 do_in_main_thread(FROM_HERE, Bind(&HearingAid::SetVolume, in SetVolume()
118 do_in_main_thread(FROM_HERE, in RemoveDevice()
129 do_in_main_thread(FROM_HERE, Bind(&HearingAid::CleanUp)); in Cleanup()
Dbtif_ble_advertiser.cc96 do_in_main_thread( in RegisterAdvertiser()
104 do_in_main_thread( in Unregister()
119 do_in_main_thread(FROM_HERE, in GetOwnAddress()
133 do_in_main_thread(FROM_HERE, Bind(&BleAdvertisingManager::SetParameters, in SetParameters()
142 do_in_main_thread( in SetData()
156 do_in_main_thread( in Enable()
174 do_in_main_thread( in StartAdvertising()
200 do_in_main_thread( in StartAdvertisingSet()
219 do_in_main_thread( in SetPeriodicAdvertisingParameters()
232 do_in_main_thread(FROM_HERE, in SetPeriodicAdvertisingData()
[all …]
Dbtif_av.cc997 do_in_main_thread( in Cleanup()
1002 do_in_main_thread(FROM_HERE, base::Bind(&btif_a2dp_source_cleanup)); in Cleanup()
1200 do_in_main_thread( in Cleanup()
1205 do_in_main_thread(FROM_HERE, base::Bind(&btif_a2dp_sink_cleanup)); in Cleanup()
1404 do_in_main_thread(FROM_HERE, base::Bind(&BtifAvSource::DeleteIdlePeers, in OnEnter()
1407 do_in_main_thread(FROM_HERE, base::Bind(&BtifAvSink::DeleteIdlePeers, in OnEnter()
2468 do_in_main_thread( in btif_av_query_mandatory_codec_priority()
2669 do_in_main_thread(FROM_HERE, in bta_av_source_callback()
2676 do_in_main_thread(FROM_HERE, in bta_av_sink_callback()
2723 do_in_main_thread(FROM_HERE, in bta_av_sink_media_callback()
[all …]
Dbtif_gatt_server.cc425 do_in_main_thread(FROM_HERE, in btif_gatts_set_preferred_phy()
434 do_in_main_thread(FROM_HERE, Bind(&BTM_BleReadPhy, bd_addr, in btif_gatts_read_phy()
Dbtif_gatt_client.cc567 do_in_main_thread(FROM_HERE, in btif_gattc_set_preferred_phy()
576 do_in_main_thread(FROM_HERE, Bind(&BTM_BleReadPhy, bd_addr, in btif_gattc_read_phy()
Dbtif_core.cc419 do_in_main_thread(FROM_HERE, base::Bind(&btm_ble_multi_adv_cleanup)); in btif_disable_bluetooth()
469 do_in_main_thread(FROM_HERE, base::Bind(&BTA_VendorCleanup)); in btif_cleanup_bluetooth()
Dbtif_pan.cc372 do_in_main_thread(FROM_HERE, in btpan_set_flow_control()
775 do_in_main_thread(FROM_HERE, base::Bind(btu_exec_tap_fd_read, fd)); in btpan_tap_fd_signaled()
/system/bt/btif/avrcp/
Davrcp_service.cc148 do_in_main_thread(FROM_HERE, base::Bind(cb, data)); in GetSongInfo()
159 do_in_main_thread(FROM_HERE, base::Bind(cb, status)); in GetPlayStatus()
171 do_in_main_thread(FROM_HERE, in GetNowPlayingList()
184 do_in_main_thread(FROM_HERE, in GetMediaPlayerList()
198 do_in_main_thread(FROM_HERE, base::Bind(cb, std::move(item_list))); in GetFolderItems()
212 do_in_main_thread(FROM_HERE, base::Bind(cb, success, root_id, num_items)); in SetBrowsedPlayer()
261 do_in_main_thread(FROM_HERE, base::Bind(cb, volume)); in DeviceConnected()
355 do_in_main_thread(FROM_HERE, in SendMediaUpdate()
370do_in_main_thread(FROM_HERE, base::Bind(&Device::SendFolderUpdate, device.get()->Get(), available_… in SendFolderUpdate()
406 do_in_main_thread(FROM_HERE, in Init()
[all …]
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc132 do_in_main_thread(FROM_HERE, base::BindOnce(start_audio_ticks)); in hearing_aid_data_cb()
137 do_in_main_thread(FROM_HERE, base::BindOnce(stop_audio_ticks)); in hearing_aid_data_cb()
319 status = do_in_main_thread( in hearing_aid_on_resume_req()
327 status = do_in_main_thread( in hearing_aid_on_resume_req()
347 bt_status_t status = do_in_main_thread( in hearing_aid_on_suspend_req()
/system/bt/stack/include/
Dbtu.h63 bt_status_t do_in_main_thread(const base::Location& from_here,
/system/bt/bta/gatt/
Dbta_gattc_api.cc65 do_in_main_thread(FROM_HERE, base::Bind(&bta_gattc_disable)); in BTA_GATTC_Disable()
79 do_in_main_thread( in BTA_GATTC_AppRegister()
100 do_in_main_thread(FROM_HERE, base::Bind(&app_deregister_impl, client_if)); in BTA_GATTC_AppDeregister()
251 do_in_main_thread( in BTA_GATTC_DiscoverServiceByUuid()
738 do_in_main_thread(FROM_HERE, in BTA_GATTC_Refresh()
Dbta_gatts_api.cc171 do_in_main_thread(FROM_HERE, in BTA_GATTS_AddService()
/system/bt/main/
Dbte_main.cc89 if (do_in_main_thread(from_here, base::Bind(&btu_hci_msg_process, p_msg)) != in post_to_main_message_loop()
/system/bt/stack/btu/
Dbtu_task.cc91 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() function
Dbtu_hcif.cc898 do_in_main_thread(FROM_HERE, in btu_hcif_command_complete_evt_with_cb()
935 do_in_main_thread( in btu_hcif_command_status_evt_with_cb()
1536 do_in_main_thread(FROM_HERE, base::Bind(btu_hcif_command_complete_evt_on_task, in btu_hcif_command_complete_evt()
1692 do_in_main_thread(FROM_HERE, base::Bind(btu_hcif_command_status_evt_on_task, in btu_hcif_command_status_evt()
/system/bt/bta/sys/
Dbta_sys_main.cc528 if (do_in_main_thread( in bta_sys_sendmsg()

12