/packages/modules/Bluetooth/system/btif/src/ |
D | btif_le_audio.cc | 51 do_in_jni_thread( in OnInitialized() 57 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnConnectionState, in OnConnectionState() 62 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnGroupStatus, in OnGroupStatus() 68 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnGroupNodeStatus, in OnGroupNodeStatus() 74 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnAudioConf, in OnAudioConf() 81 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnSinkAudioLocationAvailable, in OnSinkAudioLocationAvailable() 89 do_in_jni_thread( in OnAudioLocalCodecCapabilities() 98 do_in_jni_thread(Bind(&LeAudioClientCallbacks::OnAudioGroupCurrentCodecConf, in OnAudioGroupCurrentCodecConf() 108 do_in_jni_thread( in OnAudioGroupSelectableCodecConf() 117 do_in_jni_thread( in OnHealthBasedRecommendationAction() [all …]
|
D | btif_has_client.cc | 65 do_in_jni_thread( in Connect() 73 do_in_jni_thread( in Disconnect() 120 do_in_jni_thread(Bind(&btif_storage_remove_leaudio_has, addr)); in RemoveDevice() 129 do_in_jni_thread(Bind(&HasClientCallbacks::OnConnectionState, in OnConnectionState() 134 do_in_jni_thread(Bind(&HasClientCallbacks::OnDeviceAvailable, in OnDeviceAvailable() 139 do_in_jni_thread(Bind(&HasClientCallbacks::OnFeaturesUpdate, in OnFeaturesUpdate() 145 do_in_jni_thread(Bind(&HasClientCallbacks::OnActivePresetSelected, in OnActivePresetSelected() 152 do_in_jni_thread(Bind(&HasClientCallbacks::OnActivePresetSelectError, in OnActivePresetSelectError() 160 do_in_jni_thread(Bind(&HasClientCallbacks::OnPresetInfo, in OnPresetInfo() 167 do_in_jni_thread(Bind(&HasClientCallbacks::OnPresetInfoError, in OnPresetInfoError() [all …]
|
D | btif_gatt_client.cc | 97 do_in_jni_thread(P_CBACK_WRAP); \ 107 do_in_jni_thread(Bind(bt_gatt_callbacks->client->P_CBACK, __VA_ARGS__)); \ 264 return do_in_jni_thread(Bind( in btif_gattc_register_app() 270 do_in_jni_thread(Bind( in btif_gattc_register_app() 289 return do_in_jni_thread(Bind(&btif_gattc_unregister_app_impl, client_if)); in btif_gattc_unregister_app() 369 return do_in_jni_thread(Bind(&btif_gattc_open_impl, client_if, bd_addr, in btif_gattc_open() 391 return do_in_jni_thread( in btif_gattc_close() 398 return do_in_jni_thread(Bind(&BTA_GATTC_Refresh, bd_addr)); in btif_gattc_refresh() 406 return do_in_jni_thread( in btif_gattc_search_service() 409 return do_in_jni_thread(Bind(&BTA_GATTC_ServiceSearchAllRequest, conn_id)); in btif_gattc_search_service() [all …]
|
D | btif_hearing_aid.cc | 41 return base::Bind([](base::Callback<void()> cb) { do_in_jni_thread(cb); }, in jni_thread_wrapper() 64 do_in_jni_thread(Bind(&HearingAidCallbacks::OnConnectionState, in OnConnectionState() 70 do_in_jni_thread(Bind(&HearingAidCallbacks::OnDeviceAvailable, in OnDeviceAvailable() 81 do_in_jni_thread( in Disconnect() 87 do_in_jni_thread( in AddToAcceptlist() 101 do_in_jni_thread(Bind(&btif_storage_remove_hearing_aid, address)); in RemoveDevice()
|
D | btif_csis_client.cc | 94 do_in_jni_thread(Bind(&btif_storage_remove_csis_device, addr)); in RemoveDevice() 101 do_in_jni_thread(Bind(&btif_storage_remove_csis_device, addr)); in RemoveDevice() 131 do_in_jni_thread(Bind(&CsisClientCallbacks::OnConnectionState, in OnConnectionState() 137 do_in_jni_thread(Bind(&CsisClientCallbacks::OnDeviceAvailable, in OnDeviceAvailable() 143 do_in_jni_thread(Bind(&CsisClientCallbacks::OnSetMemberAvailable, in OnSetMemberAvailable() 150 do_in_jni_thread(Bind(&CsisClientCallbacks::OnGroupLockChanged, in OnGroupLockChanged()
|
D | btif_vc.cc | 63 do_in_jni_thread(Bind(&VolumeControlCallbacks::OnConnectionState, in OnConnectionState() 69 do_in_jni_thread(Bind(&VolumeControlCallbacks::OnVolumeStateChanged, in OnVolumeStateChanged() 76 do_in_jni_thread(Bind(&VolumeControlCallbacks::OnGroupVolumeStateChanged, in OnGroupVolumeStateChanged() 83 do_in_jni_thread(Bind(&VolumeControlCallbacks::OnDeviceAvailable, in OnDeviceAvailable() 93 do_in_jni_thread( in OnExtAudioOutVolumeOffsetChanged() 101 do_in_jni_thread(Bind(&VolumeControlCallbacks::OnExtAudioOutLocationChanged, in OnExtAudioOutLocationChanged() 109 do_in_jni_thread( in OnExtAudioOutDescriptionChanged()
|
D | bluetooth.cc | 746 do_in_jni_thread(base::BindOnce( in le_rand_btif_cb() 990 return do_in_jni_thread(base::BindOnce( in acquire_wake_lock_cb() 996 return do_in_jni_thread(base::BindOnce( in release_wake_lock_cb() 1262 do_in_jni_thread(base::BindOnce( in invoke_adapter_state_changed_cb() 1271 do_in_jni_thread(base::BindOnce( in invoke_adapter_properties_cb() 1286 do_in_jni_thread(base::BindOnce( in invoke_remote_device_properties_cb() 1300 do_in_jni_thread(base::BindOnce( in invoke_device_found_cb() 1311 do_in_jni_thread(base::BindOnce( in invoke_discovery_state_changed_cb() 1320 do_in_jni_thread(base::BindOnce( in invoke_pin_request_cb() 1331 do_in_jni_thread(base::BindOnce( in invoke_ssp_request_cb() [all …]
|
D | btif_gatt_server.cc | 280 return do_in_jni_thread( in btif_gatts_register_app() 286 return do_in_jni_thread(Bind(&BTA_GATTS_AppDeregister, server_if)); in btif_gatts_unregister_app() 359 return do_in_jni_thread(Bind(&btif_gatts_open_impl_use_address_type, in btif_gatts_open() 363 return do_in_jni_thread( in btif_gatts_open() 383 return do_in_jni_thread( in btif_gatts_close() 415 return do_in_jni_thread(Bind(&add_service_impl, server_if, in btif_gatts_add_service() 421 return do_in_jni_thread(Bind(&BTA_GATTS_StopService, service_handle)); in btif_gatts_stop_service() 427 return do_in_jni_thread(Bind(&BTA_GATTS_DeleteService, service_handle)); in btif_gatts_delete_service() 438 return do_in_jni_thread(Bind(&BTA_GATTS_HandleValueIndication, conn_id, in btif_gatts_send_indication() 461 return do_in_jni_thread(Bind(&btif_gatts_send_response_impl, conn_id, in btif_gatts_send_response()
|
D | btif_profile_queue.cc | 156 return do_in_jni_thread( in btif_queue_connect() 170 do_in_jni_thread(base::BindOnce(&queue_int_cleanup, uuid)); in btif_queue_cleanup() 184 do_in_jni_thread(base::BindOnce(&queue_int_advance)); in btif_queue_advance() 219 if (do_in_jni_thread(base::BindOnce(&queue_int_release)) != in btif_queue_release()
|
D | btif_le_audio_broadcaster.cc | 107 do_in_jni_thread(Bind(&LeAudioBroadcasterCallbacks::OnBroadcastCreated, in OnBroadcastCreated() 112 do_in_jni_thread(Bind(&LeAudioBroadcasterCallbacks::OnBroadcastDestroyed, in OnBroadcastDestroyed() 118 do_in_jni_thread(Bind(&LeAudioBroadcasterCallbacks::OnBroadcastStateChanged, in OnBroadcastStateChanged() 125 do_in_jni_thread( in OnBroadcastMetadataChanged()
|
D | btif_jni_task.cc | 99 return do_in_jni_thread(base::BindOnce(&bt_jni_msg_ready, p_msg)); in btif_transfer_context() 106 bt_status_t do_in_jni_thread(base::OnceClosure task) { in do_in_jni_thread() function 122 do_in_jni_thread(base::BindOnce(do_post_on_bt_jni, std::move(closure))) == in post_on_bt_jni()
|
D | btif_profile_storage.cc | 445 do_in_jni_thread( in btif_storage_add_hearing_aid() 670 do_in_jni_thread(Bind( in btif_storage_set_leaudio_autoconnect() 685 do_in_jni_thread(Bind( in btif_storage_leaudio_update_handles_bin() 700 do_in_jni_thread(Bind( in btif_storage_leaudio_update_pacs_bin() 711 do_in_jni_thread(Bind( in btif_storage_leaudio_update_pacs_bin() 726 do_in_jni_thread(Bind( in btif_storage_leaudio_update_ase_bin() 740 do_in_jni_thread( in btif_storage_set_leaudio_audio_location() 759 do_in_jni_thread( in btif_storage_set_leaudio_supported_context_types() 886 do_in_jni_thread( in btif_storage_add_leaudio_has_device() 909 do_in_jni_thread(Bind( in btif_storage_set_leaudio_has_active_preset() [all …]
|
D | btif_keystore.cc | 64 do_in_jni_thread(base::BindOnce([]() { in ConvertEncryptOrDecryptKeyIfNeeded() 81 do_in_jni_thread(base::BindOnce( in set_encrypt_key_or_remove_key()
|
D | btif_rc.cc | 621 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->getrcfeatures_cb, in handle_rc_ctrl_features_all() 672 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->getrcfeatures_cb, in handle_rc_ctrl_features() 703 do_in_jni_thread( in btif_rc_check_pending_cmd() 716 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->get_cover_art_psm_cb, in handle_rc_ctrl_psm() 799 do_in_jni_thread( in handle_rc_browse_connect() 809 do_in_jni_thread( in handle_rc_browse_connect() 891 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->connection_state_cb, in handle_rc_connect() 927 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->connection_state_cb, in handle_rc_disconnect() 1021 do_in_jni_thread(base::BindOnce(bt_rc_ctrl_callbacks->passthrough_rsp_cb, in handle_rc_passthrough_rsp() 1064 do_in_jni_thread(base::BindOnce( in handle_rc_vendorunique_rsp() [all …]
|
D | stack_manager.cc | 335 do_in_jni_thread(base::BindOnce(event_signal_stack_up, nullptr)); in event_start_up_stack() 381 do_in_jni_thread(base::BindOnce(event_signal_stack_down, nullptr)); in event_shut_down_stack()
|
/packages/modules/Bluetooth/system/rust/src/gatt/ffi/ |
D | gatt_shim.cc | 34 bt_status_t do_in_jni_thread(base::OnceClosure task); 67 do_in_jni_thread(base::BindOnce(callbacks.request_read_characteristic_cb, in OnServerRead() 72 do_in_jni_thread(base::BindOnce(callbacks.request_read_descriptor_cb, in OnServerRead() 106 do_in_jni_thread(base::BindOnce( in OnServerWrite() 112 do_in_jni_thread(base::BindOnce( in OnServerWrite() 124 do_in_jni_thread( in OnIndicationSentConfirmation() 137 do_in_jni_thread(base::BindOnce(callbacks.request_exec_write_cb, conn_id, in OnExecute()
|
/packages/modules/Bluetooth/system/btif/avrcp/ |
D | avrcp_service.cc | 179 do_in_jni_thread(base::Bind(&MediaInterface::SendKeyEvent, in SendKeyEvent() 190 do_in_jni_thread(base::Bind(&MediaInterface::GetSongInfo, in GetSongInfo() 201 do_in_jni_thread(base::Bind(&MediaInterface::GetPlayStatus, in GetPlayStatus() 214 do_in_jni_thread(base::Bind(&MediaInterface::GetNowPlayingList, in GetNowPlayingList() 227 do_in_jni_thread(base::Bind(&MediaInterface::GetMediaPlayerList, in GetMediaPlayerList() 240 do_in_jni_thread(base::Bind(&MediaInterface::GetFolderItems, in GetFolderItems() 255 do_in_jni_thread(base::Bind(&MediaInterface::SetBrowsedPlayer, in SetBrowsedPlayer() 262 do_in_jni_thread(base::Bind(&MediaInterface::PlayItem, in PlayItem() 268 do_in_jni_thread(base::Bind(&MediaInterface::SetActiveDevice, in SetActiveDevice() 291 do_in_jni_thread( in DeviceConnected() [all …]
|
/packages/modules/Bluetooth/system/main/shim/ |
D | le_scanning_manager.cc | 205 do_in_jni_thread(base::BindOnce(&BleScannerInterfaceImpl::AddressCache::init, in Scan() 245 do_in_jni_thread(base::BindOnce(cb, 0, 0, btm_status_value(BTM_SUCCESS))); in ScanFilterParamSetup() 264 do_in_jni_thread(base::BindOnce(cb, 0, 0, 0, btm_status_value(BTM_SUCCESS))); in ScanFilterAdd() 280 do_in_jni_thread(base::BindOnce(cb, action, btm_status_value(BTM_SUCCESS))); in ScanFilterEnable() 381 do_in_jni_thread(base::BindOnce(cb, btm_status_value(BTM_SUCCESS))); in BatchscanConfigStorage() 395 do_in_jni_thread(base::BindOnce(cb, btm_status_value(BTM_SUCCESS))); in BatchscanEnable() 402 do_in_jni_thread(base::BindOnce(cb, btm_status_value(BTM_SUCCESS))); in BatchscanDisable() 506 do_in_jni_thread(base::BindOnce(&ScanningCallbacks::OnScannerRegistered, in OnScannerRegistered() 513 do_in_jni_thread(base::BindOnce( in OnSetScannerParameterComplete() 531 do_in_jni_thread(base::BindOnce( in OnScanResult() [all …]
|
D | le_advertising_manager.cc | 246 do_in_jni_thread( in OnAdvertisingSetStarted() 266 do_in_jni_thread(base::BindOnce(&AdvertisingCallbacks::OnAdvertisingEnabled, in OnAdvertisingEnabled() 272 do_in_jni_thread(base::BindOnce(&AdvertisingCallbacks::OnAdvertisingDataSet, in OnAdvertisingDataSet() 277 do_in_jni_thread(base::BindOnce( in OnScanResponseDataSet() 284 do_in_jni_thread( in OnAdvertisingParametersUpdated() 292 do_in_jni_thread(base::BindOnce( in OnPeriodicAdvertisingParametersUpdated() 298 do_in_jni_thread(base::BindOnce( in OnPeriodicAdvertisingDataSet() 305 do_in_jni_thread( in OnPeriodicAdvertisingEnabled() 319 do_in_jni_thread(base::BindOnce(&AdvertisingCallbacks::OnOwnAddressRead, in OnOwnAddressRead()
|
D | distance_measurement_manager.cc | 66 do_in_jni_thread(base::BindOnce( in OnDistanceMeasurementStarted() 75 do_in_jni_thread(base::BindOnce( in OnDistanceMeasurementStartFail() 85 do_in_jni_thread(base::BindOnce( in OnDistanceMeasurementStopped() 98 do_in_jni_thread(base::BindOnce( in OnDistanceMeasurementResult()
|
/packages/modules/Bluetooth/system/test/mock/ |
D | mock_jni_thread.cc | 42 bt_status_t do_in_jni_thread(base::OnceClosure task) { in do_in_jni_thread() function 47 bt_status_t do_in_jni_thread(const base::Location& /* from_here */, in do_in_jni_thread() function
|
/packages/modules/Bluetooth/system/gd/ |
D | module_jniloop.h | 36 do_in_jni_thread(base::BindOnce(std::forward<Functor>(functor), std::forward<Args>(args)...)); in PostFunctionOnJni() 42 do_in_jni_thread(base::BindOnce( in PostMethodOnJni()
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_common.h | 101 bt_status_t do_in_jni_thread(base::OnceClosure task); 115 do_in_jni_thread(base::BindOnce(cb, std::forward<Args>(args)...)); in jni_thread_wrapper()
|
D | btif_jni_task.h | 51 bt_status_t do_in_jni_thread(base::OnceClosure task);
|
/packages/modules/Bluetooth/system/test/headless/ |
D | bt_stack_info.cc | 44 do_in_jni_thread(base::BindOnce( in BtStackInfo()
|