/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 26 int readLine(FILE *inputFile, char *line, int size) { in readLine() argument 29 char *str = fgets(line, size, inputFile); in readLine() 34 if (feof(inputFile) != 0 || ferror(inputFile) != 0) { in readLine() 45 bool checkVersion(FILE *inputFile, const char *version) in checkVersion() argument 51 if (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) != 0) { in checkVersion() 77 FILE *inputFile = nullptr; in main() local 92 inputFile = fopen(*argv, "r"); in main() 93 if (inputFile == nullptr) { in main() 121 ret = testFunc(inputFile, outputFileFd); in main() 123 if (inputFile) { in main() [all …]
|
D | test_create_utils.h | 30 int readLine(FILE *inputFile, char *line, int size); 32 bool checkVersion(FILE *inputFile, const char *version); 36 typedef int (*test_func_t)(FILE *inputFile, int outputFileFd);
|
D | test_create_audiorecord.cpp | 35 int testRecord(FILE *inputFile, int outputFileFd) in testRecord() argument 42 if (inputFile == nullptr) { in testRecord() 58 if (!checkVersion(inputFile, VERSION_VALUE)) { in testRecord() 62 while (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) == 0) { in testRecord()
|
D | test_create_audiotrack.cpp | 34 int testTrack(FILE *inputFile, int outputFileFd) in testTrack() argument 41 if (inputFile == nullptr) { in testTrack() 56 if (!checkVersion(inputFile, VERSION_VALUE)) { in testTrack() 60 while (readLine(inputFile, line, MAX_INPUT_FILE_LINE_LENGTH) == 0) { in testTrack()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | ExtractorTest.java | 92 File inputFile = new File(mInputFilePath + mInputFileName); in testExtractor() local 94 inputFile.exists()); in testExtractor() 95 FileInputStream fileInput = new FileInputStream(inputFile); in testExtractor() 112 File inputFile = new File(mInputFilePath + mInputFileName); in testNativeExtractor() local 114 inputFile.exists()); in testNativeExtractor() 115 FileInputStream fileInput = new FileInputStream(inputFile); in testNativeExtractor()
|
D | DecoderTest.java | 68 public DecoderTest(String inputFile, boolean asyncMode) { in DecoderTest() argument 69 this.mInputFile = inputFile; in DecoderTest() 122 File inputFile = new File(mInputFilePath + mInputFile); in testDecoder() local 124 inputFile.exists()); in testDecoder() 125 FileInputStream fileInput = new FileInputStream(inputFile); in testDecoder() 196 File inputFile = new File(mInputFilePath + mInputFile); in testNativeDecoder() local 198 inputFile.exists()); in testNativeDecoder() 199 FileInputStream fileInput = new FileInputStream(inputFile); in testNativeDecoder()
|
D | MuxerTest.java | 114 File inputFile = new File(mInputFilePath + mInputFileName); in testMuxer() local 116 inputFile.exists()); in testMuxer() 117 FileInputStream fileInput = new FileInputStream(inputFile); in testMuxer() 164 File inputFile = new File(mInputFilePath + mInputFileName); in testNativeMuxer() local 166 inputFile.exists()); in testNativeMuxer()
|
D | EncoderTest.java | 119 File inputFile = new File(mInputFilePath + mInputFile); in testEncoder() local 121 inputFile.exists()); in testEncoder() 122 FileInputStream fileInput = new FileInputStream(inputFile); in testEncoder() 275 File inputFile = new File(mInputFilePath + mInputFile); in testNativeEncoder() local 277 inputFile.exists()); in testNativeEncoder() 280 FileInputStream fileInput = new FileInputStream(inputFile); in testNativeEncoder()
|
/frameworks/av/media/tests/benchmark/tests/ |
D | ExtractorTest.cpp | 33 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 34 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 35 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 39 stat(inputFile.c_str(), &buf); in TEST_P()
|
D | MuxerTest.cpp | 54 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 55 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 56 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 70 stat(inputFile.c_str(), &buf); in TEST_P()
|
D | DecoderTest.cpp | 35 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P() local 36 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 37 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 47 stat(inputFile.c_str(), &buf); in TEST_P()
|
D | C2DecoderTest.cpp | 65 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 66 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 67 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 74 stat(inputFile.c_str(), &buf); in TEST_P()
|
D | EncoderTest.cpp | 34 string inputFile = gEnv->getRes() + get<0>(params); in TEST_P() local 35 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 36 ASSERT_NE(inputFp, nullptr) << "Unable to open " << inputFile << " file for reading"; in TEST_P() 46 stat(inputFile.c_str(), &buf); in TEST_P()
|
D | C2EncoderTest.cpp | 65 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 66 FILE *inputFp = fopen(inputFile.c_str(), "rb"); in TEST_P() 77 stat(inputFile.c_str(), &buf); in TEST_P()
|
/frameworks/av/media/libstagefright/codecs/amrnb/dec/test/ |
D | AmrnbDecoderTest.cpp | 109 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 110 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 111 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P() 132 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 133 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 134 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
|
/frameworks/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 55 string inputFile; member 259 inputFilePath += kInputData[streamIndex].inputFile; in getFileDetails() 300 string inputFile = gEnv->getRes(); in TEST_P() local 305 getFileDetails(inputFile, inputInfo, param, isAudio, inputFileIdx); in TEST_P() 306 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P() 308 ASSERT_NO_FATAL_FAILURE(getInputBufferInfo(inputFile, inputInfo)); in TEST_P() 337 string inputFile = gEnv->getRes(); in TEST_P() local 342 getFileDetails(inputFile, inputInfo, param, isAudio, inputFileIdx); in TEST_P() 343 ASSERT_NE(inputFile.compare(gEnv->getRes()), 0) << "No input file specified"; in TEST_P() 345 ASSERT_NO_FATAL_FAILURE(getInputBufferInfo(inputFile, inputInfo)); in TEST_P() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrwb/test/ |
D | AmrwbDecoderTest.cpp | 153 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 154 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 155 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P() 183 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 184 mFpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 185 ASSERT_NE(mFpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/test/ |
D | AmrnbEncoderTest.cpp | 114 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 115 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 116 ASSERT_NE(fpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P() 145 string inputFile = gEnv->getRes() + GetParam().first; in TEST_P() local 146 FILE *fpInput = fopen(inputFile.c_str(), "rb"); in TEST_P() 147 ASSERT_NE(fpInput, nullptr) << "Error opening input file " << inputFile; in TEST_P()
|
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
D | AutomaticActivity.java | 153 File inputFile = new File(Environment.getExternalStorageDirectory(), in beginTest() local 155 if (inputFile.exists() && inputFile.canRead() && inputFile.length() > 0) { in beginTest() 157 FileInputStream inputStream = new FileInputStream(inputFile); in beginTest() 159 StringBuffer content = new StringBuffer((int)inputFile.length()); in beginTest()
|
/frameworks/av/media/libstagefright/codecs/mp3dec/test/ |
D | Mp3DecoderTest.cpp | 124 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 125 bool status = mMp3Reader.init(inputFile.c_str()); in TEST_P() 155 string inputFile = gEnv->getRes() + GetParam(); in TEST_P() local 156 bool status = mMp3Reader.init(inputFile.c_str()); in TEST_P()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | BackupFileDecryptorTask.java | 103 public void decryptFile(File inputFile, DecryptedChunkOutput decryptedChunkOutput) in decryptFile() argument 107 RandomAccessFile input = new RandomAccessFile(inputFile, READ_MODE); in decryptFile()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsCollection.java | 530 final AtomicFile inputFile = new AtomicFile(file); in readLegacyNetwork() local 534 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyNetwork() 569 final AtomicFile inputFile = new AtomicFile(file); in readLegacyUid() local 573 in = new DataInputStream(new BufferedInputStream(inputFile.openRead())); in readLegacyUid()
|
/frameworks/base/tools/aapt/ |
D | Command.cpp | 2847 std::string inputFile, outputFile; in runInDaemonMode() local 2848 std::getline(std::cin, inputFile); in runInDaemonMode() 2850 bundle->setSingleCrunchInputFile(inputFile.c_str()); in runInDaemonMode() 2852 std::cout << "Crunching " << inputFile << std::endl; in runInDaemonMode()
|