aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/dbus-call-test.sh
blob: f20af35a135e75a46c93315f976248c1d001cc82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
echo "This is the dbus call test to check main source/sink/connection"

echo Get List Main Sources
dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
 --print-reply /org/genivi/audiomanager/commandinterface \
 org.genivi.audiomanager.commandinterface.GetListMainSources

echo Get List Main Sinks
dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
 --print-reply /org/genivi/audiomanager/commandinterface \
 org.genivi.audiomanager.commandinterface.GetListMainSinks
 
echo Get List Main Connections
dbus-send --system --dest=org.genivi.audiomanager --type=method_call \
 --print-reply /org/genivi/audiomanager/commandinterface \
 org.genivi.audiomanager.commandinterface.GetListMainConnections