Home
last modified time | relevance | path

Searched refs:ToUnderlying (Results 1 – 6 of 6) sorted by relevance

/base/powermgr/power_manager/services/native/src/actions/
Dirunning_lock_action.cpp24 const array<string, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> IRunningLockAction::LOCK_TAGS {
35 auto t = ToUnderlying(type); in Acquire()
52 auto t = ToUnderlying(type); in Release()
/base/powermgr/power_manager/services/native/include/actions/
Dirunning_lock_action.h36 return LOCK_TAGS[ToUnderlying(type)]; in GetLockTag()
77 static const std::array<std::string, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> LOCK_TAGS;
79 std::array<RunningLockDesc, ToUnderlying(RunningLockType::RUNNINGLOCK_BUTT)> lockDescs_;
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h70 constexpr auto ToUnderlying(E e) noexcept in ToUnderlying() function
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h70 constexpr auto ToUnderlying(E e) noexcept in ToUnderlying() function
/base/powermgr/display_manager/utils/native/include/
Ddisplay_common.h70 constexpr auto ToUnderlying(E e) noexcept in ToUnderlying() function
/base/usb/usb_manager/utils/native/include/
Dusb_common.h135 constexpr auto ToUnderlying(E e) noexcept in ToUnderlying() function