HomeSort by relevance Sort by last modified time
    Searched refs:expected_state (Results 1 - 19 of 19) sorted by null

  /device/google/cuttlefish_common/common/vsoc/lib/
lock_common.cpp 103 uint32_t expected_state = lock_uint32_; local
108 if ((marked_tid ^ expected_state) & OwnerMask) {
110 << expected_state; local
113 // expected_state updates on each failure. When this finishes we have
116 if (lock_uint32_.compare_exchange_strong(expected_state, LockFree)) {
120 if ((expected_state ^ marked_tid) & OwnerMask) {
122 << expected_state << " during unlock"; local
124 switch (expected_state & (GuestWaitingFlag | HostWaitingFlag)) {
158 uint32_t expected_state = lock_uint32_; local
162 if (expected_state == LockFree)
    [all...]
single_sided_signal.h 33 * Waits for a signal, assuming the the word at addr matches expected_state.
37 static void AwaitSignal(uint32_t expected_state, uint32_t* uaddr) {
38 syscall(SYS_futex, uaddr, FUTEX_WAIT, expected_state, nullptr, nullptr, 0);
  /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/autotest/server/site_tests/network_WiFi_Powersave/
network_WiFi_Powersave.py 24 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/client/site_tests/cellular_ActivateLTE/
cellular_ActivateLTE.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/client/site_tests/cellular_ActivateCDMA/
cellular_ActivateCDMA.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/tensorflow/tensorflow/contrib/timeseries/python/timeseries/state_space_models/
filtering_postprocessor_test.py 61 expected_state = [[[80.], [20.]],
65 for interpolated, expected in zip(interpolated_state, expected_state):
kalman_filter_test.py 163 expected_state, expected_state_var):
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]]),
  /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/deqp/external/openglcts/modules/glesext/texture_cube_map_array/
esextcTextureCubeMapArrayFBOIncompleteness.cpp 61 * @param expected_state Anticipated FBO completeness status;
67 glw::GLboolean TextureCubeMapArrayFBOIncompleteness::checkState(glw::GLint expected_state, const char* message)
74 if (fbo_completeness != (glw::GLuint)expected_state)
77 << glu::getErrorStr(expected_state)
  /external/autotest/server/site_tests/firmware_Cr50CCDServoCap/
firmware_Cr50CCDServoCap.py 228 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/site_utils/rpm_control_system/
rpm_controller.py 725 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):
748 if expected_state not in state:
750 ' %s', powerunit_info.device_hostname, expected_state)
    [all...]
  /external/ltp/testcases/kernel/controllers/freezer/
libcgroup_freezer 395 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_ModemControl/
cellular_ModemControl.py 169 def CompareModemPowerState(self, modem, expected_state):
171 return modem.IsEnabled() == expected_state
173 def CompareDevicePowerState(self, device, expected_state):
178 return state == expected_state
  /external/tensorflow/tensorflow/contrib/rnn/python/kernel_tests/
rnn_cell_test.py 375 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(
    [all...]
  /external/deqp/external/openglcts/modules/common/
glcKHRDebugTests.hpp 325 void inspectDebugState(glw::GLboolean expected_state, glw::GLDEBUGPROC expected_callback,
glcKHRDebugTests.cpp     [all...]
  /external/tensorflow/tensorflow/contrib/learn/python/learn/estimators/
dynamic_rnn_estimator_test.py 322 expected_state = (rnn_cell.LSTMStateTuple(
353 _recursive_assert_equal(expected_state, actual_state_val)
  /external/webrtc/talk/app/webrtc/
webrtcsession_unittest.cc 1419 WebRtcSessionCreateSDPObserverForTest::State expected_state = local
    [all...]

Completed in 1525 milliseconds