summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/fidls/NodeStateManager.fidl
blob: 84d8d2650054b3e55c1d2eac281678750496e4e5 (plain)
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
package org.genivi.NodeStateManager

<**
    @author : Christian Linke
**>

interface Consumer {
    version {
        major 1
        minor 0
    }

    attribute Int32 BootMode readonly noSubscriptions

    attribute Int32 RestartReason readonly noSubscriptions

    attribute Int32 ShutdownReason readonly noSubscriptions

    attribute Int32 WakeUpReason readonly noSubscriptions

    method GetAppHealthCount {
        out {
            UInt32 Count
        }
    }
    method LifecycleRequestComplete {
        in {
            UInt32 RequestId
            Int32 Status
        }
        out {
            Int32 ErrorCode
        }
    }
    method GetInterfaceVersion {
        out {
            UInt32 Version
        }
    }
    method GetApplicationMode {
        out {
            Int32 ErrorCode
            Int32 ApplicationModeId
        }
    }
    method UnRegisterSession {
        in {
            String SessionName
            String SessionOwner
            Int32 SeatID
        }
        out {
            Int32 ErrorCode
        }
    }
    method RegisterSession {
        in {
            String SessionName
            String SessionOwner
            Int32 SeatID
            Int32 SessionState
        }
        out {
            Int32 ErrorCode
        }
    }
    method UnRegisterShutdownClient {
        in {
            String BusName
            String ObjName
            UInt32 ShutdownMode
        }
        out {
            Int32 ErrorCode
        }
    }
    method RegisterShutdownClient {
        in {
            String BusName
            String ObjName
            UInt32 ShutdownMode
            UInt32 TimeoutMs
        }
        out {
            Int32 ErrorCode
        }
    }
    method GetNodeState {
        out {
            Int32 ErrorCode
            Int32 NodeStateId
        }
    }
    method GetSessionState {
        in {
            String SessionName
            Int32 SeatID
        }
        out {
            Int32 SessionState
            Int32 ErrorCode
        }
    }
    method SetSessionState {
        in {
            String SessionName
            String SessionOwner
            Int32 SessionState
            Int32 SeatID
        }
        out {
            Int32 ErrorCode
        }
    }
    broadcast NodeApplicationMode {
        out {
            Int32 ApplicationModeId
        }
    }
    broadcast SessionStateChanged {
        out {
            String SessionStateName
            Int32 SeatID
            Int32 SessionState
        }
    }
    broadcast NodeState {
        out {
            Int32 NodeState
        }
    }
}

<**
    @author : Christian Linke
**>

interface LifeCycleConsumer {
    version {
        major 1
        minor 0
    }
    method LifecycleRequest {
        in {
            UInt32 Request
            UInt32 RequestId
        }
        out {
            Int32 ErrorCode
        }
    }
}