Home
last modified time | relevance | path

Searched refs:statsFile (Results 1 – 25 of 28) sorted by relevance

12

/frameworks/av/media/tests/benchmark/tests/
DBenchmarkTestEnvironment.h30 statsFile("/data/local/tmp/MediaBenchmark/res/stats.csv") {} in BenchmarkTestEnvironment()
39 void setStatsFile(const string module) { statsFile = getRes() + module; } in setStatsFile()
41 const string getStatsFile() const { return statsFile; } in getStatsFile()
47 string statsFile; variable
92 FILE *fpStats = fopen(statsFile.c_str(), "w"); in writeStatsHeader()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DNative.java22 public native int Extract(String inputFilePath, String inputFileName, String statsFile); in Extract() argument
25 String statsFile, String format); in Mux() argument
27 public native int Decode(String inputFilePath, String inputFileName, String statsFile, in Decode() argument
30 public native int Encode(String inputFilePath, String inputFileName, String statsFile, in Encode() argument
DStats.java102 public boolean writeStatsHeader(String statsFile) throws IOException { in writeStatsHeader() argument
103 File outputFile = new File(statsFile); in writeStatsHeader()
129 String mode, long durationUs, String statsFile) throws IOException { in dumpStatistics() argument
172 File outputFile = new File(statsFile); in dumpStatistics()
DMuxer.java109 String statsFile) throws IOException { in dumpStatistics() argument
111 mStats.dumpStatistics(inputReference, operation, muxFormat, "", clipDuration, statsFile); in dumpStatistics()
DExtractor.java173 public void dumpStatistics(String inputReference, String mimeType, String statsFile) in dumpStatistics() argument
176 mStats.dumpStatistics(inputReference, operation, mimeType, "", mDurationUs, statsFile); in dumpStatistics()
DDecoder.java244 long durationUs, String statsFile) throws IOException { in dumpStatistics() argument
247 inputReference, operation, componentName, mode, durationUs, statsFile); in dumpStatistics()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeExtractor.cpp73 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Extract() local
74 extractObj->dumpStatistics(string(inputFileName), string(mime), statsFile); in Java_com_android_media_benchmark_library_Native_Extract()
75 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Extract()
DNativeDecoder.cpp110 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Decode() local
113 statsFile); in Java_com_android_media_benchmark_library_Native_Decode()
115 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Decode()
DNativeEncoder.cpp83 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Encode() local
98 (mode ? "async" : "sync"), statsFile); in Java_com_android_media_benchmark_library_Native_Encode()
99 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Encode()
DNativeMuxer.cpp139 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Mux() local
141 muxerObj->dumpStatistics(string(inputFileName), muxFormat, statsFile); in Java_com_android_media_benchmark_library_Native_Mux()
142 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Mux()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DAmbientBrightnessStatsTrackerTest.java201 String statsFile = in testReadAmbientBrightnessStats() local
222 statsTracker.readStats(getInputStream(statsFile)); in testReadAmbientBrightnessStats()
237 String statsFile; in testFailedReadAmbientBrightnessStatsWithException() local
239 statsFile = in testFailedReadAmbientBrightnessStatsWithException()
249 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException()
255 statsFile = in testFailedReadAmbientBrightnessStatsWithException()
271 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException()
277 statsFile = in testFailedReadAmbientBrightnessStatsWithException()
285 statsTracker.readStats(getInputStream(statsFile)); in testFailedReadAmbientBrightnessStatsWithException()
/frameworks/av/media/tests/benchmark/src/native/muxer/
DMuxer.cpp69 void Muxer::dumpStatistics(string inputReference, string componentName, string statsFile) { in dumpStatistics() argument
72 "", statsFile); in dumpStatistics()
DMuxer.h54 void dumpStatistics(string inputReference, string codecName = "", string statsFile = "");
/frameworks/av/media/tests/benchmark/src/native/common/
DStats.cpp39 string componentName, string mode, string statsFile) { in dumpStatistics() argument
82 ofstream out(statsFile, ios::out | ios::app); in dumpStatistics()
DStats.h106 string codecName = "", string mode = "", string statsFile = "");
/frameworks/av/media/tests/benchmark/src/native/extractor/
DExtractor.cpp114 void Extractor::dumpStatistics(string inputReference, string componentName, string statsFile) { in dumpStatistics() argument
116 mStats->dumpStatistics(operation, inputReference, mDurationUs, componentName, "", statsFile); in dumpStatistics()
DExtractor.h48 void dumpStatistics(string inputReference, string componentName = "", string statsFile = "");
/frameworks/av/media/tests/benchmark/src/native/decoder/
DC2Decoder.h35 string statsFile);
DC2Decoder.cpp160 string statsFile) { in dumpStatistics() argument
163 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
DDecoder.cpp247 string statsFile) { in dumpStatistics() argument
250 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
DDecoder.h77 string statsFile = "");
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.h48 string statsFile);
DEncoder.h84 string mode = "", string statsFile = "");
DC2Encoder.cpp255 string statsFile) { in dumpStatistics() argument
258 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
DEncoder.cpp186 string mode, string statsFile) { in dumpStatistics() argument
188 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()

12