Searched refs:mInputFile (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | BackupFileDecryptorTaskTest.java | 112 private File mInputFile; field in BackupFileDecryptorTaskTest 128 mInputFile = mTemporaryFolder.newFile(); in setUp() 157 mTask.decryptFile(mInputFile, mFileOutput); in decryptFile_withExplicitStarts_decryptsEncryptedData() 166 mTask.decryptFile(mInputFile, mKvOutput); in decryptFile_withInlineLengths_decryptsEncryptedData() 183 mTask.decryptFile(mInputFile, mFileOutput); in decryptFile_withNoChunkOrderingType_decryptsUsingExplicitStarts() 194 RandomAccessFile raf = new RandomAccessFile(mInputFile, READ_WRITE_MODE); in decryptFile_withInlineLengths_throwsForZeroLengths() 200 () -> mTask.decryptFile(mInputFile, mKvOutput)); in decryptFile_withInlineLengths_throwsForZeroLengths() 209 RandomAccessFile raf = new RandomAccessFile(mInputFile, READ_WRITE_MODE); in decryptFile_withInlineLengths_throwsForLongLengths() 211 raf.writeInt((int) mInputFile.length()); in decryptFile_withInlineLengths_throwsForLongLengths() 215 () -> mTask.decryptFile(mInputFile, mKvOutput)); in decryptFile_withInlineLengths_throwsForLongLengths() [all …]
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | DecoderTest.java | 65 private String mInputFile; field in DecoderTest 69 this.mInputFile = inputFile; in DecoderTest() 122 File inputFile = new File(mInputFilePath + mInputFile); in testDecoder() 123 assertTrue("Cannot find " + mInputFile + " in directory " + mInputFilePath, in testDecoder() 129 assertTrue("Extraction failed. No tracks for file: " + mInputFile, (trackCount > 0)); in testDecoder() 137 assertTrue("No suitable codecs found for file: " + mInputFile + " track : " + in testDecoder() 175 assertEquals("Decoder returned error " + status + " for file: " + mInputFile + in testDecoder() 177 decoder.dumpStatistics(mInputFile, codecName, (mAsyncMode ? "async" : "sync"), in testDecoder() 179 Log.i(TAG, "Decoding Successful for file: " + mInputFile + " with codec: " + in testDecoder() 196 File inputFile = new File(mInputFilePath + mInputFile); in testNativeDecoder() [all …]
|
D | EncoderTest.java | 72 private String mInputFile; field in EncoderTest 93 this.mInputFile = inputFileName; in EncoderTest() 119 File inputFile = new File(mInputFilePath + mInputFile); in testEncoder() 120 assertTrue("Cannot find " + mInputFile + " in directory " + mInputFilePath, in testEncoder() 126 assertTrue("Extraction failed. No tracks for file: " + mInputFile, (trackCount > 0)); in testEncoder() 155 assertEquals("Decoder returned error " + status + " for file: " + mInputFile, 0, in testEncoder() 167 assertTrue("No suitable codecs found for file: " + mInputFile + " track : " + in testEncoder() 249 " " + mInputFile, 0, status); in testEncoder() 250 encoder.dumpStatistics(mInputFile, codecName, (asyncMode ? "async" : "sync"), in testEncoder() 252 Log.i(TAG, "Encoding complete for file: " + mInputFile + " with codec: " + in testEncoder() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | DiskStatsLoggingServiceTest.java | 75 private File mInputFile; field in DiskStatsLoggingServiceTest 84 mInputFile = mTemporaryFolder.newFile(); in setUp() 98 task.setLogOutputFile(mInputFile); in testEmptyLog() 140 task.setLogOutputFile(mInputFile); in testPopulatedLogTask() 169 task.setLogOutputFile(mInputFile); in testDontCrashOnPackageStatsTimeout() 227 return new JSONObject(IoUtils.readFileAsString(mInputFile.getAbsolutePath())); in getJsonOutput()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/test/ |
D | AmrwbEncoderTest.cpp | 41 mInputFile = gEnv->getRes() + get<0>(params); in AmrwbEncoderTest() 60 string mInputFile; member in AmrwbEncoderTest 95 FILE *fpInput = fopen(mInputFile.c_str(), "rb"); in TEST_P() 96 ASSERT_NE(fpInput, nullptr) << "Error opening input file " << mInputFile; in TEST_P()
|
/frameworks/base/services/backup/java/com/android/server/backup/restore/ |
D | PerformAdbRestoreTask.java | 59 private final ParcelFileDescriptor mInputFile; field in PerformAdbRestoreTask 71 mInputFile = fd; in PerformAdbRestoreTask() 94 rawInStream = new FileInputStream(mInputFile.getFileDescriptor()); in run() 120 mInputFile.close(); in run()
|