Home | History | Annotate | Download | only in network_CDMAActivate

Lines Matching refs:modem

36         Restarts the pseudomodem with the modem object to be used for this
52 modem = self.pseudomm.get_modem()
53 return modem.properties(mm1_constants.I_MODEM_CDMA)['ActivationState']
81 # The modem state should be REGISTERED.
116 'test-modem-class' : 'UnactivatedCdmaModem'}
122 # The modem state should be REGISTERED.
134 # The modem should reset in 5 seconds. Wait 5 more seconds to make sure
149 'test-modem-class' : 'ActivationRetryModem',
150 'test-modem-arg' : [self.NUM_ACTIVATE_RETRIES]}
156 # The modem state should be REGISTERED.
169 # is happening because shill will reset the modem once the activation
171 modem = self.pseudomm.get_modem()
173 lambda: (modem.properties(I_ACTIVATION_TEST)['ActivateCount'] ==
179 # The modem should reset in 5 seconds. Wait 5 more seconds to make sure
188 activation process when shill accesses the modem via ModemManager.
195 Polls until the modem has the expected state within |timeout| seconds.
197 @param expected_state: The modem state the modem is expected to be in.
200 @raises pm_proxy.ModemManager1ProxyError if the modem doesn't
204 modem = pm_proxy.PseudoMMProxy.get_proxy().get_modem()
205 modem.wait_for_states([expected_state], timeout_seconds=timeout)
232 Resets the one and only modem in the DUT.
235 modem = self.test_env.shill.find_cellular_device_object()
236 self.test_env.shill.reset_modem(modem)