/frameworks/av/media/tests/benchmark/tests/ |
D | BenchmarkTestEnvironment.h | 30 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/ |
D | Native.java | 22 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
|
D | Stats.java | 118 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()
|
D | Muxer.java | 109 String statsFile) throws IOException { in dumpStatistics() argument 111 mStats.dumpStatistics(inputReference, operation, muxFormat, "", clipDuration, statsFile); in dumpStatistics()
|
D | Extractor.java | 173 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/ |
D | NativeDecoder.cpp | 110 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()
|
D | NativeExtractor.cpp | 73 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()
|
D | NativeEncoder.cpp | 83 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()
|
D | NativeMuxer.cpp | 140 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/ |
D | AmbientBrightnessStatsTrackerTest.java | 201 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/ |
D | Stats.cpp | 40 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()
|
D | Stats.h | 107 const string& mode = "", const string& statsFile = "");
|
/frameworks/av/media/tests/benchmark/src/native/muxer/ |
D | Muxer.cpp | 69 void Muxer::dumpStatistics(string inputReference, string componentName, string statsFile) { in dumpStatistics() argument 72 "", statsFile); in dumpStatistics()
|
D | Muxer.h | 54 void dumpStatistics(string inputReference, string codecName = "", string statsFile = "");
|
/frameworks/av/media/tests/benchmark/src/native/extractor/ |
D | Extractor.cpp | 114 void Extractor::dumpStatistics(string inputReference, string componentName, string statsFile) { in dumpStatistics() argument 116 mStats->dumpStatistics(operation, inputReference, mDurationUs, componentName, "", statsFile); in dumpStatistics()
|
D | Extractor.h | 48 void dumpStatistics(string inputReference, string componentName = "", string statsFile = "");
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | C2Decoder.h | 35 string statsFile);
|
D | C2Decoder.cpp | 160 string statsFile) { in dumpStatistics() argument 163 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
|
D | Decoder.cpp | 247 string statsFile) { in dumpStatistics() argument 250 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
|
D | Decoder.h | 77 string statsFile = "");
|
/frameworks/base/tools/hoststubgen/hoststubgen/src/com/android/hoststubgen/ |
D | HostStubGenOptions.kt | 112 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/ |
D | C2Encoder.h | 48 string statsFile);
|
D | Encoder.h | 84 string mode = "", string statsFile = "");
|
D | C2Encoder.cpp | 256 string statsFile) { in dumpStatistics() argument 259 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
|
D | Encoder.cpp | 186 string mode, string statsFile) { in dumpStatistics() argument 188 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
|