OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:_modem
(Results
1 - 17
of
17
) sorted by null
/external/autotest/client/cros/cellular/pseudomodem/
disable_machine.py
26
assert self.
_modem
.connect_step is None
30
self.
_modem
.Disconnect(mm1_constants.ROOT_PATH, DisableMachine.Step,
37
assert self.
_modem
.connect_step
39
self.
_modem
.connect_step.Cancel()
45
assert self.
_modem
.disconnect_step
53
assert not self.
_modem
.IsPendingRegister()
54
assert not self.
_modem
.IsPendingEnable()
55
assert not self.
_modem
.IsPendingConnect()
56
assert not self.
_modem
.IsPendingDisconnect()
57
self.
_modem
.UnregisterWithNetwork(
[
all
...]
connect_machine.py
32
state = self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
36
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_REGISTERED,
38
elif self.enable_initiated and self.
_modem
.enable_step:
39
self.
_modem
.enable_step.Cancel()
40
self.
_modem
.connect_step = None
45
assert not self.
_modem
.IsPendingEnable()
50
self.
_modem
.connect_step = None
57
self.
_modem
.Enable(True)
66
assert self.
_modem
.IsPendingEnable()
80
self.
_modem
.connect_step = Non
[
all
...]
register_machine.py
30
state = self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
34
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED,
36
self.
_modem
.SetRegistrationState(
38
self.
_modem
.register_step = None
49
self.
_modem
.SetRegistrationState(
53
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_SEARCHING, reason)
56
self._networks = self.
_modem
.SyncScan()
58
self.
_modem
.register_step = None
60
self.
_modem
.ChangeState(
63
self.
_modem
.SetRegistrationState
[
all
...]
register_cdma_machine.py
26
state = self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
30
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED,
32
self.
_modem
.SetRegistrationState(
34
self.
_modem
.register_step = None
53
self.
_modem
.ChangeState(
61
network = self.
_modem
.GetHomeNetwork()
65
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED,
72
self.
_modem
.register_step = None
78
self.
_modem
.SetRegistered(network)
79
self.
_modem
.ChangeState
[
all
...]
disconnect_machine.py
31
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_DISCONNECTING,
38
assert not self.
_modem
.IsPendingConnect()
39
assert not self.
_modem
.IsPendingEnable()
40
assert not self.
_modem
.IsPendingRegister()
45
for bearer in self.
_modem
.active_bearers.keys():
46
self.
_modem
.DeactivateBearer(bearer)
48
self.
_modem
.DeactivateBearer(self.bearer_path)
57
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_REGISTERED,
59
self.
_modem
.disconnect_step = None
75
if (self.
_modem
.disconnect_step an
[
all
...]
enable_machine.py
28
state = self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
32
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_DISABLED,
34
self.
_modem
.enable_step = None
41
assert self.
_modem
.disable_step is None
42
assert self.
_modem
.disconnect_step is None
44
self.
_modem
.SetUInt32(mm1_constants.I_MODEM, 'PowerState',
48
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLING, reason)
53
assert self.
_modem
.disable_step is None
54
assert self.
_modem
.disconnect_step is None
57
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_ENABLED, reason
[
all
...]
testing.py
24
self.
_modem
= modem
45
return { pm_constants.I_TESTING: { 'Modem': self.
_modem
.path } }
58
self.
_modem
.sms_handler.receive_sms(text, sender)
72
if mm1_constants.I_MODEM_3GPP in self.
_modem
.properties:
73
self.
_modem
.AssignPcoValue(pco_value)
93
if mm1_constants.I_MODEM_3GPP in self.
_modem
.properties:
94
self.
_modem
.AssignSubscriptionState(unregistered_subscription_state,
connect_cdma_machine.py
20
assert not self.
_modem
.IsPendingDisconnect()
21
assert not self.
_modem
.IsPendingEnable()
22
assert not self.
_modem
.IsPendingDisable()
23
assert not self.
_modem
.IsPendingRegister()
28
network = self.
_modem
.GetHomeNetwork()
38
self.
_modem
.ChangeState(mm1_constants.MM_MODEM_STATE_CONNECTING,
cdma_activate_machine.py
30
state = self.
_modem
.Get(mm1_constants.I_MODEM_CDMA, 'ActivationState')
40
self.
_modem
.ChangeActivationState(
44
self.
_modem
.cdma_activate_step = None
62
state = self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
71
state = self.
_modem
.Get(mm1_constants.I_MODEM_CDMA, 'ActivationState')
85
self.
_modem
.ChangeActivationState(
97
self.
_modem
.ChangeActivationState(
100
self.
_modem
.Reset()
101
self.
_modem
.cdma_activate_step = None
115
if self.
_modem
.cdma_activate_step and
[
all
...]
pseudomodem.py
61
self.
_modem
= None
101
self._manager.Remove(self.
_modem
)
126
if not self.
_modem
and not self._state_machine_factory:
139
if not self.
_modem
:
152
self.
_modem
= modem_3gpp.Modem3gpp(
157
self.
_modem
= modem_cdma.ModemCdma(
165
self.
_modem
.SetBus(self._bus) # Also sets it on StateMachineFactory.
166
self._manager.Add(self.
_modem
)
172
self.
_modem
.SetSIM(self._sim)
175
self._testing_object = testing.Testing(self.
_modem
, self._bus
[
all
...]
sim.py
143
self.
_modem
= None
229
return self.
_modem
241
self.
_modem
= modem
306
self.
_modem
.UpdateLockStatus()
351
self.
_modem
.UpdateLockStatus()
352
self.
_modem
.Expose3GPPProperties()
386
self.
_modem
.UpdateLockStatus()
387
self.
_modem
.Expose3GPPProperties()
sms_handler.py
34
self.
_modem
= modem
167
self.
_modem
.Added(dbus.types.ObjectPath(sms_object.path), True)
state_machine.py
44
self.
_modem
= modem
273
return self.
_modem
.Get(mm1_constants.I_MODEM, 'State')
/external/autotest/client/cros/networking/
mm1_proxy.py
175
self.
_modem
= self._bus.get_object(mm1_constants.I_MODEM_MANAGER, path)
181
return self.
_modem
187
return dbus.Interface(self.
_modem
, mm1_constants.I_MODEM)
193
return dbus.Interface(self.
_modem
, mm1_constants.I_MODEM_SIMPLE)
199
return dbus.Interface(self.
_modem
, mm1_constants.I_MODEM_3GPP)
205
return dbus.Interface(self.
_modem
, mm1_constants.I_MODEM_CDMA)
211
return dbus.Interface(self.
_modem
, dbus.PROPERTIES_IFACE)
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/
network_ChromeCellularSmokeTest.py
31
self.
_modem
= pseudomm.get_modem()
35
props = self.
_modem
.properties(mm1_constants.I_MODEM)
/external/autotest/client/site_tests/network_ChromeCellularNetworkProperties/
network_ChromeCellularNetworkProperties.py
133
self.
_modem
= mm1_proxy.ModemManager1Proxy.get_proxy().get_modem()
140
self.
_modem
.iface_properties.Set(self._mm_iface, prop,
155
self.
_modem
.iface_properties.Set(self._mm_iface, mm_prop,
/external/autotest/client/site_tests/network_3GScanningProperty/files/
modems.py
40
self.
_modem
.DoScan()
Completed in 2747 milliseconds