Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_test/src/com/android/car/test/
DGarageModeTest.java30 MockCarPowerManagementService powerManagementService = new MockCarPowerManagementService(); in testMaintenanceActive() local
33 powerManagementService, in testMaintenanceActive()
38 powerManagementService.doNotifyPrepareShutdown(false)); in testMaintenanceActive()
51 MockCarPowerManagementService powerManagementService = new MockCarPowerManagementService(); in testMaintenanceInactive() local
54 powerManagementService, in testMaintenanceInactive()
58 powerManagementService.doNotifyPrepareShutdown(false)); in testMaintenanceInactive()
64 MockCarPowerManagementService powerManagementService = new MockCarPowerManagementService(); in testDisplayOn() local
67 powerManagementService, in testDisplayOn()
71 powerManagementService.doNotifyPrepareShutdown(false); in testDisplayOn()
73 powerManagementService.doNotifyPowerOn(true); in testDisplayOn()
[all …]
/packages/services/Car/service/src/com/android/car/
DGarageModeService.java96 public GarageModeService(Context context, CarPowerManagementService powerManagementService) { in GarageModeService() argument
97 this(context, powerManagementService, null); in GarageModeService()
101 protected GarageModeService(Context context, CarPowerManagementService powerManagementService, in GarageModeService() argument
104 mPowerManagementService = powerManagementService; in GarageModeService()