Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/cellular_ActivateLTE/
Dcellular_ActivateLTE.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/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/cellular_ActivateCDMA/
Dcellular_ActivateCDMA.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.py24 expected_state = 'enabled' if should_be_on else 'disabled'
27 'was not.' % expected_state)
29 logging.debug('Power save is indeed %s.', expected_state)
/external/autotest/site_utils/rpm_control_system/
Drpm_controller.py725 expected_state = new_state
735 expected_state = self.NEW_STATE_ON
743 return self._is_plug_state(powerunit_info, expected_state)
746 def _is_plug_state(self, powerunit_info, expected_state): argument
748 if expected_state not in state:
750 ' %s', powerunit_info.device_hostname, expected_state)
887 def _verify_state(self, interface, expected_state, ssh): argument
906 expected_state = (self.PORT_UP if expected_state == self.NEW_STATE_ON
916 if state == expected_state:
/external/autotest/server/site_tests/firmware_Cr50CCDServoCap/
Dfirmware_Cr50CCDServoCap.py228 for i, expected_state in enumerate(expected_states):
230 if expected_state == None:
234 if not self.state_matches(ccdstate, name, expected_state):
236 self.STATUS_MAP[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/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
DesextcTextureCubeMapArrayFBOIncompleteness.cpp67 glw::GLboolean TextureCubeMapArrayFBOIncompleteness::checkState(glw::GLint expected_state, const ch… in checkState() argument
74 if (fbo_completeness != (glw::GLuint)expected_state) in checkState()
77 << glu::getErrorStr(expected_state) in checkState()
/external/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
Dkalman_filter_test.py163 expected_state, expected_state_var): argument
180 self.assertAllClose(expected_state,
195 expected_state=numpy.array([[0.5]]),
205 expected_state=numpy.array([[0.5]]),
215 expected_state=numpy.array([[2., 1.]]),
229 expected_state=numpy.array([[2., .1, .03]]),
Dfiltering_postprocessor_test.py61 expected_state = [[[80.], [20.]],
65 for interpolated, expected in zip(interpolated_state, expected_state):
/external/ltp/testcases/kernel/controllers/freezer/
Dlibcgroup_freezer395 local expected_state="$2"
399 [ $rc -eq 0 -a "$ps_state" == "${expected_state}" ] && return 0
402 tst_resm ${LIB_TEST_STATE} "Expected task ${task_pid} to be in state \"${expected_state}\""
412 local expected_state="$2"
416 [ $rc -eq 0 -a "$ps_state" != "${expected_state}" ] && return 0
419 tst_resm ${LIB_TEST_STATE} "Expected task ${task_pid} to not be in state \"${expected_state}\""
/external/autotest/client/site_tests/cellular_GobiRecoverFromDesync/
Dcellular_GobiRecoverFromDesync.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/cellular_ModemControl/
Dcellular_ModemControl.py169 def CompareModemPowerState(self, modem, expected_state): argument
171 return modem.IsEnabled() == expected_state
173 def CompareDevicePowerState(self, device, expected_state): argument
178 return state == expected_state
/external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
Drnn_cell_test.py375 expected_state = np.array(
398 self.assertAllClose(res[1], expected_state)
555 expected_state = np.array(
603 self.assertAllClose(res[1], expected_state)
611 self.assertAllClose(np.concatenate(res[1], axis=1), expected_state)
639 expected_state = np.array(
691 self.assertAllClose(np.concatenate(res[1], axis=1), expected_state)
719 expected_state = np.array(
772 self.assertAllClose(np.concatenate(res[1], axis=1), expected_state)
911 expected_state = np.array(
[all …]
/external/deqp/external/openglcts/modules/common/
DglcKHRDebugTests.hpp325 void inspectDebugState(glw::GLboolean expected_state, glw::GLDEBUGPROC expected_callback,
DglcKHRDebugTests.cpp1813 void ReceivingMessagesTest::inspectDebugState(GLboolean expected_state, GLDEBUGPROC expected_callba… in inspectDebugState() argument
1820 if (expected_state != debug_state) in inspectDebugState()
1823 << ", expected " << expected_state << tcu::TestLog::EndMessage; in inspectDebugState()
/external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
Ddynamic_rnn_estimator_test.py322 expected_state = (rnn_cell.LSTMStateTuple(
353 _recursive_assert_equal(expected_state, actual_state_val)
/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()