/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ |
D | HighBrightnessModeMetadataMapperTest.java | 71 HighBrightnessModeMetadata hbmMetadata = in testGetHighBrightnessModeMetadata_NewDisplay() local 73 assertNotNull(hbmMetadata); in testGetHighBrightnessModeMetadata_NewDisplay() 74 assertTrue(hbmMetadata.getHbmEventQueue().isEmpty()); in testGetHighBrightnessModeMetadata_NewDisplay() 75 assertTrue(hbmMetadata.getRunningStartTimeMillis() < 0); in testGetHighBrightnessModeMetadata_NewDisplay() 80 HighBrightnessModeMetadata hbmMetadata = 82 assertNotNull(hbmMetadata); 83 assertTrue(hbmMetadata.getHbmEventQueue().isEmpty()); 84 assertTrue(hbmMetadata.getRunningStartTimeMillis() < 0); 90 hbmMetadata.addHbmEvent(new HbmEvent(startTimeMillis, endTimeMillis)); 91 hbmMetadata.setRunningStartTimeMillis(setTime); [all …]
|
D | DisplayPowerControllerTest.java | 320 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, Layout.NO_LEAD_DISPLAY); in testScreenOffBecauseOfProximity_ProxSensorGone() 953 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, /* leadDisplayId= */ 42); in testSetScreenOffBrightnessSensorDisabled_DisplayIsAFollower() 967 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, Layout.NO_LEAD_DISPLAY); in testStopScreenOffBrightnessSensorControllerWhenDisplayDeviceChanges() 1202 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, Layout.NO_LEAD_DISPLAY); in testBrightnessNitsPersistWhenDisplayDeviceChanges() 1224 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, Layout.NO_LEAD_DISPLAY); in testShortTermModelPersistsWhenDisplayDeviceChanges() 1266 mHolder.dpc.onDisplayChanged(mHolder.hbmMetadata, Layout.NO_LEAD_DISPLAY); in testUpdateBrightnessThrottlingDataId() 2112 final HighBrightnessModeMetadata hbmMetadata = mock(HighBrightnessModeMetadata.class); in createDisplayPowerController() local 2129 hbmMetadata, /* bootCompleted= */ false, mDisplayManagerFlagsMock); in createDisplayPowerController() 2134 hbmMetadata, brightnessMappingStrategy, injector, config); in createDisplayPowerController() 2154 public final HighBrightnessModeMetadata hbmMetadata; field in DisplayPowerControllerTest.DisplayPowerControllerHolder [all …]
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessRangeController.java | 94 void loadFromConfig(HighBrightnessModeMetadata hbmMetadata, IBinder token, in loadFromConfig() argument 100 mHbmController.setHighBrightnessModeMetadata(hbmMetadata); in loadFromConfig()
|
D | HighBrightnessModeController.java | 125 Runnable hbmChangeCallback, HighBrightnessModeMetadata hbmMetadata, Context context) { in HighBrightnessModeController() argument 127 brightnessMax, hbmData, hdrBrightnessCfg, hbmChangeCallback, hbmMetadata, context); in HighBrightnessModeController() 134 Runnable hbmChangeCallback, HighBrightnessModeMetadata hbmMetadata, Context context) { in HighBrightnessModeController() argument 143 mHighBrightnessModeMetadata = hbmMetadata; in HighBrightnessModeController()
|
D | DisplayPowerController.java | 503 Runnable onBrightnessChangeRunnable, HighBrightnessModeMetadata hbmMetadata, in DisplayPowerController() argument 569 HighBrightnessModeController hbmController = createHbmControllerLocked(hbmMetadata, in DisplayPowerController() 831 public void onDisplayChanged(HighBrightnessModeMetadata hbmMetadata, int leadDisplayId) { in onDisplayChanged() argument 870 loadFromDisplayDeviceConfig(token, info, hbmMetadata); in onDisplayChanged() 929 HighBrightnessModeMetadata hbmMetadata) { in loadFromDisplayDeviceConfig() argument 938 mBrightnessRangeController.loadFromConfig(hbmMetadata, token, info, mDisplayDeviceConfig); in loadFromDisplayDeviceConfig() 2009 HighBrightnessModeMetadata hbmMetadata, Runnable modeChangeCallback) { in createHbmControllerLocked() argument 2020 maxDesiredHdrSdrRatio), modeChangeCallback, hbmMetadata, mContext); in createHbmControllerLocked() 3236 Runnable hbmChangeCallback, HighBrightnessModeMetadata hbmMetadata, in getHighBrightnessModeController() argument 3240 hbmChangeCallback, hbmMetadata, context); in getHighBrightnessModeController()
|
D | DisplayManagerService.java | 2124 HighBrightnessModeMetadata hbmMetadata = in applyDisplayChangedLocked() local 2126 if (hbmMetadata != null) { in applyDisplayChangedLocked() 2127 dpc.onDisplayChanged(hbmMetadata, leadDisplayId); in applyDisplayChangedLocked() 2244 HighBrightnessModeMetadata hbmMetadata = in handleLogicalDisplayDeviceStateTransitionLocked() local 2246 if (hbmMetadata != null) { in handleLogicalDisplayDeviceStateTransitionLocked() 2247 dpc.onDisplayChanged(hbmMetadata, leadDisplayId); in handleLogicalDisplayDeviceStateTransitionLocked() 3541 HighBrightnessModeMetadata hbmMetadata = in addDisplayPowerControllerLocked() local 3546 () -> handleBrightnessChange(display), hbmMetadata, mBootCompleted, mFlags); in addDisplayPowerControllerLocked()
|