Home
last modified time | relevance | path

Searched refs:expected_status (Results 1 – 25 of 25) sorted by relevance

/external/chromium-trace/catapult/devil/devil/android/tools/
Ddevice_monitor_test.py62 self.expected_status = {
93 self.assertEquals(self.expected_status, status['devices'])
106 expected_status_no_battery = self.expected_status.copy()
122 expected_status_no_ps = self.expected_status.copy()
136 expected_status_no_temp = self.expected_status.copy()
152 expected_status = self.expected_status.copy()
153 expected_status['bad_device'] = {'state': 'offline'}
156 self.assertEquals(expected_status, status['devices'])
165 expected_status_no_temp = self.expected_status.copy()
169 self.assertEquals(self.expected_status, status['devices'])
/external/u-boot/drivers/i2c/
Dmvtwsi.c265 static int twsi_wait(struct mvtwsi_registers *twsi, int expected_status, in twsi_wait() argument
286 if (status == expected_status) in twsi_wait()
291 control, status, expected_status); in twsi_wait()
297 expected_status); in twsi_wait()
313 static int twsi_start(struct mvtwsi_registers *twsi, int expected_status, in twsi_start() argument
320 return twsi_wait(twsi, expected_status, tick); in twsi_start()
337 int expected_status, uint tick) in twsi_send() argument
345 return twsi_wait(twsi, expected_status, tick); in twsi_send()
364 int expected_status, status, control; in twsi_recv() local
367 expected_status = ack_flag ? MVTWSI_STATUS_DATA_R_ACK : in twsi_recv()
[all …]
/external/tensorflow/tensorflow/lite/micro/kernels/
Dpad_test.cc115 TfLiteStatus expected_status = kTfLiteOk) { in TestPadFloat() argument
131 TF_LITE_MICRO_EXPECT_EQ(expected_status, in TestPadFloat()
141 TfLiteStatus expected_status = kTfLiteOk) { in TestPadV2Float() argument
160 TF_LITE_MICRO_EXPECT_EQ(expected_status, in TestPadV2Float()
172 TfLiteStatus expected_status = kTfLiteOk) { in TestPadQuantized() argument
193 expected_status, in TestPadQuantized()
208 TfLiteStatus expected_status = kTfLiteOk) { in TestPadV2Quantized() argument
237 expected_status, in TestPadV2Quantized()
/external/autotest/client/cros/video/
Dyoutube_helper.py63 def wait_for_player_state(self, expected_status): argument
74 lambda: self.get_player_status() == expected_status,
78 % (expected_status, self.get_player_status())),
/external/grpc-grpc/test/cpp/end2end/
Dhealth_service_end2end_test.cc172 const Status& expected_status) { in SendHealthCheckRpc() argument
173 EXPECT_FALSE(expected_status.ok()); in SendHealthCheckRpc()
174 SendHealthCheckRpc(service_name, expected_status, in SendHealthCheckRpc()
179 const grpc::string& service_name, const Status& expected_status, in SendHealthCheckRpc() argument
186 EXPECT_EQ(expected_status.error_code(), s.error_code()); in SendHealthCheckRpc()
Dend2end_test.cc1211 std::vector<ErrorStatus> expected_status; in TEST_P() local
1212 expected_status.emplace_back(); in TEST_P()
1213 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1216 expected_status.emplace_back(); in TEST_P()
1217 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1218 expected_status.back().set_error_message("text error message"); in TEST_P()
1219 expected_status.back().set_binary_error_details("text error details"); in TEST_P()
1221 expected_status.emplace_back(); in TEST_P()
1222 expected_status.back().set_code(13); // INTERNAL in TEST_P()
1223 expected_status.back().set_error_message("text error message"); in TEST_P()
[all …]
/external/tensorflow/tensorflow/core/distributed_runtime/
Dpartial_run_mgr_test.cc83 Status expected_status; member
119 EXPECT_EQ(status(), param.expected_status); in TEST_P()
135 EXPECT_EQ(status(), param.expected_status); in TEST_P()
/external/autotest/client/common_lib/cros/tendo/
Dbuffet_tester.py114 def check_buffet_status_is(self, expected_status, argument
132 if (actual_status == expected_status and
137 if actual_status != expected_status:
140 (expected_status, actual_status,
/external/autotest/client/site_tests/policy_DeviceWilcoDtcAllowed/
Dpolicy_DeviceWilcoDtcAllowed.py36 def _check_status(self, expected_status): argument
39 if expected_status:
/external/deqp/external/openglcts/modules/glesext/texture_buffer/
DesextcTextureBufferPrecision.cpp208 const glw::GLint expected_status) in verifyShaderCompilationStatus() argument
234 if (compilation_status != expected_status) in verifyShaderCompilationStatus()
250 << expected_status << "\n\n Compilation info log: \n" in verifyShaderCompilationStatus()
DesextcTextureBufferPrecision.hpp124 const glw::GLuint parts_count, const glw::GLint expected_status);
/external/grpc-grpc/test/core/end2end/
Dbad_server_response_test.cc153 static void start_rpc(int target_port, grpc_status_code expected_status, in start_rpc() argument
208 GPR_ASSERT(status == expected_status); in start_rpc()
272 grpc_status_code expected_status, in run_test() argument
289 start_rpc(server_port, expected_status, expected_detail); in run_test()
/external/ltp/testcases/kernel/syscalls/ipc/shmat/
Dshmat01.c70 static int expected_status(int status, int exp_status) in expected_status() function
121 if (expected_status(status, tc->exp_status)) in verify_shmat()
/external/openssh/regress/unittests/hostkeys/
Dtest_iterate.c59 u_int expected_status, expected_match; in check() local
80 expected_status = (parse_key || expected->no_parse_status < 0) ? in check()
86 if (expected_status == HKF_STATUS_OK) \ in check()
87 expected_status = HKF_STATUS_MATCHED; \ in check()
96 expected_status = HKF_STATUS_INVALID; in check()
104 expected_status = HKF_STATUS_INVALID; in check()
117 ASSERT_U_INT_EQ(l->status, expected_status); in check()
/external/libxkbcommon/xkbcommon/test/
Dcompose.c78 enum xkb_compose_status status, expected_status; in test_compose_seq_va() local
87 expected_status = va_arg(ap, enum xkb_compose_status); in test_compose_seq_va()
103 if (status != expected_status) { in test_compose_seq_va()
106 compose_status_string(expected_status)); in test_compose_seq_va()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_unittest.cc348 auto handler_helper = [] (int* status, int expected_status, int new_status) { in TEST_P() argument
349 EXPECT_EQ(expected_status, *status); in TEST_P()
352 auto create_handler = [&] (int expected_status, int new_status) { in TEST_P() argument
353 return base::Bind(handler_helper, &status, expected_status, new_status); in TEST_P()
/external/grpc-grpc/src/ruby/spec/generic/
Dclient_stub_spec.rb67 expected_status = Struct::Status.new
68 expected_status.code = 0
69 expected_status.details = 'OK'
70 expected_status.metadata = expected_trailing_metadata
72 expect(op_view.status).to eq(expected_status)
/external/icu/icu4c/source/test/intltest/
Drestest.cpp393 UErrorCode expected_status; in testTag() local
474expected_status = (index >= 0 && index < count) ? expected_resource_status : U_MISSING_RESOURCE_ER… in testTag()
475 CONFIRM_UErrorCode(status, expected_status, action); in testTag()
Drestsnew.cpp743 UErrorCode expected_status; in testTag() local
841expected_status = (index >= 0 && index < count) ? expected_resource_status : U_MISSING_RESOURCE_ER… in testTag()
842 CONFIRM_UErrorCode(status,expected_status); in testTag()
930 expected_status = (row >= 0 && row < row_count && col >= 0 && col < column_count) ? in testTag()
932 CONFIRM_UErrorCode(status,expected_status); in testTag()
/external/deqp/external/openglcts/modules/gles31/
Des31cFramebufferNoAttachmentsTests.cpp67 void expect_fbo_status(GLenum target, GLenum expected_status, const char* fail_message);
111 void FramebufferNoAttachmentsBaseCase::expect_fbo_status(GLenum target, GLenum expected_status, in expect_fbo_status() argument
126 TCU_CHECK_MSG(gl.checkFramebufferStatus(target) == expected_status, fail_message); in expect_fbo_status()
/external/icu/icu4c/source/test/cintltst/
Dcreststn.c1633 UErrorCode expected_status,status = U_ZERO_ERROR,expected_resource_status = U_ZERO_ERROR; in testTag() local
1838expected_status = (idx >= 0 && idx < count) ? expected_resource_status : U_MISSING_RESOURCE_ERROR; in testTag()
1839 CONFIRM_ErrorCode(status,expected_status); in testTag()
1924 expected_status = (row >= 0 && row < row_count && col >= 0 && col < column_count) ? in testTag()
1926 CONFIRM_ErrorCode(status,expected_status); in testTag()
/external/google-breakpad/src/client/linux/handler/
Dexception_handler_unittest.cc133 void WaitForProcessToTerminate(pid_t process_id, int expected_status) { in WaitForProcessToTerminate() argument
137 ASSERT_EQ(expected_status, WTERMSIG(status)); in WaitForProcessToTerminate()
/external/grpc-grpc/test/core/security/
Djwt_verifier_test.cc169 grpc_jwt_verifier_status expected_status; member
/external/python/cpython2/Lib/test/
Dtest_optparse.py154 expected_status=0, argument
178 self.assertEqual(err.exit_status, expected_status)
/external/python/cpython3/Lib/test/
Dtest_optparse.py152 expected_status=0, argument
173 self.assertEqual(err.exit_status, expected_status)