Home
last modified time | relevance | path

Searched refs:STDOUT_FILENO (Results 1 – 25 of 47) sorted by relevance

12

/frameworks/compile/mclinker/lib/Support/
Draw_ostream.cpp24 #ifndef STDOUT_FILENO
25 #define STDOUT_FILENO 1 macro
94 static raw_fd_ostream S(STDOUT_FILENO, false); in outs()
/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp78 int outputFileFd = STDOUT_FILENO; in main()
126 if (outputFileFd >= 0 && outputFileFd != STDOUT_FILENO) { in main()
/frameworks/base/cmds/statsd/src/external/
DPerfetto.cpp87 if (dup2(devNullFd, STDOUT_FILENO) < 0) _exit(2); in CollectPerfettoTraceAndUploadToDropbox()
91 if (i != STDIN_FILENO && i != STDOUT_FILENO && i != STDERR_FILENO) close(i); in CollectPerfettoTraceAndUploadToDropbox()
/frameworks/base/cmds/incident_helper/tests/
DKernelWakesParser_test.cpp71 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()
DProcrankParser_test.cpp99 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()
DBatteryTypeParser_test.cpp63 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
DSystemPropertiesParser_test.cpp89 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
DPageTypeInfoParser_test.cpp103 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
DCpuFreqParser_test.cpp120 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
DEventLogTagsParser_test.cpp122 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
/frameworks/native/cmds/cmd/
Dmain.cpp31 return cmdMain(arguments, android::aout, android::aerr, STDIN_FILENO, STDOUT_FILENO, in main()
/frameworks/native/cmds/dumpstate/
DDumpstateUtil.cpp272 bool redirecting_to_fd = STDOUT_FILENO != fd; in RunCommandToFd()
310 TEMP_FAILURE_RETRY(dup2(STDERR_FILENO, STDOUT_FILENO)); in RunCommandToFd()
313 TEMP_FAILURE_RETRY(dup2(fd, STDOUT_FILENO)); in RunCommandToFd()
/frameworks/av/media/libeffects/factory/test/
DDumpConfig.cpp63 if (EffectDumpEffects(STDOUT_FILENO) != 0) { in main()
/frameworks/native/libs/binder/
DStatic.cpp68 TextOutput& aout(*new FdTextOutput(STDOUT_FILENO));
/frameworks/native/cmds/bugreportz/
Dbugreportz.cpp42 android::base::WriteStringToFd(line, STDOUT_FILENO); in write_line()
/frameworks/base/cmds/incident_helper/src/
Dmain.cpp105 status_t err = parser->Parse(STDIN_FILENO, STDOUT_FILENO); in main()
/frameworks/native/cmds/bugreport/
Dbugreport.cpp90 bytes_written = TEMP_FAILURE_RETRY(write(STDOUT_FILENO, in main()
/frameworks/native/cmds/installd/
Dview_compiler.cpp65 if (dup2(outfd, STDOUT_FILENO) < 0) { in view_compiler()
/frameworks/compile/mclinker/lib/Support/Windows/
DFileSystem.inc24 #ifndef STDOUT_FILENO
25 #define STDOUT_FILENO 1
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp258 writeDumpHeader(STDOUT_FILENO, serviceName, priorityFlags); in main()
263 writeDump(STDOUT_FILENO, serviceName, std::chrono::milliseconds(timeoutArgMs), in main()
274 writeDumpFooter(STDOUT_FILENO, serviceName, elapsedDuration); in main()
/frameworks/base/tools/incident_report/
Dprinter.cpp30 :mOut(fd == STDOUT_FILENO ? stdout : fdopen(fd, "w")), in Out()
/frameworks/base/libs/androidfw/
DPosixUtils.cpp92 if (dup2(stdout[1], STDOUT_FILENO) == -1) { in ExecuteBinary()
/frameworks/base/cmds/incident/
Dmain.cpp389 return listener->getExitCodeOrElse(stream_output(fds[0], STDOUT_FILENO)); in main()
398 return listener->getExitCodeOrElse(stream_output(fds[0], STDOUT_FILENO)); in main()
/frameworks/base/cmds/incidentd/src/
Dincidentd_util.cpp76 if (TEMP_FAILURE_RETRY(dup2(output->writeFd().get(), STDOUT_FILENO)) < 0 || in fork_execute_cmd()
/frameworks/base/tools/bit/
Dprint.cpp137 ioctl(STDOUT_FILENO, TIOCGWINSZ, &ws); in print_one_line()

12