/frameworks/compile/mclinker/lib/Support/ |
D | raw_ostream.cpp | 24 #ifndef STDOUT_FILENO 25 #define STDOUT_FILENO 1 macro 94 static raw_fd_ostream S(STDOUT_FILENO, false); in outs()
|
/frameworks/native/cmds/bugreportz/ |
D | bugreportz.cpp | 41 android::base::WriteStringToFd(line, STDOUT_FILENO); in write_line() 90 if (!android::base::WriteFully(android::base::borrowed_fd(STDOUT_FILENO), buffer, in bugreportz_stream()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 74 int outputFileFd = STDOUT_FILENO; in main() 122 if (outputFileFd >= 0 && outputFileFd != STDOUT_FILENO) { in main()
|
/frameworks/native/cmds/dumpstate/ |
D | DumpstateUtil.cpp | 306 bool redirecting_to_fd = STDOUT_FILENO != fd; in RunCommandToFd() 346 TEMP_FAILURE_RETRY(dup2(devnull_fd, STDOUT_FILENO)); in RunCommandToFd() 357 if (i != STDIN_FILENO && i!= STDOUT_FILENO && i != STDERR_FILENO) { in RunCommandToFd() 363 TEMP_FAILURE_RETRY(dup2(STDERR_FILENO, STDOUT_FILENO)); in RunCommandToFd() 366 TEMP_FAILURE_RETRY(dup2(fd, STDOUT_FILENO)); in RunCommandToFd()
|
D | dumpstate.h | 77 bool verbose = false, int duration_fd = STDOUT_FILENO); 228 bool verbose_duration = false, int out_fd = STDOUT_FILENO); 246 long dumpsys_timeout_ms = 0, int out_fd = STDOUT_FILENO); 308 void DumpstateBoard(int out_fd = STDOUT_FILENO);
|
D | dumpstate.cpp | 136 bool verbose_duration = false, int out_fd = STDOUT_FILENO) { in RunCommand() 345 long dumpsysTimeoutMs = 0, int out_fd = STDOUT_FILENO) { in RunDumpsys() 795 DumpFileToFd(STDOUT_FILENO, "", "/proc/version"); in PrintHeader() 798 RunCommandToFd(STDOUT_FILENO, "", {"uptime", "-p"}, in PrintHeader() 1200 dumpsys.writeDumpHeader(STDOUT_FILENO, service, priority); in RunDumpsysTextByPriority() 1201 dumpsys.writeDumpFooter(STDOUT_FILENO, service, std::chrono::milliseconds(1)); in RunDumpsysTextByPriority() 1205 dumpsys.writeDumpHeader(STDOUT_FILENO, service, priority); in RunDumpsysTextByPriority() 1210 status = dumpsys.writeDump(STDOUT_FILENO, service, 60s, in RunDumpsysTextByPriority() 1214 status = dumpsys.writeDump(STDOUT_FILENO, service, service_timeout, in RunDumpsysTextByPriority() 1218 dumpsys.writeDumpFooter(STDOUT_FILENO, service, elapsed_seconds); in RunDumpsysTextByPriority() [all …]
|
/frameworks/base/cmds/incident_helper/tests/ |
D | KernelWakesParser_test.cpp | 71 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F() 109 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
D | ProcrankParser_test.cpp | 99 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F() 137 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
D | BatteryTypeParser_test.cpp | 63 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
D | SystemPropertiesParser_test.cpp | 89 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
D | PageTypeInfoParser_test.cpp | 103 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
D | EventLogTagsParser_test.cpp | 122 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
/frameworks/native/cmds/cmd/ |
D | main.cpp | 31 return cmdMain(arguments, android::aout, android::aerr, STDIN_FILENO, STDOUT_FILENO, in main()
|
/frameworks/av/media/libeffects/factory/test/ |
D | DumpConfig.cpp | 63 if (EffectDumpEffects(STDOUT_FILENO) != 0) { in main()
|
/frameworks/native/libs/binder/ |
D | Static.cpp | 68 TextOutput& aout(*new FdTextOutput(STDOUT_FILENO));
|
/frameworks/base/cmds/incident_helper/src/ |
D | main.cpp | 105 status_t err = parser->Parse(STDIN_FILENO, STDOUT_FILENO); in main()
|
/frameworks/native/cmds/installd/ |
D | view_compiler.cpp | 71 if (dup2(outfd, STDOUT_FILENO) < 0) { in view_compiler()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 185 proxy->dumpProfileInfo(STDOUT_FILENO, DumpFlags::JankStats); in doRun() 213 RenderProxy::dumpGraphicsMemory(STDOUT_FILENO, false); in run()
|
/frameworks/compile/mclinker/lib/Support/Windows/ |
D | FileSystem.inc | 24 #ifndef STDOUT_FILENO 25 #define STDOUT_FILENO 1
|
/frameworks/base/tools/incident_report/ |
D | printer.cpp | 30 :mOut(fd == STDOUT_FILENO ? stdout : fdopen(fd, "w")), in Out()
|
/frameworks/native/libs/binder/tests/ |
D | binderParcelUnitTest.cpp | 103 p.writeFileDescriptor(STDOUT_FILENO, false /*takeOwnership*/); in TEST() 111 EXPECT_EQ(ret[0], STDOUT_FILENO); in TEST()
|
/frameworks/native/libs/binder/tests/unit_fuzzers/ |
D | IBinderFuzzFunctions.h | 53 int fd = STDOUT_FILENO;
|
/frameworks/base/libs/androidfw/ |
D | PosixUtils.cpp | 93 if (dup2(stdout[1], STDOUT_FILENO) == -1) { in ExecuteBinary()
|
/frameworks/base/cmds/incident/ |
D | main.cpp | 393 return listener->getExitCodeOrElse(stream_output(fds[0], STDOUT_FILENO)); in main() 402 return listener->getExitCodeOrElse(stream_output(fds[0], STDOUT_FILENO)); in main()
|
/frameworks/native/cmds/dumpsys/ |
D | dumpsys.cpp | 281 writeDumpHeader(STDOUT_FILENO, serviceName, priorityFlags); in main() 286 writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(timeoutArgMs), in main() 297 writeDumpFooter(STDOUT_FILENO, serviceName, elapsedDuration); in main()
|