Home | History | Annotate | Download | only in network_LTEActivate

Lines Matching refs:modem

36         Makes the modem look like it has been activated to satisfy the test
43 modem = self.test.pseudomm.wait_for_modem(timeout_seconds=LONG_TIMEOUT)
44 modem.iface_properties.Set(mm1_constants.I_MODEM,
47 # Put the modem in the unknown subscription state so that the mdn value is
58 Configures the pseudomodem to run with the test modem, runs the test
67 """ Returns the name of the custom modem to use for this test. """
81 This test verifies that the modem resets after online payment.
94 # 'activating' and the modem should reset immediately.
106 case of a post-payment registration and the modem finally registers
120 # 'activating' and the modem should reset immediately.
135 as 'activated' when the modem is in unknown subscription state.
147 modem = self.test.pseudomm.get_modem()
148 modem.iface_properties.Set(mm1_constants.I_MODEM,
151 # Put the modem in the unknown subscription state so that the mdn value is
164 combined with a modem reset. The test checks that the
166 associated with it by simulating possible scenarios using the pseudo modem
173 """Returns the current ModemManager modem state."""
174 modem = self.pseudomm.get_modem()
175 props = modem.properties(mm1_constants.I_MODEM)
182 modem.
187 modem = self.pseudomm.get_modem()
188 if modem is None:
190 modem.iface_properties.Set(
196 def GetResetCalled(self, modem):
199 modem.
201 @param modem: Modem proxy to send the query to.
204 return modem.properties(I_ACTIVATION_TEST)['ResetCalled']
208 modem = self.pseudomm.get_modem()
209 if modem is None:
212 return self.GetResetCalled(modem) == expected_value
223 Checks that the ResetCalled property on the modem matches the expect
238 Asserts that the underlying modem state becomes |expected_state| within
241 @param expected_state: The expected modem state.
248 'Modem failed to reach state ' +
331 'test-modem-class' : test.TestModemClass(),