/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
D | BrightnessConfigurationTest.java | 62 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/ |
D | IDisplayManager.aidl | 21 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()
|
D | BrightnessConfiguration.java | 48 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 …]
|
D | DisplayManager.java | 730 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()
|
D | BrightnessConfiguration.aidl | 19 parcelable BrightnessConfiguration;
|
D | DisplayManagerGlobal.java | 585 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/ |
D | PersistentDataStoreTest.java | 24 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()
|
D | DisplayManagerServiceTest.java | 31 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()
|
D | BrightnessMappingStrategyTest.java | 31 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()
|
D | BrightnessTrackerTest.java | 40 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/ |
D | BrightnessMappingStrategy.java | 23 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 …]
|
D | PersistentDataStore.java | 21 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()
|
D | AutomaticBrightnessController.java | 31 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()
|
D | DisplayManagerService.java | 53 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()
|
D | BrightnessTracker.java | 37 import android.hardware.display.BrightnessConfiguration; 163 private BrightnessConfiguration mBrightnessConfiguration; 211 public void setBrightnessConfiguration(BrightnessConfiguration brightnessConfiguration) { in setBrightnessConfiguration() 994 mBrightnessConfiguration = (BrightnessConfiguration) msg.obj; in handleMessage()
|
D | DisplayPowerController.java | 34 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/ |
D | test-current.txt | 1255 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 …]
|
D | test-lint-baseline.txt | 818 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…
|
D | system-current.txt | 2443 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/ |
D | system-current.txt | 2391 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/ |
D | boot-image-profile.txt | 9700 …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 …]
|
D | preloaded-classes | 2380 android.hardware.display.BrightnessConfiguration$1 2381 android.hardware.display.BrightnessConfiguration$Builder 2382 android.hardware.display.BrightnessConfiguration
|
/frameworks/base/services/ |
D | art-profile | 14796 …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 …]
|