Home
last modified time | relevance | path

Searched refs:mDisplayDeviceConfig (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DDisplayPowerProximityStateControllerTest.java58 DisplayDeviceConfig mDisplayDeviceConfig; field in DisplayPowerProximityStateControllerTest
77 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn( in before()
88 mWakelockController, mDisplayDeviceConfig, mTestLooper.getLooper(), in before()
168 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableAndNoDefault()
170 mWakelockController, mDisplayDeviceConfig, mTestLooper.getLooper(), in isProximitySensorAvailableReturnsFalseWhenNotAvailableAndNoDefault()
179 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()
183 mWakelockController, mDisplayDeviceConfig, mTestLooper.getLooper(), in isProximitySensorAvailableReturnsTrueWhenNotAvailableAndHasDefault()
192 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(new SensorData()); in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()
196 mWakelockController, mDisplayDeviceConfig, mTestLooper.getLooper(), in isProximitySensorAvailableReturnsFalseWhenNotAvailableHasDefaultNonDefaultDisplay()
204 when(mDisplayDeviceConfig.getProximitySensor()).thenReturn(null); in isProximitySensorAvailableReturnsTrueWhenNoSensorConfigured()
[all …]
DDisplayManagerServiceTest.java2418 displayDevice.mDisplayDeviceConfig = mMockDisplayDeviceConfig;
2450 displayDevice.mDisplayDeviceConfig = mMockDisplayDeviceConfig;
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DBrightnessLowLuxModifier.java60 private final DisplayDeviceConfig mDisplayDeviceConfig; field in BrightnessLowLuxModifier
72 mDisplayDeviceConfig = displayDeviceConfig; in BrightnessLowLuxModifier()
97 float luxBasedNitsLowerBound = mDisplayDeviceConfig.getMinNitsFromLux(mAmbientLux); in recalculateLowerBound()
105 minBrightnessAllowed = mDisplayDeviceConfig.getEvenDimmerTransitionPoint(); in recalculateLowerBound()
214 return mDisplayDeviceConfig.getBrightnessFromBacklight( in getBrightnessFromNits()
215 mDisplayDeviceConfig.getBacklightFromNits(nits)); in getBrightnessFromNits()
DBrightnessClamperController.java94 private final DisplayDeviceConfig mDisplayDeviceConfig; field in BrightnessClamperController
115 mDisplayDeviceConfig = data.mDisplayDeviceConfig; in BrightnessClamperController()
149 data.mDisplayDeviceConfig, mSensorManager); in BrightnessClamperController()
284 reloadLightSensorData(mDisplayDeviceConfig); in start()
358 private final DisplayDeviceConfig mDisplayDeviceConfig; field in BrightnessClamperController.DisplayDeviceData
367 mDisplayDeviceConfig = displayDeviceConfig; in DisplayDeviceData()
386 return mDisplayDeviceConfig.getThermalBrightnessThrottlingDataMapByThrottlingId().get( in getThermalBrightnessThrottlingData()
399 return mDisplayDeviceConfig.getPowerThrottlingDataMapByThrottlingId().get( in getPowerThrottlingData()
406 return mDisplayDeviceConfig.getPowerThrottlingConfigData(); in getPowerThrottlingConfigData()
411 return mDisplayDeviceConfig.getBrightnessCapForWearBedtimeMode(); in getBrightnessWearBedtimeModeCap()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java473 private DisplayDeviceConfig mDisplayDeviceConfig; field in DisplayPowerController
512 mDisplayDeviceConfig = logicalDisplay.getPrimaryDisplayDeviceLocked() in DisplayPowerController()
520 mWakelockController, mDisplayDeviceConfig, mHandler.getLooper(), in DisplayPowerController()
574 modeChangeCallback, mDisplayDeviceConfig, mHandler, flags, in DisplayPowerController()
590 mDisplayDeviceConfig), mContext, flags, mSensorManager); in DisplayPowerController()
868 mDisplayDeviceConfig = config; in onDisplayChanged()
938 mBrightnessRangeController.loadFromConfig(hbmMetadata, token, info, mDisplayDeviceConfig); in loadFromDisplayDeviceConfig()
940 mDisplayDeviceConfig.getThermalBrightnessThrottlingDataMapByThrottlingId(), in loadFromDisplayDeviceConfig()
941 mDisplayDeviceConfig.getTempSensor(), in loadFromDisplayDeviceConfig()
1015 mUseSoftwareAutoBrightnessConfig = mDisplayDeviceConfig.isAutoBrightnessAvailable(); in setUpAutoBrightness()
[all …]
DDisplayDevice.java65 protected DisplayDeviceConfig mDisplayDeviceConfig; field in DisplayDevice
95 mDisplayDeviceConfig = null; in DisplayDevice()
115 if (mDisplayDeviceConfig == null) { in getDisplayDeviceConfig()
116 mDisplayDeviceConfig = loadDisplayDeviceConfig(); in getDisplayDeviceConfig()
118 return mDisplayDeviceConfig; in getDisplayDeviceConfig()
DDisplayPowerProximityStateController.java99 private DisplayDeviceConfig mDisplayDeviceConfig; field in DisplayPowerProximityStateController
167 mDisplayDeviceConfig = displayDeviceConfig; in DisplayPowerProximityStateController()
306 this.mDisplayDeviceConfig = displayDeviceConfig; in notifyDisplayDeviceChanged()
362 mDisplayDeviceConfig.getProximitySensor(), Sensor.TYPE_PROXIMITY); in loadProximitySensor()
DLocalDisplayAdapter.java508 if (mDisplayDeviceConfig == null) { in getDisplayDeviceConfig()
511 return mDisplayDeviceConfig; in getDisplayDeviceConfig()
532 mDisplayDeviceConfig = mInjector.createDisplayDeviceConfig(context, mPhysicalDisplayId, in loadDisplayDeviceConfig()
536 mBacklightAdapter.setForceSurfaceControl(mDisplayDeviceConfig.hasQuirk( in loadDisplayDeviceConfig()
947 && mDisplayDeviceConfig != null in requestDisplayStateLocked()
948 && mDisplayDeviceConfig.isEvenDimmerAvailable()) { in requestDisplayStateLocked()
1004 BRIGHTNESS_MIN, mDisplayDeviceConfig.getEvenDimmerTransitionPoint(), in requestDisplayStateLocked()
1288 pw.println("mDisplayDeviceConfig=" + mDisplayDeviceConfig); in dumpLocked()
DDisplayManagerService.java2234 .mDisplayDeviceConfig); in notifyDefaultDisplayDeviceUpdated()