Home
last modified time | relevance | path

Searched refs:pipefds (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/binder/tests/parcel_fuzzer/
Drandom_fd.cpp50 int pipefds[2]; in getRandomFds() local
58 CHECK_EQ(0, pipe2(pipefds, flags)) << flags; in getRandomFds()
60 if (provider->ConsumeBool()) std::swap(pipefds[0], pipefds[1]); in getRandomFds()
63 ret.push_back(unique_fd(pipefds[0])); in getRandomFds()
64 ret.push_back(unique_fd(pipefds[1])); in getRandomFds()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DAidlComposerHal.cpp309 int pipefds[2]; in dumpDebugInfo() local
310 int result = pipe(pipefds); in dumpDebugInfo()
320 base::ReadFdToString(pipefds[0], &str); in dumpDebugInfo()
322 const auto status = mAidlComposer->dump(pipefds[1], /*args*/ nullptr, /*numArgs*/ 0); in dumpDebugInfo()
325 close(pipefds[1]); in dumpDebugInfo()
332 close(pipefds[0]); in dumpDebugInfo()