/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | DisplayPowerProximityStateControllerTest.java | 58 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 …]
|
D | DisplayManagerServiceTest.java | 2418 displayDevice.mDisplayDeviceConfig = mMockDisplayDeviceConfig; 2450 displayDevice.mDisplayDeviceConfig = mMockDisplayDeviceConfig;
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | BrightnessLowLuxModifier.java | 60 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()
|
D | BrightnessClamperController.java | 94 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/ |
D | DisplayPowerController.java | 473 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 …]
|
D | DisplayDevice.java | 65 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()
|
D | DisplayPowerProximityStateController.java | 99 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()
|
D | LocalDisplayAdapter.java | 508 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()
|
D | DisplayManagerService.java | 2234 .mDisplayDeviceConfig); in notifyDefaultDisplayDeviceUpdated()
|