Searched refs:readFd (Results 1 – 6 of 6) sorted by relevance
/system/extras/alloc-stress/ |
D | alloc-stress.cpp | 42 Pipe(int readFd, int writeFd) : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe() argument 96 static Pipe makePipeFromFds(int readFd, int writeFd) { in makePipeFromFds() argument 97 return Pipe(readFd, writeFd); in makePipeFromFds()
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.cpp | 51 string readFd(int fd) { in readFd() function 179 const string wakeupCount = readFd(mWakeupCountFd); in initAutosuspend()
|
D | SystemSuspend.h | 63 std::string readFd(int fd);
|
D | SystemSuspendUnitTest.cpp | 60 using android::system::suspend::V1_0::readFd; 151 if (!isReadBlocked(wakeupCountFd)) readFd(wakeupCountFd); in TearDown() 152 if (!isReadBlocked(stateFd)) readFd(stateFd).empty(); in TearDown() 179 ASSERT_EQ(readFd(wakeupCountFd), wakeupCount) in checkLoop() 181 ASSERT_EQ(readFd(stateFd), "mem") in checkLoop()
|
/system/incremental_delivery/incfs/tests/ |
D | incfs_test.cpp | 419 const android::base::unique_fd readFd(open(file_path.c_str(), O_RDONLY | O_CLOEXEC | O_BINARY)); in TEST_F() local 420 ASSERT_TRUE(readFd >= 0); in TEST_F() 422 ASSERT_TRUE(android::base::ReadFully(readFd, buf, sizeof(buf))); in TEST_F() 467 const android::base::unique_fd readFd( in TEST_F() local 469 ASSERT_GE(readFd.get(), 0); in TEST_F() 473 EXPECT_EQ(-EPERM, IncFs_GetFilledRanges(readFd.get(), {buffer, std::size(buffer)}, &res)); in TEST_F()
|
/system/libhwbinder/vts/performance/ |
D | Benchmark_throughput.cpp | 51 Pipe(int readFd, int writeFd) in Pipe() argument 52 : m_readFd{readFd}, m_writeFd{writeFd} { in Pipe()
|