Home
last modified time | relevance | path

Searched refs:outputFileFd (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/media/libaudioclient/tests/
Dtest_create_utils.cpp78 int outputFileFd = STDOUT_FILENO; in main() local
103 outputFileFd = open(*argv, O_WRONLY|O_CREAT, mode); in main()
104 if (outputFileFd < 0) { in main()
121 ret = testFunc(inputFile, outputFileFd); in main()
126 if (outputFileFd >= 0 && outputFileFd != STDOUT_FILENO) { in main()
127 close(outputFileFd); in main()
Dtest_create_audiorecord.cpp35 int testRecord(FILE *inputFile, int outputFileFd) in testRecord() argument
49 write(outputFileFd, "Error creating AudioRecord\n", in testRecord()
52 record->dump(outputFileFd, args); in testRecord()
113 write(outputFileFd, statusStr, strlen(statusStr)); in testRecord()
117 record->dump(outputFileFd, args); in testRecord()
Dtest_create_audiotrack.cpp34 int testTrack(FILE *inputFile, int outputFileFd) in testTrack() argument
47 write(outputFileFd, "Error creating AudioTrack\n", in testTrack()
50 track->dump(outputFileFd, args); in testTrack()
137 write(outputFileFd, statusStr, strlen(statusStr)); in testTrack()
141 track->dump(outputFileFd, args); in testTrack()
Dtest_create_utils.h36 typedef int (*test_func_t)(FILE *inputFile, int outputFileFd);