Home
last modified time | relevance | path

Searched refs:BrightnessConfiguration (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/hardware/display/
DBrightnessConfigurationTest.java62 BrightnessConfiguration.Builder builder = new BrightnessConfiguration.Builder( in testSetCurveIsUnmodified()
64 BrightnessConfiguration config = builder.build(); in testSetCurveIsUnmodified()
74 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurveMustHaveZeroLuxPoint()
79 new BrightnessConfiguration.Builder(null, null); in testCurveMustNotHaveNullArrays()
84 new BrightnessConfiguration.Builder(new float[0], new float[0]); in testCurveMustNotHaveEmptyArrays()
92 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurveMustNotHaveArraysOfDifferentLengths()
98 new BrightnessConfiguration.Builder(LUX_LEVELS, nits); in testCurveMustNotHaveArraysOfDifferentLengths()
107 new BrightnessConfiguration.Builder(lux, NITS_LEVELS); in testCurvesMustNotContainNaN()
113 new BrightnessConfiguration.Builder(LUX_LEVELS, nits); in testCurvesMustNotContainNaN()
119 BrightnessConfiguration.Builder config = new BrightnessConfiguration.Builder( in testLuxMultipliersMustBePositive()
[all …]
/frameworks/base/core/java/android/hardware/display/
DIDisplayManager.aidl21 import android.hardware.display.BrightnessConfiguration;
104 void setBrightnessConfigurationForUser(in BrightnessConfiguration c, int userId, in setBrightnessConfigurationForUser()
110 BrightnessConfiguration getBrightnessConfigurationForUser(int userId); in getBrightnessConfigurationForUser()
113 BrightnessConfiguration getDefaultBrightnessConfiguration(); in getDefaultBrightnessConfiguration()
DBrightnessConfiguration.java48 public final class BrightnessConfiguration implements Parcelable { class
81 private BrightnessConfiguration(float[] lux, float[] nits, in BrightnessConfiguration() method in BrightnessConfiguration
279 if (!(o instanceof BrightnessConfiguration)) { in equals()
282 final BrightnessConfiguration other = (BrightnessConfiguration) o; in equals()
302 public static final @android.annotation.NonNull Creator<BrightnessConfiguration> CREATOR =
303 new Creator<BrightnessConfiguration>() {
304 public BrightnessConfiguration createFromParcel(Parcel in) {
335 public BrightnessConfiguration[] newArray(int size) {
336 return new BrightnessConfiguration[size];
413 public static BrightnessConfiguration loadFromXml(@NonNull XmlPullParser parser) in loadFromXml()
[all …]
DDisplayManager.java730 public void setBrightnessConfiguration(BrightnessConfiguration c) { in setBrightnessConfiguration()
742 public void setBrightnessConfigurationForUser(BrightnessConfiguration c, int userId, in setBrightnessConfigurationForUser()
755 public BrightnessConfiguration getBrightnessConfiguration() { in getBrightnessConfiguration()
768 public BrightnessConfiguration getBrightnessConfigurationForUser(int userId) { in getBrightnessConfigurationForUser()
782 public BrightnessConfiguration getDefaultBrightnessConfiguration() { in getDefaultBrightnessConfiguration()
DBrightnessConfiguration.aidl19 parcelable BrightnessConfiguration;
DDisplayManagerGlobal.java585 public void setBrightnessConfigurationForUser(BrightnessConfiguration c, int userId, in setBrightnessConfigurationForUser()
599 public BrightnessConfiguration getBrightnessConfigurationForUser(int userId) { in getBrightnessConfigurationForUser()
612 public BrightnessConfiguration getDefaultBrightnessConfiguration() { in getDefaultBrightnessConfiguration()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java24 import android.hardware.display.BrightnessConfiguration;
79 BrightnessConfiguration config = mDataStore.getBrightnessConfiguration(1 /*userSerial*/); in testLoadingBrightnessConfigurations()
150 final BrightnessConfiguration config = new BrightnessConfiguration.Builder(lux, nits) in testStoreAndReloadOfBrightnessConfigurations()
176 final BrightnessConfiguration config = new BrightnessConfiguration.Builder(lux, nits) in testNullBrightnessConfiguration()
DDisplayManagerServiceTest.java31 import android.hardware.display.BrightnessConfiguration;
353 BrightnessConfiguration config = in testTooDarkBrightnessConfigurationThrowException()
354 new BrightnessConfiguration.Builder(lux, nits).build(); in testTooDarkBrightnessConfigurationThrowException()
375 BrightnessConfiguration config = new BrightnessConfiguration.Builder(lux, nits).build(); in testBrightEnoughBrightnessConfigurationDoesNotThrowException()
DBrightnessMappingStrategyTest.java31 import android.hardware.display.BrightnessConfiguration;
155 BrightnessConfiguration config = new BrightnessConfiguration.Builder(lux, nits) in testSimpleStrategyIgnoresNewConfiguration()
216 BrightnessConfiguration config = new BrightnessConfiguration.Builder(lux, nits) in testPhysicalStrategyUsesNewConfigurations()
DBrightnessTrackerTest.java40 import android.hardware.display.BrightnessConfiguration;
813 private BrightnessConfiguration buildBrightnessConfiguration(boolean collectColorSamples) { in buildBrightnessConfiguration()
814 BrightnessConfiguration.Builder builder = new BrightnessConfiguration.Builder( in buildBrightnessConfiguration()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessMappingStrategy.java23 import android.hardware.display.BrightnessConfiguration;
94 BrightnessConfiguration.Builder builder = new BrightnessConfiguration.Builder( in create()
209 public abstract boolean setBrightnessConfiguration(@Nullable BrightnessConfiguration config); in setBrightnessConfiguration()
215 public abstract BrightnessConfiguration getBrightnessConfiguration(); in getBrightnessConfiguration()
301 public abstract BrightnessConfiguration getDefaultConfig(); in getDefaultConfig()
322 BrightnessConfiguration config = getBrightnessConfiguration(); in shouldResetShortTermModel()
569 public boolean setBrightnessConfiguration(@Nullable BrightnessConfiguration config) { in setBrightnessConfiguration()
574 public BrightnessConfiguration getBrightnessConfiguration() { in getBrightnessConfiguration()
658 public BrightnessConfiguration getDefaultConfig() { in getDefaultConfig()
693 private BrightnessConfiguration mConfig;
[all …]
DPersistentDataStore.java21 import android.hardware.display.BrightnessConfiguration;
274 public void setBrightnessConfigurationForUser(BrightnessConfiguration c, int userSerial, in setBrightnessConfigurationForUser()
283 public BrightnessConfiguration getBrightnessConfiguration(int userSerial) { in getBrightnessConfiguration()
578 private SparseArray<BrightnessConfiguration> mConfigurations;
590 private boolean setBrightnessConfigurationForUser(BrightnessConfiguration c, in setBrightnessConfigurationForUser()
592 BrightnessConfiguration currentConfig = mConfigurations.get(userSerial); in setBrightnessConfigurationForUser()
612 public BrightnessConfiguration getBrightnessConfiguration(int userSerial) { in getBrightnessConfiguration()
641 BrightnessConfiguration config = in loadFromXml()
642 BrightnessConfiguration.loadFromXml(parser); in loadFromXml()
662 final BrightnessConfiguration config = mConfigurations.valueAt(i); in saveToXml()
DAutomaticBrightnessController.java31 import android.hardware.display.BrightnessConfiguration;
313 public void configure(boolean enable, @Nullable BrightnessConfiguration configuration, in configure()
351 public BrightnessConfiguration getDefaultConfig() { in getDefaultConfig()
407 public boolean setBrightnessConfiguration(BrightnessConfiguration configuration) { in setBrightnessConfiguration()
DDisplayManagerService.java53 import android.hardware.display.BrightnessConfiguration;
425 BrightnessConfiguration config = in onSwitchUser()
1181 @Nullable BrightnessConfiguration c, @UserIdInt int userId, in setBrightnessConfigurationForUserInternal()
1199 void validateBrightnessConfiguration(BrightnessConfiguration config) { in validateBrightnessConfiguration()
1208 private boolean isBrightnessConfigurationTooDark(BrightnessConfiguration config) { in isBrightnessConfigurationTooDark()
1223 BrightnessConfiguration config = in loadBrightnessConfiguration()
2335 BrightnessConfiguration c, @UserIdInt int userId, String packageName) { in setBrightnessConfigurationForUser()
2357 public BrightnessConfiguration getBrightnessConfigurationForUser(int userId) { in getBrightnessConfigurationForUser()
2371 BrightnessConfiguration config = in getBrightnessConfigurationForUser()
2384 public BrightnessConfiguration getDefaultBrightnessConfiguration() { in getDefaultBrightnessConfiguration()
DBrightnessTracker.java37 import android.hardware.display.BrightnessConfiguration;
163 private BrightnessConfiguration mBrightnessConfiguration;
211 public void setBrightnessConfiguration(BrightnessConfiguration brightnessConfiguration) { in setBrightnessConfiguration()
994 mBrightnessConfiguration = (BrightnessConfiguration) msg.obj; in handleMessage()
DDisplayPowerController.java34 import android.hardware.display.BrightnessConfiguration;
353 private BrightnessConfiguration mBrightnessConfiguration;
656 public BrightnessConfiguration getDefaultBrightnessConfiguration() { in getDefaultBrightnessConfiguration()
1184 public void setBrightnessConfiguration(BrightnessConfiguration c) { in setBrightnessConfiguration()
1950 mBrightnessConfiguration = (BrightnessConfiguration)msg.obj; in handleMessage()
/frameworks/base/api/
Dtest-current.txt1255 public final class BrightnessConfiguration implements android.os.Parcelable {
1265 …atic final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
1269 public static class BrightnessConfiguration.Builder {
1270 ctor public BrightnessConfiguration.Builder(float[], float[]);
1271 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCat…
1272 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPac…
1273 method @NonNull public android.hardware.display.BrightnessConfiguration build();
1276 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nu…
1277 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelL…
1278 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelT…
[all …]
Dtest-lint-baseline.txt818 MissingNullability: android.hardware.display.BrightnessConfiguration#getCurve():
820 MissingNullability: android.hardware.display.BrightnessConfiguration#writeToParcel(android.os.Parce…
822 MissingNullability: android.hardware.display.BrightnessConfiguration.Builder#Builder(float[], float…
824 MissingNullability: android.hardware.display.BrightnessConfiguration.Builder#Builder(float[], float…
836 …splayManager#setBrightnessConfiguration(android.hardware.display.BrightnessConfiguration) paramete…
Dsystem-current.txt2443 public final class BrightnessConfiguration implements android.os.Parcelable {
2453 …atic final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
2457 public static class BrightnessConfiguration.Builder {
2458 ctor public BrightnessConfiguration.Builder(float[], float[]);
2459 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCat…
2460 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPac…
2461 method @NonNull public android.hardware.display.BrightnessConfiguration build();
2464 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nu…
2465 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelL…
2466 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelT…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt2391 public final class BrightnessConfiguration implements android.os.Parcelable {
2401 …atic final android.os.Parcelable.Creator<android.hardware.display.BrightnessConfiguration> CREATOR;
2405 public static class BrightnessConfiguration.Builder {
2406 ctor public BrightnessConfiguration.Builder(float[], float[]);
2407 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByCat…
2408 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder addCorrectionByPac…
2409 method @NonNull public android.hardware.display.BrightnessConfiguration build();
2412 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setDescription(@Nu…
2413 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelL…
2414 …method @NonNull public android.hardware.display.BrightnessConfiguration.Builder setShortTermModelT…
[all …]
/frameworks/base/config/
Dboot-image-profile.txt9700 …d/hardware/display/BrightnessConfiguration$1;->createFromParcel(Landroid/os/Parcel;)Landroid/hardw…
9701 HSPLandroid/hardware/display/BrightnessConfiguration$1;->createFromParcel(Landroid/os/Parcel;)Ljava…
9702 HSPLandroid/hardware/display/BrightnessConfiguration$Builder;-><init>([F[F)V
9703 HSPLandroid/hardware/display/BrightnessConfiguration$Builder;->build()Landroid/hardware/display/Bri…
9704 HSPLandroid/hardware/display/BrightnessConfiguration$Builder;->checkMonotonic([FZLjava/lang/String;…
9705 …/hardware/display/BrightnessConfiguration$Builder;->setDescription(Ljava/lang/String;)Landroid/har…
9706 …ardware/display/BrightnessConfiguration$Builder;->setShortTermModelLowerLuxMultiplier(F)Landroid/h…
9707 …/hardware/display/BrightnessConfiguration$Builder;->setShortTermModelTimeoutMillis(J)Landroid/hard…
9708 …ardware/display/BrightnessConfiguration$Builder;->setShortTermModelUpperLuxMultiplier(F)Landroid/h…
9709 …d/hardware/display/BrightnessConfiguration$Builder;->setShouldCollectColorSamples(Z)Landroid/hardw…
[all …]
Dpreloaded-classes2380 android.hardware.display.BrightnessConfiguration$1
2381 android.hardware.display.BrightnessConfiguration$Builder
2382 android.hardware.display.BrightnessConfiguration
/frameworks/base/services/
Dart-profile14796 …utomaticBrightnessController;->configure(ZLandroid/hardware/display/BrightnessConfiguration;FZFZI)V
14800 …utomaticBrightnessController;->getDefaultConfig()Landroid/hardware/display/BrightnessConfiguration;
14814 …ghtnessController;->setBrightnessConfiguration(Landroid/hardware/display/BrightnessConfiguration;)Z
14829 …Strategy$PhysicalMappingStrategy;-><init>(Landroid/hardware/display/BrightnessConfiguration;[F[IF)V
14838 …calMappingStrategy;->getBrightnessConfiguration()Landroid/hardware/display/BrightnessConfiguration;
14839 …tegy$PhysicalMappingStrategy;->getDefaultConfig()Landroid/hardware/display/BrightnessConfiguration;
14845 …alMappingStrategy;->setBrightnessConfiguration(Landroid/hardware/display/BrightnessConfiguration;)Z
14850 …rategy$SimpleMappingStrategy;->getDefaultConfig()Landroid/hardware/display/BrightnessConfiguration;
14853 …leMappingStrategy;->setBrightnessConfiguration(Landroid/hardware/display/BrightnessConfiguration;)Z
14914 …0(Lcom/android/server/display/BrightnessTracker;)Landroid/hardware/display/BrightnessConfiguration;
[all …]