Home
last modified time | relevance | path

Searched refs:fakemodem (Results 1 – 5 of 5) sorted by relevance

/external/autotest/client/deps/fakemodem/src/
DMakefile16 all: fakemodem fakenet
19 fakemodem: fakemodem.c fakemodem-dbus.h target
22 fakemodem-dbus.h: fakemodem-dbus.xml
23 dbus-binding-tool --mode=glib-server --prefix=fakemodem \
32 install -m 0755 fakemodem fakenet $(DESTDIR)/bin
35 rm -f core fakemodem fakenet *.o *.so fakemodem-dbus.h
Dfakemodem.c67 static const gchar *handle_cmd (FakeModem *fakemodem, const gchar *cmd);
69 static gboolean send_unsolicited (FakeModem* fakemodem, const gchar* text);
70 static gboolean set_response (FakeModem* fakemodem, const gchar* command,
72 static gboolean remove_response (FakeModem* fakemodem, const gchar* command);
221 FakeModem *fakemodem; in main() local
254 fakemodem = g_object_new (FAKEMODEM_TYPE, NULL); in main()
256 fakemodem->patterns = parse_pattern_files (pattern_files, &err); in main()
257 if (fakemodem->patterns == NULL) { in main()
263 fakemodem->patterns = g_ptr_array_sized_new (0); in main()
288 G_OBJECT (fakemodem)); in main()
[all …]
/external/autotest/client/cros/cellular/
Dsms.py47 def __init__(self, fakemodem): argument
48 self.fakemodem = fakemodem
50 self.fakemodem.SetResponse('\+CMGR=', '', '+CMS ERROR: 321')
51 self.fakemodem.SetResponse('\+CMGD=', '', '+CMS ERROR: 321')
59 self.fakemodem.RemoveResponse('\+CMGD=')
60 self.fakemodem.RemoveResponse('\+CMGR=')
61 self.fakemodem.SetResponse('\+CMGD=%d' % (index), '', '')
62 self.fakemodem.SetResponse('\+CMGR=%d' % (index),
64 self.fakemodem.SetResponse('\+CMGR=', '', '+CMS ERROR: 321')
65 self.fakemodem.SetResponse('\+CMGD=', '', '+CMS ERROR: 321')
[all …]
Dmmtest.py67 self.fakemodem = dbus.Interface(
/external/autotest/client/deps/fakemodem/
Dcontrol5 job.setup_dep(['fakemodem'])