Applet Manager services: Difference between revisions

Line 2,389: Line 2,389:


Operation Mode Manager (OMM) is a service responsible for arbitrating the operation changes between docked and handheld modes.
Operation Mode Manager (OMM) is a service responsible for arbitrating the operation changes between docked and handheld modes.
Besides [[PTM_services]], this is the only service that interacts with the [[Dock]] through [[USB_services|usb:pd*]].
Besides [[PTM_services|PTM]], this is the only service that interacts with the [[Dock]] through [[USB_services|usb:pd*]].


{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Cmd || Name || Notes
! Cmd || Name
|-
|-
| 0 || GetOperationMode ||
| 0 || GetOperationMode
|-
|-
| 1 || GetOperationModeChangeEvent ||
| 1 || GetOperationModeChangeEvent
|-
|-
| 2 || EnableAudioVisual ||
| 2 || EnableAudioVisual
|-
|-
| 3 || DisableAudioVisual ||
| 3 || DisableAudioVisual
|-
|-
| 4 || EnterSleepAndWait ||
| 4 || EnterSleepAndWait
|-
|-
| 5 || GetCradleStatus ||
| 5 || GetCradleStatus
|-
|-
| 6 || FadeInDisplay ||
| 6 || FadeInDisplay
|-
|-
| 7 || FadeOutDisplay ||
| 7 || FadeOutDisplay
|-
|-
| 8 || [2.0.0+] GetCradleFwVersion ||
| 8 || [2.0.0+] GetCradleFwVersion
|-
|-
| 9 || [2.0.0+] NotifyCecSettingsChanged ||
| 9 || [2.0.0+] NotifyCecSettingsChanged
|-
|-
| 10 || [3.0.0+] SetOperationModePolicy ||
| 10 || [3.0.0+] SetOperationModePolicy
|-
|-
| 11 || [3.0.0+] GetDefaultDisplayResolution ||
| 11 || [3.0.0+] GetDefaultDisplayResolution
|-
|-
| 12 || [3.0.0+] GetDefaultDisplayResolutionChangeEvent ||
| 12 || [3.0.0+] GetDefaultDisplayResolutionChangeEvent
|-
|-
| 13 || [3.0.0+] UpdateDefaultDisplayResolution ||
| 13 || [3.0.0+] UpdateDefaultDisplayResolution
|-
|-
| 14 || [3.0.0+] ShouldSleepOnBoot ||
| 14 || [3.0.0+] ShouldSleepOnBoot
|-
|-
| 15 || [4.0.0+] NotifyHdcpApplicationExecutionStarted ||
| 15 || [4.0.0+] NotifyHdcpApplicationExecutionStarted
|-
|-
| 16 || [4.0.0+] NotifyHdcpApplicationExecutionFinished ||
| 16 || [4.0.0+] NotifyHdcpApplicationExecutionFinished
|-
|-
| 17 || [4.0.0+] NotifyHdcpApplicationDrawingStarted ||
| 17 || [4.0.0+] NotifyHdcpApplicationDrawingStarted
|-
|-
| 18 || [4.0.0+] NotifyHdcpApplicationDrawingFinished ||
| 18 || [4.0.0+] NotifyHdcpApplicationDrawingFinished
|-
|-
| 19 || [4.0.0+] GetHdcpAuthenticationFailedEvent ||
| 19 || [4.0.0+] GetHdcpAuthenticationFailedEvent
|-
|-
| 20 || [4.0.0+] GetHdcpAuthenticationFailedEmulationEnabled ||
| 20 || [4.0.0+] GetHdcpAuthenticationFailedEmulationEnabled
|-
|-
| 21 || [4.0.0+] SetHdcpAuthenticationFailedEmulation ||
| 21 || [4.0.0+] SetHdcpAuthenticationFailedEmulation
|-
|-
| 22 || [4.0.0+] GetHdcpStateChangeEvent ||
| 22 || [4.0.0+] GetHdcpStateChangeEvent
|-
|-
| 23 || [4.0.0+] GetHdcpState ||
| 23 || [4.0.0+] GetHdcpState
|-
|-
| 24 || [5.0.0+] ShowCardUpdateProcessing ||
| 24 || [5.0.0+] ShowCardUpdateProcessing
|-
|-
| 25 || [5.0.0+] SetApplicationCecSettingsAndNotifyChanged ||
| 25 || [5.0.0+] SetApplicationCecSettingsAndNotifyChanged
|-
|-
| 26 || [7.0.0+] ||
| 26 || [7.0.0+] [[#GetOperationModeSystemInfo]]
|-
|-
| 27 || [9.0.0+] ||
| 27 || [9.0.0+]  
|}
|}


== Cmd26 ==
== GetOperationModeSystemInfo ==
No input, returns an output u32.
No input, returns an output u32.


This is used by [[#GetOperationModeSystemInfo]].
This is used by [[#GetOperationModeSystemInfo|ICommonStateGetter GetOperationModeSystemInfo]].


= spsm =
= spsm =