Home
last modified time | relevance | path

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

/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/
DCarServiceProvider.java36 private Car mCar; field in CarServiceProvider
41 mCar = Car.createCar(mContext, /* handler= */ null, Car.CAR_WAIT_TIMEOUT_DO_NOT_WAIT, in CarServiceProvider()
43 mCar = car; in CarServiceProvider()
48 listener.onConnected(mCar); in CarServiceProvider()
58 mCar = car; in CarServiceProvider()
66 if (mCar.isConnected()) { in addListener()
67 listener.onConnected(mCar); in addListener()
/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java57 private Car mCar; field in CarDrivingStateMonitor
118 if (mCar != null) { in startMonitor()
119 if (mCar.isConnected()) { in startMonitor()
127 mCar.connect(); in startMonitor()
135 mCar = Car.createCar(mContext, new ServiceConnection() { in startMonitor()
160 mCar.connect(); in startMonitor()
210 if (mCar == null || !mCar.isConnected()) { in disconnectCarMonitor()
215 mCar.disconnect(); in disconnectCarMonitor()
226 if (mMonitorStartedCount <= 0 && (mCar == null || !mCar.isConnected())) { in checkIsSetupRestricted()
303 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE); in registerRestrictionsManager()
[all …]
/frameworks/base/packages/CarSystemUI/tests/src/com/android/systemui/car/hvac/
DHvacControllerTest.java55 private Car mCar; field in HvacControllerTest
62 when(mCar.isConnected()).thenReturn(true); in setUp()
63 when(mCar.getCarManager(Car.HVAC_SERVICE)).thenReturn(mCarHvacManager); in setUp()
65 mCarServiceProvider = new CarServiceProvider(mContext, mCar); in setUp()
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java120 private boolean mCar; field in UiModeManagerService
389 mCar = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in onStart()
1134 return mCar || !mPowerManager.isInteractive(); in shouldApplyAutomaticChangesImmediately()