Home
last modified time | relevance | path

Searched refs:expected_state (Results 1 – 12 of 12) sorted by relevance

/external/autotest/client/site_tests/network_LTEActivate/
Dnetwork_LTEActivate.py236 def EnsureModemStateReached(self, expected_state, timeout): argument
246 lambda: self.GetModemState() == expected_state,
249 mm1_constants.ModemStateToString(expected_state)),
253 def CheckServiceActivationState(self, expected_state): argument
262 expected_state)
267 [expected_state],
269 if not success and state != expected_state:
272 % (expected_state, state))
/external/chromium-trace/catapult/dashboard/dashboard/
Dreport_test.py104 expected_state = {
127 self.assertEqual(json.dumps(expected_state, separators=(',', ':')),
148 expected_state = {
167 self.assertEqual(json.dumps(expected_state, separators=(',', ':')),
188 expected_state = {
207 self.assertEqual(json.dumps(expected_state, separators=(',', ':')),
/external/autotest/server/site_tests/firmware_TypeCCharging/
Dfirmware_TypeCCharging.py45 expected_state = self.pd_console_utils.SRC_CONNECT
47 expected_state = self.pd_console_utils.SNK_CONNECT
49 if pd_state != expected_state:
51 (pd_state, expected_state))
/external/autotest/client/site_tests/network_CDMAActivate/
Dnetwork_CDMAActivate.py193 def check_modem_state(self, expected_state, timeout=MODEM_STATE_TIMEOUT): argument
205 modem.wait_for_states([expected_state], timeout_seconds=timeout)
208 def check_service_activation_state(self, expected_state): argument
222 [expected_state],
227 '\'%s\'.' % (expected_state, state))
/external/autotest/server/site_tests/network_WiFi_Powersave/
Dnetwork_WiFi_Powersave.py23 expected_state = 'enabled' if should_be_on else 'disabled'
26 'was not.' % expected_state)
28 logging.debug('Power save is indeed %s.', expected_state)
/external/autotest/site_utils/rpm_control_system/
Drpm_controller.py730 expected_state = new_state
740 expected_state = self.NEW_STATE_ON
748 return self._is_plug_state(powerunit_info, expected_state)
751 def _is_plug_state(self, powerunit_info, expected_state): argument
753 if expected_state not in state:
755 ' %s', powerunit_info.device_hostname, expected_state)
892 def _verify_state(self, interface, expected_state, ssh): argument
911 expected_state = (self.PORT_UP if expected_state == self.NEW_STATE_ON
921 if state == expected_state:
/external/autotest/client/site_tests/power_x86Settings/
Dpower_x86Settings.py138 expected_state = 'off'
140 expected_state = 'on'
144 if match and match.group(1) == expected_state:
155 expected_state = 'min_power'
173 if out == expected_state:
/external/autotest/client/site_tests/power_ARMSettings/
Dpower_ARMSettings.py64 expected_state = 'off'
66 expected_state = 'on'
70 if match and match.group(1) == expected_state:
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/
Dnetwork_ChromeCellularSmokeTest.py51 def _assert_modem_state(self, expected_state): argument
53 if modem_state != expected_state:
56 mm1_constants.ModemStateToString(expected_state) +
/external/autotest/client/site_tests/network_3GRecoverFromGobiDesync/
Dnetwork_3GRecoverFromGobiDesync.py269 def CompareModemPowerState(self, modem, expected_state): argument
274 return state == expected_state
276 def CompareDevicePowerState(self, device, expected_state): argument
281 return state == expected_state
/external/autotest/client/site_tests/network_3GModemControl/
Dnetwork_3GModemControl.py167 def CompareModemPowerState(self, modem, expected_state): argument
169 return modem.IsEnabled() == expected_state
171 def CompareDevicePowerState(self, device, expected_state): argument
176 return state == expected_state
/external/webrtc/talk/app/webrtc/
Dwebrtcsession_unittest.cc881 WebRtcSession::State expected_state) { in SetLocalDescriptionExpectState() argument
883 EXPECT_EQ(expected_state, session_->state()); in SetLocalDescriptionExpectState()
909 WebRtcSession::State expected_state) { in SetRemoteDescriptionExpectState() argument
911 EXPECT_EQ(expected_state, session_->state()); in SetRemoteDescriptionExpectState()
1419 WebRtcSessionCreateSDPObserverForTest::State expected_state = in VerifyMultipleAsyncCreateDescriptionAfterInit() local
1424 EXPECT_EQ_WAIT(expected_state, observers[i]->state(), 1000); in VerifyMultipleAsyncCreateDescriptionAfterInit()