Home
last modified time | relevance | path

Searched refs:PowerDevice (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/
H A Dpower_device.cpp28 struct PowerDevice::impl {
48 PowerDevice::PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher) in PowerDevice() function in OHOS::bluetooth::PowerDevice
49 : pimpl(std::make_unique<PowerDevice::impl>(rawAddr, dispatcher)) in PowerDevice()
56 std::weak_ptr<PowerDevice> weakDevice = shared_from_this(); in PowerDevice()
57 pimpl->dispatcher_.PostTask(std::bind(&bluetooth::PowerDevice::DelayTimeoutCallback, weakDevice)); in PowerDevice()
62 PowerDevice::~PowerDevice() in ~PowerDevice()
68 void PowerDevice::SetRequestPower(const std::string &profileName, const RequestStatus status) const in SetRequestPower()
73 void PowerDevice
[all...]
H A Dpower_state_machine.h65 void Init(PowerDevice &pd);
76 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd) : State(name, psm), pd_(pd){}; in PowerState()
84 PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerState()
95 PowerDevice &pd_;
107 PowerActiveState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(ACTIVE_STATE, psm, pd){}; in PowerActiveState()
149 PowerActiveActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerActiveActivingState()
173 PowerActiveSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerActiveSniffingState()
196 PowerSniffState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(SNIFF_STATE, psm, pd){}; in PowerSniffState()
219 PowerSniffActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fstate) in PowerSniffActivingState()
243 PowerSniffSniffingState(PowerStateMachine &psm, PowerDevice
[all...]
H A Dpower_device.h31 class PowerDevice : public std::enable_shared_from_this<PowerDevice> { class
34 * @brief Construct PowerDevice object.
40 PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher);
47 PowerDevice() = delete;
50 * @brief Destruct PowerDevice object.
54 ~PowerDevice();
212 static void DelayTimeoutCallback(const std::weak_ptr<PowerDevice>& weakDevice);
296 BT_DISALLOW_COPY_AND_ASSIGN(PowerDevice);
H A Dpower_manager.cpp80 std::map<RawAddress, std::shared_ptr<PowerDevice>> powerDevices_ {};
176 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in UpdatePowerDevicesInfo()
207 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in ModeChangeCallBackProcess()
251 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in ConnectionCompleteCallBackProcess()
H A Dpower_state_machine.cpp23 void PowerStateMachine::Init(PowerDevice &pd) in Init()

Completed in 4 milliseconds