Home
last modified time | relevance | path

Searched refs:ASSERT_EQ (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/os/jni/seccomp-tests/tests/
Dseccomp_bpf_tests.c97 ASSERT_EQ(0, ret) { in TEST()
105 ASSERT_EQ(0, ret) { in TEST_SIGNAL()
125 ASSERT_EQ(0, ret) { in TEST()
178 ASSERT_EQ(0, ret); in TEST()
192 ASSERT_EQ(0, ret) { in TEST()
214 ASSERT_EQ(0, ret); in TEST()
220 ASSERT_EQ(0, ret); in TEST()
246 ASSERT_EQ(0, ret); in TEST()
249 ASSERT_EQ(0, ret); in TEST()
267 ASSERT_EQ(0, ret); in TEST()
[all …]
Dresumption.c190 ASSERT_EQ(0, ret) { in TEST_F()
194 ASSERT_EQ(0, ret) { in TEST_F()
202 ASSERT_EQ(0, ret); in TEST_F()
204 ASSERT_EQ(0, ret); in TEST_F()
208 ASSERT_EQ(pid, ret); in TEST_F()
210 ASSERT_EQ(0, ret); in TEST_F()
212 ASSERT_EQ(-1, ret); in TEST_F()
Dsigsegv.c162 ASSERT_EQ(0, ret) { in TEST_F_SIGNAL()
166 ASSERT_EQ(0, ret) { in TEST_F_SIGNAL()
171 ASSERT_EQ(0, ret); in TEST_F_SIGNAL()
173 ASSERT_EQ(0, ret); in TEST_F_SIGNAL()
Dtest_harness.h139 #define ASSERT_EQ TEST_API(ASSERT_EQ) macro
/cts/tests/tests/os/jni/seccomp-tests/
Dlocal-modifications-android-2.diff59 ASSERT_EQ(0, pipe(pipefd));
89 ASSERT_EQ(0, ptrace(PTRACE_CONT, child_pid, NULL, 0));
90 ASSERT_EQ(1, write(pipefd[1], ".", 1));
94 ASSERT_EQ(child_pid, waitpid(child_pid, &status, 0));
95 ASSERT_EQ(true, WIFSTOPPED(status));
96 ASSERT_EQ(SIGTRAP, WSTOPSIG(status));
97 ASSERT_EQ(PTRACE_EVENT_SECCOMP, (status >> 16));
98 ASSERT_EQ(0, ptrace(PTRACE_GETEVENTMSG, child_pid, NULL, &msg));
99 ASSERT_EQ(0x100, msg);
104 ASSERT_EQ(0, ptrace(PTRACE_GETSIGINFO, child_pid, NULL, &info));
[all …]
Dlocal-modifications-strict-args-fd88d16.diff41 ASSERT_EQ(0, ret);
44 ASSERT_EQ(0, ret);
76 ASSERT_EQ(0, ret);
79 ASSERT_EQ(0, ret);
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp72 #define ASSERT_EQ(x, y) do { if ((x) == (y)) ; else { fprintf(stderr, "0x%x != 0x%x\n", \ macro
130 ASSERT_EQ(SL_RESULT_SUCCESS, result); in recorderCallback()
195 ASSERT_EQ(SL_RESULT_SUCCESS, result); in playerCallback()
349 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
351 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
355 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
360 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
362 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
399 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
401 ASSERT_EQ(SL_RESULT_SUCCESS, result); in slesCreateServer()
[all …]