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 <method name="addLayout">
199 <arg name="layoutId" type="i" direction="in"/>
200 <arg name="layoutName" type="s" direction="in"/>
201 <arg name="surfaceAreas" type="a(iiii)" direction="in"/>
202 <annotation name="org.qtproject.QtDBus.QtTypeName.In2" value="QList<SimpleRect>"/>
203 <arg name="error" type="i" direction="out"/>
207 - WindowManager app is running
210 it is not possible to send isa(iiii) via the dbus-send tool.
213 <method name="getAvailableLayouts">
214 <arg name="numberOfAppSurfaces" type="i" direction="in"/>
215 <arg name="layoutIds" type="ai" direction="out"/>
216 <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<int>"/>
220 - HomeScreen app is running
221 - WindowManager app is running
224 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableLayouts int32:1
229 <method name="setLayoutById">
230 <arg name="layoutId" type="i" direction="in"/>
233 - HomeScreen app is running
234 - WindowManager app is running
237 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableLayouts int32:1
240 <method name="setLayoutByName">
241 <arg name="layoutName" type="s" direction="in"/>
245 - HomeScreen app is running
246 - WindowManager app is running
249 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setLayoutByName string:"name"
252 <method name="getLayout">
253 <arg name="layoutId" type="i" direction="out"/>
257 - HomeScreen app is running
258 - WindowManager app is running
261 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayout
264 <method name="setSurfaceToLayoutArea">
265 <arg name="surfaceId" type="i" direction="in"/>
266 <arg name="layoutAreaId" type="i" direction="in"/>
270 - HomeScreen app is running
271 - WindowManager app is running
274 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.setSurfaceToLayoutArea int32:1123 int32:1
277 <method name="getAvailableSurfaces">
278 <arg name="surfacesAndPids" type="a(ii)" direction="out"/>
279 <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QList<SimplePoint>"/>
283 - HomeScreen app is running
284 - WindowManager app is running
287 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getAvailableSurfaces
290 <method name="getLayoutName">
291 <arg name="layoutId" type="i" direction="in"/>
292 <arg name="layoutName" type="s" direction="out"/>
296 - HomeScreen app is running
297 - WindowManager app is running
300 $dbus-send --session --type=method_call --print-reply --dest=org.agl.windowmanager /windowmanager org.agl.windowmanager.getLayoutName int32:1