/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/util/ |
H A D | dispatcher.cpp | 23 Dispatcher::Dispatcher(const std::string &name) : name_(name), taskQueue_(128) in Dispatcher() function in utility::Dispatcher 26 Dispatcher::~Dispatcher() in ~Dispatcher() 29 void Dispatcher::Initialize() in Initialize() 36 thread_ = std::make_unique<std::thread>(&Dispatcher::Run, this, std::move(startPromise)); in Initialize() 41 void Dispatcher::Uninitialize() in Uninitialize() 54 void Dispatcher::PostTask(const std::function<void()> &task) in PostTask() 63 const std::string &Dispatcher::Name() const in Name() 68 void Dispatcher::Run(std::promise<void> promise) in Run()
|
H A D | dispatcher.h | 28 class Dispatcher { 36 explicit Dispatcher(const std::string &name = "bt-dispatcher"); 43 virtual ~Dispatcher(); 90 BT_DISALLOW_COPY_AND_ASSIGN(Dispatcher);
|
H A D | context.h | 63 : name_(name), version_(version), dispatcher_(std::make_unique<Dispatcher>(name)) in Context() 142 Dispatcher *GetDispatcher() in GetDispatcher() 184 std::unique_ptr<Dispatcher> dispatcher_ {};
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/classic/ |
H A D | classic_battery_observer.h | 43 explicit ClassicBatteryObserverHf(utility::Dispatcher &dispatcher); 49 utility::Dispatcher *dispatcher_ = nullptr; 55 explicit ClassicBatteryObserverAg(utility::Dispatcher &dispatcher); 61 utility::Dispatcher *dispatcher_ = nullptr;
|
H A D | classic_battery_observer.cpp | 25 ClassicBatteryObserverHf::ClassicBatteryObserverHf(utility::Dispatcher &dispatcher) : dispatcher_(&… in ClassicBatteryObserverHf() 50 ClassicBatteryObserverAg::ClassicBatteryObserverAg(utility::Dispatcher &dispatcher) : dispatcher_(&… in ClassicBatteryObserverAg()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_manager.h | 68 static void Initialize(utility::Dispatcher &dispatcher); 130 explicit PowerManager(utility::Dispatcher &dispatcher); 153 static void Initialize(utility::Dispatcher &dispatcher);
|
H A D | adapter_state_machine.h | 60 explicit AdapterStateMachine(utility::Dispatcher &dispatch) : dispatch_(dispatch){}; in AdapterStateMachine() 83 utility::Dispatcher &GetDispatch() const; 86 utility::Dispatcher &dispatch_;
|
H A D | power_manager.cpp | 37 void IPowerManager::Initialize(utility::Dispatcher &dispatcher) in Initialize() 52 void PowerManager::Initialize(utility::Dispatcher &dispatcher) in Initialize() 69 explicit impl(utility::Dispatcher &dispatcher) : dispatcher_(dispatcher) in impl() 79 utility::Dispatcher &dispatcher_; 102 PowerManager::PowerManager(utility::Dispatcher &dispatcher) : pimpl(std::make_unique<PowerManager::… in PowerManager()
|
H A D | profile_service_manager.h | 66 static void Initialize(utility::Dispatcher &dispatch); 191 explicit ProfileServiceManager(utility::Dispatcher &dispatch);
|
/ohos5.0/commonlibrary/rust/ylong_http/ |
H A D | README_zh.md | 42 - `ConnectionPool`:主要负责大量连接管理,管理所有 `Dispatcher` 的生命周期,包括启动、运行、停止。HTTP 协议是基于连接的通信协议,涉及连接复用、连接管理等功能。 43 …- `Dispatcher`:主要负责单一连接管理,管理单个连接的启动、运行、停止、传输。每个连接都被一个 `Dispatcher` 管辖,由 `Dispatcher` 决定当前待发送的请求是不是…
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/ |
H A D | a2dp_codec_thread.h | 34 using utility::Dispatcher; 97 Dispatcher *GetDispatcher() in GetDispatcher() 166 std::unique_ptr<Dispatcher> dispatcher_ {};
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/obex/ |
H A D | obex_mp_server.h | 26 …const ObexPrivateServerConfig &config, ObexServerObserver &observer, utility::Dispatcher &dispatch… 41 utility::Dispatcher &dispatcher);
|
H A D | obex_socket_transport.h | 66 …tTransport(const Option &option, ObexTransportObserver &observer, utility::Dispatcher &dispatcher); 130 utility::Dispatcher &dispatcher_; 141 …tTransport(const Option &option, ObexTransportObserver &observer, utility::Dispatcher &dispatcher); 207 utility::Dispatcher &dispatcher_;
|
H A D | obex_server.h | 79 …const ObexPrivateServerConfig &config, ObexServerObserver &observer, utility::Dispatcher &dispatch… 123 utility::Dispatcher &dispatcher_; 130 utility::Dispatcher &dispatcher);
|
H A D | obex_client.h | 118 …ent(const ObexClientConfig &config, ObexClientObserver &observer, utility::Dispatcher &dispatcher); 318 utility::Dispatcher &dispatcher_;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gas/ |
H A D | generic_access_service.h | 43 GenericAccessService(GattServerService &service, utility::Dispatcher &dispatcher); 72 utility::Dispatcher &dispatcher_;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/gatts/ |
H A D | generic_attribute_service.h | 34 GenericAttributeService(GattServerService &service, utility::Dispatcher &dispatcher); 59 utility::Dispatcher &dispatcher_;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/transport/ |
H A D | transport_rfcomm.h | 39 utility::Dispatcher &dispatcher); 138 utility::Dispatcher &dispatcher_;
|
H A D | transport_factory.h | 41 DataTransportObserver &observer, utility::Dispatcher &dispatcher);
|
H A D | transport_def.h | 56 utility::Dispatcher &dispatcher;
|
H A D | transport_factory.cpp | 24 …*addr, uint8_t scn, uint16_t mtu, DataTransportObserver &observer, utility::Dispatcher &dispatcher) in CreateRfcommTransport()
|
/ohos5.0/commonlibrary/rust/ylong_http/ylong_http_client/src/util/ |
H A D | dispatcher.rs | 14 pub(crate) trait Dispatcher { interface 30 impl<S> Dispatcher for ConnDispatcher<S> { 68 use super::{ConnDispatcher, Dispatcher}; 106 impl<S> Dispatcher for Http1Dispatcher<S> { 169 use crate::util::dispatcher::{ConnDispatcher, Dispatcher}; 367 impl<S> Dispatcher for Http2Dispatcher<S> { 665 use crate::dispatcher::{ConnDispatcher, Dispatcher};
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/hid_host/ |
H A D | hid_host_hogp.h | 32 using utility::Dispatcher; 86 std::unique_ptr<Dispatcher> dispatcher_ {};
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/ble/ |
H A D | ble_security.h | 41 …IAdapterBle &bleAdapter, utility::Dispatcher &dispatch, BaseObserverList<IAdapterBleObserver> &obs… 126 utility::Dispatcher *dispatcher_ = nullptr;
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/gatt/ |
H A D | gatt_based_services_manager.h | 30 GattBasedServicesManager(GattServerService &server, utility::Dispatcher &dispatcher);
|