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.java182 private final AtomicFile mStatsFile; field in BatteryStatsImpl
1092 mStatsFile = null; in BatteryStatsImpl()
9767 mStatsFile = null; in BatteryStatsImpl()
9770 mStatsFile = new AtomicFile(new File(systemDir, "batterystats.bin")); in BatteryStatsImpl()
9874 mStatsFile = null; in BatteryStatsImpl()
12176 if (mStatsFile != null && mBatteryStatsHistory.getActiveFile() != null) { in setOnBatteryLocked()
13238 if (mStatsFile == null) { in writeStatsLocked()
13256 writeParcelToFileLocked(p, mStatsFile, sync); in writeStatsLocked()
13323 if (mStatsFile == null) { in readLocked()
13339 byte[] raw = mStatsFile.readFully(); in readLocked()
[all …]