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.java85 private CarDrivingStateService mCarDrivingStateService; field in CarLocationService
142 if (mCarDrivingStateService != null) {
143 mCarDrivingStateService.unregisterDrivingStateChangeListener(
162 mCarDrivingStateService = CarLocalServices.getService(CarDrivingStateService.class); in init()
163 if (mCarDrivingStateService != null) { in init()
164 CarDrivingStateEvent event = mCarDrivingStateService.getCurrentDrivingState(); in init()
168 mCarDrivingStateService.registerDrivingStateChangeListener( in init()
188 if (mCarDrivingStateService != null) { in release()
189 mCarDrivingStateService.unregisterDrivingStateChangeListener( in release()
219 if (mCarDrivingStateService != null) { in onStateChanged()
[all …]
DICarImpl.java85 private final CarDrivingStateService mCarDrivingStateService; field in ICarImpl
147 mCarDrivingStateService = new CarDrivingStateService(serviceContext, mCarPropertyService); in ICarImpl()
149 mCarDrivingStateService, mCarPropertyService); in ICarImpl()
193 CarLocalServices.addService(CarDrivingStateService.class, mCarDrivingStateService); in ICarImpl()
203 allServices.add(mCarDrivingStateService); in ICarImpl()
355 return mCarDrivingStateService; in getCarService()