Searched refs:mm1_constants (Results 1 - 25 of 39) sorted by relevance

12

/external/autotest/client/cros/cellular/pseudomodem/
H A Dmodem_3gpp.py14 from autotest_lib.client.cros.cellular import mm1_constants namespace
79 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN)
81 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_PROVISIONED)
86 props = ip[mm1_constants.I_MODEM]
89 ip[mm1_constants.I_MODEM_3GPP] = props3gpp
91 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_GSM_UMTS),
92 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_LTE),
94 mm1_constants.MM_MODEM_CAPABILITY_GSM_UMTS |
95 mm1_constants.MM_MODEM_CAPABILITY_LTE)
98 mm1_constants
[all...]
H A Dmessaging.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
25 @dbus.service.method(mm1_constants.I_MODEM_MESSAGING, out_signature='ao')
40 @dbus.service.method(mm1_constants.I_MODEM_MESSAGING, in_signature='o')
54 @dbus.service.method(mm1_constants.I_MODEM_MESSAGING,
69 @dbus.service.signal(mm1_constants.I_MODEM_MESSAGING, signature='ob')
88 @dbus.service.signal(mm1_constants.I_MODEM_MESSAGING, signature='o')
103 @dbus.service.signal(mm1_constants.I_MODEM_MESSAGING, signature='o')
H A Dregister_cdma_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
26 state = self._modem.Get(mm1_constants.I_MODEM, 'State')
27 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
28 if state == mm1_constants.MM_MODEM_STATE_SEARCHING:
30 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED,
33 mm1_constants.MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN)
43 mm1_constants.MM_MODEM_STATE_ENABLED:
45 mm1_constants.MM_MODEM_STATE_SEARCHING:
54 mm1_constants.MM_MODEM_STATE_SEARCHING,
55 mm1_constants
[all...]
H A Denable_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
28 state = self._modem.Get(mm1_constants.I_MODEM, 'State')
29 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
30 if state == mm1_constants.MM_MODEM_STATE_ENABLING:
32 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_DISABLED,
44 self._modem.SetUInt32(mm1_constants.I_MODEM, 'PowerState',
45 mm1_constants.MM_MODEM_POWER_STATE_ON)
47 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
48 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLING, reason)
56 reason = mm1_constants
[all...]
H A Ddisable_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
30 self._modem.Disconnect(mm1_constants.ROOT_PATH, DisableMachine.Step,
59 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
60 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_DISABLING, reason)
80 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
81 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_DISABLING, reason)
92 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
93 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_DISABLED, reason)
102 mm1_constants.MM_MODEM_STATE_CONNECTED:
104 mm1_constants
[all...]
H A Dmodem_cdma.py13 from autotest_lib.client.cros.cellular import mm1_constants namespace
77 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED
80 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED
81 ip[mm1_constants.I_MODEM_CDMA] = {
88 mm1_constants.MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN)),
91 mm1_constants.MM_MODEM_CDMA_REGISTRATION_STATE_UNKNOWN)),
94 props = ip[mm1_constants.I_MODEM]
96 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO)
99 dbus.types.UInt32(mm1_constants.MM_MODEM_CAPABILITY_CDMA_EVDO))
102 props['EquipmentIdentifier'] = ip[mm1_constants
[all...]
H A Dbearer.py11 from autotest_lib.client.cros.cellular import mm1_constants namespace
28 path = '%s/Bearer/%d' % (mm1_constants.MM1, Bearer.count)
40 return { mm1_constants.I_BEARER: props }
44 self._properties[mm1_constants.I_BEARER][property_key] = None
49 self._properties[mm1_constants.I_BEARER].pop(property_key)
73 @dbus.service.method(mm1_constants.I_BEARER)
93 if ip_family and ip_family >= mm1_constants.MM_BEARER_IP_FAMILY_IPV6:
99 self.Set(mm1_constants.I_BEARER, config_prop, {
100 'method': dbus.types.UInt32(mm1_constants.MM_BEARER_IP_METHOD_DHCP,
104 self.Set(mm1_constants
[all...]
H A Dmodem_simple.py7 from autotest_lib.client.cros.cellular import mm1_constants namespace
20 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE,
57 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE, in_signature='o',
80 @dbus.service.method(mm1_constants.I_MODEM_SIMPLE, out_signature='a{sv}')
H A Dmodemmanager.py12 from autotest_lib.client.cros.cellular import mm1_constants namespace
19 dbus_std_ifaces.DBusObjectManager.__init__(self, bus, mm1_constants.MM1)
24 @dbus.service.method(mm1_constants.I_MODEM_MANAGER)
36 @dbus.service.method(mm1_constants.I_MODEM_MANAGER, in_signature='s')
H A Dsim.py14 from autotest_lib.client.cros.cellular import mm1_constants namespace
120 path = mm1_constants.MM1 + '/SIM/' + str(index)
128 mm1_constants.MM_MODEM_LOCK_SIM_PIN : {
132 mm1_constants.MM_MODEM_LOCK_SIM_PUK : {
140 self._lock_type = mm1_constants.MM_MODEM_LOCK_SIM_PIN
142 self._lock_type = mm1_constants.MM_MODEM_LOCK_NONE
161 path = mm1_constants.MM1 + '/SIM/' + str(self._index)
170 self._lock_type = mm1_constants.MM_MODEM_LOCK_SIM_PIN
212 return mm1_constants.MM_MODEM_3GPP_FACILITY_SIM
213 return mm1_constants
[all...]
H A Dregister_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
30 state = self._modem.Get(mm1_constants.I_MODEM, 'State')
31 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
32 if state == mm1_constants.MM_MODEM_STATE_SEARCHING:
34 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED,
37 mm1_constants.MM_MODEM_3GPP_REGISTRATION_STATE_IDLE)
50 mm1_constants.MM_MODEM_3GPP_REGISTRATION_STATE_SEARCHING)
52 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
53 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_SEARCHING, reason)
61 mm1_constants
[all...]
H A Dmodem.py23 from autotest_lib.client.cros.cellular import mm1_constants namespace
56 device_port_type=mm1_constants.MM_MODEM_PORT_TYPE_AT,
67 mm1_constants.py.
81 mm1_constants.MM1 + '/Modem/' + str(index), bus, config)
116 mm1_constants.MM_MODEM_PORT_TYPE_NET)],
121 dbus.types.UInt32(mm1_constants.MM_MODEM_LOCK_NONE),
123 'State' : dbus.types.Int32(mm1_constants.MM_MODEM_STATE_DISABLED),
129 dbus.types.UInt32(mm1_constants.MM_MODEM_POWER_STATE_ON),
131 dbus.types.UInt32(mm1_constants.MM_BEARER_IP_FAMILY_ANY),
136 [dbus.types.UInt32(mm1_constants
[all...]
H A Dcdma_activate_machine.py11 from autotest_lib.client.cros.cellular import mm1_constants namespace
30 state = self._modem.Get(mm1_constants.I_MODEM_CDMA, 'ActivationState')
33 if state == mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED:
41 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED,
62 state = self._modem.Get(mm1_constants.I_MODEM, 'State')
64 mm1_constants.ModemStateToString(state)
71 state = self._modem.Get(mm1_constants.I_MODEM_CDMA, 'ActivationState')
72 if state == mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED:
74 if state == mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATING:
86 mm1_constants
[all...]
H A Dconnect_cdma_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
37 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
38 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_CONNECTING,
45 fmap[mm1_constants.MM_MODEM_STATE_REGISTERED] = \
H A Dsms_handler.py12 from autotest_lib.client.cros.cellular import mm1_constants namespace
157 sms_object.Set(mm1_constants.I_SMS, 'Timestamp', timestamp)
158 sms_object.Set(mm1_constants.I_SMS, 'DischargeTimestamp', timestamp)
161 sms_object.Set(mm1_constants.I_SMS, 'State',
162 mm1_constants.MM_SMS_STATE_RECEIVED)
163 sms_object.Set(mm1_constants.I_SMS, 'PduType',
164 mm1_constants.MM_SMS_PDU_TYPE_DELIVER)
H A Dsms.py9 from autotest_lib.client.cros.cellular import mm1_constants namespace
46 path = mm1_constants.SMS_PATH + '/' + str(cls._sms_index)
84 props['State'] = dbus.types.UInt32(mm1_constants.MM_SMS_STATE_UNKNOWN)
86 mm1_constants.MM_SMS_PDU_TYPE_UNKNOWN)
94 mm1_constants.MM_SMS_VALIDITY_TYPE_UNKNOWN),
103 dbus.types.UInt32(mm1_constants.MM_SMS_STORAGE_UNKNOWN))
114 return { mm1_constants.I_SMS: props }
119 @dbus.service.method(mm1_constants.I_SMS)
127 @dbus.service.method(mm1_constants.I_SMS, in_signature='u')
H A Dconnect_machine.py11 from autotest_lib.client.cros.cellular import mm1_constants namespace
32 state = self._modem.Get(mm1_constants.I_MODEM, 'State')
33 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
34 if state == mm1_constants.MM_MODEM_STATE_CONNECTING:
36 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_REGISTERED,
108 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
109 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_CONNECTING,
150 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
151 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_CONNECTED,
161 mm1_constants
[all...]
H A Ddisconnect_machine.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
30 reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
31 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_DISCONNECTING,
42 dc_reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_USER_REQUESTED
44 if self.bearer_path == mm1_constants.ROOT_PATH:
51 dc_reason = mm1_constants.MM_MODEM_STATE_CHANGE_REASON_UNKNOWN
57 self._modem.ChangeState(mm1_constants.MM_MODEM_STATE_REGISTERED,
67 mm1_constants.MM_MODEM_STATE_CONNECTED:
69 mm1_constants.MM_MODEM_STATE_DISCONNECTING:
86 state = self._modem.Get(mm1_constants
[all...]
/external/autotest/client/cros/networking/
H A Dmm1_proxy.py14 from autotest_lib.client.cros.cellular import mm1_constants namespace
19 e.get_dbus_name() in [mm1_constants.DBUS_SERVICE_UNKNOWN,
20 mm1_constants.DBUS_UNKNOWN_METHOD,
21 mm1_constants.DBUS_UNKNOWN_OBJECT,
22 mm1_constants.DBUS_UNKNOWN_INTERFACE])
89 self._bus.get_object(mm1_constants.I_MODEM_MANAGER,
90 mm1_constants.MM1),
91 mm1_constants.I_MODEM_MANAGER)
120 self._bus.get_object(mm1_constants.I_MODEM_MANAGER,
121 mm1_constants
[all...]
/external/autotest/client/site_tests/network_ChromeCellularNetworkProperties/
H A Dnetwork_ChromeCellularNetworkProperties.py10 from autotest_lib.client.cros.cellular import mm1_constants namespace
170 'values': [(mm1_constants.
173 (mm1_constants.
176 (mm1_constants.
179 (mm1_constants.
183 mm1_constants.I_MODEM,
198 mm1_constants.I_MODEM_3GPP),
203 'values': [(mm1_constants.
206 (mm1_constants.
210 mm1_constants
[all...]
/external/autotest/client/site_tests/cellular_OutOfCreditsSubscriptionState/
H A Dcellular_OutOfCreditsSubscriptionState.py11 from autotest_lib.client.cros.cellular import mm1_constants namespace
35 mm1_constants.I_MODEM,
36 mm1_constants.MM_MODEM_PROPERTY_NAME_PLUGIN,
39 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNKNOWN,
44 self.modem.wait_for_states([mm1_constants.MM_MODEM_STATE_REGISTERED,
45 mm1_constants.MM_MODEM_STATE_CONNECTED])
57 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_PROVISIONED)
71 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_OUT_OF_DATA)
85 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_PROVISIONED)
90 mm1_constants
[all...]
/external/autotest/client/site_tests/network_LTEActivate/files/
H A Dmodems.py9 from autotest_lib.client.cros.cellular import mm1_constants namespace
38 mm1_constants.MM_MODEM_3GPP_SUBSCRIPTION_STATE_UNPROVISIONED)
43 modem_props = props[mm1_constants.I_MODEM]
46 mm1_constants.MM_MODEM_ACCESS_TECHNOLOGY_LTE)
48 mm1_constants.MM_MODEM_CAPABILITY_LTE)
50 mm1_constants.MM_MODEM_CAPABILITY_LTE)
99 mm1_constants.MM_MODEM_ACCESS_TECHNOLOGY_LTE,
/external/autotest/client/site_tests/network_3GScanningProperty/
H A Dnetwork_3GScanningProperty.py13 from autotest_lib.client.cros.cellular import mm1_constants namespace
45 self._bus.get_object(mm1_constants.I_MODEM_MANAGER,
46 mm1_constants.MM1),
47 mm1_constants.I_OBJECT_MANAGER)
58 modem_object = self._bus.get_object(mm1_constants.I_MODEM_MANAGER,
62 modem_object.GetAll(mm1_constants.I_MODEM,
63 dbus_interface=mm1_constants.I_PROPERTIES)
68 return dbus.Interface(modem_object, mm1_constants.I_MODEM)
82 properties = modem.GetAll(mm1_constants.I_MODEM,
83 dbus_interface=mm1_constants
[all...]
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/
H A Dnetwork_ChromeCellularSmokeTest.py9 from autotest_lib.client.cros.cellular import mm1_constants namespace
35 props = self._modem.properties(mm1_constants.I_MODEM)
36 return props[mm1_constants.MM_MODEM_PROPERTY_NAME_STATE]
56 mm1_constants.ModemStateToString(expected_state) +
58 mm1_constants.ModemStateToString(modem_state))
79 self._assert_modem_state(mm1_constants.MM_MODEM_STATE_REGISTERED)
96 self._assert_modem_state(mm1_constants.MM_MODEM_STATE_CONNECTED)
/external/autotest/client/site_tests/network_CDMAActivate/
H A Dnetwork_CDMAActivate.py13 from autotest_lib.client.cros.cellular import mm1_constants namespace
46 mm1_constants.I_MODEM_CDMA,
53 return modem.properties(mm1_constants.I_MODEM_CDMA)['ActivationState']
82 self.test.check_modem_state(mm1_constants.MM_MODEM_STATE_REGISTERED)
89 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_NOT_ACTIVATED)
94 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATING)
98 st = mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_PARTIALLY_ACTIVATED
104 mm1_constants.MM_MODEM_CDMA_ACTIVATION_STATE_ACTIVATED)
123 self.test.check_modem_state(mm1_constants.MM_MODEM_STATE_REGISTERED)
157 self.test.check_modem_state(mm1_constants
[all...]

Completed in 1194 milliseconds

12