File: com.lomiri.ProcessControl.xml

package info (click to toggle)
lomiri 0.5.0-6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 24,088 kB
  • sloc: cpp: 39,498; python: 2,559; javascript: 1,426; ansic: 1,012; sh: 289; xml: 252; makefile: 69
file content (41 lines) | stat: -rw-r--r-- 1,464 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<!DOCTYPE node PUBLIC "-//freedesktop//DTD D-BUS Object Introspection 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd">
<node xmlns:doc="http://www.freedesktop.org/dbus/1.0/doc.dtd">
  <!--
    This is an interface meant to be accessible only from privileged system
    processes.

    It can be used to request Lomiri to alter the normal lifecycle of selected
    applications, typically by granting them more wake-up times than they'd
    normally have. For example, a location daemon could request a temporary
    wake-up of its clients so that they'd be able to process the location
    updates.
  -->
  <interface name="com.lomiri.ProcessControl">

    <!--
      Request a temporary wake-up of the selected processes.

      Whether the request will actually be fulfilled is up to Lomiri.

      This method will not return an error reply if a process listed in the
      `processes` argument is not found.
    -->
    <method name="RequestWakeup">
      <!--
        The list of processes to be waken-up. Each process is specified by its
        application ID (appId).
      -->
      <arg name="processes" direction="in" type="as" />

      <!--
        The desired time span that should be granted to each of the
        applications, in milliseconds.
      -->
      <arg name="timeSpan" direction="in" type="t" />

      <annotation name="org.freedesktop.DBus.Method.NoReply" value="true"/>
    </method>

  </interface>
</node>