Searched refs:mPowerHal (Results 1 – 2 of 2) sorted by relevance
107 private MockedPowerHalService mPowerHal; field in CarPowerManagementServiceTest148 mPowerHal = new MockedPowerHalService(true /*isPowerStateSupported*/, in setUp()180 mService = new CarPowerManagementService(mContext, mResources, mPowerHal, in initTest()184 mPowerHal.setSignalListener(mPowerSignalListener); in initTest()204 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()[all …]
73 private final PowerHalService mPowerHal; field in VehicleHal97 mPowerHal = new PowerHalService(this); in VehicleHal()102 mAllServices.addAll(Arrays.asList(mPowerHal, in VehicleHal()116 mPowerHal = powerHal; in VehicleHal()197 return mPowerHal; in getPowerHal()