Home
last modified time | relevance | path

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

/frameworks/opt/car/setupwizard/library/main/src/com/android/car/setupwizardlib/util/
DCarDrivingStateMonitor.java56 private Car mCar; field in CarDrivingStateMonitor
117 if (mCar != null) { in startMonitor()
118 if (mCar.isConnected()) { in startMonitor()
126 mCar.connect(); in startMonitor()
134 mCar = Car.createCar(mContext, new ServiceConnection() { in startMonitor()
159 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()
313 mCar.getCarManager(Car.CAR_UX_RESTRICTION_SERVICE); in registerRestrictionsManager()
[all …]
/frameworks/base/services/core/java/com/android/server/
DUiModeManagerService.java177 private boolean mCar; field in UiModeManagerService
512 mCar = pm.hasSystemFeature(PackageManager.FEATURE_AUTOMOTIVE); in onStart()
624 if (mCarModeEnabled || mCar) { in updateNightModeFromSettingsLocked()
1689 if (mCarModeEnabled || mCar) return; in persistNightMode()
1704 if (mCarModeEnabled || mCar) return; in persistNightModeOverrides()
1759 if (mPowerSave && !mCarModeEnabled && !mCar) { in updateConfigurationLocked()
1812 return mCar || !mPowerManager.isInteractive() in shouldApplyAutomaticChangesImmediately()