Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java204 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.ON, 0)); in testDisplayOn()
215 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.ON, 0)); in testShutdown()
218 mPowerHal.setCurrentPowerState( in testShutdown()
235 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.ON, 0)); in testSuspend()
238 mPowerHal.setCurrentPowerState( in testSuspend()
252 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.ON, 0)); in testShutdownOnSuspend()
257 mPowerHal.setCurrentPowerState( in testShutdownOnSuspend()
266 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.FINISHED, 0)); in testShutdownOnSuspend()
269 mPowerHal.setCurrentPowerState(new PowerState(VehicleApPowerStateReq.CANCEL_SHUTDOWN, 0)); in testShutdownOnSuspend()
274 mPowerHal.setCurrentPowerState( in testShutdownOnSuspend()
[all …]
DMockedPowerHalService.java136 public void setCurrentPowerState(PowerState state) { in setCurrentPowerState() method in MockedPowerHalService
137 setCurrentPowerState(state, true); in setCurrentPowerState()
140 public void setCurrentPowerState(PowerState state, boolean notify) { in setCurrentPowerState() method in MockedPowerHalService