/external/autotest/client/site_tests/network_LTEActivate/ |
D | network_LTEActivate.py | 236 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/ |
D | report_test.py | 104 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/ |
D | firmware_TypeCCharging.py | 45 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/ |
D | network_CDMAActivate.py | 193 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/ |
D | network_WiFi_Powersave.py | 23 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/ |
D | rpm_controller.py | 730 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/ |
D | power_x86Settings.py | 138 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/ |
D | power_ARMSettings.py | 64 expected_state = 'off' 66 expected_state = 'on' 70 if match and match.group(1) == expected_state:
|
/external/autotest/client/site_tests/network_ChromeCellularSmokeTest/ |
D | network_ChromeCellularSmokeTest.py | 51 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/ |
D | network_3GRecoverFromGobiDesync.py | 269 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/ |
D | network_3GModemControl.py | 167 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/ |
D | webrtcsession_unittest.cc | 881 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()
|