Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5054bbcc authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "init README: document AIDL service interface" am: 4d3c2846 am:...

Merge "init README: document AIDL service interface" am: 4d3c2846 am: e526b545 am: b64af0cc am: fa543ad1 am: 1785ee68

Original change: https://android-review.googlesource.com/c/platform/system/core/+/1360957

Change-Id: Ida1a216b6ce0f6b70ee11b09170e351598a587c7
parents ebbd13cd 1785ee68
Loading
Loading
Loading
Loading
+8 −5
Original line number Original line Diff line number Diff line
@@ -197,11 +197,14 @@ runs the service.
  Currently defaults to root.  (??? probably should default to nobody)
  Currently defaults to root.  (??? probably should default to nobody)


`interface <interface name> <instance name>`
`interface <interface name> <instance name>`
> Associates this service with a list of the HIDL services that it provides. The interface name
> Associates this service with a list of the AIDL or HIDL services that it provides. The interface
  must be a fully-qualified name and not a value name. For instance, this is used to allow
  name must be a fully-qualified name and not a value name. For instance, this is used to allow
  hwservicemanager to lazily start services. When multiple interfaces are served, this tag should
  servicemanager or hwservicemanager to lazily start services. When multiple interfaces are served,
  be used multiple times.
  this tag should be used multiple times. An example of an entry for a HIDL
  For example: interface vendor.foo.bar@1.0::IBaz default
  interface is `interface vendor.foo.bar@1.0::IBaz default`. For an AIDL interface, use
  `interface aidl <instance name>`. The instance name for an AIDL interface is
  whatever is registered with servicemanager, and these can be listed with `adb
  shell dumpsys -l`.


`ioprio <class> <priority>`
`ioprio <class> <priority>`
> Sets the IO priority and IO priority class for this service via the SYS_ioprio_set syscall.
> Sets the IO priority and IO priority class for this service via the SYS_ioprio_set syscall.