Home
last modified time | relevance | path

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

123

/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_api.cc62 do_in_main_thread(FROM_HERE, in BTA_EnableTestMode()
71 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_set_dev_name, name)); in BTA_DmSetDeviceName()
186 do_in_main_thread( in BTA_DmSetBlePrefConnParams()
214 do_in_main_thread( in BTA_DmBleUpdateConnectionParams()
235 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_ble_config_local_privacy, in BTA_DmBleConfigLocalPrivacy()
252 do_in_main_thread(FROM_HERE, in BTA_DmBleGetEnergyInfo()
258 do_in_main_thread(FROM_HERE, in BTA_DmBleRequestMaxTxDataLength()
279 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_ble_scan, start, in BTA_DmBleScan()
298 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_ble_csis_observe, observe, in BTA_DmBleCsisObserve()
313 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_clear_event_filter)); in BTA_DmClearEventFilter()
[all …]
Dbta_dm_sec_api.cc45 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_bond, bd_addr, addr_type, in BTA_DmBond()
56 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_bond_cancel, bd_addr)); in BTA_DmBondCancel()
86 do_in_main_thread(FROM_HERE, in BTA_DmPinReply()
108 do_in_main_thread(FROM_HERE, base::BindOnce(BTM_ReadLocalOobData)); in BTA_DmLocalOob()
126 do_in_main_thread(FROM_HERE, in BTA_DmConfirm()
150 do_in_main_thread(FROM_HERE, closure); in BTA_DmAddDevice()
160 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_remove_device, bd_addr)); in BTA_DmRemoveDevice()
186 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_add_blekey, bd_addr, in BTA_DmAddBleKey()
211 do_in_main_thread(FROM_HERE, base::BindOnce(bta_dm_add_ble_device, bd_addr, in BTA_DmAddBleDevice()
235 do_in_main_thread(FROM_HERE, in BTA_DmBlePasskeyReply()
[all …]
/packages/modules/Bluetooth/system/bta/ag/
Dbta_ag_api.cc72 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_ag_api_enable, p_cback)); in BTA_AgEnable()
87 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_ag_api_disable)); in BTA_AgDisable()
103 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_ag_api_register, services, in BTA_AgRegister()
118 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_ag_sm_execute_by_handle, in BTA_AgDeregister()
139 do_in_main_thread(FROM_HERE, in BTA_AgOpen()
156 do_in_main_thread(FROM_HERE, in BTA_AgClose()
178 do_in_main_thread(FROM_HERE, in BTA_AgAudioOpen()
195 do_in_main_thread( in BTA_AgAudioClose()
215 do_in_main_thread(FROM_HERE, in BTA_AgResult()
234 do_in_main_thread(FROM_HERE, in BTA_AgSetCodec()
[all …]
Dbta_ag_rfc.cc92 do_in_main_thread( in bta_ag_port_cback()
158 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_ag_sm_execute_by_handle, in bta_ag_mgmt_cback()
379 do_in_main_thread( in bta_ag_rfc_do_close()
/packages/modules/Bluetooth/system/btif/src/
Dbtif_vc.cc49 do_in_main_thread( in Init()
122 do_in_main_thread(FROM_HERE, in Connect()
134 do_in_main_thread(FROM_HERE, in Disconnect()
148 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::SetVolume, in SetVolume()
161 do_in_main_thread( in Mute()
174 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::UnMute, in Unmute()
189 do_in_main_thread(FROM_HERE, in RemoveDevice()
204 do_in_main_thread( in GetExtAudioOutVolumeOffset()
220 do_in_main_thread(FROM_HERE, in SetExtAudioOutVolumeOffset()
235 do_in_main_thread(FROM_HERE, Bind(&VolumeControl::GetExtAudioOutLocation, in GetExtAudioOutLocation()
[all …]
Dbtif_le_audio_broadcaster.cc44 do_in_main_thread( in Initialize()
57 do_in_main_thread(FROM_HERE, Bind(&LeAudioBroadcaster::CreateAudioBroadcast, in CreateBroadcast()
69 do_in_main_thread(FROM_HERE, in UpdateMetadata()
77 do_in_main_thread( in StartBroadcast()
83 do_in_main_thread( in StopBroadcast()
89 do_in_main_thread( in PauseBroadcast()
95 do_in_main_thread( in DestroyBroadcast()
101 do_in_main_thread( in GetBroadcastMetadata()
131 do_in_main_thread(FROM_HERE, Bind(&LeAudioBroadcaster::Stop)); in Stop()
135 do_in_main_thread(FROM_HERE, Bind(&LeAudioBroadcaster::Cleanup)); in Cleanup()
Dbtif_le_audio.cc152 do_in_main_thread( in Initialize()
177 do_in_main_thread(FROM_HERE, Bind(&LeAudioClient::Cleanup)); in Cleanup()
190 do_in_main_thread(FROM_HERE, in RemoveDevice()
205 do_in_main_thread(FROM_HERE, in Connect()
218 do_in_main_thread(FROM_HERE, in Disconnect()
231 do_in_main_thread(FROM_HERE, in SetEnableState()
244 do_in_main_thread( in GroupAddNode()
257 do_in_main_thread( in GroupRemoveNode()
270 do_in_main_thread(FROM_HERE, in GroupSetActive()
284 do_in_main_thread(FROM_HERE, in SetCodecConfigPreference()
[all …]
Dbtif_has_client.cc55 do_in_main_thread( in Init()
62 do_in_main_thread(FROM_HERE, Bind(&HasClient::Connect, in Connect()
70 do_in_main_thread(FROM_HERE, Bind(&HasClient::Disconnect, in Disconnect()
79 do_in_main_thread( in SelectActivePreset()
87 do_in_main_thread(FROM_HERE, Bind(&HasClient::NextActivePreset, in NextActivePreset()
94 do_in_main_thread(FROM_HERE, Bind(&HasClient::PreviousActivePreset, in PreviousActivePreset()
100 do_in_main_thread( in GetPresetInfo()
107 do_in_main_thread( in SetPresetName()
116 do_in_main_thread(FROM_HERE, Bind(&HasClient::Disconnect, in RemoveDevice()
124 do_in_main_thread(FROM_HERE, Bind(&HasClient::CleanUp)); in Cleanup()
Dbtif_hearing_aid.cc56 do_in_main_thread( in Init()
76 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Connect, address)); in Connect()
80 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Disconnect, address)); in Disconnect()
86 do_in_main_thread(FROM_HERE, Bind(&HearingAid::AddToAcceptlist, address)); in AddToAcceptlist()
92 do_in_main_thread(FROM_HERE, Bind(&HearingAid::SetVolume, volume)); in SetVolume()
98 do_in_main_thread(FROM_HERE, Bind(&HearingAid::Disconnect, address)); in RemoveDevice()
105 do_in_main_thread(FROM_HERE, Bind(&HearingAid::CleanUp)); in Cleanup()
Dbluetooth.cc519 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_adapter_properties)); in get_adapter_properties()
529 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_adapter_property, type)); in get_adapter_property()
546 do_in_main_thread(FROM_HERE, base::BindOnce( in set_adapter_property()
558 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_remote_device_properties, in get_remote_device_properties()
567 do_in_main_thread(FROM_HERE, base::BindOnce(btif_get_remote_device_property, in get_remote_device_property()
576 do_in_main_thread( in set_remote_device_property()
589 do_in_main_thread(FROM_HERE, base::BindOnce(btif_dm_get_remote_services, in get_remote_services()
597 do_in_main_thread(FROM_HERE, base::BindOnce(btif_dm_start_discovery)); in start_discovery()
604 do_in_main_thread(FROM_HERE, base::BindOnce(btif_dm_cancel_discovery)); in cancel_discovery()
612 do_in_main_thread(FROM_HERE, in create_bond()
[all …]
Dbtif_csis_client.cc53 do_in_main_thread( in Init()
71 do_in_main_thread(FROM_HERE, Bind(&CsisClient::Connect, in Connect()
83 do_in_main_thread(FROM_HERE, Bind(&CsisClient::Disconnect, in Disconnect()
98 do_in_main_thread(FROM_HERE, Bind(&CsisClient::RemoveDevice, in RemoveDevice()
112 do_in_main_thread( in LockGroup()
126 do_in_main_thread(FROM_HERE, Bind(&CsisClient::CleanUp)); in Cleanup()
Dbtif_av.cc1218 do_in_main_thread( in Cleanup()
1223 do_in_main_thread(FROM_HERE, base::BindOnce(&btif_a2dp_source_cleanup)); in Cleanup()
1471 do_in_main_thread( in Cleanup()
1476 do_in_main_thread(FROM_HERE, base::BindOnce(&btif_a2dp_sink_cleanup)); in Cleanup()
1720 do_in_main_thread(FROM_HERE, in OnEnter()
1724 do_in_main_thread(FROM_HERE, in OnEnter()
3076 do_in_main_thread( in btif_av_query_mandatory_codec_priority()
3414 do_in_main_thread( in bta_av_source_callback()
3421 do_in_main_thread( in bta_av_sink_callback()
3429 do_in_main_thread( in bta_av_event_callback()
[all …]
/packages/modules/Bluetooth/system/bta/jv/
Dbta_jv_api.cc82 do_in_main_thread(FROM_HERE, Bind(&bta_jv_enable, p_cback)); in BTA_JvEnable()
92 do_in_main_thread(FROM_HERE, Bind(&bta_jv_disable)); in BTA_JvDisable()
122 do_in_main_thread(FROM_HERE, in BTA_JvGetChannelId()
145 do_in_main_thread(FROM_HERE, Bind(&bta_jv_free_scn, conn_type, channel)); in BTA_JvFreeChannel()
171 do_in_main_thread(FROM_HERE, in BTA_JvStartDiscovery()
192 do_in_main_thread(FROM_HERE, Bind(&bta_jv_create_record, rfcomm_slot_id)); in BTA_JvCreateRecordByUser()
209 do_in_main_thread(FROM_HERE, Bind(&bta_jv_delete_record, handle)); in BTA_JvDeleteRecord()
239 do_in_main_thread(FROM_HERE, in BTA_JvL2capConnect()
261 do_in_main_thread( in BTA_JvL2capClose()
290 do_in_main_thread(FROM_HERE, in BTA_JvL2capStartServer()
[all …]
/packages/modules/Bluetooth/system/btif/avrcp/
Davrcp_service.cc185 do_in_main_thread(FROM_HERE, base::BindOnce(cb, data)); in GetSongInfo()
196 do_in_main_thread(FROM_HERE, base::BindOnce(cb, status)); in GetPlayStatus()
208 do_in_main_thread( in GetNowPlayingList()
221 do_in_main_thread( in GetMediaPlayerList()
235 do_in_main_thread(FROM_HERE, base::BindOnce(cb, std::move(item_list))); in GetFolderItems()
249 do_in_main_thread(FROM_HERE, in SetBrowsedPlayer()
299 do_in_main_thread(FROM_HERE, base::BindOnce(cb, volume)); in DeviceConnected()
334 do_in_main_thread(FROM_HERE, base::BindOnce(cb, std::move(attributes))); in ListPlayerSettings()
347 do_in_main_thread(FROM_HERE, in ListPlayerSettingValues()
364 do_in_main_thread(FROM_HERE, base::BindOnce(cb, std::move(attributes), in GetCurrentPlayerSettingValue()
[all …]
/packages/modules/Bluetooth/system/bta/sdp/
Dbta_sdp_api.cc60 do_in_main_thread(FROM_HERE, base::BindOnce(bta_sdp_enable, p_cback)); in BTA_SdpEnable()
79 do_in_main_thread(FROM_HERE, base::BindOnce(bta_sdp_search, bd_addr, uuid)); in BTA_SdpSearch()
96 do_in_main_thread(FROM_HERE, in BTA_SdpCreateRecordByUser()
114 do_in_main_thread(FROM_HERE, in BTA_SdpRemoveRecordByUser()
/packages/modules/Bluetooth/system/bta/hearing_aid/
Dhearing_aid_audio_source.cc169 do_in_main_thread(FROM_HERE, base::BindOnce(start_audio_ticks)); in hearing_aid_data_cb()
174 do_in_main_thread(FROM_HERE, base::BindOnce(stop_audio_ticks)); in hearing_aid_data_cb()
355 status = do_in_main_thread( in hearing_aid_on_resume_req()
363 status = do_in_main_thread( in hearing_aid_on_resume_req()
380 bt_status_t status = do_in_main_thread( in hearing_aid_on_suspend_req()
/packages/modules/Bluetooth/system/test/common/
Dmain_handler.cc42 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() function
61 do_in_main_thread( in post_on_bt_main()
/packages/modules/Bluetooth/system/gd/
Dmodule_mainloop.h36 do_in_main_thread( in PostFunctionOnMain()
43 do_in_main_thread( in PostMethodOnMain()
Dmodule_gdx_unittest.cc479 do_in_main_thread( in TEST_F()
515 do_in_main_thread( in TEST_F()
551 do_in_main_thread( in TEST_F()
587 do_in_main_thread( in TEST_F()
623 do_in_main_thread( in TEST_F()
659 do_in_main_thread( in TEST_F()
/packages/modules/Bluetooth/system/stack/btu/
Dmain_thread.cc42 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() function
65 do_in_main_thread( in post_on_bt_main()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_core_test.cc854 do_in_main_thread(FROM_HERE, in TEST_F()
856 do_in_main_thread( in TEST_F()
928 do_in_main_thread(FROM_HERE, BindOnce([]() { in SetUp()
948 do_in_main_thread(FROM_HERE, BindOnce([]() { in TearDown()
1014 do_in_main_thread(FROM_HERE, in TEST_F()
1016 do_in_main_thread( in TEST_F()
1048 do_in_main_thread(FROM_HERE, BindOnce([]() { in TEST_F()
1053 do_in_main_thread(FROM_HERE, in TEST_F()
1087 do_in_main_thread(FROM_HERE, in TEST_F()
1089 do_in_main_thread( in TEST_F()
[all …]
/packages/modules/Bluetooth/system/bta/gatt/
Dbta_gattc_api.cc72 do_in_main_thread(FROM_HERE, base::BindOnce(&bta_gattc_disable)); in BTA_GATTC_Disable()
92 do_in_main_thread(FROM_HERE, in BTA_GATTC_AppRegister()
119 do_in_main_thread(FROM_HERE, base::BindOnce(&app_deregister_impl, client_if)); in BTA_GATTC_AppDeregister()
282 do_in_main_thread( in BTA_GATTC_DiscoverServiceByUuid()
773 do_in_main_thread(FROM_HERE, in BTA_GATTC_Refresh()
/packages/modules/Bluetooth/system/bta/le_audio/audio_hal_client/
Daudio_sink_hal_client.cc134 bt_status_t status = do_in_main_thread( in OnResumeReq()
152 bt_status_t status = do_in_main_thread( in OnSuspendReq()
173 bt_status_t status = do_in_main_thread( in OnMetadataUpdateReq()
/packages/modules/Bluetooth/system/main/shim/
Dacl_api.cc229 do_in_main_thread( in ACL_RemoteNameRequest()
249 do_in_main_thread( in ACL_RemoteNameRequest()
258 do_in_main_thread( in ACL_RemoteNameRequest()
/packages/modules/Bluetooth/system/bta/le_audio/
Dle_audio_client_test.cc139 bt_status_t do_in_main_thread(const base::Location& from_here, in do_in_main_thread() function
164 return do_in_main_thread(from_here, std::move(task)); in do_in_main_thread_delayed()
500 do_in_main_thread( in InjectGroupDeviceAdded()
520 do_in_main_thread(FROM_HERE, in InjectServiceChangedEvent()
547 do_in_main_thread( in InjectConnectedEvent()
562 do_in_main_thread(FROM_HERE, in InjectEncryptionChangedEvent()
587 do_in_main_thread( in InjectDisconnectedEvent()
606 do_in_main_thread(FROM_HERE, in InjectPhyChangedEvent()
623 do_in_main_thread(FROM_HERE, in InjectSearchCompleteEvent()
645 do_in_main_thread( in InjectNotificationEvent()
[all …]

123