Home
last modified time | relevance | path

Searched refs:toUnderlying (Results 1 – 10 of 10) sorted by relevance

/hardware/google/graphics/common/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplay.h158 int mVrrThrottleFps[toUnderlying(VrrThrottleRequester::MAX)];
162 int64_t mVrrThrottleNanos[toUnderlying(VrrThrottleRequester::MAX)];
169 int64_t mDisplayIdleTimerNanos[toUnderlying(DispIdleTimerRequester::MAX)];
DExynosPrimaryDisplay.cpp902 mDisplayIdleTimerNanos[toUnderlying(requester)] = delayNanos; in setDisplayIdleDelayNanos()
903 for (uint32_t i = 0; i < toUnderlying(DispIdleTimerRequester::MAX); i++) { in setDisplayIdleDelayNanos()
1003 if (fps == mVrrThrottleFps[toUnderlying(requester)]) return NO_ERROR; in setMinIdleRefreshRate()
1005 ALOGD("%s requester %u, fps %d", __func__, toUnderlying(requester), fps); in setMinIdleRefreshRate()
1006 mVrrThrottleFps[toUnderlying(requester)] = fps; in setMinIdleRefreshRate()
1008 for (uint32_t i = 0; i < toUnderlying(VrrThrottleRequester::MAX); i++) { in setMinIdleRefreshRate()
1039 if (delayNanos == mVrrThrottleNanos[toUnderlying(requester)]) return NO_ERROR; in setRefreshRateThrottleNanos()
1041 ALOGI("%s() requester(%u) set delay to %" PRId64 "ns", __func__, toUnderlying(requester), in setRefreshRateThrottleNanos()
1043 mVrrThrottleNanos[toUnderlying(requester)] = delayNanos; in setRefreshRateThrottleNanos()
1045 for (uint32_t i = 0; i < toUnderlying(VrrThrottleRequester::MAX); i++) { in setRefreshRateThrottleNanos()
[all …]
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosLayer.h79 HWC2_COMPOSITION_DISPLAY_DECORATION = toUnderlying(Composition::DISPLAY_DECORATION),
80 HWC2_COMPOSITION_REFRESH_RATE_INDICATOR = toUnderlying(Composition::REFRESH_RATE_INDICATOR),
DExynosLayer.cpp358 toUnderlying(AidlBufferUsage::FRONT_BUFFER)) { in doPreProcess()
415 toUnderlying(AidlBufferUsage::FRONT_BUFFER)) != in setLayerBuffer()
417 toUnderlying(AidlBufferUsage::FRONT_BUFFER))) in setLayerBuffer()
DBrightnessController.cpp423 {std::to_string(toUnderlying(mPendingGhbmStatus.load()))}, vsyncNs * 5); in processDisplayBrightness()
/hardware/google/pixel/vibrator/drv2624/
DVibrator.cpp63 using utils::toUnderlying;
134 mHwApi->setCtrlLoop(toUnderlying(loopMode)); in on()
142 mHwApi->setLraWaveShape(toUnderlying(config->shape)); in on()
/hardware/google/pixel/vibrator/common/
Dutils.h65 inline auto toUnderlying(const T value) { in toUnderlying() function
/hardware/google/graphics/common/libhwc2.1/libdisplayinterface/
DExynosDisplayDrmInterface.cpp596 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE), "sync_refresh_rate"}, in parseMipiSyncEnums()
597 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM), "sync_lhbm"}, in parseMipiSyncEnums()
598 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM), "sync_ghbm"}, in parseMipiSyncEnums()
599 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL), "sync_bl"}, in parseMipiSyncEnums()
600 {toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE), "sync_op_rate"}, in parseMipiSyncEnums()
1855 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_REFRESH_RATE)]; in deliverWinConfigData()
1992 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_GHBM)]; in deliverWinConfigData()
1996 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_LHBM)]; in deliverWinConfigData()
2000 1 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_BL)]; in deliverWinConfigData()
2004 << mMipiSyncEnums[toUnderlying(HalMipiSyncType::HAL_MIPI_CMD_SYNC_OP_RATE)]; in deliverWinConfigData()
/hardware/google/graphics/gs101/libhwc2.1/libmaindisplay/
DExynosPrimaryDisplayModule.cpp289 outClientTargetProperty->pixelFormat = toUnderlying(pixelFormat); in getClientTargetProperty()
290 outClientTargetProperty->dataspace = toUnderlying(dataspace); in getClientTargetProperty()
/hardware/google/graphics/common/libhwc2.1/libhwchelper/
DExynosHWCHelper.h647 constexpr typename std::underlying_type<T>::type toUnderlying(T v) { in toUnderlying() function