3 Precondition for all test is, that the D-Bus session is launched:
6 ---------------------------------------------------------------------------------------------------------------------
11 <method name="getAvailableAppNames">
12 <arg name="names" type="as" direction="out"/>
16 - HomeScreenAppFrameworkBinderTizen app is running
19 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbindertizen /AppFramework org.agl.appframework.getAvailableAppNames
22 <method name="launchApp">
23 <arg name="name" type="s" direction="in"/>
24 <arg name="pid" type="i" direction="out"/>
28 - HomeScreenAppFrameworkBinderTizen app is running
31 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreenappframeworkbindertizen /AppFramework org.agl.appframework.launchApp string:"org.tizen.amhelloworld"
33 ---------------------------------------------------------------------------------------------------------------------
38 <signal name="dayNightMode">
39 <arg name="mode" type="i" direction="out"/>
43 - HomeScreen app is running
46 no command line test available right now
48 ---------------------------------------------------------------------------------------------------------------------
53 <method name="hardKeyPressed">
54 <arg name="key" type="i" direction="in"/> <!-- using the inputevent.hpp InputEvent::HardKey type -->
58 - HomeScreen app is running
61 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /HomeScreen org.agl.homescreen.hardKeyPressed int32:0
64 <method name="setToFullscreen">
65 <arg name="pid" type="i" direction="in"/>
68 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /HomeScreen org.agl.homescreen.setToFullscreen int32:0
70 ---------------------------------------------------------------------------------------------------------------------
75 <method name="hardKeyPressed">
76 <arg name="key" type="i" direction="in"/>
80 - HomeScreen app is running
81 - InputEventManager app is running
84 $dbus-send --session --type=method_call --print-reply --dest=org.agl.inputeventmanager /InputEvent org.agl.inputevent.hardKeyPressed int32:0
86 ---------------------------------------------------------------------------------------------------------------------
91 <method name="showPopup">
92 <arg name="type" type="i" direction="in"/>
93 <arg name="text" type="s" direction="in"/>
97 - HomeScreen app is running
100 $dbus-send --session --type=method_call --dest=org.agl.homescreen /Popup org.agl.popup.showPopup int32:1 string:"TEST"
103 <method name="showPopupComboBox">
104 <arg name="text" type="s" direction="in"/>
105 <arg name="choices" type="as" direction="in"/>
109 - HomeScreen app is running
112 $dbus-send --session --type=method_call --dest=org.agl.homescreen /Popup org.agl.popup.showPopupComboBox string:"TEST" array:string:"test1","test2"
114 ---------------------------------------------------------------------------------------------------------------------
119 <method name="setObjectDetected">
120 <arg name="detected" type="b" direction="in"/>
124 - HomeScreen app is running
127 $dbus-send --session --type=method_call --dest=org.agl.homescreen /Proximity org.agl.proximity.setObjectDetected boolean:true
129 ---------------------------------------------------------------------------------------------------------------------
134 <method name="getAvailablePlaceholders">
135 <arg name="placeholderIndexes" type="ai" direction="out"/>
136 <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<int>"/>
140 - HomeScreen app is running
143 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getAvailablePlaceholders
146 <method name="getStatusText">
147 <arg name="placeholderIndex" type="i" direction="in"/>
148 <arg name="text" type="s" direction="out"/>
152 - HomeScreen app is running
155 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getStatusText int32:1
158 <method name="getStatusIcon">
159 <arg name="placeholderIndex" type="i" direction="in"/>
160 <arg name="iconURI" type="s" direction="out"/>
164 - HomeScreen app is running
167 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.getStatusIcon int32:1
170 <method name="setStatusText">
171 <arg name="placeholderIndex" type="i" direction="in"/>
172 <arg name="text" type="s" direction="in"/>
176 - HomeScreen app is running
179 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.setStatusText int32:1 string:"Test1"
182 <method name="setStatusIcon">
183 <arg name="placeholderIndex" type="i" direction="in"/>
184 <arg name="iconURI" type="s" direction="in"/>
188 - HomeScreen app is running
191 $dbus-send --session --type=method_call --print-reply --dest=org.agl.homescreen /StatusBar org.agl.statusbar.setStatusIcon int32:1 string:"<path to png file here>"
193 ---------------------------------------------------------------------------------------------------------------------
195 org.agl.windowmanager
198 dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.GetAll string:"org.agl.windowmanager"
200 dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.Get string:"org.agl.windowmanager" string:"homeScreenPid"
202 dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.freedesktop.DBus.Properties.Set string:"org.agl.windowmanager" string:"homeScreenPid" variant:int32:1
206 <method name="addLayout">
207 <arg name="layoutId" type="i" direction="in"/>
208 <arg name="layoutName" type="s" direction="in"/>
209 <arg name="surfaceAreas" type="a(iiii)" direction="in"/>
210 <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QList<SimpleRect>"/>
211 <arg name="error" type="i" direction="out"/>
215 - WindowManager app is running
218 it is not possible to send isa(iiii) via the dbus-send tool.
221 <method name="getAvailableLayouts">
222 <arg name="numberOfAppSurfaces" type="i" direction="in"/>
223 <arg name="layoutIds" type="ai" direction="out"/>
224 <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<int>"/>
228 - HomeScreen app is running
229 - WindowManager app is running
232 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableLayouts int32:1
237 <method name="setLayoutById">
238 <arg name="layoutId" type="i" direction="in"/>
241 - HomeScreen app is running
242 - WindowManager app is running
245 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setLayoutById int32:1
248 <method name="setLayoutByName">
249 <arg name="layoutName" type="s" direction="in"/>
253 - HomeScreen app is running
254 - WindowManager app is running
257 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setLayoutByName string:"name"
260 <method name="getLayout">
261 <arg name="layoutId" type="i" direction="out"/>
265 - HomeScreen app is running
266 - WindowManager app is running
269 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayout
272 <method name="setPidToLayoutArea">
273 <arg name="pid" type="i" direction="in"/>
274 <arg name="layoutAreaId" type="i" direction="in"/>
278 - HomeScreen app is running
279 - WindowManager app is running
282 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setPidToLayoutArea int32:1123 int32:1
285 <method name="getAvailableSurfaces">
286 <arg name="surfacesAndPids" type="a(ii)" direction="out"/>
287 <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<SimplePoint>"/>
291 - HomeScreen app is running
292 - WindowManager app is running
295 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableSurfaces
298 <method name="getLayoutName">
299 <arg name="layoutId" type="i" direction="in"/>
300 <arg name="layoutName" type="s" direction="out"/>
304 - HomeScreen app is running
305 - WindowManager app is running
308 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayoutName int32:1