Difference between revisions of "Applet Manager services"

From Nintendo Switch Brew
Jump to navigation Jump to search
Line 4: Line 4:
  
 
= appletAE =
 
= appletAE =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 100 || GetISystemAppletProxy
 +
|-
 +
| 200 || GetILibraryAppletProxy
 +
|-
 +
| 300 || GetIOverlayAppletProxy
 +
|-
 +
| 350 || GetIApplicationProxy
 +
|-
 +
| 400 || GetILibraryAppletCreator
 +
|-
 +
|}
 +
 +
== ISystemAppletProxy ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetICommonStateGetter
 +
|-
 +
| 1 || GetISelfController
 +
|-
 +
| 2 || GetIWindowController
 +
|-
 +
| 3 || GetIAudioController
 +
|-
 +
| 4 || GetIDisplayController
 +
|-
 +
| 10 || GetIProcessWindingController
 +
|-
 +
| 11 || GetILibraryAppletCreator
 +
|-
 +
| 20 || GetIHomeMenuFunctions
 +
|-
 +
| 21 || GetIGlobalStateController
 +
|-
 +
| 22 || GetIApplicationCreator
 +
|-
 +
| 1000 || GetIDebugFunctions
 +
|-
 +
|}
 +
 +
== ILibraryAppletProxy ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetICommonStateGetter
 +
|-
 +
| 1 || GetISelfController
 +
|-
 +
| 2 || GetIWindowController
 +
|-
 +
| 3 || GetIAudioController
 +
|-
 +
| 4 || GetIDisplayController
 +
|-
 +
| 10 || GetIProcessWindingController
 +
|-
 +
| 11 || GetILibraryAppletCreator
 +
|-
 +
| 20 || GetILibraryAppletSelfAccessor
 +
|-
 +
| 1000 || GetIDebugFunctions
 +
|-
 +
|}
 +
 +
== IOverlayAppletProxy ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetICommonStateGetter
 +
|-
 +
| 1 || GetISelfController
 +
|-
 +
| 2 || GetIWindowController
 +
|-
 +
| 3 || GetIAudioController
 +
|-
 +
| 4 || GetIDisplayController
 +
|-
 +
| 10 || GetIProcessWindingController
 +
|-
 +
| 11 || GetILibraryAppletCreator
 +
|-
 +
| 20 || GetIOverlayFunctions
 +
|-
 +
| 1000 || GetIDebugFunctions
 +
|-
 +
|}
 +
 +
== IApplicationProxy ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetICommonStateGetter
 +
|-
 +
| 1 || GetISelfController
 +
|-
 +
| 2 || GetIWindowController
 +
|-
 +
| 3 || GetIAudioController
 +
|-
 +
| 4 || GetIDisplayController
 +
|-
 +
| 10 || GetIProcessWindingController
 +
|-
 +
| 11 || GetILibraryAppletCreator
 +
|-
 +
| 20 || GetIApplicationFunctions
 +
|-
 +
| 1000 || GetIDebugFunctions
 +
|-
 +
|}
 +
 +
== ILibraryAppletCreator ==
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetILibraryAppletAccessor
 +
|-
 +
| 1 || TerminateAllLibraryApplets
 +
|-
 +
| 2 || AreAnyLibraryAppletsLeft
 +
|-
 +
| 10 || CreateStorage
 +
|-
 +
| 11 || CreateTransferMemoryStorage
 +
|-
 +
| 12 || CreateHandleStorage
 +
|-
 +
|}
  
 
= appletOE =
 
= appletOE =
 +
{| class="wikitable" border="1"
 +
|-
 +
! Cmd || Name
 +
|-
 +
| 0 || GetIApplicationProxy
 +
|-
 +
|}
  
 
= idle:sys =
 
= idle:sys =

Revision as of 20:04, 29 August 2017

AM (Applet Manager) provides services for interacting with system applets while abstracting several aspects of power and operation management.

Contains multiple raw images, with at least the following: "NN_OMM_CHARGING_BIN_{begin|end}"(charging icon), low-battery icon, and the Nintendo Switch logo displayed during system boot.

appletAE

Cmd Name
100 GetISystemAppletProxy
200 GetILibraryAppletProxy
300 GetIOverlayAppletProxy
350 GetIApplicationProxy
400 GetILibraryAppletCreator

ISystemAppletProxy

Cmd Name
0 GetICommonStateGetter
1 GetISelfController
2 GetIWindowController
3 GetIAudioController
4 GetIDisplayController
10 GetIProcessWindingController
11 GetILibraryAppletCreator
20 GetIHomeMenuFunctions
21 GetIGlobalStateController
22 GetIApplicationCreator
1000 GetIDebugFunctions

ILibraryAppletProxy

Cmd Name
0 GetICommonStateGetter
1 GetISelfController
2 GetIWindowController
3 GetIAudioController
4 GetIDisplayController
10 GetIProcessWindingController
11 GetILibraryAppletCreator
20 GetILibraryAppletSelfAccessor
1000 GetIDebugFunctions

IOverlayAppletProxy

Cmd Name
0 GetICommonStateGetter
1 GetISelfController
2 GetIWindowController
3 GetIAudioController
4 GetIDisplayController
10 GetIProcessWindingController
11 GetILibraryAppletCreator
20 GetIOverlayFunctions
1000 GetIDebugFunctions

IApplicationProxy

Cmd Name
0 GetICommonStateGetter
1 GetISelfController
2 GetIWindowController
3 GetIAudioController
4 GetIDisplayController
10 GetIProcessWindingController
11 GetILibraryAppletCreator
20 GetIApplicationFunctions
1000 GetIDebugFunctions

ILibraryAppletCreator

Cmd Name
0 GetILibraryAppletAccessor
1 TerminateAllLibraryApplets
2 AreAnyLibraryAppletsLeft
10 CreateStorage
11 CreateTransferMemoryStorage
12 CreateHandleStorage

appletOE

Cmd Name
0 GetIApplicationProxy

idle:sys

omm

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:pd*.

Cmd Name
0 GetOperationMode
1 GetOmmWaitEvent
2
3
4
5
6
7
8
9

spsm

Enums

AppletId

ID Title-id Description
0x02 010000000000100C "overlayDisp"
0x03 0100000000001000 "qlaunch"
0x04 0100000000001012 "starter"
0x0A 0100000000001001 "auth"
0x0B 0100000000001002 "cabinet"
0x0C 0100000000001003 "controller"
0x0D 0100000000001004 "dataErase"
0x0E 0100000000001005 "error"
0x0F 0100000000001006 "netConnect"
0x10 0100000000001007 "playerSelect"
0x11 0100000000001008 "swkbd"
0x12 0100000000001009 "miiEdit"
0x13 010000000000100A "LibAppletWeb" WebApplet applet
0x14 010000000000100B "LibAppletShop" ShopN applet
0x15 010000000000100D "photoViewer"
0x16 010000000000100E
0x17 010000000000100F "LibAppletOff" Offline applet
0x18 0100000000001010 "LibAppletLns" Whitelisted applet
0x19 0100000000001011 "LibAppletAuth" WifiWebAuth applet
0x1A 0100000000001013 "myPage"

ShimKind

This is from strings and code in the web-applets.

This indicates the type of web-applet.

shimKind value Description
2 LoginApplet
4 ShareApplet
5 WebApplet
6 WifiWebAuthApplet
7 LobbyApplet