summaryrefslogtreecommitdiffstats
path: root/data/onload-control-policy.json
diff options
context:
space:
mode:
authorfulup <fulup.arfoll@iot.bzh>2017-08-10 17:37:24 +0200
committerfulup <fulup.arfoll@iot.bzh>2017-08-10 17:37:24 +0200
commiteb6a78be524aaee70fca55b86a7b065763591178 (patch)
tree9db4e1e9f75ef18b90255a468ab5087e65bba5c3 /data/onload-control-policy.json
parent302d4bfcc49c69ea8251e1755ba3876555f680aa (diff)
Work in Progress
Diffstat (limited to 'data/onload-control-policy.json')
-rw-r--r--data/onload-control-policy.json23
1 files changed, 16 insertions, 7 deletions
diff --git a/data/onload-control-policy.json b/data/onload-control-policy.json
index d910893..736e188 100644
--- a/data/onload-control-policy.json
+++ b/data/onload-control-policy.json
@@ -1,22 +1,31 @@
{
"$schema": "ToBeDone",
"metadata": {
- "label": "sample-audio-policy",
+ "label": "sample-audio-control",
"info": "Provide Default Audio Policy for Multimedia, Navigation and Emergency",
"version": "1.0"
},
"onload": {
- "info": "controler initialisation config",
- "plugin": "sample-audio-policy.so",
+ "label": "onload-config",
+ "info": "onload initialisation config",
+ "plugin": "audio-ctl-plugin-sample.so",
"actions": [
{
- "info": "Call policy sharelib install entrypoint",
+ "label": "onload-sample-cb",
+ "info": "Call control sharelib install entrypoint",
"callback": "SamplePolicyInstall",
"args": {"arg1" : "first_arg", "nextarg": "second arg value"}
}, {
+ "label": "onload-sample-api",
"info": "Assert AlsaCore Presence",
"api": "alsacore",
- "verb": "ping"
+ "verb": "ping",
+ "args": "test"
+ }, {
+ "label": "onload-sample-lua",
+ "info": "Assert LUA Engine",
+ "lua": "Test_Lua_Engine",
+ "args": "ping"
}
]
},
@@ -25,7 +34,7 @@
"label": "multimedia",
"actions": [
{
- "label": "multimedia-policy-cb",
+ "label": "multimedia-control-cb",
"info": "Call Sharelib Sample Callback",
"callback": "samplePolicyCB",
"args": {
@@ -33,7 +42,7 @@
"arg2": "toto"
}
}, {
- "label": "multimedia-policy-ucm",
+ "label": "multimedia-control-ucm",
"info": "Subcall AlSA UCM navigation",
"api": "alsacore",
"verb": "ucmset",