Home
last modified time | relevance | path

Searched refs:do_in_main_thread (Results 1 – 25 of 30) 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/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/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()
214 do_in_main_thread(FROM_HERE, in BTA_DmBond()
221 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond, bd_addr, transport)); in BTA_DmBondByTransport()
227 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_bond_cancel, bd_addr)); in BTA_DmBondCancel()
253 do_in_main_thread(FROM_HERE, in BTA_DmPinReply()
[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.cc848 do_in_main_thread(FROM_HERE, base::Bind(bta_dm_pm_btm_status, bd_addr, status,
889 do_in_main_thread(
/system/bt/btif/src/
Dbtif_ble_scanner.cc209 do_in_main_thread(FROM_HERE, in RegisterScanner()
220 do_in_main_thread(FROM_HERE, Bind(&BTA_GATTC_AppDeregister, scanner_id)); in Unregister()
227 do_in_main_thread(FROM_HERE, in Scan()
233 do_in_main_thread( in Scan()
246 do_in_main_thread( in ScanFilterParamSetup()
251 do_in_main_thread( in ScanFilterParamSetup()
261 do_in_main_thread( in ScanFilterAdd()
273 do_in_main_thread( in ScanFilterClear()
283 do_in_main_thread(FROM_HERE, in ScanFilterEnable()
290 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.cc984 do_in_main_thread( in Cleanup()
989 do_in_main_thread(FROM_HERE, base::Bind(&btif_a2dp_source_cleanup)); in Cleanup()
1171 do_in_main_thread( in Cleanup()
1176 do_in_main_thread(FROM_HERE, base::Bind(&btif_a2dp_sink_cleanup)); in Cleanup()
1360 do_in_main_thread(FROM_HERE, base::Bind(&BtifAvSource::DeleteIdlePeers, in OnEnter()
1363 do_in_main_thread(FROM_HERE, base::Bind(&BtifAvSink::DeleteIdlePeers, in OnEnter()
2552 do_in_main_thread(FROM_HERE, in bta_av_source_callback()
2559 do_in_main_thread(FROM_HERE, in bta_av_sink_callback()
2603 do_in_main_thread(FROM_HERE, in bta_av_sink_media_callback()
2741 return do_in_main_thread( in src_disconnect_sink()
[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_pan.cc372 do_in_main_thread(FROM_HERE, in btpan_set_flow_control()
776 do_in_main_thread(FROM_HERE, base::Bind(btu_exec_tap_fd_read, fd)); in btpan_tap_fd_signaled()
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()
/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/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.cc100 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.cc86 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() function
Dbtu_hcif.cc849 do_in_main_thread(FROM_HERE, in btu_hcif_command_complete_evt_with_cb()
886 do_in_main_thread( in btu_hcif_command_status_evt_with_cb()
1480 do_in_main_thread(FROM_HERE, base::Bind(btu_hcif_command_complete_evt_on_task, in btu_hcif_command_complete_evt()
1636 do_in_main_thread(FROM_HERE, base::Bind(btu_hcif_command_status_evt_on_task, in btu_hcif_command_status_evt()
/system/bt/bta/hearing_aid/
Dhearing_aid_audio_source.cc314 bt_status_t status = do_in_main_thread( in hearing_aid_on_resume_req()
351 bt_status_t status = do_in_main_thread( in hearing_aid_on_suspend_req()
/system/bt/bta/sys/
Dbta_sys_main.cc528 if (do_in_main_thread( in bta_sys_sendmsg()

12