Home
last modified time | relevance | path

Searched refs:fds2 (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/dumpstate/aidl/vts/functional/
DVtsHalDumpstateTargetTest.cpp162 int fds2[2]; in TEST_P() local
164 ASSERT_EQ(0, pipe2(fds2, O_NONBLOCK)) << errno; in TEST_P()
168 dumpstateFds.emplace_back(fds2[1]); in TEST_P()
172 AssertStatusForMode(status, EX_NONE, 0, [&fds1, &fds2]() { in TEST_P()
176 size_t read2 = read(fds2[0], &buff, 1); in TEST_P()
183 close(fds2[1]); in TEST_P()
184 close(fds2[0]); in TEST_P()
/hardware/interfaces/dumpstate/1.0/vts/functional/
DVtsHalDumpstateV1_0TargetTest.cpp87 int fds2[2]; in TEST_P() local
89 ASSERT_EQ(0, pipe2(fds2, O_NONBLOCK)) << errno; in TEST_P()
94 handle->data[1] = fds2[1]; in TEST_P()
/hardware/interfaces/dumpstate/1.1/vts/functional/
DVtsHalDumpstateV1_1TargetTest.cpp186 int fds2[2]; in TEST_P() local
188 ASSERT_EQ(0, pipe2(fds2, O_NONBLOCK)) << errno; in TEST_P()
193 handle->data[1] = fds2[1]; in TEST_P()
198 AssertStatusForMode(status, DumpstateStatus::OK, [&fds1, &fds2]() { in TEST_P()
202 size_t read2 = read(fds2[0], &buff, 1); in TEST_P()