Home
last modified time | relevance | path

Searched refs:mStatsFile (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/
DExtractorTest.java53 private static final String mStatsFile = mContext.getExternalFilesDir(null) + "/Extractor." field in ExtractorTest
85 boolean status = mStats.writeStatsHeader(mStatsFile); in writeStatsHeaderToFile()
87 Log.d(TAG, "Saving Benchmark results in: " + mStatsFile); in writeStatsHeaderToFile()
105 extractor.dumpStatistics(mInputFileName, mime, mStatsFile); in testExtractor()
116 int status = nativeExtractor.Extract(mInputFilePath, mInputFileName, mStatsFile); in testNativeExtractor()
DMuxerTest.java60 private static final String mStatsFile = field in MuxerTest
107 boolean status = mStats.writeStatsHeader(mStatsFile); in writeStatsHeaderToFile()
109 Log.d(TAG, "Saving Benchmark results in: " + mStatsFile); in writeStatsHeaderToFile()
150 muxer.dumpStatistics(mInputFileName, mFormat, extractor.getClipDuration(), mStatsFile); in testMuxer()
170 mInputFilePath, mInputFileName, mMuxOutputFile, mStatsFile, mFormat); in testNativeMuxer()
DDecoderTest.java59 private static final String mStatsFile = field in DecoderTest
115 boolean status = mStats.writeStatsHeader(mStatsFile); in writeStatsHeaderToFile()
117 Log.d(TAG, "Saving Benchmark results in: " + mStatsFile); in writeStatsHeaderToFile()
178 extractor.getClipDuration(), mStatsFile); in testDecoder()
213 mInputFilePath, mInputFile, mStatsFile, codecName, mAsyncMode); in testNativeDecoder()
DEncoderTest.java64 private static final String mStatsFile = field in EncoderTest
147 boolean status = mStats.writeStatsHeader(mStatsFile); in writeStatsHeaderToFile()
149 Log.d(TAG, "Saving Benchmark results in: " + mStatsFile); in writeStatsHeaderToFile()
286 durationUs, mStatsFile); in testEncoder()
305 .Encode(mFileDirPath, mInputFile, mStatsFile, codecName, mMime, mBitRate, in testNativeEncoder()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java207 private final AtomicFile mStatsFile; field in BatteryStatsImpl
1631 mStatsFile = null; in BatteryStatsImpl()
1634 mStatsFile = new AtomicFile(new File(historyDirectory, "batterystats.bin")); in BatteryStatsImpl()
12398 mStatsFile = null; in BatteryStatsImpl()
12401 mStatsFile = new AtomicFile(new File(systemDir, "batterystats.bin")); in BatteryStatsImpl()
12519 mStatsFile = null; in BatteryStatsImpl()
15665 if (mStatsFile != null && mBatteryStatsHistory.getActiveFile() != null) {
16985 if (mStatsFile == null) {
17003 writeParcelToFileLocked(p, mStatsFile, sync);
17071 if (mStatsFile == null) {
[all …]