Home
last modified time | relevance | path

Searched refs:mPowerManagementService (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/service/src/com/android/car/pm/
DVendorServiceController.java99 private CarPowerManagementService mPowerManagementService; field in VendorServiceController
165 mPowerManagementService = CarLocalServices.getService(CarPowerManagementService.class); in init()
177 mPowerManagementService.registerListener(mCarPowerStateListener); in init()
191 mPowerManagementService.unregisterListener(mCarPowerStateListener); in release()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/occupantconnection/
DCarRemoteDeviceServiceTest.java122 private CarPowerManagementService mPowerManagementService; field in CarRemoteDeviceServiceTest
157 CarLocalServices.addService(CarPowerManagementService.class, mPowerManagementService); in setUp()
165 mPowerManagementService, mSystemActivityMonitoringService, mActivityManager, in setUp()
345 verify(mPowerManagementService).setDisplayPowerState(displayId, true); in testChangePowerStateOn()
356 verify(mPowerManagementService).setDisplayPowerState(displayId, false); in testChangePowerStateOff()
/packages/services/Car/service/src/com/android/car/
DCarMediaService.java140 private final CarPowerManagementService mPowerManagementService; field in CarMediaService
401 mPowerManagementService = powerManagementService; in CarMediaService()
545 CarPowerPolicy currentPolicy = mPowerManagementService.getCurrentPowerPolicy(); in isMediaPowerEnabled()
628 mPowerManagementService.addPowerPolicyListener(filter, mPowerPolicyListener); in setPowerPolicyListener()
640 mPowerManagementService.removePowerPolicyListener(mPowerPolicyListener); in release()
/packages/services/Car/service/src/com/android/car/occupantconnection/
DCarRemoteDeviceService.java150 private final CarPowerManagementService mPowerManagementService; field in CarRemoteDeviceService
287 mPowerManagementService = powerManagementService; in CarRemoteDeviceService()
410 mPowerManagementService.setDisplayPowerState(id, powerOn); in setOccupantZonePower()