/**@class android.hardware.display.DisplayManagerGlobal
@extends java.lang.Object

 Manager communication with the display manager service on behalf of
 an application process.  You're probably looking for {@link android.hardware.display.DisplayManager}.

 @hide
*/
var DisplayManagerGlobal = {

/***/
EVENT_DISPLAY_ADDED : "1",
/***/
EVENT_DISPLAY_CHANGED : "2",
/***/
EVENT_DISPLAY_REMOVED : "3",
/**Gets an instance of the display manager global singleton.
@return {Object {android.hardware.display.DisplayManagerGlobal}} The display manager instance, may be null early in system startup
 before the display manager has been fully initialized.
*/
getInstance : function(  ) {},

/**Get information about a particular logical display.
@param {Number} displayId The logical display id.
@return {Object {android.view.DisplayInfo}} Information about the specified display, or null if it does not exist.
 This object belongs to an internal cache and should be treated as if it were immutable.
*/
getDisplayInfo : function(  ) {},

/**Gets all currently valid logical display ids.
@return {Number} An array containing all display ids.
*/
getDisplayIds : function(  ) {},

/**Check if specified UID's content is present on display and should be granted access to it.
@param {Number} uid UID to be checked.
@param {Number} displayId id of the display where presence of the content is checked.
@return {Boolean} {@code true} if UID is present on display, {@code false} otherwise.
*/
isUidPresentOnDisplay : function(  ) {},

/**Gets information about a logical display.

 The display metrics may be adjusted to provide compatibility
 for legacy applications or limited screen areas.
@param {Number} displayId The logical display id.
@param {Object {DisplayAdjustments}} daj The compatibility info and activityToken.
@return {Object {android.view.Display}} The display object, or null if there is no display with the given id.
*/
getCompatibleDisplay : function(  ) {},

/**Gets information about a logical display.

 The display metrics may be adjusted to provide compatibility
 for legacy applications or limited screen areas.
@param {Number} displayId The logical display id.
@param {Object {Resources}} resources Resources providing compatibility info.
@return {Object {android.view.Display}} The display object, or null if there is no display with the given id.
*/
getCompatibleDisplay : function(  ) {},

/**Gets information about a logical display without applying any compatibility metrics.
@param {Number} displayId The logical display id.
@return {Object {android.view.Display}} The display object, or null if there is no display with the given id.
*/
getRealDisplay : function(  ) {},

/**Register a listener for display-related changes.
@param {Object {DisplayManager.DisplayListener}} listener The listener that will be called when display changes occur.
@param {Object {Handler}} handler Handler for the thread that will be receiving the callbacks. May be null.
 If null, listener will use the handler for the current thread, and if still null,
 the handler for the main thread.
 If that is still null, a runtime exception will be thrown.
*/
registerDisplayListener : function(  ) {},

/**
*/
unregisterDisplayListener : function(  ) {},

/**
*/
startWifiDisplayScan : function(  ) {},

/**
*/
stopWifiDisplayScan : function(  ) {},

/**
*/
connectWifiDisplay : function(  ) {},

/**
*/
pauseWifiDisplay : function(  ) {},

/**
*/
resumeWifiDisplay : function(  ) {},

/**
*/
disconnectWifiDisplay : function(  ) {},

/**
*/
renameWifiDisplay : function(  ) {},

/**
*/
forgetWifiDisplay : function(  ) {},

/**
*/
getWifiDisplayStatus : function(  ) {},

/**
*/
requestColorMode : function(  ) {},

/**
*/
createVirtualDisplay : function(  ) {},

/**
*/
setVirtualDisplaySurface : function(  ) {},

/**
*/
resizeVirtualDisplay : function(  ) {},

/**
*/
releaseVirtualDisplay : function(  ) {},

/**Gets the stable device display size, in pixels.
*/
getStableDisplaySize : function(  ) {},

/**Retrieves brightness change events.
*/
getBrightnessEvents : function(  ) {},

/**Gets the preferred wide gamut color space for all displays.
 The wide gamut color space is returned from composition pipeline
 based on hardware capability.
@hide 
*/
getPreferredWideGamutColorSpace : function(  ) {},

/**Sets the global brightness configuration for a given user.
@hide 
*/
setBrightnessConfigurationForUser : function(  ) {},

/**Gets the global brightness configuration for a given user or null if one hasn't been set.
@hide 
*/
getBrightnessConfigurationForUser : function(  ) {},

/**Gets the default brightness configuration or null if one hasn't been configured.
@hide 
*/
getDefaultBrightnessConfiguration : function(  ) {},

/**Temporarily sets the brightness of the display.
 <p>
 Requires the {@link android.Manifest.permission#CONTROL_DISPLAY_BRIGHTNESS} permission.
 </p>
@param {Number} brightness The brightness value from 0 to 255.
@hide Requires signature permission.
*/
setTemporaryBrightness : function(  ) {},

/**Temporarily sets the auto brightness adjustment factor.
 <p>
 Requires the {@link android.Manifest.permission#CONTROL_DISPLAY_BRIGHTNESS} permission.
 </p>
@param {Number} adjustment The adjustment factor from -1.0 to 1.0.
@hide Requires signature permission.
*/
setTemporaryAutoBrightnessAdjustment : function(  ) {},

/**Returns the minimum brightness curve, which guarantess that any brightness curve that dips
 below it is rejected by the system.
 This prevent auto-brightness from setting the screen so dark as to prevent the user from
 resetting or disabling it, and maps lux to the absolute minimum nits that are still readable
 in that ambient brightness.
@return {Object {android.util.Pair}} The minimum brightness curve (as lux values and their corresponding nits values).
*/
getMinimumBrightnessCurve : function(  ) {},

/**Retrieves ambient brightness stats.
*/
getAmbientBrightnessStats : function(  ) {},


};