Home
last modified time | relevance | path

Searched refs:setPowerModeInternal (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DSurfaceFlinger_FoldableTest.cpp41 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
46 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
49 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::OFF); in TEST_F()
50 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
54 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::OFF); in TEST_F()
55 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
60 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
64 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
77 mFlinger.setPowerModeInternal(mInnerDisplay, PowerMode::ON); in TEST_F()
78 mFlinger.setPowerModeInternal(mOuterDisplay, PowerMode::ON); in TEST_F()
[all …]
DSurfaceFlinger_DisplayModeSwitching.cpp376 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::OFF); in TEST_F()
377 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
409 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::OFF); in TEST_F()
410 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
449 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
450 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
495 mFlinger.setPowerModeInternal(mDisplay, hal::PowerMode::OFF); in TEST_F()
527 mFlinger.setPowerModeInternal(innerDisplay, hal::PowerMode::ON); in TEST_F()
528 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::ON); in TEST_F()
547 mFlinger.setPowerModeInternal(outerDisplay, hal::PowerMode::OFF); in TEST_F()
[all …]
DSurfaceFlinger_SetPowerModeInternalTest.cpp356 mFlinger.setPowerModeInternal(display, Case::Transition::TARGET_POWER_MODE); in transitionDisplayCommon()
381 mFlinger.setPowerModeInternal(display.mutableDisplayDevice(), PowerMode::ON); in TEST_F()
411 mFlinger.setPowerModeInternal(display.mutableDisplayDevice(), PowerMode::OFF); in TEST_F()
DTestableSurfaceFlinger.h485 auto setPowerModeInternal(const sp<DisplayDevice>& display, in setPowerModeInternal() function
487 return mFlinger->setPowerModeInternal(display, mode); in setPowerModeInternal()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java3782 setPowerModeInternal(MODE_DISPLAY_INACTIVE, allInactive);
4127 setPowerModeInternal(MODE_DEVICE_IDLE, mDeviceIdleMode || mLightDeviceIdleMode);
4144 setPowerModeInternal(MODE_DEVICE_IDLE, mDeviceIdleMode || mLightDeviceIdleMode);
4493 private boolean setPowerModeInternal(int mode, boolean enabled) {
5791 setPowerModeInternal(mode, enabled); // Intentionally ignore return value
5801 return setPowerModeInternal(mode, enabled);
7227 setPowerModeInternal(mode, enabled);
/frameworks/native/services/surfaceflinger/
DSurfaceFlinger.h749 void setPowerModeInternal(const sp<DisplayDevice>& display, hal::PowerMode mode)
DSurfaceFlinger.cpp3960 setPowerModeInternal(display, hal::PowerMode::ON); in processDisplayChanged()
6168 setPowerModeInternal(getDisplayDeviceLocked(id), hal::PowerMode::OFF); in initializeDisplays()
6177 setPowerModeInternal(getDisplayDeviceLocked(id), hal::PowerMode::ON); in initializeDisplays()
6183 void SurfaceFlinger::setPowerModeInternal(const sp<DisplayDevice>& display, hal::PowerMode mode) { in setPowerModeInternal() function in android::SurfaceFlinger
6345 setPowerModeInternal(display, static_cast<hal::PowerMode>(mode)); in setPowerMode()
/frameworks/base/services/
Dart-wear-profile21550 PLcom/android/server/power/PowerManagerService;->setPowerModeInternal(IZ)Z