Searched refs:PowerDevice (Results 1 – 5 of 5) sorted by relevance
/foundation/communication/bluetooth/services/bluetooth_standard/service/src/common/ |
D | power_device.cpp | 27 struct PowerDevice::impl { 47 PowerDevice::PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher) in PowerDevice() function in bluetooth::PowerDevice 48 : pimpl(std::make_unique<PowerDevice::impl>(rawAddr, dispatcher)) in PowerDevice() 55 std::weak_ptr<PowerDevice> weakDevice = shared_from_this(); in PowerDevice() 56 … pimpl->dispatcher_.PostTask(std::bind(&bluetooth::PowerDevice::DelayTimeoutCallback, weakDevice)); in PowerDevice() 61 PowerDevice::~PowerDevice() in ~PowerDevice() 67 void PowerDevice::SetRequestPower(const std::string &profileName, const RequestStatus status) const in SetRequestPower() 72 void PowerDevice::DeleteRequestPower(const std::string &profileName) const in DeleteRequestPower() 77 void PowerDevice::SetPowerMode() in SetPowerMode() 91 void PowerDevice::SetActiveMode() in SetActiveMode() [all …]
|
D | power_state_machine.h | 64 void Init(PowerDevice &pd); 75 …PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd) : State(name, psm), p… in PowerState() 83 …PowerState(const std::string &name, PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine… in PowerState() 94 PowerDevice &pd_; 106 PowerActiveState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(ACTIVE_STATE, psm, pd){}; in PowerActiveState() 148 …PowerActiveActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fs… in PowerActiveActivingState() 172 …PowerActiveSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fs… in PowerActiveSniffingState() 195 PowerSniffState(PowerStateMachine &psm, PowerDevice &pd) : PowerState(SNIFF_STATE, psm, pd){}; in PowerSniffState() 218 …PowerSniffActivingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fst… in PowerSniffActivingState() 242 …PowerSniffSniffingState(PowerStateMachine &psm, PowerDevice &pd, utility::StateMachine::State &fst… in PowerSniffSniffingState()
|
D | power_device.h | 30 class PowerDevice : public std::enable_shared_from_this<PowerDevice> { 39 PowerDevice(const RawAddress rawAddr, utility::Dispatcher &dispatcher); 46 PowerDevice() = delete; 53 ~PowerDevice(); 210 static void DelayTimeoutCallback(const std::weak_ptr<PowerDevice>& weakDevice); 294 DISALLOW_COPY_AND_ASSIGN(PowerDevice);
|
D | power_manager.cpp | 79 std::map<RawAddress, std::shared_ptr<PowerDevice>> powerDevices_ {}; 179 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in UpdatePowerDevicesInfo() 210 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in ModeChangeCallBackProcess() 255 powerDevices_[rawAddr] = std::make_shared<PowerDevice>(rawAddr, dispatcher_); in ConnectionCompleteCallBackProcess()
|
D | power_state_machine.cpp | 22 void PowerStateMachine::Init(PowerDevice &pd) in Init()
|