All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] To fix the test agent quit issue when execute play-tone command of stk
@ 2010-12-02  9:29 Zhigang Li
  2010-12-02 14:01 ` Denis Kenzior
  0 siblings, 1 reply; 2+ messages in thread
From: Zhigang Li @ 2010-12-02  9:29 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 866 bytes --]

---
 test/test-stk-menu |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/test/test-stk-menu b/test/test-stk-menu
index 916a527..456a522 100755
--- a/test/test-stk-menu
+++ b/test/test-stk-menu
@@ -138,6 +138,18 @@ class StkAgent(dbus.service.Object):
 	def Cancel(self):
 		print "Cancel"
 
+	@dbus.service.method("org.ofono.SimToolkitAgent",
+					in_signature="ssy", out_signature="")
+
+	def PlayTone(self, tone, text, icon):
+		print "playtone is %s" % (tone)
+
+        @dbus.service.method("org.ofono.SimToolkitAgent",
+                                in_signature="ssy", out_signature="")
+
+        def LoopTone(self, tone, text, icon):
+                print "the loop tone is %s" % (tone)
+
 if __name__ == '__main__':
 	dbus.mainloop.glib.DBusGMainLoop(set_as_default=True)
 
-- 
1.6.5.2


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-02 14:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-02  9:29 [PATCH] To fix the test agent quit issue when execute play-tone command of stk Zhigang Li
2010-12-02 14:01 ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.