/frameworks/base/services/tests/mockingservicestests/src/com/android/server/app/ |
D | GameManagerServiceTests.java | 1534 verify(mMockPowerManager, never()).setPowerMode(anyInt(), anyBoolean()); in testSetGameState_loadingRequiresPerformanceMode() 1555 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, true); in testSetGameStateLoading_withNoDeviceConfig() 1559 verify(mMockPowerManager, never()).setPowerMode(Mode.GAME_LOADING, false); in testSetGameStateLoading_withNoDeviceConfig() 1562 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, false); in testSetGameStateLoading_withNoDeviceConfig() 1577 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, true); in testSetGameStateLoading_withDeviceConfig() 1578 verify(mMockPowerManager, never()).setPowerMode(Mode.GAME_LOADING, false); in testSetGameStateLoading_withDeviceConfig() 1584 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, false); in testSetGameStateLoading_withDeviceConfig() 1605 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, false); in testSetGameStateNotLoading() 2205 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME_LOADING, false); in testResetGamePowerMode() 2206 verify(mMockPowerManager, times(1)).setPowerMode(Mode.GAME, false); in testResetGamePowerMode() [all …]
|
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DualDisplayTransactionTest.h | 38 injector.setPowerMode(kInnerDisplayPowerMode); in SetUp() 46 injector.setPowerMode(kOuterDisplayPowerMode); in SetUp()
|
D | RefreshRateStatsTest.cpp | 80 mRefreshRateStats->setPowerMode(PowerMode::ON); in TEST_F() 89 mRefreshRateStats->setPowerMode(PowerMode::DOZE); in TEST_F() 128 mRefreshRateStats->setPowerMode(PowerMode::ON); in TEST_F() 166 mRefreshRateStats->setPowerMode(PowerMode::DOZE); in TEST_F()
|
D | CommitAndCompositeTest.h | 44 .setPowerMode(hal::PowerMode::ON) in SetUp() 61 .setPowerMode(hal::PowerMode::ON) in SetUp()
|
D | SurfaceFlinger_SetPowerModeInternalTest.cpp | 264 display->setPowerMode(mode); in injectDisplayWithInitialPowerMode() 288 EXPECT_CALL(*test->mComposer, setPowerMode(Display::HWC_DISPLAY_ID, mode)).Times(1); in setupComposerCallExpectations() 292 EXPECT_CALL(*test->mComposer, setPowerMode(Display::HWC_DISPLAY_ID, _)).Times(0); in setupNoComposerPowerModeCallExpectations() 376 display.mutableDisplayDevice()->setPowerMode(PowerMode::ON); in TEST_F() 406 display.mutableDisplayDevice()->setPowerMode(PowerMode::ON); in TEST_F()
|
D | SurfaceFlinger_PowerHintTest.cpp | 55 mDisplay->setPowerMode(hal::PowerMode::DOZE); in TEST_F()
|
D | TimeStatsTest.cpp | 530 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() 552 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() 568 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(PowerMode::ON)); in TEST_F() 574 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(PowerMode::OFF)); in TEST_F() 592 mTimeStats->setPowerMode(PowerMode::OFF); in TEST_F() 595 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() 626 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() 901 ASSERT_NO_FATAL_FAILURE(mTimeStats->setPowerMode(PowerMode::ON)); in TEST_F() 933 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() 1102 mTimeStats->setPowerMode(PowerMode::ON); in TEST_F() [all …]
|
D | DisplayTransactionTestHelpers.h | 366 .setPowerMode(kPowerMode) 385 EXPECT_CALL(*test->mComposer, setPowerMode(HWC_DISPLAY_ID, kPowerMode)) 392 EXPECT_CALL(*test->mComposer, setPowerMode(HWC_DISPLAY_ID, _))
|
D | SurfaceFlinger_DisplayModeSwitching.cpp | 97 .setPowerMode(hal::PowerMode::OFF) in injectOuterDisplay() 102 injector.setPowerMode(hal::PowerMode::OFF); in injectOuterDisplay()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 91 static bool setPowerMode(Mode mode, bool enabled) { in setPowerMode() function 239 return setPowerMode(static_cast<Mode>(mode), enabled); in nativeSetPowerMode()
|
/frameworks/base/core/java/android/os/ |
D | PowerManagerInternal.java | 333 public abstract void setPowerMode(int mode, boolean enabled); in setPowerMode() method in PowerManagerInternal
|
D | IPowerManager.aidl | 38 oneway void setPowerMode(int mode, boolean enabled); in setPowerMode() method
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/ |
D | MockTimeStats.h | 58 MOCK_METHOD1(setPowerMode,
|
/frameworks/native/services/surfaceflinger/Scheduler/ |
D | RefreshRateStats.h | 57 void setPowerMode(PowerMode mode) { in setPowerMode() function
|
/frameworks/native/services/surfaceflinger/TimeStats/ |
D | TimeStats.h | 178 virtual void setPowerMode( 281 void setPowerMode(
|
/frameworks/base/services/core/java/com/android/server/app/ |
D | GameManagerService.java | 395 mPowerManagerInternal.setPowerMode(Mode.GAME_LOADING, isLoading); 419 mPowerManagerInternal.setPowerMode(Mode.GAME_LOADING, false); 1300 mPowerManagerInternal.setPowerMode(Mode.GAME_LOADING, true); 1577 mPowerManagerInternal.setPowerMode(Mode.GAME_LOADING, false); 1579 mPowerManagerInternal.setPowerMode(Mode.GAME, false); 2317 mPowerManagerInternal.setPowerMode(Mode.GAME, false); 2326 mPowerManagerInternal.setPowerMode(Mode.GAME, true); 2344 mPowerManagerInternal.setPowerMode(Mode.GAME, false); 2350 mPowerManagerInternal.setPowerMode(Mode.GAME, true);
|
/frameworks/native/services/surfaceflinger/ |
D | DisplayDevice.cpp | 106 setPowerMode(args.initialPowerMode); 170 void DisplayDevice::setPowerMode(hal::PowerMode mode) { in setPowerMode() function in android::DisplayDevice
|
D | DisplayDevice.h | 174 void setPowerMode(hardware::graphics::composer::hal::PowerMode);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePowerManager.java | 152 public void setPowerMode(int mode, boolean enabled) { in setPowerMode() method in BridgePowerManager
|
/frameworks/native/libs/gui/aidl/android/gui/ |
D | ISurfaceComposer.aidl | 138 void setPowerMode(IBinder display, int mode); in setPowerMode() method
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityTaskManagerServiceTests.java | 477 verify(mWm.mPowerManagerInternal).setPowerMode( in testSetPowerMode() 480 verify(mWm.mPowerManagerInternal).setPowerMode( in testSetPowerMode() 488 verify(mWm.mPowerManagerInternal, never()).setPowerMode( in testSetPowerMode() 493 verify(mWm.mPowerManagerInternal).setPowerMode( in testSetPowerMode() 497 verify(mWm.mPowerManagerInternal).setPowerMode( in testSetPowerMode()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/tests/ |
D | MockHWComposer.h | 67 MOCK_METHOD2(setPowerMode, status_t(PhysicalDisplayId, hal::PowerMode));
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | HWComposer.h | 166 virtual status_t setPowerMode(PhysicalDisplayId, hal::PowerMode) = 0; 369 status_t setPowerMode(PhysicalDisplayId, hal::PowerMode mode) override;
|
D | HWComposer.cpp | 610 status_t HWComposer::setPowerMode(PhysicalDisplayId displayId, hal::PowerMode mode) { in setPowerMode() function in android::impl::HWComposer 624 auto error = hwcDisplay->setPowerMode(mode); in setPowerMode() 644 auto error = hwcDisplay->setPowerMode(mode); in setPowerMode() 654 error = hwcDisplay->setPowerMode(hal::PowerMode::ON); in setPowerMode()
|
/frameworks/native/services/surfaceflinger/tests/unittests/mock/DisplayHardware/ |
D | MockHWC2.h | 78 MOCK_METHOD(hal::Error, setPowerMode, (hal::PowerMode), (override));
|