summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/fidls/NodeStateManager.fidl
diff options
context:
space:
mode:
authorChristian Linke <christian.linke@bmw.de>2013-09-09 18:40:19 +0200
committerChristian Linke <christian.linke@bmw.de>2013-09-09 18:40:19 +0200
commitdb8583483517265e9d6b0fdb3add2cad2cdbcca9 (patch)
tree5bcc78fc3ab73e04e1a6d7f37914334709ea2c65 /AudioManagerDaemon/fidls/NodeStateManager.fidl
parent67b6d070bdea90463aab419d516186f498ebc6d6 (diff)
downloadaudiomanager-db8583483517265e9d6b0fdb3add2cad2cdbcca9.tar.gz
* some naming adoptions & review for GENIVI
Signed-off-by: Christian Linke <christian.linke@bmw.de>
Diffstat (limited to 'AudioManagerDaemon/fidls/NodeStateManager.fidl')
-rw-r--r--AudioManagerDaemon/fidls/NodeStateManager.fidl152
1 files changed, 152 insertions, 0 deletions
diff --git a/AudioManagerDaemon/fidls/NodeStateManager.fidl b/AudioManagerDaemon/fidls/NodeStateManager.fidl
new file mode 100644
index 0000000..84d8d26
--- /dev/null
+++ b/AudioManagerDaemon/fidls/NodeStateManager.fidl
@@ -0,0 +1,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
+ }
+ }
+} \ No newline at end of file