Home
last modified time | relevance | path

Searched refs:PowerHalService (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/
DCarPowerManagementServiceTest.java35 import com.android.car.hal.PowerHalService;
36 import com.android.car.hal.PowerHalService.PowerState;
139 assertStateReceived(PowerHalService.SET_SHUTDOWN_START, 0); in testShutdown()
150 PowerHalService.SET_SHUTDOWN_START, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testShutdownWithProcessing()
163 PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testSleepEntryAndWakeup()
168 assertStateReceived(PowerHalService.SET_DEEP_SLEEP_EXIT, 0); in testSleepEntryAndWakeup()
188 PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testSleepEntryAndWakeUpForProcessing()
194 assertStateReceived(PowerHalService.SET_DEEP_SLEEP_EXIT, 0); in testSleepEntryAndWakeUpForProcessing()
208 PowerHalService.SET_DEEP_SLEEP_ENTRY, WAIT_TIMEOUT_LONG_MS, wakeupTime); in testSleepEntryAndWakeUpForProcessing()
215 assertStateReceived(PowerHalService.SET_DEEP_SLEEP_EXIT, 0); in testSleepEntryAndWakeUpForProcessing()
[all …]
DMockedPowerHalService.java21 import com.android.car.hal.PowerHalService;
26 public class MockedPowerHalService extends PowerHalService {
/packages/services/Car/service/src/com/android/car/
DCarPowerManagementService.java38 import com.android.car.hal.PowerHalService;
39 import com.android.car.hal.PowerHalService.PowerState;
56 CarServiceBase, PowerHalService.PowerEventListener {
58 private final PowerHalService mHal;
120 Context context, PowerHalService powerHal, SystemInterface systemInterface, in CarPowerManagementService()
/packages/services/Car/service/src/com/android/car/hal/
DVehicleHal.java72 private final PowerHalService mPowerHal;
96 mPowerHal = new PowerHalService(this); in VehicleHal()
112 public VehicleHal(PowerHalService powerHal, DiagnosticHalService diagnosticHal, in VehicleHal()
195 public PowerHalService getPowerHal() { in getPowerHal()
DPowerHalService.java43 public class PowerHalService extends HalServiceBase { class
175 public PowerHalService(VehicleHal hal) { in PowerHalService() method in PowerHalService