summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/fidls/NodeStateAccessStub_model_org.genivi.NodeStateManager.Consumer.fidl
blob: 6e6f224133c132bbf54fbfb777ed11f91b169e8a (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
package org.genivi.NodeStateManager.Consumer

//interface org.genivi.NodeStateManager.Consumer {
interface Consumer {

	version { major 0 minor 1 }

	attribute Int32 RestartReason

	attribute Int32 ShutdownReason

	attribute Int32 WakeUpReason

	attribute Int32 BootMode

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