Searched refs:PowerDevice (Results 1 – 5 of 5) sorted by relevance
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_device.cpp | 28 struct PowerDevice::impl { 48 PowerDevice::PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher) in PowerDevice() function in OHOS::bluetooth::PowerDevice 62 PowerDevice::~PowerDevice() in ~PowerDevice() 78 void PowerDevice::SetPowerMode() in SetPowerMode() 92 void PowerDevice::SetActiveMode() in SetActiveMode() 122 BTPowerMode PowerDevice::GetPowerMode() const in GetPowerMode() 175 PowerInfo PowerDevice::CalcMaxPower() const in CalcMaxPower() 215 int PowerDevice::BtmExitSniffMode() const in BtmExitSniffMode() 268 void PowerDevice::DelayTimeoutCallback(const std::weak_ptr<PowerDevice>& weakDevice) in DelayTimeoutCallback() 297 void PowerDevice::StopDelayTimer() const in StopDelayTimer() [all …]
|
H A D | power_state_machine.h | 65 void Init(PowerDevice &pd); 76 …PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd) : State(name, psm), p… in PowerState() 84 …PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine… 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 &fs… in PowerActiveActivingState() 173 …PowerActiveSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fs… in PowerActiveSniffingState() 196 PowerSniffState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(SNIFF_STATE, psm, pd){}; in PowerSniffState() 219 …PowerSniffActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fst… in PowerSniffActivingState() 243 …PowerSniffSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fst… in PowerSniffSniffingState()
|
H A D | power_device.h | 31 class PowerDevice : public std::enable_shared_from_this<PowerDevice> { 40 PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher); 47 PowerDevice() = delete; 54 ~PowerDevice(); 212 static void DelayTimeoutCallback(const std::weak_ptr<PowerDevice>& weakDevice); 296 BT_DISALLOW_COPY_AND_ASSIGN(PowerDevice);
|
H A D | power_manager.cpp | 80 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 D | power_state_machine.cpp | 23 void PowerStateMachine::Init(PowerDevice &pd) in Init()
|