Home
last modified time | relevance | path

Searched refs:getBrightnessNitsForDefaultDisplay (Results 1 – 8 of 8) sorted by relevance

/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DBrightnessSetting.java137 public float getBrightnessNitsForDefaultDisplay() { in getBrightnessNitsForDefaultDisplay() method in BrightnessSetting
138 return mPersistentDataStore.getBrightnessNitsForDefaultDisplay(); in getBrightnessNitsForDefaultDisplay()
H A DPersistentDataStore.java325 public float getBrightnessNitsForDefaultDisplay() { in getBrightnessNitsForDefaultDisplay() method in PersistentDataStore
H A DDisplayPowerController.java2712 mBrightnessSetting.getBrightnessNitsForDefaultDisplay();
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/
H A DDisplayBrightnessControllerTest.java89 when(mBrightnessSetting.getBrightnessNitsForDefaultDisplay()).thenReturn(-1f); in before()
329 when(mBrightnessSetting.getBrightnessNitsForDefaultDisplay()).thenReturn(nits); in testLoadNitBasedBrightnessSetting()
340 when(mBrightnessSetting.getBrightnessNitsForDefaultDisplay()).thenReturn(nits); in testLoadNitBasedBrightnessSetting()
360 verify(mBrightnessSetting, never()).getBrightnessNitsForDefaultDisplay(); in testLoadNitBasedBrightnessSetting()
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DPersistentDataStoreTest.java505 mDataStore.getBrightnessNitsForDefaultDisplay(), 0); in testStoreAndRestoreBrightnessNitsForDefaultDisplay()
507 newDataStore.getBrightnessNitsForDefaultDisplay(), 0); in testStoreAndRestoreBrightnessNitsForDefaultDisplay()
513 assertEquals(-1, mDataStore.getBrightnessNitsForDefaultDisplay(), 0); in testInitialBrightnessNitsForDefaultDisplay()
H A DDisplayPowerControllerTest.java1018 when(mHolder.brightnessSetting.getBrightnessNitsForDefaultDisplay()).thenReturn(nits); in testBrightnessNitsPersistWhenDisplayDeviceChanges()
H A DDisplayPowerController2Test.java1016 when(mHolder.brightnessSetting.getBrightnessNitsForDefaultDisplay()).thenReturn(nits); in testBrightnessNitsPersistWhenDisplayDeviceChanges()
/aosp14/frameworks/base/services/core/java/com/android/server/display/brightness/
H A DDisplayBrightnessController.java483 mBrightnessSetting.getBrightnessNitsForDefaultDisplay(); in loadNitBasedBrightnessSetting()