Searched refs:PowerTimer (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/powermgr/powermgr_lite/utils/include/ |
H A D | power_mgr_timer_util.h | 27 typedef timer_t PowerTimer; typedef 33 PowerTimer *PowerMgrCreateTimer(int64_t whenMsec, int64_t intervalMsec, PowerTimerCallback cb); 38 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec); 43 BOOL PowerMgrStartTimer(PowerTimer *timer, void *privateData); 48 BOOL PowerMgrRestartTimer(PowerTimer *timer, void *privateData); 53 BOOL PowerMgrStopTimer(PowerTimer *timer); 58 void PowerMgrDestroyTimer(PowerTimer *timer);
|
/ohos5.0/base/powermgr/powermgr_lite/utils/src/ |
H A D | power_mgr_timer_util.c | 29 PowerTimer timerId; 37 static inline PowerTimerInfo *GetPowerTimerInfo(PowerTimer *timer) in GetPowerTimerInfo() 49 static BOOL StartTimer(PowerTimer timer, int64_t whenMsec, int64_t intervalMsec) in StartTimer() 74 PowerTimer *PowerMgrCreateTimer(int64_t whenMsec, int64_t intervalMsec, PowerTimerCallback cb) in PowerMgrCreateTimer() 103 BOOL PowerMgrResetTimer(PowerTimer *timer, int64_t whenMsec, int64_t intervalMsec) in PowerMgrResetTimer() 116 BOOL PowerMgrStartTimer(PowerTimer *timer, void *privateData) in PowerMgrStartTimer() 129 BOOL PowerMgrRestartTimer(PowerTimer *timer, void *privateData) in PowerMgrRestartTimer() 139 BOOL PowerMgrStopTimer(PowerTimer *timer) in PowerMgrStopTimer() 151 void PowerMgrDestroyTimer(PowerTimer *timer) in PowerMgrDestroyTimer()
|
/ohos5.0/foundation/communication/bluetooth_service/services/bluetooth/service/src/common/ |
H A D | power_device.h | 237 class PowerTimer : public utility::Timer { 245 explicit PowerTimer(const std::function<void()> &callback) : utility::Timer(callback){}; in PowerTimer() function 252 PowerTimer() = delete; 287 BT_DISALLOW_COPY_AND_ASSIGN(PowerTimer);
|
H A D | power_device.cpp | 42 std::unique_ptr<PowerTimer> sniffDelayTimer_ = nullptr; 54 pimpl->sniffDelayTimer_ = std::make_unique<PowerTimer>(std::bind( in PowerDevice() 308 bool PowerDevice::PowerTimer::Start(int ms, bool isPeriodic) in Start() 317 bool PowerDevice::PowerTimer::Stop() in Stop() 323 uint64_t PowerDevice::PowerTimer::GetRemainMs() in GetRemainMs()
|
/ohos5.0/base/powermgr/powermgr_lite/services/include/small/ |
H A D | screen_saver_handler.h | 54 PowerTimer *timer_{nullptr};
|
/ohos5.0/base/powermgr/battery_lite/services/src/ |
H A D | battery_manage_service.c | 35 static PowerTimer *time_ = NULL;
|