Searched refs:carPowerManager (Results 1 – 2 of 2) sorted by relevance
404 CarPowerManager carPowerManager; in init() local407 carPowerManager = mCarPowerManager; in init()410 carPowerManager.setListener(mContext.getMainExecutor(), mPowerStateListener); in init()435 CarPowerManager carPowerManager; in release() local437 carPowerManager = mCarPowerManager; in release()440 carPowerManager.clearListener(); in release()
330 CarPowerManager carPowerManager; in startMonitoringEvents() local336 carPowerManager = CarLocalServices.createCarPowerManager(mContext); in startMonitoringEvents()337 mCarPowerManager = carPowerManager; in startMonitoringEvents()354 carPowerManager.setListener(mContext.getMainExecutor(), mCarPowerStateListener); in startMonitoringEvents()362 CarPowerManager carPowerManager; in stopMonitoringEvents() local368 carPowerManager = mCarPowerManager; in stopMonitoringEvents()371 if (carPowerManager != null) { in stopMonitoringEvents()372 carPowerManager.clearListener(); in stopMonitoringEvents()