Loading api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5843,6 +5843,7 @@ package android.provider { field public static final String NAMESPACE_CONNECTIVITY = "connectivity"; field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture"; field public static final String NAMESPACE_DEX_BOOT = "dex_boot"; field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; field public static final String NAMESPACE_GAME_DRIVER = "game_driver"; field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot"; field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention"; Loading core/java/android/hardware/display/DisplayManager.java +36 −0 Original line number Diff line number Diff line Loading @@ -820,4 +820,40 @@ public final class DisplayManager { */ void onDisplayChanged(int displayId); } /** * Interface for accessing keys belonging to {@link * android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER}. * @hide */ public interface DeviceConfig { /** * Key for accessing the 60 hz only regions. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.array#config_brightnessThresholdsOfPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_BRIGHTNESS_THRESHOLDS = "peak_refresh_rate_brightness_thresholds"; /** * Key for accessing the 60 hz only regions. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.array#config_brightnessThresholdsOfPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_AMBIENT_THRESHOLDS = "peak_refresh_rate_ambient_thresholds"; /** * Key for default peak refresh rate * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.integer#config_defaultPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_DEFAULT = "peak_refresh_rate_default"; } } core/java/android/provider/DeviceConfig.java +9 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,15 @@ public final class DeviceConfig { @SystemApi public static final String NAMESPACE_DEX_BOOT = "dex_boot"; /** * Namespace for display manager related features. The names to access the properties in this * namespace should be defined in {@link android.hardware.display.DisplayManager}. * * @hide */ @SystemApi public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; /** * Namespace for all Game Driver features. * Loading Loading
api/system-current.txt +1 −0 Original line number Diff line number Diff line Loading @@ -5843,6 +5843,7 @@ package android.provider { field public static final String NAMESPACE_CONNECTIVITY = "connectivity"; field public static final String NAMESPACE_CONTENT_CAPTURE = "content_capture"; field public static final String NAMESPACE_DEX_BOOT = "dex_boot"; field public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; field public static final String NAMESPACE_GAME_DRIVER = "game_driver"; field public static final String NAMESPACE_INPUT_NATIVE_BOOT = "input_native_boot"; field public static final String NAMESPACE_INTELLIGENCE_ATTENTION = "intelligence_attention"; Loading
core/java/android/hardware/display/DisplayManager.java +36 −0 Original line number Diff line number Diff line Loading @@ -820,4 +820,40 @@ public final class DisplayManager { */ void onDisplayChanged(int displayId); } /** * Interface for accessing keys belonging to {@link * android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER}. * @hide */ public interface DeviceConfig { /** * Key for accessing the 60 hz only regions. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.array#config_brightnessThresholdsOfPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_BRIGHTNESS_THRESHOLDS = "peak_refresh_rate_brightness_thresholds"; /** * Key for accessing the 60 hz only regions. * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.array#config_brightnessThresholdsOfPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_AMBIENT_THRESHOLDS = "peak_refresh_rate_ambient_thresholds"; /** * Key for default peak refresh rate * * @see android.provider.DeviceConfig#NAMESPACE_DISPLAY_MANAGER * @see android.R.integer#config_defaultPeakRefreshRate * @hide */ String KEY_PEAK_REFRESH_RATE_DEFAULT = "peak_refresh_rate_default"; } }
core/java/android/provider/DeviceConfig.java +9 −0 Original line number Diff line number Diff line Loading @@ -135,6 +135,15 @@ public final class DeviceConfig { @SystemApi public static final String NAMESPACE_DEX_BOOT = "dex_boot"; /** * Namespace for display manager related features. The names to access the properties in this * namespace should be defined in {@link android.hardware.display.DisplayManager}. * * @hide */ @SystemApi public static final String NAMESPACE_DISPLAY_MANAGER = "display_manager"; /** * Namespace for all Game Driver features. * Loading