Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Side by Side Diff: introspection/mm-modem-cdma.xml

Issue 3702006: Ditch COMPLETION_FAILED; it didn't make any UI difference (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/modemmanager.git
Patch Set: Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?>
2 2
3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio ns-v0"> 3 <node name="/" xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensio ns-v0">
4 <interface name="org.freedesktop.ModemManager.Modem.Cdma"> 4 <interface name="org.freedesktop.ModemManager.Modem.Cdma">
5 5
6 <method name="Activate"> 6 <method name="Activate">
7 <tp:docstring> 7 <tp:docstring>
8 Activates the modem for use with a given carrier. 8 Activates the modem for use with a given carrier. In the
9 event of immediate failure, returns an error value instead of
10 setting a DBus error.
9 </tp:docstring> 11 </tp:docstring>
10 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 12 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
11 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate"/> 13 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate"/>
12 <arg name="carrier" type="s" direction="in"> 14 <arg name="carrier" type="s" direction="in">
13 <tp:docstring> 15 <tp:docstring>
14 Name of carrier. 16 Name of carrier.
15 </tp:docstring> 17 </tp:docstring>
16 </arg> 18 </arg>
19 <arg name="immediate_error" type="u" direction="out">
20 <tp:docstring>
21 An enum from MM_MODEM_CDMA_ACTIVATION_ERROR. This is
22 returned for immediate errors. Delayed errors are returned
23 via an ActivationStateChanged signal
24 </tp:docstring>
25 </arg>
17 </method> 26 </method>
18 27
19 <method name="ActivateManual"> 28 <method name="ActivateManual">
20 <tp:docstring> 29 <tp:docstring>
21 Sets modem configuration data. Unlike regular Activate(), 30 Sets modem configuration data. Unlike regular Activate(),
22 this does not contact the carrier. Some modems will reboot 31 this does not contact the carrier. Some modems will reboot
23 after this call is made. 32 after this call is made.
24 </tp:docstring> 33 </tp:docstring>
25 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 34 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
26 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual"/> 35 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual"/>
27 <arg name="properties" type="a{sv}" direction="in"> 36 <arg name="properties" type="a{sv}" direction="in">
28 <tp:docstring> 37 <tp:docstring>
29 A dictionary of properties to set on the modem. Keys include 'mdn', ' min' 38 A dictionary of properties to set on the modem. Keys include 'mdn', ' min'
30 </tp:docstring> 39 </tp:docstring>
31 </arg> 40 </arg>
32 </method> 41 </method>
33 42
34 <method name="ActivateManualDebug"> 43 <method name="ActivateManualDebug">
35 <tp:docstring> 44 <tp:docstring>
36 Workaround for the fact that dbus-send cannot send 45 Workaround for the fact that dbus-send cannot send
37 dictionaries of variants. Calls ActivateManual, with 46 dictionaries of variants. Calls ActivateManual, with
38 system_id converted to int. 47 system_id converted to int.
39 </tp:docstring> 48 </tp:docstring>
40 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 49 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
41 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual_debug"/> 50 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_activate_manual_debug"/>
42 <arg name="properties" type="a{ss}" direction="in"> 51 <arg name="properties" type="a{ss}" direction="in">
43 <tp:docstring> 52 <tp:docstring>
44 Same as ActivateManual 53 Same as ActivateManual
45 </tp:docstring> 54 </tp:docstring>
46 </arg> 55 </arg>
47 </method> 56 </method>
48 57
58 <signal name="ActivationStateChanged">
59 <tp:docstring>
60 The device activation state changed.
61 </tp:docstring>
62 <arg name="activation_state" type="u" tp:type="MM_MODEM_CDMA_ACTIVATION_ST ATE">
63 <tp:docstring>Current activation state</tp:docstring>
64 </arg>
65 <arg name="activation_error" type="u" tp:type="MM_MODEM_CDMA_ACTIVATION_ER ROR">
66 <tp:docstring>Carrier-specific error code</tp:docstring>
67 </arg>
68 <arg name="status_changes" type="a{sv}">
69 <tp:docstring>Selected Modem.Simple.GetStatus keys that have changed as a
70 result of this activation state change. Will include 'mdn'
71 and 'min'.
72 </tp:docstring>
73 </arg>
74 </signal>
75
49 <method name="GetSignalQuality"> 76 <method name="GetSignalQuality">
50 <tp:docstring> 77 <tp:docstring>
51 Get the current signal quality. 78 Get the current signal quality.
52 </tp:docstring> 79 </tp:docstring>
53 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 80 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
54 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_signal_quality"/> 81 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_signal_quality"/>
55 <arg name="quality" type="u" direction="out"> 82 <arg name="quality" type="u" direction="out">
56 <tp:docstring> 83 <tp:docstring>
57 Signal quality (percent). 84 Signal quality (percent).
58 </tp:docstring> 85 </tp:docstring>
(...skipping 30 matching lines...) Expand all
89 <tp:docstring> 116 <tp:docstring>
90 The signal quality changed. 117 The signal quality changed.
91 </tp:docstring> 118 </tp:docstring>
92 <arg name="quality" type="u"> 119 <arg name="quality" type="u">
93 <tp:docstring> 120 <tp:docstring>
94 The new quality in percent, 0..100. 121 The new quality in percent, 0..100.
95 </tp:docstring> 122 </tp:docstring>
96 </arg> 123 </arg>
97 </signal> 124 </signal>
98 125
99 <signal name="ActivationCompleted">
100 <tp:docstring>
101 Send a notification that activation of the modem has completed.
102 </tp:docstring>
103 <arg name="activated" type="b">
104 <tp:docstring>
105 True if succeeded, false if failed.
106 </tp:docstring>
107 </arg>
108 </signal>
109
110 <method name="GetRegistrationState"> 126 <method name="GetRegistrationState">
111 <tp:docstring>Get device registration state.</tp:docstring> 127 <tp:docstring>Get device registration state.</tp:docstring>
112 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/> 128 <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
113 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_registration_state"/> 129 <annotation name="org.freedesktop.DBus.GLib.CSymbol" value="impl_modem_cdm a_get_registration_state"/>
114 <arg name="cdma_1x_state" type="u" direction="out" tp:type="MM_MODEM_CDMA_ REGISTRATION_STATE"> 130 <arg name="cdma_1x_state" type="u" direction="out" tp:type="MM_MODEM_CDMA_ REGISTRATION_STATE">
115 <tp:docstring>CDMA 1x registration state.</tp:docstring> 131 <tp:docstring>CDMA 1x registration state.</tp:docstring>
116 </arg> 132 </arg>
117 <arg name="evdo_state" type="u" direction="out" tp:type="MM_MODEM_CDMA_REG ISTRATION_STATE"> 133 <arg name="evdo_state" type="u" direction="out" tp:type="MM_MODEM_CDMA_REG ISTRATION_STATE">
118 <tp:docstring>EVDO registration state.</tp:docstring> 134 <tp:docstring>EVDO registration state.</tp:docstring>
119 </arg> 135 </arg>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 <tp:enumvalue suffix="ACTIVATING" value="1"> 175 <tp:enumvalue suffix="ACTIVATING" value="1">
160 <tp:docstring>Device is activating</tp:docstring> 176 <tp:docstring>Device is activating</tp:docstring>
161 </tp:enumvalue> 177 </tp:enumvalue>
162 <tp:enumvalue suffix="PARTIALLY_ACTIVATED" value="2"> 178 <tp:enumvalue suffix="PARTIALLY_ACTIVATED" value="2">
163 <tp:docstring>Device is partially activated; carrier-specific steps requ ired to continue.</tp:docstring> 179 <tp:docstring>Device is partially activated; carrier-specific steps requ ired to continue.</tp:docstring>
164 </tp:enumvalue> 180 </tp:enumvalue>
165 <tp:enumvalue suffix="ACTIVATED" value="3"> 181 <tp:enumvalue suffix="ACTIVATED" value="3">
166 <tp:docstring>Device is ready for use.</tp:docstring> 182 <tp:docstring>Device is ready for use.</tp:docstring>
167 </tp:enumvalue> 183 </tp:enumvalue>
168 </tp:enum> 184 </tp:enum>
185
186 <tp:enum name="MM_MODEM_CDMA_ACTIVATION_ERROR" type="u">
187 <tp:enumvalue suffix="NO_ERROR" value="0"/>
188 <tp:enumvalue suffix="ROAMING" value="1">
189 <tp:docstring>
190 Device cannot activate while roaming.
191 </tp:docstring>
192 </tp:enumvalue>
193 <tp:enumvalue suffix="WRONG_RADIO_INTERFACE" value="2">
194 <tp:docstring>
195 Device cannot activate on this network type (eg EVDO vs 1xRTT).
196 </tp:docstring>
197 </tp:enumvalue>
198 <tp:enumvalue suffix="COULD_NOT_CONNECT" value="3">
199 <tp:docstring>
200 Device could not connect to the network for activation.
201 </tp:docstring>
202 </tp:enumvalue>
203 <tp:enumvalue suffix="SECURITY_AUTHENTICATION_FAILED" value="4">
204 <tp:docstring>
205 Device could not authenticate to the network for activation.
206 </tp:docstring>
207 </tp:enumvalue>
208 <tp:enumvalue suffix="PROVISIONING_FAILED" value="5">
209 <tp:docstring>
210 Later stages of device provisioning failed.
211 </tp:docstring>
212 </tp:enumvalue>
213 <tp:enumvalue suffix="NO_SIGNAL" value="6">
214 <tp:docstring>
215 No signal available.
216 </tp:docstring>
217 </tp:enumvalue>
218 <tp:enumvalue suffix="UNKNOWN" value="7">
219 <tp:docstring>
220 An error occurred.
221 </tp:docstring>
222 </tp:enumvalue>
223 <tp:enumvalue suffix="TIMED_OUT" value="8">
224 <tp:docstring>
225 Activation timed out.
226 </tp:docstring>
227 </tp:enumvalue>
228 <tp:enumvalue suffix="START_FAILED" value="9">
229 <tp:docstring>
230 API call for initial activation failed.
231 </tp:docstring>
232 </tp:enumvalue>
233 </tp:enum>
169 </interface> 234 </interface>
170 </node> 235 </node>
171
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698