Home
last modified time | relevance | path

Searched refs:statsFile (Results 1 – 25 of 30) 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.java118 public boolean writeStatsHeader(String statsFile) throws IOException { in writeStatsHeader() argument
119 File outputFile = new File(statsFile); in writeStatsHeader()
145 String mode, long durationUs, String statsFile) throws IOException { in dumpStatistics() argument
188 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()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/
DNativeDecoder.cpp110 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Decode() local
113 (statsFile == nullptr ? "" : statsFile)); in Java_com_android_media_benchmark_library_Native_Decode()
115 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Decode()
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()
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.cpp140 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Mux() local
142 muxerObj->dumpStatistics(string(inputFileName), muxFormat, statsFile); in Java_com_android_media_benchmark_library_Native_Mux()
143 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Mux()
/frameworks/base/services/tests/displayservicetests/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/common/
DStats.cpp40 const string& mode, const string& statsFile) { in dumpStatistics() argument
46 if (statsFile.empty()) { in dumpStatistics()
87 ofstream out(statsFile, ios::out | ios::app); in dumpStatistics()
DStats.h107 const string& mode = "", const string& statsFile = "");
/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/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/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/
DHostStubGenOptions.kt112 var statsFile: SetOnce<String?> = SetOnce(null), variable in com.android.hoststubgen.HostStubGenOptions
259 "--stats-file" -> ret.statsFile.setNextStringArg() in parseArgs()
397 statsFile=$statsFile, in toString()
/frameworks/av/media/tests/benchmark/src/native/encoder/
DC2Encoder.h48 string statsFile);
DEncoder.h84 string mode = "", string statsFile = "");
DC2Encoder.cpp256 string statsFile) { in dumpStatistics() argument
259 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