Home
last modified time | relevance | path

Searched refs:mPowerPropertiesWrapper (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/
DPowerManagerServiceTest.java182 @Mock private PowerManagerService.PowerPropertiesWrapper mPowerPropertiesWrapper; field in PowerManagerServiceTest
362 return mPowerPropertiesWrapper; in createService()
721 doReturn(false).when(mPowerPropertiesWrapper).waive_target_sdk_check_for_turn_screen_on(); in testWakefulnessAwake_AcquireCausesWakeupOldSdk_turnScreenOnAllowed()
746 doReturn(false).when(mPowerPropertiesWrapper).waive_target_sdk_check_for_turn_screen_on(); in testWakefulnessAwake_AcquireCausesWakeup_turnScreenOnDenied()
747 doReturn(false).when(mPowerPropertiesWrapper).permissionless_turn_screen_on(); in testWakefulnessAwake_AcquireCausesWakeup_turnScreenOnDenied()
773 doReturn(true).when(mPowerPropertiesWrapper).waive_target_sdk_check_for_turn_screen_on(); in testWakefulnessAwake_AcquireCausesWakeupOldSdk_turnScreenOnDenied()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java333 private final PowerPropertiesWrapper mPowerPropertiesWrapper; field in PowerManagerService
1204 mPowerPropertiesWrapper = mInjector.createPowerPropertiesWrapper();
1727 && !mPowerPropertiesWrapper.waive_target_sdk_check_for_turn_screen_on()) {
1732 if (mPowerPropertiesWrapper.permissionless_turn_screen_on()) {