Searched refs:mListenerToService (Results 1 – 7 of 7) sorted by relevance
35 if (mIsConnected && (mListenerToService != nullptr)) { in clearListener()36 mICarPower->unregisterListener(mListenerToService); in clearListener()37 mListenerToService = nullptr; in clearListener()57 if (mListenerToService == nullptr) { in setListener()58 mListenerToService = new CarPowerStateListener(this); in setListener()59 mICarPower->registerListener(mListenerToService); in setListener()
51 private CarDrivingStateChangeListenerToService mListenerToService; field in CarDrivingStateManager64 mListenerToService = null; in onCarDisconnected()106 if (mListenerToService == null) { in registerListener()107 mListenerToService = new CarDrivingStateChangeListenerToService(this); in registerListener()110 mDrivingService.registerDrivingStateChangeListener(mListenerToService); in registerListener()131 mDrivingService.unregisterDrivingStateChangeListener(mListenerToService); in unregisterListener()133 mListenerToService = null; in unregisterListener()
61 private CarUxRestrictionsChangeListenerToService mListenerToService; field in CarUxRestrictionsManager74 mListenerToService = null; in onCarDisconnected()122 if (mListenerToService == null) { in registerListener()123 mListenerToService = new CarUxRestrictionsChangeListenerToService(this); in registerListener()126 mUxRService.registerUxRestrictionsChangeListener(mListenerToService, displayId); in registerListener()146 mUxRService.unregisterUxRestrictionsChangeListener(mListenerToService); in unregisterListener()
44 private ListenerToService mListenerToService; field in CarStorageMonitoringManager98 mListenerToService = null; in onCarDisconnected()255 if (mListenerToService == null) { in registerListener()256 mListenerToService = new ListenerToService(this); in registerListener()258 mService.registerListener(mListenerToService); in registerListener()276 mService.unregisterListener(mListenerToService); in unregisterListener()277 mListenerToService = null; in unregisterListener()
50 private ICarPowerStateListener mListenerToService; field in CarPowerManager209 if (mListenerToService == null) { in setServiceForListenerLocked()240 mListenerToService = listenerToService; in setServiceForListenerLocked()254 listenerToService = mListenerToService; in clearListener()255 mListenerToService = null; in clearListener()286 listenerToService = mListenerToService; in updateFutureLocked()
71 private final CarDiagnosticEventListenerToService mListenerToService; field in CarDiagnosticManager94 mListenerToService = new CarDiagnosticEventListenerToService(this); in CarDiagnosticManager()182 mListenerToService); in doUnregisterListenerLocked()196 return mService.registerOrUpdateDiagnosticListener(frameType, rate, mListenerToService); in registerOrUpdateDiagnosticListener()
102 sp<CarPowerStateListener> mListenerToService; variable