dbusmock.templates.ofono
ofonod D-Bus mock template
Attributes
Functions
|
|
|
Convenience method to add a modem |
|
|
|
|
|
|
|
Add org.ofono.VoiceCallManager API to a mock |
|
|
|
|
|
|
|
Add org.ofono.NetworkRegistration API to a mock |
|
Add org.ofono.SimManager API to a mock |
Add org.ofono.ConnectionManager API to a mock |
Module Contents
- dbusmock.templates.ofono.__copyright__ = Multiline-String[source]
Show Value
""" (c) 2013 Canonical Ltd. (c) 2017 - 2022 Martin Pitt <martin@piware.de> """
- dbusmock.templates.ofono.NOT_IMPLEMENTED = 'raise dbus.exceptions.DBusException("not implemented", name="org.ofono.Error.NotImplemented")'[source]
- dbusmock.templates.ofono.AddModem(self, name, _properties)[source]
Convenience method to add a modem
You have to specify a device name which must be a valid part of an object path, e. g. “mock_ac”. For future extensions you can specify a “properties” array, but no extra properties are supported for now.
Returns the new object path.
- dbusmock.templates.ofono.add_voice_call_api(mock)[source]
Add org.ofono.VoiceCallManager API to a mock
- dbusmock.templates.ofono.add_netreg_api(mock)[source]
Add org.ofono.NetworkRegistration API to a mock