OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:expected_state
(Results
1 - 13
of
13
) sorted by null
/external/autotest/server/site_tests/network_WiFi_Powersave/
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/client/site_tests/network_CDMAActivate/
network_CDMAActivate.py
193
def check_modem_state(self,
expected_state
, timeout=MODEM_STATE_TIMEOUT):
197
@param
expected_state
: The modem state the modem is expected to be in.
201
transition to |
expected_state
| within |timeout|.
205
modem.wait_for_states([
expected_state
], timeout_seconds=timeout)
208
def check_service_activation_state(self,
expected_state
):
213
@param
expected_state
: The activation state the service is expected to
216
activation state doesn't match |
expected_state
| within timeout.
222
[
expected_state
],
227
'\'%s\'.' % (
expected_state
, state))
/external/autotest/client/site_tests/network_LTEActivate/
network_LTEActivate.py
236
def EnsureModemStateReached(self,
expected_state
, timeout):
238
Asserts that the underlying modem state becomes |
expected_state
| within
241
@param
expected_state
: The expected modem state.
246
lambda: self.GetModemState() ==
expected_state
,
249
mm1_constants.ModemStateToString(
expected_state
)),
253
def CheckServiceActivationState(self,
expected_state
):
255
Asserts that the service activation state matches |
expected_state
|
258
@param
expected_state
: The expected service activation state.
262
expected_state
)
267
[
expected_state
],
[
all
...]
/external/autotest/server/site_tests/firmware_TypeCCharging/
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/chromium-trace/catapult/dashboard/dashboard/
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/client/site_tests/network_ChromeCellularSmokeTest/
network_ChromeCellularSmokeTest.py
51
def _assert_modem_state(self,
expected_state
):
53
if modem_state !=
expected_state
:
56
mm1_constants.ModemStateToString(
expected_state
) +
/external/autotest/client/site_tests/power_ARMSettings/
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_3GModemControl/
network_3GModemControl.py
167
def CompareModemPowerState(self, modem,
expected_state
):
169
return modem.IsEnabled() ==
expected_state
171
def CompareDevicePowerState(self, device,
expected_state
):
176
return state ==
expected_state
/external/autotest/client/site_tests/network_3GRecoverFromGobiDesync/
network_3GRecoverFromGobiDesync.py
269
def CompareModemPowerState(self, modem,
expected_state
):
274
return state ==
expected_state
276
def CompareDevicePowerState(self, device,
expected_state
):
281
return state ==
expected_state
/external/autotest/client/site_tests/power_x86Settings/
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/site_utils/rpm_control_system/
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
):
753
if
expected_state
not in state:
755
' %s', powerunit_info.device_hostname,
expected_state
)
[
all
...]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
bt_gatt_utils.py
78
expected_state
= GattConnectionState.STATE_DISCONNECTED.value
79
if found_state !=
expected_state
:
/external/webrtc/talk/app/webrtc/
webrtcsession_unittest.cc
1419
WebRtcSessionCreateSDPObserverForTest::State
expected_state
=
local
[
all
...]
Completed in 291 milliseconds