Documentation
¶
Index ¶
- Constants
- type ARect
- type BitTube
- type CachingHint
- type CaptureArgs
- type Color
- type CompositionPreference
- type ContentSamplingAttributes
- type CreateSurfaceResult
- type DeviceProductInfo
- type DeviceProductInfoManufactureOrModelDate
- func (u *DeviceProductInfoManufactureOrModelDate) GetManufactureWeekAndYear() (DeviceProductInfoManufactureWeekAndYear, bool)
- func (u *DeviceProductInfoManufactureOrModelDate) GetManufactureYear() (DeviceProductInfoManufactureYear, bool)
- func (u *DeviceProductInfoManufactureOrModelDate) GetModelYear() (DeviceProductInfoModelYear, bool)
- func (u *DeviceProductInfoManufactureOrModelDate) MarshalParcel(p *parcel.Parcel) error
- func (u *DeviceProductInfoManufactureOrModelDate) SetManufactureWeekAndYear(v DeviceProductInfoManufactureWeekAndYear)
- func (u *DeviceProductInfoManufactureOrModelDate) SetManufactureYear(v DeviceProductInfoManufactureYear)
- func (u *DeviceProductInfoManufactureOrModelDate) SetModelYear(v DeviceProductInfoModelYear)
- func (u *DeviceProductInfoManufactureOrModelDate) UnmarshalParcel(p *parcel.Parcel) error
- type DeviceProductInfoManufactureWeekAndYear
- type DeviceProductInfoManufactureYear
- type DeviceProductInfoModelYear
- type DisplayBrightness
- type DisplayCaptureArgs
- type DisplayConnectionType
- type DisplayDecorationSupport
- type DisplayEventConnectionProxy
- func (p *DisplayEventConnectionProxy) AsBinder() binder.IBinder
- func (p *DisplayEventConnectionProxy) GetLatestVsyncEventData(ctx context.Context) (ParcelableVsyncEventData, error)
- func (p *DisplayEventConnectionProxy) GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
- func (p *DisplayEventConnectionProxy) RequestNextVsync(ctx context.Context) error
- func (p *DisplayEventConnectionProxy) SetVsyncRate(ctx context.Context, count int32) error
- func (p *DisplayEventConnectionProxy) StealReceiveChannel(ctx context.Context, outChannel BitTube) error
- type DisplayEventConnectionStub
- type DisplayInfo
- type DisplayMode
- type DisplayModeSpecs
- type DisplayModeSpecsRefreshRateRanges
- type DisplayModeSpecsRefreshRateRangesRefreshRateRange
- type DisplayPrimaries
- type DisplayPrimariesCieXyz
- type DisplayStatInfo
- type DisplayState
- type DisplayedFrameStats
- type DropInputMode
- type DynamicDisplayInfo
- type FocusRequest
- type FpsListenerProxy
- type FpsListenerStub
- type FrameEvent
- type FrameStats
- type FrameTimelineInfo
- type HdrCapabilities
- type HdrConversionCapability
- type HdrConversionConstantsProxy
- type HdrConversionConstantsStub
- type HdrConversionStrategy
- func (u *HdrConversionStrategy) GetAutoAllowedHdrTypes() ([]int32, bool)
- func (u *HdrConversionStrategy) GetForceHdrConversion() (int32, bool)
- func (u *HdrConversionStrategy) GetPassthrough() (bool, bool)
- func (u *HdrConversionStrategy) MarshalParcel(p *parcel.Parcel) error
- func (u *HdrConversionStrategy) SetAutoAllowedHdrTypes(v []int32)
- func (u *HdrConversionStrategy) SetForceHdrConversion(v int32)
- func (u *HdrConversionStrategy) SetPassthrough(v bool)
- func (u *HdrConversionStrategy) UnmarshalParcel(p *parcel.Parcel) error
- type HdrLayerInfoListenerProxy
- type HdrLayerInfoListenerStub
- type IDisplayEventConnection
- type IDisplayEventConnectionServer
- type IFpsListener
- type IFpsListenerServer
- type IHdrConversionConstants
- type IHdrConversionConstantsServer
- type IHdrLayerInfoListener
- type IHdrLayerInfoListenerServer
- type IRegionSamplingListener
- type IRegionSamplingListenerServer
- type IScreenCaptureListener
- type IScreenCaptureListenerServer
- type ISurfaceComposer
- type ISurfaceComposerClient
- type ISurfaceComposerClientServer
- type ISurfaceComposerEventRegistration
- type ISurfaceComposerServer
- type ISurfaceComposerVsyncSource
- type ITunnelModeEnabledListener
- type ITunnelModeEnabledListenerServer
- type IWindowInfosListener
- type IWindowInfosListenerServer
- type IWindowInfosPublisher
- type IWindowInfosPublisherServer
- type IWindowInfosReportedListener
- type IWindowInfosReportedListenerServer
- type InputApplicationInfo
- type LayerCaptureArgs
- type LayerDebugInfo
- type LayerMetadata
- type OverlayProperties
- type OverlayPropertiesSupportedBufferCombinations
- type ParcelableVsyncEventData
- type PullAtomData
- type RegionSamplingListenerProxy
- type RegionSamplingListenerStub
- type Rotation
- type SchedulingPolicy
- type ScreenCaptureListenerProxy
- type ScreenCaptureListenerStub
- type ScreenCaptureResults
- type Size
- type StalledTransactionInfo
- type StaticDisplayInfo
- type SurfaceComposerClientProxy
- func (p *SurfaceComposerClientProxy) AsBinder() binder.IBinder
- func (p *SurfaceComposerClientProxy) ClearLayerFrameStats(ctx context.Context, handle binder.IBinder) error
- func (p *SurfaceComposerClientProxy) CreateSurface(ctx context.Context, name string, flags int32, parent binder.IBinder, ...) (CreateSurfaceResult, error)
- func (p *SurfaceComposerClientProxy) GetLayerFrameStats(ctx context.Context, handle binder.IBinder) (FrameStats, error)
- func (p *SurfaceComposerClientProxy) GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
- func (p *SurfaceComposerClientProxy) MirrorDisplay(ctx context.Context, displayId int64) (CreateSurfaceResult, error)
- func (p *SurfaceComposerClientProxy) MirrorSurface(ctx context.Context, mirrorFromHandle binder.IBinder) (CreateSurfaceResult, error)
- type SurfaceComposerClientStub
- type SurfaceComposerProxy
- func (p *SurfaceComposerProxy) AddFpsListener(ctx context.Context, taskId int32, listener IFpsListener) error
- func (p *SurfaceComposerProxy) AddHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, ...) error
- func (p *SurfaceComposerProxy) AddRegionSamplingListener(ctx context.Context, samplingArea ARect, stopLayerHandle binder.IBinder, ...) error
- func (p *SurfaceComposerProxy) AddTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
- func (p *SurfaceComposerProxy) AddWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) (WindowInfosListenerInfo, error)
- func (p *SurfaceComposerProxy) AsBinder() binder.IBinder
- func (p *SurfaceComposerProxy) BootFinished(ctx context.Context) error
- func (p *SurfaceComposerProxy) CaptureDisplay(ctx context.Context, args DisplayCaptureArgs, listener IScreenCaptureListener) error
- func (p *SurfaceComposerProxy) CaptureDisplayById(ctx context.Context, displayId int64, args CaptureArgs, ...) error
- func (p *SurfaceComposerProxy) CaptureLayers(ctx context.Context, args LayerCaptureArgs, listener IScreenCaptureListener) error
- func (p *SurfaceComposerProxy) CaptureLayersSync(ctx context.Context, args LayerCaptureArgs) (ScreenCaptureResults, error)
- func (p *SurfaceComposerProxy) ClearAnimationFrameStats(ctx context.Context) error
- func (p *SurfaceComposerProxy) ClearBootDisplayMode(ctx context.Context, display binder.IBinder) error
- func (p *SurfaceComposerProxy) CreateConnection(ctx context.Context) (ISurfaceComposerClient, error)
- func (p *SurfaceComposerProxy) CreateDisplay(ctx context.Context, displayName string, secure bool, ...) (binder.IBinder, error)
- func (p *SurfaceComposerProxy) CreateDisplayEventConnection(ctx context.Context, vsyncSource ISurfaceComposerVsyncSource, ...) (IDisplayEventConnection, error)
- func (p *SurfaceComposerProxy) DestroyDisplay(ctx context.Context, display binder.IBinder) error
- func (p *SurfaceComposerProxy) EnableRefreshRateOverlay(ctx context.Context, active bool) error
- func (p *SurfaceComposerProxy) ForceClientComposition(ctx context.Context, enabled bool) error
- func (p *SurfaceComposerProxy) GetAnimationFrameStats(ctx context.Context) (FrameStats, error)
- func (p *SurfaceComposerProxy) GetBootDisplayModeSupport(ctx context.Context) (bool, error)
- func (p *SurfaceComposerProxy) GetCompositionPreference(ctx context.Context) (CompositionPreference, error)
- func (p *SurfaceComposerProxy) GetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder) (DisplayModeSpecs, error)
- func (p *SurfaceComposerProxy) GetDisplayBrightnessSupport(ctx context.Context, displayToken binder.IBinder) (bool, error)
- func (p *SurfaceComposerProxy) GetDisplayDecorationSupport(ctx context.Context, displayToken binder.IBinder) (DisplayDecorationSupport, error)
- func (p *SurfaceComposerProxy) GetDisplayNativePrimaries(ctx context.Context, display binder.IBinder) (DisplayPrimaries, error)
- func (p *SurfaceComposerProxy) GetDisplayState(ctx context.Context, display binder.IBinder) (DisplayState, error)
- func (p *SurfaceComposerProxy) GetDisplayStats(ctx context.Context, display binder.IBinder) (DisplayStatInfo, error)
- func (p *SurfaceComposerProxy) GetDisplayedContentSample(ctx context.Context, display binder.IBinder, maxFrames int64, timestamp int64) (DisplayedFrameStats, error)
- func (p *SurfaceComposerProxy) GetDisplayedContentSamplingAttributes(ctx context.Context, display binder.IBinder) (ContentSamplingAttributes, error)
- func (p *SurfaceComposerProxy) GetDynamicDisplayInfoFromId(ctx context.Context, displayId int64) (DynamicDisplayInfo, error)
- func (p *SurfaceComposerProxy) GetDynamicDisplayInfoFromToken(ctx context.Context, display binder.IBinder) (DynamicDisplayInfo, error)
- func (p *SurfaceComposerProxy) GetGpuContextPriority(ctx context.Context) (int32, error)
- func (p *SurfaceComposerProxy) GetHdrConversionCapabilities(ctx context.Context) ([]HdrConversionCapability, error)
- func (p *SurfaceComposerProxy) GetHdrOutputConversionSupport(ctx context.Context) (bool, error)
- func (p *SurfaceComposerProxy) GetLayerDebugInfo(ctx context.Context) ([]LayerDebugInfo, error)
- func (p *SurfaceComposerProxy) GetMaxAcquiredBufferCount(ctx context.Context) (int32, error)
- func (p *SurfaceComposerProxy) GetOverlaySupport(ctx context.Context) (OverlayProperties, error)
- func (p *SurfaceComposerProxy) GetPhysicalDisplayIds(ctx context.Context) ([]int64, error)
- func (p *SurfaceComposerProxy) GetPhysicalDisplayToken(ctx context.Context, displayId int64) (binder.IBinder, error)
- func (p *SurfaceComposerProxy) GetProtectedContentSupport(ctx context.Context) (bool, error)
- func (p *SurfaceComposerProxy) GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
- func (p *SurfaceComposerProxy) GetStalledTransactionInfo(ctx context.Context, pid int32) (StalledTransactionInfo, error)
- func (p *SurfaceComposerProxy) GetStaticDisplayInfo(ctx context.Context, displayId int64) (StaticDisplayInfo, error)
- func (p *SurfaceComposerProxy) GetSupportedFrameTimestamps(ctx context.Context) ([]FrameEvent, error)
- func (p *SurfaceComposerProxy) IsWideColorDisplay(ctx context.Context, token binder.IBinder) (bool, error)
- func (p *SurfaceComposerProxy) NotifyPowerBoost(ctx context.Context, boostId int32) error
- func (p *SurfaceComposerProxy) OnPullAtom(ctx context.Context, atomId int32) (PullAtomData, error)
- func (p *SurfaceComposerProxy) OverrideHdrTypes(ctx context.Context, display binder.IBinder, hdrTypes []int32) error
- func (p *SurfaceComposerProxy) RemoveFpsListener(ctx context.Context, listener IFpsListener) error
- func (p *SurfaceComposerProxy) RemoveHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, ...) error
- func (p *SurfaceComposerProxy) RemoveRegionSamplingListener(ctx context.Context, listener IRegionSamplingListener) error
- func (p *SurfaceComposerProxy) RemoveTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
- func (p *SurfaceComposerProxy) RemoveWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) error
- func (p *SurfaceComposerProxy) ScheduleCommit(ctx context.Context) error
- func (p *SurfaceComposerProxy) ScheduleComposite(ctx context.Context) error
- func (p *SurfaceComposerProxy) SetActiveColorMode(ctx context.Context, display binder.IBinder, colorMode int32) error
- func (p *SurfaceComposerProxy) SetAutoLowLatencyMode(ctx context.Context, display binder.IBinder, on bool) error
- func (p *SurfaceComposerProxy) SetBootDisplayMode(ctx context.Context, display binder.IBinder, displayModeId int32) error
- func (p *SurfaceComposerProxy) SetDebugFlash(ctx context.Context, delay int32) error
- func (p *SurfaceComposerProxy) SetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder, specs DisplayModeSpecs) error
- func (p *SurfaceComposerProxy) SetDisplayBrightness(ctx context.Context, displayToken binder.IBinder, brightness DisplayBrightness) error
- func (p *SurfaceComposerProxy) SetDisplayContentSamplingEnabled(ctx context.Context, display binder.IBinder, enable bool, componentMask byte, ...) error
- func (p *SurfaceComposerProxy) SetGameContentType(ctx context.Context, display binder.IBinder, on bool) error
- func (p *SurfaceComposerProxy) SetGameDefaultFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
- func (p *SurfaceComposerProxy) SetGameModeFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
- func (p *SurfaceComposerProxy) SetGlobalShadowSettings(ctx context.Context, ambientColor Color, spotColor Color, lightPosY float32, ...) error
- func (p *SurfaceComposerProxy) SetHdrConversionStrategy(ctx context.Context, hdrConversionStrategy HdrConversionStrategy) (int32, error)
- func (p *SurfaceComposerProxy) SetPowerMode(ctx context.Context, display binder.IBinder, mode int32) error
- func (p *SurfaceComposerProxy) SetSmallAreaDetectionThreshold(ctx context.Context, appId int32, threshold float32) error
- func (p *SurfaceComposerProxy) UpdateSmallAreaDetection(ctx context.Context, appIds []int32, thresholds []float32) error
- type SurfaceComposerStub
- type TouchOcclusionMode
- type TrustedPresentationThresholds
- type TunnelModeEnabledListenerProxy
- type TunnelModeEnabledListenerStub
- type WindowInfo
- type WindowInfosListenerInfo
- type WindowInfosListenerProxy
- type WindowInfosListenerStub
- type WindowInfosPublisherProxy
- type WindowInfosPublisherStub
- type WindowInfosReportedListenerProxy
- type WindowInfosReportedListenerStub
- type WindowInfosUpdate
Constants ¶
const ( DeviceProductInfoManufactureOrModelDateTagModelYear int32 = 0 DeviceProductInfoManufactureOrModelDateTagManufactureYear int32 = 1 DeviceProductInfoManufactureOrModelDateTagManufactureWeekAndYear int32 = 2 )
const ( HdrConversionStrategyTagPassthrough int32 = 0 HdrConversionStrategyTagAutoAllowedHdrTypes int32 = 1 HdrConversionStrategyTagForceHdrConversion int32 = 2 )
const ( TransactionIDisplayEventConnectionStealReceiveChannel = binder.FirstCallTransaction + 0 TransactionIDisplayEventConnectionSetVsyncRate = binder.FirstCallTransaction + 1 TransactionIDisplayEventConnectionRequestNextVsync = binder.FirstCallTransaction + 2 TransactionIDisplayEventConnectionGetLatestVsyncEventData = binder.FirstCallTransaction + 3 TransactionIDisplayEventConnectionGetSchedulingPolicy = binder.FirstCallTransaction + 4 )
const ( MethodIDisplayEventConnectionStealReceiveChannel = "stealReceiveChannel" MethodIDisplayEventConnectionSetVsyncRate = "setVsyncRate" MethodIDisplayEventConnectionRequestNextVsync = "requestNextVsync" MethodIDisplayEventConnectionGetLatestVsyncEventData = "getLatestVsyncEventData" MethodIDisplayEventConnectionGetSchedulingPolicy = "getSchedulingPolicy" )
const ( IHdrConversionConstantsHdrConversionModePassthrough int32 = 1 IHdrConversionConstantsHdrConversionModeAuto int32 = 2 IHdrConversionConstantsHdrConversionModeForce int32 = 3 )
const ( TransactionISurfaceComposerBootFinished = binder.FirstCallTransaction + 0 TransactionISurfaceComposerCreateDisplayEventConnection = binder.FirstCallTransaction + 1 TransactionISurfaceComposerCreateConnection = binder.FirstCallTransaction + 2 TransactionISurfaceComposerCreateDisplay = binder.FirstCallTransaction + 3 TransactionISurfaceComposerDestroyDisplay = binder.FirstCallTransaction + 4 TransactionISurfaceComposerGetPhysicalDisplayIds = binder.FirstCallTransaction + 5 TransactionISurfaceComposerGetPhysicalDisplayToken = binder.FirstCallTransaction + 6 TransactionISurfaceComposerGetSupportedFrameTimestamps = binder.FirstCallTransaction + 7 TransactionISurfaceComposerSetPowerMode = binder.FirstCallTransaction + 8 TransactionISurfaceComposerGetDisplayStats = binder.FirstCallTransaction + 9 TransactionISurfaceComposerGetDisplayState = binder.FirstCallTransaction + 10 TransactionISurfaceComposerGetStaticDisplayInfo = binder.FirstCallTransaction + 11 TransactionISurfaceComposerGetDynamicDisplayInfoFromId = binder.FirstCallTransaction + 12 TransactionISurfaceComposerGetDynamicDisplayInfoFromToken = binder.FirstCallTransaction + 13 TransactionISurfaceComposerGetDisplayNativePrimaries = binder.FirstCallTransaction + 14 TransactionISurfaceComposerSetActiveColorMode = binder.FirstCallTransaction + 15 TransactionISurfaceComposerSetBootDisplayMode = binder.FirstCallTransaction + 16 TransactionISurfaceComposerClearBootDisplayMode = binder.FirstCallTransaction + 17 TransactionISurfaceComposerGetBootDisplayModeSupport = binder.FirstCallTransaction + 18 TransactionISurfaceComposerGetHdrConversionCapabilities = binder.FirstCallTransaction + 19 TransactionISurfaceComposerSetHdrConversionStrategy = binder.FirstCallTransaction + 20 TransactionISurfaceComposerGetHdrOutputConversionSupport = binder.FirstCallTransaction + 21 TransactionISurfaceComposerSetAutoLowLatencyMode = binder.FirstCallTransaction + 22 TransactionISurfaceComposerSetGameContentType = binder.FirstCallTransaction + 23 TransactionISurfaceComposerCaptureDisplay = binder.FirstCallTransaction + 24 TransactionISurfaceComposerCaptureDisplayById = binder.FirstCallTransaction + 25 TransactionISurfaceComposerCaptureLayersSync = binder.FirstCallTransaction + 26 TransactionISurfaceComposerCaptureLayers = binder.FirstCallTransaction + 27 TransactionISurfaceComposerClearAnimationFrameStats = binder.FirstCallTransaction + 28 TransactionISurfaceComposerGetAnimationFrameStats = binder.FirstCallTransaction + 29 TransactionISurfaceComposerOverrideHdrTypes = binder.FirstCallTransaction + 30 TransactionISurfaceComposerOnPullAtom = binder.FirstCallTransaction + 31 TransactionISurfaceComposerGetLayerDebugInfo = binder.FirstCallTransaction + 32 TransactionISurfaceComposerGetCompositionPreference = binder.FirstCallTransaction + 33 TransactionISurfaceComposerGetDisplayedContentSamplingAttributes = binder.FirstCallTransaction + 34 TransactionISurfaceComposerSetDisplayContentSamplingEnabled = binder.FirstCallTransaction + 35 TransactionISurfaceComposerGetDisplayedContentSample = binder.FirstCallTransaction + 36 TransactionISurfaceComposerGetProtectedContentSupport = binder.FirstCallTransaction + 37 TransactionISurfaceComposerIsWideColorDisplay = binder.FirstCallTransaction + 38 TransactionISurfaceComposerAddRegionSamplingListener = binder.FirstCallTransaction + 39 TransactionISurfaceComposerRemoveRegionSamplingListener = binder.FirstCallTransaction + 40 TransactionISurfaceComposerAddFpsListener = binder.FirstCallTransaction + 41 TransactionISurfaceComposerRemoveFpsListener = binder.FirstCallTransaction + 42 TransactionISurfaceComposerAddTunnelModeEnabledListener = binder.FirstCallTransaction + 43 TransactionISurfaceComposerRemoveTunnelModeEnabledListener = binder.FirstCallTransaction + 44 TransactionISurfaceComposerSetDesiredDisplayModeSpecs = binder.FirstCallTransaction + 45 TransactionISurfaceComposerGetDesiredDisplayModeSpecs = binder.FirstCallTransaction + 46 TransactionISurfaceComposerGetDisplayBrightnessSupport = binder.FirstCallTransaction + 47 TransactionISurfaceComposerSetDisplayBrightness = binder.FirstCallTransaction + 48 TransactionISurfaceComposerAddHdrLayerInfoListener = binder.FirstCallTransaction + 49 TransactionISurfaceComposerRemoveHdrLayerInfoListener = binder.FirstCallTransaction + 50 TransactionISurfaceComposerNotifyPowerBoost = binder.FirstCallTransaction + 51 TransactionISurfaceComposerSetGlobalShadowSettings = binder.FirstCallTransaction + 52 TransactionISurfaceComposerGetDisplayDecorationSupport = binder.FirstCallTransaction + 53 TransactionISurfaceComposerSetGameModeFrameRateOverride = binder.FirstCallTransaction + 54 TransactionISurfaceComposerSetGameDefaultFrameRateOverride = binder.FirstCallTransaction + 55 TransactionISurfaceComposerUpdateSmallAreaDetection = binder.FirstCallTransaction + 56 TransactionISurfaceComposerSetSmallAreaDetectionThreshold = binder.FirstCallTransaction + 57 TransactionISurfaceComposerEnableRefreshRateOverlay = binder.FirstCallTransaction + 58 TransactionISurfaceComposerSetDebugFlash = binder.FirstCallTransaction + 59 TransactionISurfaceComposerScheduleComposite = binder.FirstCallTransaction + 60 TransactionISurfaceComposerScheduleCommit = binder.FirstCallTransaction + 61 TransactionISurfaceComposerForceClientComposition = binder.FirstCallTransaction + 62 TransactionISurfaceComposerGetGpuContextPriority = binder.FirstCallTransaction + 63 TransactionISurfaceComposerGetMaxAcquiredBufferCount = binder.FirstCallTransaction + 64 TransactionISurfaceComposerAddWindowInfosListener = binder.FirstCallTransaction + 65 TransactionISurfaceComposerRemoveWindowInfosListener = binder.FirstCallTransaction + 66 TransactionISurfaceComposerGetOverlaySupport = binder.FirstCallTransaction + 67 TransactionISurfaceComposerGetStalledTransactionInfo = binder.FirstCallTransaction + 68 TransactionISurfaceComposerGetSchedulingPolicy = binder.FirstCallTransaction + 69 )
const ( MethodISurfaceComposerBootFinished = "bootFinished" MethodISurfaceComposerCreateDisplayEventConnection = "createDisplayEventConnection" MethodISurfaceComposerCreateConnection = "createConnection" MethodISurfaceComposerCreateDisplay = "createDisplay" MethodISurfaceComposerDestroyDisplay = "destroyDisplay" MethodISurfaceComposerGetPhysicalDisplayIds = "getPhysicalDisplayIds" MethodISurfaceComposerGetPhysicalDisplayToken = "getPhysicalDisplayToken" MethodISurfaceComposerGetSupportedFrameTimestamps = "getSupportedFrameTimestamps" MethodISurfaceComposerSetPowerMode = "setPowerMode" MethodISurfaceComposerGetDisplayStats = "getDisplayStats" MethodISurfaceComposerGetDisplayState = "getDisplayState" MethodISurfaceComposerGetStaticDisplayInfo = "getStaticDisplayInfo" MethodISurfaceComposerGetDynamicDisplayInfoFromId = "getDynamicDisplayInfoFromId" MethodISurfaceComposerGetDynamicDisplayInfoFromToken = "getDynamicDisplayInfoFromToken" MethodISurfaceComposerGetDisplayNativePrimaries = "getDisplayNativePrimaries" MethodISurfaceComposerSetActiveColorMode = "setActiveColorMode" MethodISurfaceComposerSetBootDisplayMode = "setBootDisplayMode" MethodISurfaceComposerClearBootDisplayMode = "clearBootDisplayMode" MethodISurfaceComposerGetBootDisplayModeSupport = "getBootDisplayModeSupport" MethodISurfaceComposerGetHdrConversionCapabilities = "getHdrConversionCapabilities" MethodISurfaceComposerSetHdrConversionStrategy = "setHdrConversionStrategy" MethodISurfaceComposerGetHdrOutputConversionSupport = "getHdrOutputConversionSupport" MethodISurfaceComposerSetAutoLowLatencyMode = "setAutoLowLatencyMode" MethodISurfaceComposerSetGameContentType = "setGameContentType" MethodISurfaceComposerCaptureDisplay = "captureDisplay" MethodISurfaceComposerCaptureDisplayById = "captureDisplayById" MethodISurfaceComposerCaptureLayersSync = "captureLayersSync" MethodISurfaceComposerCaptureLayers = "captureLayers" MethodISurfaceComposerClearAnimationFrameStats = "clearAnimationFrameStats" MethodISurfaceComposerGetAnimationFrameStats = "getAnimationFrameStats" MethodISurfaceComposerOverrideHdrTypes = "overrideHdrTypes" MethodISurfaceComposerOnPullAtom = "onPullAtom" MethodISurfaceComposerGetLayerDebugInfo = "getLayerDebugInfo" MethodISurfaceComposerGetCompositionPreference = "getCompositionPreference" MethodISurfaceComposerGetDisplayedContentSamplingAttributes = "getDisplayedContentSamplingAttributes" MethodISurfaceComposerSetDisplayContentSamplingEnabled = "setDisplayContentSamplingEnabled" MethodISurfaceComposerGetDisplayedContentSample = "getDisplayedContentSample" MethodISurfaceComposerGetProtectedContentSupport = "getProtectedContentSupport" MethodISurfaceComposerIsWideColorDisplay = "isWideColorDisplay" MethodISurfaceComposerAddRegionSamplingListener = "addRegionSamplingListener" MethodISurfaceComposerRemoveRegionSamplingListener = "removeRegionSamplingListener" MethodISurfaceComposerAddFpsListener = "addFpsListener" MethodISurfaceComposerRemoveFpsListener = "removeFpsListener" MethodISurfaceComposerAddTunnelModeEnabledListener = "addTunnelModeEnabledListener" MethodISurfaceComposerRemoveTunnelModeEnabledListener = "removeTunnelModeEnabledListener" MethodISurfaceComposerSetDesiredDisplayModeSpecs = "setDesiredDisplayModeSpecs" MethodISurfaceComposerGetDesiredDisplayModeSpecs = "getDesiredDisplayModeSpecs" MethodISurfaceComposerGetDisplayBrightnessSupport = "getDisplayBrightnessSupport" MethodISurfaceComposerSetDisplayBrightness = "setDisplayBrightness" MethodISurfaceComposerAddHdrLayerInfoListener = "addHdrLayerInfoListener" MethodISurfaceComposerRemoveHdrLayerInfoListener = "removeHdrLayerInfoListener" MethodISurfaceComposerNotifyPowerBoost = "notifyPowerBoost" MethodISurfaceComposerSetGlobalShadowSettings = "setGlobalShadowSettings" MethodISurfaceComposerGetDisplayDecorationSupport = "getDisplayDecorationSupport" MethodISurfaceComposerSetGameModeFrameRateOverride = "setGameModeFrameRateOverride" MethodISurfaceComposerSetGameDefaultFrameRateOverride = "setGameDefaultFrameRateOverride" MethodISurfaceComposerUpdateSmallAreaDetection = "updateSmallAreaDetection" MethodISurfaceComposerSetSmallAreaDetectionThreshold = "setSmallAreaDetectionThreshold" MethodISurfaceComposerEnableRefreshRateOverlay = "enableRefreshRateOverlay" MethodISurfaceComposerSetDebugFlash = "setDebugFlash" MethodISurfaceComposerScheduleComposite = "scheduleComposite" MethodISurfaceComposerScheduleCommit = "scheduleCommit" MethodISurfaceComposerForceClientComposition = "forceClientComposition" MethodISurfaceComposerGetGpuContextPriority = "getGpuContextPriority" MethodISurfaceComposerGetMaxAcquiredBufferCount = "getMaxAcquiredBufferCount" MethodISurfaceComposerAddWindowInfosListener = "addWindowInfosListener" MethodISurfaceComposerRemoveWindowInfosListener = "removeWindowInfosListener" MethodISurfaceComposerGetOverlaySupport = "getOverlaySupport" MethodISurfaceComposerGetStalledTransactionInfo = "getStalledTransactionInfo" MethodISurfaceComposerGetSchedulingPolicy = "getSchedulingPolicy" )
const ( TransactionISurfaceComposerClientCreateSurface = binder.FirstCallTransaction + 0 TransactionISurfaceComposerClientClearLayerFrameStats = binder.FirstCallTransaction + 1 TransactionISurfaceComposerClientGetLayerFrameStats = binder.FirstCallTransaction + 2 TransactionISurfaceComposerClientMirrorSurface = binder.FirstCallTransaction + 3 TransactionISurfaceComposerClientMirrorDisplay = binder.FirstCallTransaction + 4 TransactionISurfaceComposerClientGetSchedulingPolicy = binder.FirstCallTransaction + 5 )
const ( MethodISurfaceComposerClientCreateSurface = "createSurface" MethodISurfaceComposerClientClearLayerFrameStats = "clearLayerFrameStats" MethodISurfaceComposerClientGetLayerFrameStats = "getLayerFrameStats" MethodISurfaceComposerClientMirrorSurface = "mirrorSurface" MethodISurfaceComposerClientMirrorDisplay = "mirrorDisplay" MethodISurfaceComposerClientGetSchedulingPolicy = "getSchedulingPolicy" )
const ( ISurfaceComposerClientEHidden int32 = 4 ISurfaceComposerClientEDestroyBackbuffer int32 = 32 ISurfaceComposerClientESkipScreenshot int32 = 64 ISurfaceComposerClientESecure int32 = 128 ISurfaceComposerClientENonPremultiplied int32 = 256 ISurfaceComposerClientEOpaque int32 = 1024 ISurfaceComposerClientEProtectedByApp int32 = 2048 ISurfaceComposerClientEProtectedByDRM int32 = 4096 ISurfaceComposerClientECursorWindow int32 = 8192 ISurfaceComposerClientENoColorFill int32 = 16384 ISurfaceComposerClientEFXSurfaceBufferQueue int32 = 0 ISurfaceComposerClientEFXSurfaceEffect int32 = 131072 ISurfaceComposerClientEFXSurfaceBufferState int32 = 262144 ISurfaceComposerClientEFXSurfaceContainer int32 = 524288 ISurfaceComposerClientEFXSurfaceMask int32 = 983040 )
const DescriptorIDisplayEventConnection = "android.gui.IDisplayEventConnection"
const DescriptorIFpsListener = "android.gui.IFpsListener"
const DescriptorIHdrConversionConstants = "android.gui.IHdrConversionConstants"
const DescriptorIHdrLayerInfoListener = "android.gui.IHdrLayerInfoListener"
const DescriptorIRegionSamplingListener = "android.gui.IRegionSamplingListener"
const DescriptorIScreenCaptureListener = "android.gui.IScreenCaptureListener"
const DescriptorISurfaceComposer = "android.gui.ISurfaceComposer"
const DescriptorISurfaceComposerClient = "android.gui.ISurfaceComposerClient"
const DescriptorITunnelModeEnabledListener = "android.gui.ITunnelModeEnabledListener"
const DescriptorIWindowInfosListener = "android.gui.IWindowInfosListener"
const DescriptorIWindowInfosPublisher = "android.gui.IWindowInfosPublisher"
const DescriptorIWindowInfosReportedListener = "android.gui.IWindowInfosReportedListener"
const (
FrameTimelineInfoInvalidVsyncId int64 = -1
)
const (
MethodIFpsListenerOnFpsReported = "onFpsReported"
)
const (
MethodIHdrLayerInfoListenerOnHdrLayerInfoChanged = "onHdrLayerInfoChanged"
)
const (
MethodIRegionSamplingListenerOnSampleCollected = "onSampleCollected"
)
const (
MethodIScreenCaptureListenerOnScreenCaptureCompleted = "onScreenCaptureCompleted"
)
const (
MethodITunnelModeEnabledListenerOnTunnelModeEnabledChanged = "onTunnelModeEnabledChanged"
)
const (
MethodIWindowInfosListenerOnWindowInfosChanged = "onWindowInfosChanged"
)
const (
MethodIWindowInfosPublisherAckWindowInfosReceived = "ackWindowInfosReceived"
)
const (
MethodIWindowInfosReportedListenerOnWindowInfosReported = "onWindowInfosReported"
)
const (
TransactionIFpsListenerOnFpsReported = binder.FirstCallTransaction + 0
)
const (
TransactionIHdrLayerInfoListenerOnHdrLayerInfoChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIRegionSamplingListenerOnSampleCollected = binder.FirstCallTransaction + 0
)
const (
TransactionIScreenCaptureListenerOnScreenCaptureCompleted = binder.FirstCallTransaction + 0
)
const (
TransactionITunnelModeEnabledListenerOnTunnelModeEnabledChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIWindowInfosListenerOnWindowInfosChanged = binder.FirstCallTransaction + 0
)
const (
TransactionIWindowInfosPublisherAckWindowInfosReceived = binder.FirstCallTransaction + 0
)
const (
TransactionIWindowInfosReportedListenerOnWindowInfosReported = binder.FirstCallTransaction + 0
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingHint ¶
type CachingHint int32
const ( CachingHintDisabled CachingHint = 0 CachingHintEnabled CachingHint = 1 )
type CaptureArgs ¶
type CaptureArgs struct {
}
func (*CaptureArgs) MarshalParcel ¶
func (s *CaptureArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*CaptureArgs) UnmarshalParcel ¶
func (s *CaptureArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type CompositionPreference ¶
type CompositionPreference struct {
DefaultDataspace int32
DefaultPixelFormat int32
WideColorGamutDataspace int32
WideColorGamutPixelFormat int32
}
func (*CompositionPreference) MarshalParcel ¶
func (s *CompositionPreference) MarshalParcel( p *parcel.Parcel, ) error
func (*CompositionPreference) UnmarshalParcel ¶
func (s *CompositionPreference) UnmarshalParcel( p *parcel.Parcel, ) error
type ContentSamplingAttributes ¶
func (*ContentSamplingAttributes) MarshalParcel ¶
func (s *ContentSamplingAttributes) MarshalParcel( p *parcel.Parcel, ) error
func (*ContentSamplingAttributes) UnmarshalParcel ¶
func (s *ContentSamplingAttributes) UnmarshalParcel( p *parcel.Parcel, ) error
type CreateSurfaceResult ¶
type CreateSurfaceResult struct {
Handle binder.IBinder
LayerId int32
LayerName string
TransformHint int32
}
func (*CreateSurfaceResult) MarshalParcel ¶
func (s *CreateSurfaceResult) MarshalParcel( p *parcel.Parcel, ) error
func (*CreateSurfaceResult) UnmarshalParcel ¶
func (s *CreateSurfaceResult) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceProductInfo ¶
type DeviceProductInfo struct {
Name string
ManufacturerPnpId []byte
ProductId string
ManufactureOrModelDate DeviceProductInfoManufactureOrModelDate
RelativeAddress []byte
}
func (*DeviceProductInfo) MarshalParcel ¶
func (s *DeviceProductInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DeviceProductInfo) UnmarshalParcel ¶
func (s *DeviceProductInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceProductInfoManufactureOrModelDate ¶
type DeviceProductInfoManufactureOrModelDate struct {
Tag int32
ModelYear DeviceProductInfoModelYear
ManufactureYear DeviceProductInfoManufactureYear
ManufactureWeekAndYear DeviceProductInfoManufactureWeekAndYear
}
func (*DeviceProductInfoManufactureOrModelDate) GetManufactureWeekAndYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) GetManufactureWeekAndYear() (DeviceProductInfoManufactureWeekAndYear, bool)
func (*DeviceProductInfoManufactureOrModelDate) GetManufactureYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) GetManufactureYear() (DeviceProductInfoManufactureYear, bool)
func (*DeviceProductInfoManufactureOrModelDate) GetModelYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) GetModelYear() (DeviceProductInfoModelYear, bool)
func (*DeviceProductInfoManufactureOrModelDate) MarshalParcel ¶
func (u *DeviceProductInfoManufactureOrModelDate) MarshalParcel( p *parcel.Parcel, ) error
func (*DeviceProductInfoManufactureOrModelDate) SetManufactureWeekAndYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) SetManufactureWeekAndYear( v DeviceProductInfoManufactureWeekAndYear, )
func (*DeviceProductInfoManufactureOrModelDate) SetManufactureYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) SetManufactureYear( v DeviceProductInfoManufactureYear, )
func (*DeviceProductInfoManufactureOrModelDate) SetModelYear ¶
func (u *DeviceProductInfoManufactureOrModelDate) SetModelYear( v DeviceProductInfoModelYear, )
func (*DeviceProductInfoManufactureOrModelDate) UnmarshalParcel ¶
func (u *DeviceProductInfoManufactureOrModelDate) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceProductInfoManufactureWeekAndYear ¶
type DeviceProductInfoManufactureWeekAndYear struct {
ManufactureYear DeviceProductInfoManufactureYear
Week int32
}
func (*DeviceProductInfoManufactureWeekAndYear) MarshalParcel ¶
func (s *DeviceProductInfoManufactureWeekAndYear) MarshalParcel( p *parcel.Parcel, ) error
func (*DeviceProductInfoManufactureWeekAndYear) UnmarshalParcel ¶
func (s *DeviceProductInfoManufactureWeekAndYear) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceProductInfoManufactureYear ¶
type DeviceProductInfoManufactureYear struct {
ModelYear DeviceProductInfoModelYear
}
func (*DeviceProductInfoManufactureYear) MarshalParcel ¶
func (s *DeviceProductInfoManufactureYear) MarshalParcel( p *parcel.Parcel, ) error
func (*DeviceProductInfoManufactureYear) UnmarshalParcel ¶
func (s *DeviceProductInfoManufactureYear) UnmarshalParcel( p *parcel.Parcel, ) error
type DeviceProductInfoModelYear ¶
type DeviceProductInfoModelYear struct {
Year int32
}
func (*DeviceProductInfoModelYear) MarshalParcel ¶
func (s *DeviceProductInfoModelYear) MarshalParcel( p *parcel.Parcel, ) error
func (*DeviceProductInfoModelYear) UnmarshalParcel ¶
func (s *DeviceProductInfoModelYear) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayBrightness ¶
type DisplayBrightness struct {
SdrWhitePoint float32
SdrWhitePointNits float32
DisplayBrightness float32
DisplayBrightnessNits float32
}
func (*DisplayBrightness) MarshalParcel ¶
func (s *DisplayBrightness) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayBrightness) UnmarshalParcel ¶
func (s *DisplayBrightness) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayCaptureArgs ¶
type DisplayCaptureArgs struct {
}
func (*DisplayCaptureArgs) MarshalParcel ¶
func (s *DisplayCaptureArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayCaptureArgs) UnmarshalParcel ¶
func (s *DisplayCaptureArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayConnectionType ¶
type DisplayConnectionType int32
const ( DisplayConnectionTypeInternal DisplayConnectionType = 0 DisplayConnectionTypeExternal DisplayConnectionType = 1 )
type DisplayDecorationSupport ¶
func (*DisplayDecorationSupport) MarshalParcel ¶
func (s *DisplayDecorationSupport) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayDecorationSupport) UnmarshalParcel ¶
func (s *DisplayDecorationSupport) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayEventConnectionProxy ¶
func NewDisplayEventConnectionProxy ¶
func NewDisplayEventConnectionProxy( remote binder.IBinder, ) *DisplayEventConnectionProxy
func (*DisplayEventConnectionProxy) AsBinder ¶
func (p *DisplayEventConnectionProxy) AsBinder() binder.IBinder
func (*DisplayEventConnectionProxy) GetLatestVsyncEventData ¶
func (p *DisplayEventConnectionProxy) GetLatestVsyncEventData( ctx context.Context, ) (ParcelableVsyncEventData, error)
func (*DisplayEventConnectionProxy) GetSchedulingPolicy ¶
func (p *DisplayEventConnectionProxy) GetSchedulingPolicy( ctx context.Context, ) (SchedulingPolicy, error)
func (*DisplayEventConnectionProxy) RequestNextVsync ¶
func (p *DisplayEventConnectionProxy) RequestNextVsync( ctx context.Context, ) error
func (*DisplayEventConnectionProxy) SetVsyncRate ¶
func (p *DisplayEventConnectionProxy) SetVsyncRate( ctx context.Context, count int32, ) error
func (*DisplayEventConnectionProxy) StealReceiveChannel ¶
func (p *DisplayEventConnectionProxy) StealReceiveChannel( ctx context.Context, outChannel BitTube, ) error
type DisplayEventConnectionStub ¶
type DisplayEventConnectionStub struct {
Impl IDisplayEventConnection
Transport binder.VersionAwareTransport
}
DisplayEventConnectionStub dispatches incoming binder transactions to a typed IDisplayEventConnection implementation.
func (*DisplayEventConnectionStub) Descriptor ¶
func (s *DisplayEventConnectionStub) Descriptor() string
func (*DisplayEventConnectionStub) OnTransaction ¶
func (s *DisplayEventConnectionStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type DisplayInfo ¶
type DisplayInfo struct {
}
func (*DisplayInfo) MarshalParcel ¶
func (s *DisplayInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayInfo) UnmarshalParcel ¶
func (s *DisplayInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayMode ¶
type DisplayMode struct {
Id int32
Resolution Size
XDpi float32
YDpi float32
SupportedHdrTypes []int32
PeakRefreshRate float32
VsyncRate float32
AppVsyncOffset int64
SfVsyncOffset int64
PresentationDeadline int64
Group int32
}
func (*DisplayMode) MarshalParcel ¶
func (s *DisplayMode) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayMode) UnmarshalParcel ¶
func (s *DisplayMode) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayModeSpecs ¶
type DisplayModeSpecs struct {
DefaultMode int32
AllowGroupSwitching bool
PrimaryRanges DisplayModeSpecsRefreshRateRanges
AppRequestRanges DisplayModeSpecsRefreshRateRanges
}
func (*DisplayModeSpecs) MarshalParcel ¶
func (s *DisplayModeSpecs) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayModeSpecs) UnmarshalParcel ¶
func (s *DisplayModeSpecs) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayModeSpecsRefreshRateRanges ¶
type DisplayModeSpecsRefreshRateRanges struct {
Physical DisplayModeSpecsRefreshRateRangesRefreshRateRange
Render DisplayModeSpecsRefreshRateRangesRefreshRateRange
}
func (*DisplayModeSpecsRefreshRateRanges) MarshalParcel ¶
func (s *DisplayModeSpecsRefreshRateRanges) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayModeSpecsRefreshRateRanges) UnmarshalParcel ¶
func (s *DisplayModeSpecsRefreshRateRanges) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayModeSpecsRefreshRateRangesRefreshRateRange ¶
func (*DisplayModeSpecsRefreshRateRangesRefreshRateRange) MarshalParcel ¶
func (s *DisplayModeSpecsRefreshRateRangesRefreshRateRange) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayModeSpecsRefreshRateRangesRefreshRateRange) UnmarshalParcel ¶
func (s *DisplayModeSpecsRefreshRateRangesRefreshRateRange) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayPrimaries ¶
type DisplayPrimaries struct {
Red DisplayPrimariesCieXyz
Green DisplayPrimariesCieXyz
Blue DisplayPrimariesCieXyz
White DisplayPrimariesCieXyz
}
func (*DisplayPrimaries) MarshalParcel ¶
func (s *DisplayPrimaries) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayPrimaries) UnmarshalParcel ¶
func (s *DisplayPrimaries) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayPrimariesCieXyz ¶
func (*DisplayPrimariesCieXyz) MarshalParcel ¶
func (s *DisplayPrimariesCieXyz) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayPrimariesCieXyz) UnmarshalParcel ¶
func (s *DisplayPrimariesCieXyz) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayStatInfo ¶
func (*DisplayStatInfo) MarshalParcel ¶
func (s *DisplayStatInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayStatInfo) UnmarshalParcel ¶
func (s *DisplayStatInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayState ¶
func (*DisplayState) MarshalParcel ¶
func (s *DisplayState) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayState) UnmarshalParcel ¶
func (s *DisplayState) UnmarshalParcel( p *parcel.Parcel, ) error
type DisplayedFrameStats ¶
type DisplayedFrameStats struct {
NumFrames int64
Component_0_sample []int64
Component_1_sample []int64
Component_2_sample []int64
Component_3_sample []int64
}
func (*DisplayedFrameStats) MarshalParcel ¶
func (s *DisplayedFrameStats) MarshalParcel( p *parcel.Parcel, ) error
func (*DisplayedFrameStats) UnmarshalParcel ¶
func (s *DisplayedFrameStats) UnmarshalParcel( p *parcel.Parcel, ) error
type DropInputMode ¶
type DropInputMode int32
const ( DropInputModeNONE DropInputMode = 0 DropInputModeALL DropInputMode = 1 DropInputModeOBSCURED DropInputMode = 2 )
type DynamicDisplayInfo ¶
type DynamicDisplayInfo struct {
SupportedDisplayModes []DisplayMode
ActiveDisplayModeId int32
RenderFrameRate float32
SupportedColorModes []int32
ActiveColorMode int32
HdrCapabilities HdrCapabilities
AutoLowLatencyModeSupported bool
GameContentTypeSupported bool
PreferredBootDisplayMode int32
}
func (*DynamicDisplayInfo) MarshalParcel ¶
func (s *DynamicDisplayInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*DynamicDisplayInfo) UnmarshalParcel ¶
func (s *DynamicDisplayInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type FocusRequest ¶
func (*FocusRequest) MarshalParcel ¶
func (s *FocusRequest) MarshalParcel( p *parcel.Parcel, ) error
func (*FocusRequest) UnmarshalParcel ¶
func (s *FocusRequest) UnmarshalParcel( p *parcel.Parcel, ) error
type FpsListenerProxy ¶
func NewFpsListenerProxy ¶
func NewFpsListenerProxy( remote binder.IBinder, ) *FpsListenerProxy
func (*FpsListenerProxy) AsBinder ¶
func (p *FpsListenerProxy) AsBinder() binder.IBinder
func (*FpsListenerProxy) OnFpsReported ¶
func (p *FpsListenerProxy) OnFpsReported( ctx context.Context, fps float32, ) error
type FpsListenerStub ¶
type FpsListenerStub struct {
Impl IFpsListener
Transport binder.VersionAwareTransport
}
FpsListenerStub dispatches incoming binder transactions to a typed IFpsListener implementation.
func (*FpsListenerStub) Descriptor ¶
func (s *FpsListenerStub) Descriptor() string
func (*FpsListenerStub) OnTransaction ¶
func (s *FpsListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type FrameEvent ¶
type FrameEvent int32
const ( FrameEventPOSTED FrameEvent = 0 FrameEventRequestedPresent FrameEvent = 1 FrameEventLATCH FrameEvent = 2 FrameEventACQUIRE FrameEvent = 3 FrameEventFirstRefreshStart FrameEvent = 4 FrameEventLastRefreshStart FrameEvent = 5 FrameEventGpuCompositionDone FrameEvent = 6 FrameEventDisplayPresent FrameEvent = 7 FrameEventDequeueReady FrameEvent = 8 FrameEventRELEASE FrameEvent = 9 FrameEventEventCount FrameEvent = 10 )
type FrameStats ¶
type FrameStats struct {
RefreshPeriodNano int64
DesiredPresentTimesNano []int64
ActualPresentTimesNano []int64
FrameReadyTimesNano []int64
}
func (*FrameStats) MarshalParcel ¶
func (s *FrameStats) MarshalParcel( p *parcel.Parcel, ) error
func (*FrameStats) UnmarshalParcel ¶
func (s *FrameStats) UnmarshalParcel( p *parcel.Parcel, ) error
type FrameTimelineInfo ¶
type FrameTimelineInfo struct {
VsyncId int64
InputEventId int32
StartTimeNanos int64
UseForRefreshRateSelection bool
SkippedFrameVsyncId int64
SkippedFrameStartTimeNanos int64
}
func (*FrameTimelineInfo) MarshalParcel ¶
func (s *FrameTimelineInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*FrameTimelineInfo) UnmarshalParcel ¶
func (s *FrameTimelineInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type HdrCapabilities ¶
type HdrCapabilities struct {
SupportedHdrTypes []int32
MaxLuminance float32
MaxAverageLuminance float32
MinLuminance float32
}
func (*HdrCapabilities) MarshalParcel ¶
func (s *HdrCapabilities) MarshalParcel( p *parcel.Parcel, ) error
func (*HdrCapabilities) UnmarshalParcel ¶
func (s *HdrCapabilities) UnmarshalParcel( p *parcel.Parcel, ) error
type HdrConversionCapability ¶
func (*HdrConversionCapability) MarshalParcel ¶
func (s *HdrConversionCapability) MarshalParcel( p *parcel.Parcel, ) error
func (*HdrConversionCapability) UnmarshalParcel ¶
func (s *HdrConversionCapability) UnmarshalParcel( p *parcel.Parcel, ) error
type HdrConversionConstantsProxy ¶
func NewHdrConversionConstantsProxy ¶
func NewHdrConversionConstantsProxy( remote binder.IBinder, ) *HdrConversionConstantsProxy
func (*HdrConversionConstantsProxy) AsBinder ¶
func (p *HdrConversionConstantsProxy) AsBinder() binder.IBinder
type HdrConversionConstantsStub ¶
type HdrConversionConstantsStub struct {
Impl IHdrConversionConstants
Transport binder.VersionAwareTransport
}
HdrConversionConstantsStub dispatches incoming binder transactions to a typed IHdrConversionConstants implementation.
func (*HdrConversionConstantsStub) Descriptor ¶
func (s *HdrConversionConstantsStub) Descriptor() string
func (*HdrConversionConstantsStub) OnTransaction ¶
func (s *HdrConversionConstantsStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type HdrConversionStrategy ¶
type HdrConversionStrategy struct {
Tag int32
Passthrough bool
AutoAllowedHdrTypes []int32
ForceHdrConversion int32
}
func (*HdrConversionStrategy) GetAutoAllowedHdrTypes ¶
func (u *HdrConversionStrategy) GetAutoAllowedHdrTypes() ([]int32, bool)
func (*HdrConversionStrategy) GetForceHdrConversion ¶
func (u *HdrConversionStrategy) GetForceHdrConversion() (int32, bool)
func (*HdrConversionStrategy) GetPassthrough ¶
func (u *HdrConversionStrategy) GetPassthrough() (bool, bool)
func (*HdrConversionStrategy) MarshalParcel ¶
func (u *HdrConversionStrategy) MarshalParcel( p *parcel.Parcel, ) error
func (*HdrConversionStrategy) SetAutoAllowedHdrTypes ¶
func (u *HdrConversionStrategy) SetAutoAllowedHdrTypes( v []int32, )
func (*HdrConversionStrategy) SetForceHdrConversion ¶
func (u *HdrConversionStrategy) SetForceHdrConversion( v int32, )
func (*HdrConversionStrategy) SetPassthrough ¶
func (u *HdrConversionStrategy) SetPassthrough( v bool, )
func (*HdrConversionStrategy) UnmarshalParcel ¶
func (u *HdrConversionStrategy) UnmarshalParcel( p *parcel.Parcel, ) error
type HdrLayerInfoListenerProxy ¶
func NewHdrLayerInfoListenerProxy ¶
func NewHdrLayerInfoListenerProxy( remote binder.IBinder, ) *HdrLayerInfoListenerProxy
func (*HdrLayerInfoListenerProxy) AsBinder ¶
func (p *HdrLayerInfoListenerProxy) AsBinder() binder.IBinder
type HdrLayerInfoListenerStub ¶
type HdrLayerInfoListenerStub struct {
Impl IHdrLayerInfoListener
Transport binder.VersionAwareTransport
}
HdrLayerInfoListenerStub dispatches incoming binder transactions to a typed IHdrLayerInfoListener implementation.
func (*HdrLayerInfoListenerStub) Descriptor ¶
func (s *HdrLayerInfoListenerStub) Descriptor() string
func (*HdrLayerInfoListenerStub) OnTransaction ¶
func (s *HdrLayerInfoListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type IDisplayEventConnection ¶
type IDisplayEventConnection interface {
AsBinder() binder.IBinder
StealReceiveChannel(ctx context.Context, outChannel BitTube) error
SetVsyncRate(ctx context.Context, count int32) error
RequestNextVsync(ctx context.Context) error
GetLatestVsyncEventData(ctx context.Context) (ParcelableVsyncEventData, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
func NewDisplayEventConnectionStub ¶
func NewDisplayEventConnectionStub( impl IDisplayEventConnectionServer, ) IDisplayEventConnection
NewDisplayEventConnectionStub creates a server-side IDisplayEventConnection wrapping the given server implementation. The returned value satisfies IDisplayEventConnection and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IDisplayEventConnectionServer ¶
type IDisplayEventConnectionServer interface {
StealReceiveChannel(ctx context.Context, outChannel BitTube) error
SetVsyncRate(ctx context.Context, count int32) error
RequestNextVsync(ctx context.Context) error
GetLatestVsyncEventData(ctx context.Context) (ParcelableVsyncEventData, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
IDisplayEventConnectionServer is the server-side interface that user implementations provide to NewDisplayEventConnectionStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IFpsListener ¶
type IFpsListener interface {
AsBinder() binder.IBinder
OnFpsReported(ctx context.Context, fps float32) error
}
func NewFpsListenerStub ¶
func NewFpsListenerStub( impl IFpsListenerServer, ) IFpsListener
NewFpsListenerStub creates a server-side IFpsListener wrapping the given server implementation. The returned value satisfies IFpsListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IFpsListenerServer ¶
IFpsListenerServer is the server-side interface that user implementations provide to NewFpsListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHdrConversionConstants ¶
func NewHdrConversionConstantsStub ¶
func NewHdrConversionConstantsStub( impl IHdrConversionConstantsServer, ) IHdrConversionConstants
NewHdrConversionConstantsStub creates a server-side IHdrConversionConstants wrapping the given server implementation. The returned value satisfies IHdrConversionConstants and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IHdrConversionConstantsServer ¶
type IHdrConversionConstantsServer interface {
}
IHdrConversionConstantsServer is the server-side interface that user implementations provide to NewHdrConversionConstantsStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IHdrLayerInfoListener ¶
type IHdrLayerInfoListener interface {
AsBinder() binder.IBinder
OnHdrLayerInfoChanged(ctx context.Context, numberOfHdrLayers int32, maxW int32, maxH int32, flags int32, maxDesiredHdrSdrRatio float32) error
}
func NewHdrLayerInfoListenerStub ¶
func NewHdrLayerInfoListenerStub( impl IHdrLayerInfoListenerServer, ) IHdrLayerInfoListener
NewHdrLayerInfoListenerStub creates a server-side IHdrLayerInfoListener wrapping the given server implementation. The returned value satisfies IHdrLayerInfoListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IHdrLayerInfoListenerServer ¶
type IHdrLayerInfoListenerServer interface {
OnHdrLayerInfoChanged(ctx context.Context, numberOfHdrLayers int32, maxW int32, maxH int32, flags int32, maxDesiredHdrSdrRatio float32) error
}
IHdrLayerInfoListenerServer is the server-side interface that user implementations provide to NewHdrLayerInfoListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IRegionSamplingListener ¶
type IRegionSamplingListener interface {
AsBinder() binder.IBinder
OnSampleCollected(ctx context.Context, medianLuma float32) error
}
func NewRegionSamplingListenerStub ¶
func NewRegionSamplingListenerStub( impl IRegionSamplingListenerServer, ) IRegionSamplingListener
NewRegionSamplingListenerStub creates a server-side IRegionSamplingListener wrapping the given server implementation. The returned value satisfies IRegionSamplingListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IRegionSamplingListenerServer ¶
type IRegionSamplingListenerServer interface {
OnSampleCollected(ctx context.Context, medianLuma float32) error
}
IRegionSamplingListenerServer is the server-side interface that user implementations provide to NewRegionSamplingListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IScreenCaptureListener ¶
type IScreenCaptureListener interface {
AsBinder() binder.IBinder
OnScreenCaptureCompleted(ctx context.Context, captureResults ScreenCaptureResults) error
}
func NewScreenCaptureListenerStub ¶
func NewScreenCaptureListenerStub( impl IScreenCaptureListenerServer, ) IScreenCaptureListener
NewScreenCaptureListenerStub creates a server-side IScreenCaptureListener wrapping the given server implementation. The returned value satisfies IScreenCaptureListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IScreenCaptureListenerServer ¶
type IScreenCaptureListenerServer interface {
OnScreenCaptureCompleted(ctx context.Context, captureResults ScreenCaptureResults) error
}
IScreenCaptureListenerServer is the server-side interface that user implementations provide to NewScreenCaptureListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISurfaceComposer ¶
type ISurfaceComposer interface {
AsBinder() binder.IBinder
BootFinished(ctx context.Context) error
CreateDisplayEventConnection(ctx context.Context, vsyncSource ISurfaceComposerVsyncSource, eventRegistration ISurfaceComposerEventRegistration, layerHandle binder.IBinder) (IDisplayEventConnection, error)
CreateConnection(ctx context.Context) (ISurfaceComposerClient, error)
CreateDisplay(ctx context.Context, displayName string, secure bool, requestedRefreshRate float32) (binder.IBinder, error)
DestroyDisplay(ctx context.Context, display binder.IBinder) error
GetPhysicalDisplayIds(ctx context.Context) ([]int64, error)
GetPhysicalDisplayToken(ctx context.Context, displayId int64) (binder.IBinder, error)
GetSupportedFrameTimestamps(ctx context.Context) ([]FrameEvent, error)
SetPowerMode(ctx context.Context, display binder.IBinder, mode int32) error
GetDisplayStats(ctx context.Context, display binder.IBinder) (DisplayStatInfo, error)
GetDisplayState(ctx context.Context, display binder.IBinder) (DisplayState, error)
GetStaticDisplayInfo(ctx context.Context, displayId int64) (StaticDisplayInfo, error)
GetDynamicDisplayInfoFromId(ctx context.Context, displayId int64) (DynamicDisplayInfo, error)
GetDynamicDisplayInfoFromToken(ctx context.Context, display binder.IBinder) (DynamicDisplayInfo, error)
GetDisplayNativePrimaries(ctx context.Context, display binder.IBinder) (DisplayPrimaries, error)
SetActiveColorMode(ctx context.Context, display binder.IBinder, colorMode int32) error
SetBootDisplayMode(ctx context.Context, display binder.IBinder, displayModeId int32) error
ClearBootDisplayMode(ctx context.Context, display binder.IBinder) error
GetBootDisplayModeSupport(ctx context.Context) (bool, error)
GetHdrConversionCapabilities(ctx context.Context) ([]HdrConversionCapability, error)
SetHdrConversionStrategy(ctx context.Context, hdrConversionStrategy HdrConversionStrategy) (int32, error)
GetHdrOutputConversionSupport(ctx context.Context) (bool, error)
SetAutoLowLatencyMode(ctx context.Context, display binder.IBinder, on bool) error
SetGameContentType(ctx context.Context, display binder.IBinder, on bool) error
CaptureDisplay(ctx context.Context, args DisplayCaptureArgs, listener IScreenCaptureListener) error
CaptureDisplayById(ctx context.Context, displayId int64, args CaptureArgs, listener IScreenCaptureListener) error
CaptureLayersSync(ctx context.Context, args LayerCaptureArgs) (ScreenCaptureResults, error)
CaptureLayers(ctx context.Context, args LayerCaptureArgs, listener IScreenCaptureListener) error
ClearAnimationFrameStats(ctx context.Context) error
GetAnimationFrameStats(ctx context.Context) (FrameStats, error)
OverrideHdrTypes(ctx context.Context, display binder.IBinder, hdrTypes []int32) error
OnPullAtom(ctx context.Context, atomId int32) (PullAtomData, error)
GetLayerDebugInfo(ctx context.Context) ([]LayerDebugInfo, error)
GetCompositionPreference(ctx context.Context) (CompositionPreference, error)
GetDisplayedContentSamplingAttributes(ctx context.Context, display binder.IBinder) (ContentSamplingAttributes, error)
SetDisplayContentSamplingEnabled(ctx context.Context, display binder.IBinder, enable bool, componentMask byte, maxFrames int64) error
GetDisplayedContentSample(ctx context.Context, display binder.IBinder, maxFrames int64, timestamp int64) (DisplayedFrameStats, error)
GetProtectedContentSupport(ctx context.Context) (bool, error)
IsWideColorDisplay(ctx context.Context, token binder.IBinder) (bool, error)
AddRegionSamplingListener(ctx context.Context, samplingArea ARect, stopLayerHandle binder.IBinder, listener IRegionSamplingListener) error
RemoveRegionSamplingListener(ctx context.Context, listener IRegionSamplingListener) error
AddFpsListener(ctx context.Context, taskId int32, listener IFpsListener) error
RemoveFpsListener(ctx context.Context, listener IFpsListener) error
AddTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
RemoveTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
SetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder, specs DisplayModeSpecs) error
GetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder) (DisplayModeSpecs, error)
GetDisplayBrightnessSupport(ctx context.Context, displayToken binder.IBinder) (bool, error)
SetDisplayBrightness(ctx context.Context, displayToken binder.IBinder, brightness DisplayBrightness) error
AddHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener) error
RemoveHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener) error
NotifyPowerBoost(ctx context.Context, boostId int32) error
SetGlobalShadowSettings(ctx context.Context, ambientColor Color, spotColor Color, lightPosY float32, lightPosZ float32, lightRadius float32) error
GetDisplayDecorationSupport(ctx context.Context, displayToken binder.IBinder) (DisplayDecorationSupport, error)
SetGameModeFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
SetGameDefaultFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
UpdateSmallAreaDetection(ctx context.Context, appIds []int32, thresholds []float32) error
SetSmallAreaDetectionThreshold(ctx context.Context, appId int32, threshold float32) error
EnableRefreshRateOverlay(ctx context.Context, active bool) error
SetDebugFlash(ctx context.Context, delay int32) error
ScheduleComposite(ctx context.Context) error
ScheduleCommit(ctx context.Context) error
ForceClientComposition(ctx context.Context, enabled bool) error
GetGpuContextPriority(ctx context.Context) (int32, error)
GetMaxAcquiredBufferCount(ctx context.Context) (int32, error)
AddWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) (WindowInfosListenerInfo, error)
RemoveWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) error
GetOverlaySupport(ctx context.Context) (OverlayProperties, error)
GetStalledTransactionInfo(ctx context.Context, pid int32) (StalledTransactionInfo, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
func NewSurfaceComposerStub ¶
func NewSurfaceComposerStub( impl ISurfaceComposerServer, ) ISurfaceComposer
NewSurfaceComposerStub creates a server-side ISurfaceComposer wrapping the given server implementation. The returned value satisfies ISurfaceComposer and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISurfaceComposerClient ¶
type ISurfaceComposerClient interface {
AsBinder() binder.IBinder
CreateSurface(ctx context.Context, name string, flags int32, parent binder.IBinder, metadata LayerMetadata) (CreateSurfaceResult, error)
ClearLayerFrameStats(ctx context.Context, handle binder.IBinder) error
GetLayerFrameStats(ctx context.Context, handle binder.IBinder) (FrameStats, error)
MirrorSurface(ctx context.Context, mirrorFromHandle binder.IBinder) (CreateSurfaceResult, error)
MirrorDisplay(ctx context.Context, displayId int64) (CreateSurfaceResult, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
func NewSurfaceComposerClientStub ¶
func NewSurfaceComposerClientStub( impl ISurfaceComposerClientServer, ) ISurfaceComposerClient
NewSurfaceComposerClientStub creates a server-side ISurfaceComposerClient wrapping the given server implementation. The returned value satisfies ISurfaceComposerClient and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ISurfaceComposerClientServer ¶
type ISurfaceComposerClientServer interface {
CreateSurface(ctx context.Context, name string, flags int32, parent binder.IBinder, metadata LayerMetadata) (CreateSurfaceResult, error)
ClearLayerFrameStats(ctx context.Context, handle binder.IBinder) error
GetLayerFrameStats(ctx context.Context, handle binder.IBinder) (FrameStats, error)
MirrorSurface(ctx context.Context, mirrorFromHandle binder.IBinder) (CreateSurfaceResult, error)
MirrorDisplay(ctx context.Context, displayId int64) (CreateSurfaceResult, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
ISurfaceComposerClientServer is the server-side interface that user implementations provide to NewSurfaceComposerClientStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISurfaceComposerEventRegistration ¶
type ISurfaceComposerEventRegistration int32
const ( ISurfaceComposerEventRegistrationModeChanged ISurfaceComposerEventRegistration = (1 << 0) ISurfaceComposerEventRegistrationFrameRateOverride ISurfaceComposerEventRegistration = (1 << 1) )
type ISurfaceComposerServer ¶
type ISurfaceComposerServer interface {
BootFinished(ctx context.Context) error
CreateDisplayEventConnection(ctx context.Context, vsyncSource ISurfaceComposerVsyncSource, eventRegistration ISurfaceComposerEventRegistration, layerHandle binder.IBinder) (IDisplayEventConnection, error)
CreateConnection(ctx context.Context) (ISurfaceComposerClient, error)
CreateDisplay(ctx context.Context, displayName string, secure bool, requestedRefreshRate float32) (binder.IBinder, error)
DestroyDisplay(ctx context.Context, display binder.IBinder) error
GetPhysicalDisplayIds(ctx context.Context) ([]int64, error)
GetPhysicalDisplayToken(ctx context.Context, displayId int64) (binder.IBinder, error)
GetSupportedFrameTimestamps(ctx context.Context) ([]FrameEvent, error)
SetPowerMode(ctx context.Context, display binder.IBinder, mode int32) error
GetDisplayStats(ctx context.Context, display binder.IBinder) (DisplayStatInfo, error)
GetDisplayState(ctx context.Context, display binder.IBinder) (DisplayState, error)
GetStaticDisplayInfo(ctx context.Context, displayId int64) (StaticDisplayInfo, error)
GetDynamicDisplayInfoFromId(ctx context.Context, displayId int64) (DynamicDisplayInfo, error)
GetDynamicDisplayInfoFromToken(ctx context.Context, display binder.IBinder) (DynamicDisplayInfo, error)
GetDisplayNativePrimaries(ctx context.Context, display binder.IBinder) (DisplayPrimaries, error)
SetActiveColorMode(ctx context.Context, display binder.IBinder, colorMode int32) error
SetBootDisplayMode(ctx context.Context, display binder.IBinder, displayModeId int32) error
ClearBootDisplayMode(ctx context.Context, display binder.IBinder) error
GetBootDisplayModeSupport(ctx context.Context) (bool, error)
GetHdrConversionCapabilities(ctx context.Context) ([]HdrConversionCapability, error)
SetHdrConversionStrategy(ctx context.Context, hdrConversionStrategy HdrConversionStrategy) (int32, error)
GetHdrOutputConversionSupport(ctx context.Context) (bool, error)
SetAutoLowLatencyMode(ctx context.Context, display binder.IBinder, on bool) error
SetGameContentType(ctx context.Context, display binder.IBinder, on bool) error
CaptureDisplay(ctx context.Context, args DisplayCaptureArgs, listener IScreenCaptureListener) error
CaptureDisplayById(ctx context.Context, displayId int64, args CaptureArgs, listener IScreenCaptureListener) error
CaptureLayersSync(ctx context.Context, args LayerCaptureArgs) (ScreenCaptureResults, error)
CaptureLayers(ctx context.Context, args LayerCaptureArgs, listener IScreenCaptureListener) error
ClearAnimationFrameStats(ctx context.Context) error
GetAnimationFrameStats(ctx context.Context) (FrameStats, error)
OverrideHdrTypes(ctx context.Context, display binder.IBinder, hdrTypes []int32) error
OnPullAtom(ctx context.Context, atomId int32) (PullAtomData, error)
GetLayerDebugInfo(ctx context.Context) ([]LayerDebugInfo, error)
GetCompositionPreference(ctx context.Context) (CompositionPreference, error)
GetDisplayedContentSamplingAttributes(ctx context.Context, display binder.IBinder) (ContentSamplingAttributes, error)
SetDisplayContentSamplingEnabled(ctx context.Context, display binder.IBinder, enable bool, componentMask byte, maxFrames int64) error
GetDisplayedContentSample(ctx context.Context, display binder.IBinder, maxFrames int64, timestamp int64) (DisplayedFrameStats, error)
GetProtectedContentSupport(ctx context.Context) (bool, error)
IsWideColorDisplay(ctx context.Context, token binder.IBinder) (bool, error)
AddRegionSamplingListener(ctx context.Context, samplingArea ARect, stopLayerHandle binder.IBinder, listener IRegionSamplingListener) error
RemoveRegionSamplingListener(ctx context.Context, listener IRegionSamplingListener) error
AddFpsListener(ctx context.Context, taskId int32, listener IFpsListener) error
RemoveFpsListener(ctx context.Context, listener IFpsListener) error
AddTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
RemoveTunnelModeEnabledListener(ctx context.Context, listener ITunnelModeEnabledListener) error
SetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder, specs DisplayModeSpecs) error
GetDesiredDisplayModeSpecs(ctx context.Context, displayToken binder.IBinder) (DisplayModeSpecs, error)
GetDisplayBrightnessSupport(ctx context.Context, displayToken binder.IBinder) (bool, error)
SetDisplayBrightness(ctx context.Context, displayToken binder.IBinder, brightness DisplayBrightness) error
AddHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener) error
RemoveHdrLayerInfoListener(ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener) error
NotifyPowerBoost(ctx context.Context, boostId int32) error
SetGlobalShadowSettings(ctx context.Context, ambientColor Color, spotColor Color, lightPosY float32, lightPosZ float32, lightRadius float32) error
GetDisplayDecorationSupport(ctx context.Context, displayToken binder.IBinder) (DisplayDecorationSupport, error)
SetGameModeFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
SetGameDefaultFrameRateOverride(ctx context.Context, uid int32, frameRate float32) error
UpdateSmallAreaDetection(ctx context.Context, appIds []int32, thresholds []float32) error
SetSmallAreaDetectionThreshold(ctx context.Context, appId int32, threshold float32) error
EnableRefreshRateOverlay(ctx context.Context, active bool) error
SetDebugFlash(ctx context.Context, delay int32) error
ScheduleComposite(ctx context.Context) error
ScheduleCommit(ctx context.Context) error
ForceClientComposition(ctx context.Context, enabled bool) error
GetGpuContextPriority(ctx context.Context) (int32, error)
GetMaxAcquiredBufferCount(ctx context.Context) (int32, error)
AddWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) (WindowInfosListenerInfo, error)
RemoveWindowInfosListener(ctx context.Context, windowInfosListener IWindowInfosListener) error
GetOverlaySupport(ctx context.Context) (OverlayProperties, error)
GetStalledTransactionInfo(ctx context.Context, pid int32) (StalledTransactionInfo, error)
GetSchedulingPolicy(ctx context.Context) (SchedulingPolicy, error)
}
ISurfaceComposerServer is the server-side interface that user implementations provide to NewSurfaceComposerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type ISurfaceComposerVsyncSource ¶
type ISurfaceComposerVsyncSource int32
const ( ISurfaceComposerVsyncSourceEVsyncSourceApp ISurfaceComposerVsyncSource = 0 ISurfaceComposerVsyncSourceEVsyncSourceSurfaceFlinger ISurfaceComposerVsyncSource = 1 )
type ITunnelModeEnabledListener ¶
type ITunnelModeEnabledListener interface {
AsBinder() binder.IBinder
OnTunnelModeEnabledChanged(ctx context.Context, enabled bool) error
}
func NewTunnelModeEnabledListenerStub ¶
func NewTunnelModeEnabledListenerStub( impl ITunnelModeEnabledListenerServer, ) ITunnelModeEnabledListener
NewTunnelModeEnabledListenerStub creates a server-side ITunnelModeEnabledListener wrapping the given server implementation. The returned value satisfies ITunnelModeEnabledListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type ITunnelModeEnabledListenerServer ¶
type ITunnelModeEnabledListenerServer interface {
OnTunnelModeEnabledChanged(ctx context.Context, enabled bool) error
}
ITunnelModeEnabledListenerServer is the server-side interface that user implementations provide to NewTunnelModeEnabledListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowInfosListener ¶
type IWindowInfosListener interface {
AsBinder() binder.IBinder
OnWindowInfosChanged(ctx context.Context, update WindowInfosUpdate) error
}
func NewWindowInfosListenerStub ¶
func NewWindowInfosListenerStub( impl IWindowInfosListenerServer, ) IWindowInfosListener
NewWindowInfosListenerStub creates a server-side IWindowInfosListener wrapping the given server implementation. The returned value satisfies IWindowInfosListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowInfosListenerServer ¶
type IWindowInfosListenerServer interface {
OnWindowInfosChanged(ctx context.Context, update WindowInfosUpdate) error
}
IWindowInfosListenerServer is the server-side interface that user implementations provide to NewWindowInfosListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowInfosPublisher ¶
type IWindowInfosPublisher interface {
AsBinder() binder.IBinder
AckWindowInfosReceived(ctx context.Context, vsyncId int64, listenerId int64) error
}
func NewWindowInfosPublisherStub ¶
func NewWindowInfosPublisherStub( impl IWindowInfosPublisherServer, ) IWindowInfosPublisher
NewWindowInfosPublisherStub creates a server-side IWindowInfosPublisher wrapping the given server implementation. The returned value satisfies IWindowInfosPublisher and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowInfosPublisherServer ¶
type IWindowInfosPublisherServer interface {
AckWindowInfosReceived(ctx context.Context, vsyncId int64, listenerId int64) error
}
IWindowInfosPublisherServer is the server-side interface that user implementations provide to NewWindowInfosPublisherStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type IWindowInfosReportedListener ¶
type IWindowInfosReportedListener interface {
AsBinder() binder.IBinder
OnWindowInfosReported(ctx context.Context) error
}
func NewWindowInfosReportedListenerStub ¶
func NewWindowInfosReportedListenerStub( impl IWindowInfosReportedListenerServer, ) IWindowInfosReportedListener
NewWindowInfosReportedListenerStub creates a server-side IWindowInfosReportedListener wrapping the given server implementation. The returned value satisfies IWindowInfosReportedListener and can be passed to proxy methods; its AsBinder() returns a *binder.StubBinder that is auto-registered with the binder driver on first use.
type IWindowInfosReportedListenerServer ¶
type IWindowInfosReportedListenerServer interface {
OnWindowInfosReported(ctx context.Context) error
}
IWindowInfosReportedListenerServer is the server-side interface that user implementations provide to NewWindowInfosReportedListenerStub. It contains only the business methods, without AsBinder (which is provided by the stub itself).
type InputApplicationInfo ¶
type InputApplicationInfo struct {
Token binder.IBinder
Name string
DispatchingTimeoutMillis int64
}
func (*InputApplicationInfo) MarshalParcel ¶
func (s *InputApplicationInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*InputApplicationInfo) UnmarshalParcel ¶
func (s *InputApplicationInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type LayerCaptureArgs ¶
type LayerCaptureArgs struct {
}
func (*LayerCaptureArgs) MarshalParcel ¶
func (s *LayerCaptureArgs) MarshalParcel( p *parcel.Parcel, ) error
func (*LayerCaptureArgs) UnmarshalParcel ¶
func (s *LayerCaptureArgs) UnmarshalParcel( p *parcel.Parcel, ) error
type LayerDebugInfo ¶
type LayerDebugInfo struct {
}
func (*LayerDebugInfo) MarshalParcel ¶
func (s *LayerDebugInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*LayerDebugInfo) UnmarshalParcel ¶
func (s *LayerDebugInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type LayerMetadata ¶
type LayerMetadata struct {
}
func (*LayerMetadata) MarshalParcel ¶
func (s *LayerMetadata) MarshalParcel( p *parcel.Parcel, ) error
func (*LayerMetadata) UnmarshalParcel ¶
func (s *LayerMetadata) UnmarshalParcel( p *parcel.Parcel, ) error
type OverlayProperties ¶
type OverlayProperties struct {
Combinations []OverlayPropertiesSupportedBufferCombinations
SupportMixedColorSpaces bool
}
func (*OverlayProperties) MarshalParcel ¶
func (s *OverlayProperties) MarshalParcel( p *parcel.Parcel, ) error
func (*OverlayProperties) UnmarshalParcel ¶
func (s *OverlayProperties) UnmarshalParcel( p *parcel.Parcel, ) error
type OverlayPropertiesSupportedBufferCombinations ¶
type OverlayPropertiesSupportedBufferCombinations struct {
PixelFormats []int32
Standards []int32
Transfers []int32
Ranges []int32
}
func (*OverlayPropertiesSupportedBufferCombinations) MarshalParcel ¶
func (s *OverlayPropertiesSupportedBufferCombinations) MarshalParcel( p *parcel.Parcel, ) error
func (*OverlayPropertiesSupportedBufferCombinations) UnmarshalParcel ¶
func (s *OverlayPropertiesSupportedBufferCombinations) UnmarshalParcel( p *parcel.Parcel, ) error
type ParcelableVsyncEventData ¶
type ParcelableVsyncEventData struct {
}
func (*ParcelableVsyncEventData) MarshalParcel ¶
func (s *ParcelableVsyncEventData) MarshalParcel( p *parcel.Parcel, ) error
func (*ParcelableVsyncEventData) UnmarshalParcel ¶
func (s *ParcelableVsyncEventData) UnmarshalParcel( p *parcel.Parcel, ) error
type PullAtomData ¶
func (*PullAtomData) MarshalParcel ¶
func (s *PullAtomData) MarshalParcel( p *parcel.Parcel, ) error
func (*PullAtomData) UnmarshalParcel ¶
func (s *PullAtomData) UnmarshalParcel( p *parcel.Parcel, ) error
type RegionSamplingListenerProxy ¶
func NewRegionSamplingListenerProxy ¶
func NewRegionSamplingListenerProxy( remote binder.IBinder, ) *RegionSamplingListenerProxy
func (*RegionSamplingListenerProxy) AsBinder ¶
func (p *RegionSamplingListenerProxy) AsBinder() binder.IBinder
func (*RegionSamplingListenerProxy) OnSampleCollected ¶
func (p *RegionSamplingListenerProxy) OnSampleCollected( ctx context.Context, medianLuma float32, ) error
type RegionSamplingListenerStub ¶
type RegionSamplingListenerStub struct {
Impl IRegionSamplingListener
Transport binder.VersionAwareTransport
}
RegionSamplingListenerStub dispatches incoming binder transactions to a typed IRegionSamplingListener implementation.
func (*RegionSamplingListenerStub) Descriptor ¶
func (s *RegionSamplingListenerStub) Descriptor() string
func (*RegionSamplingListenerStub) OnTransaction ¶
func (s *RegionSamplingListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SchedulingPolicy ¶
func (*SchedulingPolicy) MarshalParcel ¶
func (s *SchedulingPolicy) MarshalParcel( p *parcel.Parcel, ) error
func (*SchedulingPolicy) UnmarshalParcel ¶
func (s *SchedulingPolicy) UnmarshalParcel( p *parcel.Parcel, ) error
type ScreenCaptureListenerProxy ¶
func NewScreenCaptureListenerProxy ¶
func NewScreenCaptureListenerProxy( remote binder.IBinder, ) *ScreenCaptureListenerProxy
func (*ScreenCaptureListenerProxy) AsBinder ¶
func (p *ScreenCaptureListenerProxy) AsBinder() binder.IBinder
func (*ScreenCaptureListenerProxy) OnScreenCaptureCompleted ¶
func (p *ScreenCaptureListenerProxy) OnScreenCaptureCompleted( ctx context.Context, captureResults ScreenCaptureResults, ) error
type ScreenCaptureListenerStub ¶
type ScreenCaptureListenerStub struct {
Impl IScreenCaptureListener
Transport binder.VersionAwareTransport
}
ScreenCaptureListenerStub dispatches incoming binder transactions to a typed IScreenCaptureListener implementation.
func (*ScreenCaptureListenerStub) Descriptor ¶
func (s *ScreenCaptureListenerStub) Descriptor() string
func (*ScreenCaptureListenerStub) OnTransaction ¶
func (s *ScreenCaptureListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type ScreenCaptureResults ¶
type ScreenCaptureResults struct {
}
func (*ScreenCaptureResults) MarshalParcel ¶
func (s *ScreenCaptureResults) MarshalParcel( p *parcel.Parcel, ) error
func (*ScreenCaptureResults) UnmarshalParcel ¶
func (s *ScreenCaptureResults) UnmarshalParcel( p *parcel.Parcel, ) error
type StalledTransactionInfo ¶
func (*StalledTransactionInfo) MarshalParcel ¶
func (s *StalledTransactionInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*StalledTransactionInfo) UnmarshalParcel ¶
func (s *StalledTransactionInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type StaticDisplayInfo ¶
type StaticDisplayInfo struct {
ConnectionType DisplayConnectionType
Density float32
Secure bool
DeviceProductInfo *DeviceProductInfo
InstallOrientation Rotation
}
func (*StaticDisplayInfo) MarshalParcel ¶
func (s *StaticDisplayInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*StaticDisplayInfo) UnmarshalParcel ¶
func (s *StaticDisplayInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type SurfaceComposerClientProxy ¶
func NewSurfaceComposerClientProxy ¶
func NewSurfaceComposerClientProxy( remote binder.IBinder, ) *SurfaceComposerClientProxy
func (*SurfaceComposerClientProxy) AsBinder ¶
func (p *SurfaceComposerClientProxy) AsBinder() binder.IBinder
func (*SurfaceComposerClientProxy) ClearLayerFrameStats ¶
func (*SurfaceComposerClientProxy) CreateSurface ¶
func (p *SurfaceComposerClientProxy) CreateSurface( ctx context.Context, name string, flags int32, parent binder.IBinder, metadata LayerMetadata, ) (CreateSurfaceResult, error)
func (*SurfaceComposerClientProxy) GetLayerFrameStats ¶
func (p *SurfaceComposerClientProxy) GetLayerFrameStats( ctx context.Context, handle binder.IBinder, ) (FrameStats, error)
func (*SurfaceComposerClientProxy) GetSchedulingPolicy ¶
func (p *SurfaceComposerClientProxy) GetSchedulingPolicy( ctx context.Context, ) (SchedulingPolicy, error)
func (*SurfaceComposerClientProxy) MirrorDisplay ¶
func (p *SurfaceComposerClientProxy) MirrorDisplay( ctx context.Context, displayId int64, ) (CreateSurfaceResult, error)
func (*SurfaceComposerClientProxy) MirrorSurface ¶
func (p *SurfaceComposerClientProxy) MirrorSurface( ctx context.Context, mirrorFromHandle binder.IBinder, ) (CreateSurfaceResult, error)
type SurfaceComposerClientStub ¶
type SurfaceComposerClientStub struct {
Impl ISurfaceComposerClient
Transport binder.VersionAwareTransport
}
SurfaceComposerClientStub dispatches incoming binder transactions to a typed ISurfaceComposerClient implementation.
func (*SurfaceComposerClientStub) Descriptor ¶
func (s *SurfaceComposerClientStub) Descriptor() string
func (*SurfaceComposerClientStub) OnTransaction ¶
func (s *SurfaceComposerClientStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type SurfaceComposerProxy ¶
func NewSurfaceComposerProxy ¶
func NewSurfaceComposerProxy( remote binder.IBinder, ) *SurfaceComposerProxy
func (*SurfaceComposerProxy) AddFpsListener ¶
func (p *SurfaceComposerProxy) AddFpsListener( ctx context.Context, taskId int32, listener IFpsListener, ) error
func (*SurfaceComposerProxy) AddHdrLayerInfoListener ¶
func (p *SurfaceComposerProxy) AddHdrLayerInfoListener( ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener, ) error
func (*SurfaceComposerProxy) AddRegionSamplingListener ¶
func (p *SurfaceComposerProxy) AddRegionSamplingListener( ctx context.Context, samplingArea ARect, stopLayerHandle binder.IBinder, listener IRegionSamplingListener, ) error
func (*SurfaceComposerProxy) AddTunnelModeEnabledListener ¶
func (p *SurfaceComposerProxy) AddTunnelModeEnabledListener( ctx context.Context, listener ITunnelModeEnabledListener, ) error
func (*SurfaceComposerProxy) AddWindowInfosListener ¶
func (p *SurfaceComposerProxy) AddWindowInfosListener( ctx context.Context, windowInfosListener IWindowInfosListener, ) (WindowInfosListenerInfo, error)
func (*SurfaceComposerProxy) AsBinder ¶
func (p *SurfaceComposerProxy) AsBinder() binder.IBinder
func (*SurfaceComposerProxy) BootFinished ¶
func (p *SurfaceComposerProxy) BootFinished( ctx context.Context, ) error
func (*SurfaceComposerProxy) CaptureDisplay ¶
func (p *SurfaceComposerProxy) CaptureDisplay( ctx context.Context, args DisplayCaptureArgs, listener IScreenCaptureListener, ) error
func (*SurfaceComposerProxy) CaptureDisplayById ¶
func (p *SurfaceComposerProxy) CaptureDisplayById( ctx context.Context, displayId int64, args CaptureArgs, listener IScreenCaptureListener, ) error
func (*SurfaceComposerProxy) CaptureLayers ¶
func (p *SurfaceComposerProxy) CaptureLayers( ctx context.Context, args LayerCaptureArgs, listener IScreenCaptureListener, ) error
func (*SurfaceComposerProxy) CaptureLayersSync ¶
func (p *SurfaceComposerProxy) CaptureLayersSync( ctx context.Context, args LayerCaptureArgs, ) (ScreenCaptureResults, error)
func (*SurfaceComposerProxy) ClearAnimationFrameStats ¶
func (p *SurfaceComposerProxy) ClearAnimationFrameStats( ctx context.Context, ) error
func (*SurfaceComposerProxy) ClearBootDisplayMode ¶
func (*SurfaceComposerProxy) CreateConnection ¶
func (p *SurfaceComposerProxy) CreateConnection( ctx context.Context, ) (ISurfaceComposerClient, error)
func (*SurfaceComposerProxy) CreateDisplay ¶
func (*SurfaceComposerProxy) CreateDisplayEventConnection ¶
func (p *SurfaceComposerProxy) CreateDisplayEventConnection( ctx context.Context, vsyncSource ISurfaceComposerVsyncSource, eventRegistration ISurfaceComposerEventRegistration, layerHandle binder.IBinder, ) (IDisplayEventConnection, error)
func (*SurfaceComposerProxy) DestroyDisplay ¶
func (*SurfaceComposerProxy) EnableRefreshRateOverlay ¶
func (p *SurfaceComposerProxy) EnableRefreshRateOverlay( ctx context.Context, active bool, ) error
func (*SurfaceComposerProxy) ForceClientComposition ¶
func (p *SurfaceComposerProxy) ForceClientComposition( ctx context.Context, enabled bool, ) error
func (*SurfaceComposerProxy) GetAnimationFrameStats ¶
func (p *SurfaceComposerProxy) GetAnimationFrameStats( ctx context.Context, ) (FrameStats, error)
func (*SurfaceComposerProxy) GetBootDisplayModeSupport ¶
func (p *SurfaceComposerProxy) GetBootDisplayModeSupport( ctx context.Context, ) (bool, error)
func (*SurfaceComposerProxy) GetCompositionPreference ¶
func (p *SurfaceComposerProxy) GetCompositionPreference( ctx context.Context, ) (CompositionPreference, error)
func (*SurfaceComposerProxy) GetDesiredDisplayModeSpecs ¶
func (p *SurfaceComposerProxy) GetDesiredDisplayModeSpecs( ctx context.Context, displayToken binder.IBinder, ) (DisplayModeSpecs, error)
func (*SurfaceComposerProxy) GetDisplayBrightnessSupport ¶
func (*SurfaceComposerProxy) GetDisplayDecorationSupport ¶
func (p *SurfaceComposerProxy) GetDisplayDecorationSupport( ctx context.Context, displayToken binder.IBinder, ) (DisplayDecorationSupport, error)
func (*SurfaceComposerProxy) GetDisplayNativePrimaries ¶
func (p *SurfaceComposerProxy) GetDisplayNativePrimaries( ctx context.Context, display binder.IBinder, ) (DisplayPrimaries, error)
func (*SurfaceComposerProxy) GetDisplayState ¶
func (p *SurfaceComposerProxy) GetDisplayState( ctx context.Context, display binder.IBinder, ) (DisplayState, error)
func (*SurfaceComposerProxy) GetDisplayStats ¶
func (p *SurfaceComposerProxy) GetDisplayStats( ctx context.Context, display binder.IBinder, ) (DisplayStatInfo, error)
func (*SurfaceComposerProxy) GetDisplayedContentSample ¶
func (p *SurfaceComposerProxy) GetDisplayedContentSample( ctx context.Context, display binder.IBinder, maxFrames int64, timestamp int64, ) (DisplayedFrameStats, error)
func (*SurfaceComposerProxy) GetDisplayedContentSamplingAttributes ¶
func (p *SurfaceComposerProxy) GetDisplayedContentSamplingAttributes( ctx context.Context, display binder.IBinder, ) (ContentSamplingAttributes, error)
func (*SurfaceComposerProxy) GetDynamicDisplayInfoFromId ¶
func (p *SurfaceComposerProxy) GetDynamicDisplayInfoFromId( ctx context.Context, displayId int64, ) (DynamicDisplayInfo, error)
func (*SurfaceComposerProxy) GetDynamicDisplayInfoFromToken ¶
func (p *SurfaceComposerProxy) GetDynamicDisplayInfoFromToken( ctx context.Context, display binder.IBinder, ) (DynamicDisplayInfo, error)
func (*SurfaceComposerProxy) GetGpuContextPriority ¶
func (p *SurfaceComposerProxy) GetGpuContextPriority( ctx context.Context, ) (int32, error)
func (*SurfaceComposerProxy) GetHdrConversionCapabilities ¶
func (p *SurfaceComposerProxy) GetHdrConversionCapabilities( ctx context.Context, ) ([]HdrConversionCapability, error)
func (*SurfaceComposerProxy) GetHdrOutputConversionSupport ¶
func (p *SurfaceComposerProxy) GetHdrOutputConversionSupport( ctx context.Context, ) (bool, error)
func (*SurfaceComposerProxy) GetLayerDebugInfo ¶
func (p *SurfaceComposerProxy) GetLayerDebugInfo( ctx context.Context, ) ([]LayerDebugInfo, error)
func (*SurfaceComposerProxy) GetMaxAcquiredBufferCount ¶
func (p *SurfaceComposerProxy) GetMaxAcquiredBufferCount( ctx context.Context, ) (int32, error)
func (*SurfaceComposerProxy) GetOverlaySupport ¶
func (p *SurfaceComposerProxy) GetOverlaySupport( ctx context.Context, ) (OverlayProperties, error)
func (*SurfaceComposerProxy) GetPhysicalDisplayIds ¶
func (p *SurfaceComposerProxy) GetPhysicalDisplayIds( ctx context.Context, ) ([]int64, error)
func (*SurfaceComposerProxy) GetPhysicalDisplayToken ¶
func (*SurfaceComposerProxy) GetProtectedContentSupport ¶
func (p *SurfaceComposerProxy) GetProtectedContentSupport( ctx context.Context, ) (bool, error)
func (*SurfaceComposerProxy) GetSchedulingPolicy ¶
func (p *SurfaceComposerProxy) GetSchedulingPolicy( ctx context.Context, ) (SchedulingPolicy, error)
func (*SurfaceComposerProxy) GetStalledTransactionInfo ¶
func (p *SurfaceComposerProxy) GetStalledTransactionInfo( ctx context.Context, pid int32, ) (StalledTransactionInfo, error)
func (*SurfaceComposerProxy) GetStaticDisplayInfo ¶
func (p *SurfaceComposerProxy) GetStaticDisplayInfo( ctx context.Context, displayId int64, ) (StaticDisplayInfo, error)
func (*SurfaceComposerProxy) GetSupportedFrameTimestamps ¶
func (p *SurfaceComposerProxy) GetSupportedFrameTimestamps( ctx context.Context, ) ([]FrameEvent, error)
func (*SurfaceComposerProxy) IsWideColorDisplay ¶
func (*SurfaceComposerProxy) NotifyPowerBoost ¶
func (p *SurfaceComposerProxy) NotifyPowerBoost( ctx context.Context, boostId int32, ) error
func (*SurfaceComposerProxy) OnPullAtom ¶
func (p *SurfaceComposerProxy) OnPullAtom( ctx context.Context, atomId int32, ) (PullAtomData, error)
func (*SurfaceComposerProxy) OverrideHdrTypes ¶
func (*SurfaceComposerProxy) RemoveFpsListener ¶
func (p *SurfaceComposerProxy) RemoveFpsListener( ctx context.Context, listener IFpsListener, ) error
func (*SurfaceComposerProxy) RemoveHdrLayerInfoListener ¶
func (p *SurfaceComposerProxy) RemoveHdrLayerInfoListener( ctx context.Context, displayToken binder.IBinder, listener IHdrLayerInfoListener, ) error
func (*SurfaceComposerProxy) RemoveRegionSamplingListener ¶
func (p *SurfaceComposerProxy) RemoveRegionSamplingListener( ctx context.Context, listener IRegionSamplingListener, ) error
func (*SurfaceComposerProxy) RemoveTunnelModeEnabledListener ¶
func (p *SurfaceComposerProxy) RemoveTunnelModeEnabledListener( ctx context.Context, listener ITunnelModeEnabledListener, ) error
func (*SurfaceComposerProxy) RemoveWindowInfosListener ¶
func (p *SurfaceComposerProxy) RemoveWindowInfosListener( ctx context.Context, windowInfosListener IWindowInfosListener, ) error
func (*SurfaceComposerProxy) ScheduleCommit ¶
func (p *SurfaceComposerProxy) ScheduleCommit( ctx context.Context, ) error
func (*SurfaceComposerProxy) ScheduleComposite ¶
func (p *SurfaceComposerProxy) ScheduleComposite( ctx context.Context, ) error
func (*SurfaceComposerProxy) SetActiveColorMode ¶
func (*SurfaceComposerProxy) SetAutoLowLatencyMode ¶
func (*SurfaceComposerProxy) SetBootDisplayMode ¶
func (*SurfaceComposerProxy) SetDebugFlash ¶
func (p *SurfaceComposerProxy) SetDebugFlash( ctx context.Context, delay int32, ) error
func (*SurfaceComposerProxy) SetDesiredDisplayModeSpecs ¶
func (p *SurfaceComposerProxy) SetDesiredDisplayModeSpecs( ctx context.Context, displayToken binder.IBinder, specs DisplayModeSpecs, ) error
func (*SurfaceComposerProxy) SetDisplayBrightness ¶
func (p *SurfaceComposerProxy) SetDisplayBrightness( ctx context.Context, displayToken binder.IBinder, brightness DisplayBrightness, ) error
func (*SurfaceComposerProxy) SetDisplayContentSamplingEnabled ¶
func (*SurfaceComposerProxy) SetGameContentType ¶
func (*SurfaceComposerProxy) SetGameDefaultFrameRateOverride ¶
func (*SurfaceComposerProxy) SetGameModeFrameRateOverride ¶
func (*SurfaceComposerProxy) SetGlobalShadowSettings ¶
func (*SurfaceComposerProxy) SetHdrConversionStrategy ¶
func (p *SurfaceComposerProxy) SetHdrConversionStrategy( ctx context.Context, hdrConversionStrategy HdrConversionStrategy, ) (int32, error)
func (*SurfaceComposerProxy) SetPowerMode ¶
func (*SurfaceComposerProxy) SetSmallAreaDetectionThreshold ¶
func (*SurfaceComposerProxy) UpdateSmallAreaDetection ¶
type SurfaceComposerStub ¶
type SurfaceComposerStub struct {
Impl ISurfaceComposer
Transport binder.VersionAwareTransport
}
SurfaceComposerStub dispatches incoming binder transactions to a typed ISurfaceComposer implementation.
func (*SurfaceComposerStub) Descriptor ¶
func (s *SurfaceComposerStub) Descriptor() string
func (*SurfaceComposerStub) OnTransaction ¶
func (s *SurfaceComposerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type TouchOcclusionMode ¶
type TouchOcclusionMode int32
const ( TouchOcclusionModeBlockUntrusted TouchOcclusionMode = 0 TouchOcclusionModeUseOpacity TouchOcclusionMode = 1 TouchOcclusionModeALLOW TouchOcclusionMode = 2 TouchOcclusionModeFtl_last TouchOcclusionMode = TouchOcclusionModeALLOW )
type TrustedPresentationThresholds ¶
type TrustedPresentationThresholds struct {
MinAlpha float32
MinFractionRendered float32
StabilityRequirementMs int32
}
func (*TrustedPresentationThresholds) MarshalParcel ¶
func (s *TrustedPresentationThresholds) MarshalParcel( p *parcel.Parcel, ) error
func (*TrustedPresentationThresholds) UnmarshalParcel ¶
func (s *TrustedPresentationThresholds) UnmarshalParcel( p *parcel.Parcel, ) error
type TunnelModeEnabledListenerProxy ¶
func NewTunnelModeEnabledListenerProxy ¶
func NewTunnelModeEnabledListenerProxy( remote binder.IBinder, ) *TunnelModeEnabledListenerProxy
func (*TunnelModeEnabledListenerProxy) AsBinder ¶
func (p *TunnelModeEnabledListenerProxy) AsBinder() binder.IBinder
func (*TunnelModeEnabledListenerProxy) OnTunnelModeEnabledChanged ¶
func (p *TunnelModeEnabledListenerProxy) OnTunnelModeEnabledChanged( ctx context.Context, enabled bool, ) error
type TunnelModeEnabledListenerStub ¶
type TunnelModeEnabledListenerStub struct {
Impl ITunnelModeEnabledListener
Transport binder.VersionAwareTransport
}
TunnelModeEnabledListenerStub dispatches incoming binder transactions to a typed ITunnelModeEnabledListener implementation.
func (*TunnelModeEnabledListenerStub) Descriptor ¶
func (s *TunnelModeEnabledListenerStub) Descriptor() string
func (*TunnelModeEnabledListenerStub) OnTransaction ¶
func (s *TunnelModeEnabledListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowInfo ¶
type WindowInfo struct {
}
func (*WindowInfo) MarshalParcel ¶
func (s *WindowInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowInfo) UnmarshalParcel ¶
func (s *WindowInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowInfosListenerInfo ¶
type WindowInfosListenerInfo struct {
ListenerId int64
WindowInfosPublisher IWindowInfosPublisher
}
func (*WindowInfosListenerInfo) MarshalParcel ¶
func (s *WindowInfosListenerInfo) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowInfosListenerInfo) UnmarshalParcel ¶
func (s *WindowInfosListenerInfo) UnmarshalParcel( p *parcel.Parcel, ) error
type WindowInfosListenerProxy ¶
func NewWindowInfosListenerProxy ¶
func NewWindowInfosListenerProxy( remote binder.IBinder, ) *WindowInfosListenerProxy
func (*WindowInfosListenerProxy) AsBinder ¶
func (p *WindowInfosListenerProxy) AsBinder() binder.IBinder
func (*WindowInfosListenerProxy) OnWindowInfosChanged ¶
func (p *WindowInfosListenerProxy) OnWindowInfosChanged( ctx context.Context, update WindowInfosUpdate, ) error
type WindowInfosListenerStub ¶
type WindowInfosListenerStub struct {
Impl IWindowInfosListener
Transport binder.VersionAwareTransport
}
WindowInfosListenerStub dispatches incoming binder transactions to a typed IWindowInfosListener implementation.
func (*WindowInfosListenerStub) Descriptor ¶
func (s *WindowInfosListenerStub) Descriptor() string
func (*WindowInfosListenerStub) OnTransaction ¶
func (s *WindowInfosListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowInfosPublisherProxy ¶
func NewWindowInfosPublisherProxy ¶
func NewWindowInfosPublisherProxy( remote binder.IBinder, ) *WindowInfosPublisherProxy
func (*WindowInfosPublisherProxy) AckWindowInfosReceived ¶
func (*WindowInfosPublisherProxy) AsBinder ¶
func (p *WindowInfosPublisherProxy) AsBinder() binder.IBinder
type WindowInfosPublisherStub ¶
type WindowInfosPublisherStub struct {
Impl IWindowInfosPublisher
Transport binder.VersionAwareTransport
}
WindowInfosPublisherStub dispatches incoming binder transactions to a typed IWindowInfosPublisher implementation.
func (*WindowInfosPublisherStub) Descriptor ¶
func (s *WindowInfosPublisherStub) Descriptor() string
func (*WindowInfosPublisherStub) OnTransaction ¶
func (s *WindowInfosPublisherStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowInfosReportedListenerProxy ¶
func NewWindowInfosReportedListenerProxy ¶
func NewWindowInfosReportedListenerProxy( remote binder.IBinder, ) *WindowInfosReportedListenerProxy
func (*WindowInfosReportedListenerProxy) AsBinder ¶
func (p *WindowInfosReportedListenerProxy) AsBinder() binder.IBinder
func (*WindowInfosReportedListenerProxy) OnWindowInfosReported ¶
func (p *WindowInfosReportedListenerProxy) OnWindowInfosReported( ctx context.Context, ) error
type WindowInfosReportedListenerStub ¶
type WindowInfosReportedListenerStub struct {
Impl IWindowInfosReportedListener
Transport binder.VersionAwareTransport
}
WindowInfosReportedListenerStub dispatches incoming binder transactions to a typed IWindowInfosReportedListener implementation.
func (*WindowInfosReportedListenerStub) Descriptor ¶
func (s *WindowInfosReportedListenerStub) Descriptor() string
func (*WindowInfosReportedListenerStub) OnTransaction ¶
func (s *WindowInfosReportedListenerStub) OnTransaction( ctx context.Context, code binder.TransactionCode, _data *parcel.Parcel, ) (*parcel.Parcel, error)
type WindowInfosUpdate ¶
type WindowInfosUpdate struct {
}
func (*WindowInfosUpdate) MarshalParcel ¶
func (s *WindowInfosUpdate) MarshalParcel( p *parcel.Parcel, ) error
func (*WindowInfosUpdate) UnmarshalParcel ¶
func (s *WindowInfosUpdate) UnmarshalParcel( p *parcel.Parcel, ) error
Source Files
¶
- arect.go
- bittube.go
- cachinghint.go
- captureargs.go
- color.go
- compositionpreference.go
- contentsamplingattributes.go
- createsurfaceresult.go
- deviceproductinfo.go
- deviceproductinfo.manufactureormodeldate.go
- deviceproductinfo.manufactureweekandyear.go
- deviceproductinfo.manufactureyear.go
- deviceproductinfo.modelyear.go
- displaybrightness.go
- displaycaptureargs.go
- displayconnectiontype.go
- displaydecorationsupport.go
- displayedframestats.go
- displayinfo.go
- displaymode.go
- displaymodespecs.go
- displaymodespecs.refreshrateranges.go
- displaymodespecs.refreshrateranges.refreshraterange.go
- displayprimaries.ciexyz.go
- displayprimaries.go
- displaystate.go
- displaystatinfo.go
- dropinputmode.go
- dynamicdisplayinfo.go
- focusrequest.go
- frameevent.go
- framestats.go
- frametimelineinfo.go
- hdrcapabilities.go
- hdrconversioncapability.go
- hdrconversionstrategy.go
- idisplayeventconnection.go
- ifpslistener.go
- ihdrconversionconstants.go
- ihdrlayerinfolistener.go
- inputapplicationinfo.go
- iregionsamplinglistener.go
- iscreencapturelistener.go
- isurfacecomposer.eventregistration.go
- isurfacecomposer.go
- isurfacecomposer.vsyncsource.go
- isurfacecomposerclient.go
- itunnelmodeenabledlistener.go
- iwindowinfoslistener.go
- iwindowinfospublisher.go
- iwindowinfosreportedlistener.go
- layercaptureargs.go
- layerdebuginfo.go
- layermetadata.go
- overlayproperties.go
- overlayproperties.supportedbuffercombinations.go
- parcelablevsynceventdata.go
- pullatomdata.go
- rotation.go
- schedulingpolicy.go
- screencaptureresults.go
- size.go
- stalledtransactioninfo.go
- staticdisplayinfo.go
- touchocclusionmode.go
- trustedpresentationthresholds.go
- windowinfo.go
- windowinfoslistenerinfo.go
- windowinfosupdate.go