Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarLocationService.java98 private CarDrivingStateService mCarDrivingStateService; field in CarLocationService
155 if (mCarDrivingStateService != null) {
156 mCarDrivingStateService.unregisterDrivingStateChangeListener(
174 mCarDrivingStateService = CarLocalServices.getService(CarDrivingStateService.class); in init()
175 if (mCarDrivingStateService != null) { in init()
176 CarDrivingStateEvent event = mCarDrivingStateService.getCurrentDrivingState(); in init()
180 mCarDrivingStateService.registerDrivingStateChangeListener( in init()
200 if (mCarDrivingStateService != null) { in release()
201 mCarDrivingStateService.unregisterDrivingStateChangeListener( in release()
231 if (mCarDrivingStateService != null) { in onStateChanged()
[all …]
DICarImpl.java92 private final CarDrivingStateService mCarDrivingStateService; field in ICarImpl
197 mCarDrivingStateService = new CarDrivingStateService(serviceContext, mCarPropertyService); in ICarImpl()
199 mCarDrivingStateService, mCarPropertyService); in ICarImpl()
266 CarLocalServices.addService(CarDrivingStateService.class, mCarDrivingStateService); in ICarImpl()
280 allServices.add(mCarDrivingStateService); in ICarImpl()
512 return mCarDrivingStateService; in getCarService()