Home
last modified time | relevance | path

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

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hal/
DPowerHalServiceUnitTest.java599 assertThat(mPowerHalService.isVehicleInUse()).isTrue(); in testVehicleInUse_true()
607 assertThat(mPowerHalService.isVehicleInUse()).isFalse(); in testVehicleInUse_false()
614 assertThat(mPowerHalService.isVehicleInUse()).isTrue(); in testVehicleInUse_serviceSpecificException()
621 assertThat(mPowerHalService.isVehicleInUse()).isTrue(); in testVehicleInUse_illegalArgumentException()
/packages/services/Car/service/src/com/android/car/remoteaccess/
DCarRemoteAccessService.java1349 if (mPowerHalService.isVehicleInUse()) { in shutdownIfNeeded()
1394 || mPowerHalService.isVehicleInUse()) { in calcTaskMaxDurationInMsLocked()
1628 if (mPowerHalService.isVehicleInUse()) { in notifyShutdownStarting()
1655 && !mPowerHalService.isVehicleInUse()) { in wrapUpRemoteAccessServiceIfNeeded()
/packages/services/Car/service/src/com/android/car/hal/
DPowerHalService.java586 public boolean isVehicleInUse() { in isVehicleInUse() method in PowerHalService
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/remoteaccess/
DCarRemoteAccessServiceUnitTest.java1822 when(mPowerHalService.isVehicleInUse()).thenReturn(inUse); in setVehicleInUse()
/packages/services/Car/service/src/com/android/car/power/
DCarPowerManagementService.java3812 if (mHal.isVehicleInUse()) { in maybeEnterGarageModeOnBoot()