Home
last modified time | relevance | path

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

/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
31 String statsFile, String codecName); 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()
DEncoder.java346 long durationUs, String statsFile) throws IOException { in dumpStatistics() argument
349 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()
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()
DNativeEncoder.cpp184 const char *statsFile = env->GetStringUTFChars(jStatsFile, nullptr); in Java_com_android_media_benchmark_library_Native_Encode() local
186 (asyncMode[i] ? "async" : "sync"), statsFile); in Java_com_android_media_benchmark_library_Native_Encode()
187 env->ReleaseStringUTFChars(jStatsFile, statsFile); in Java_com_android_media_benchmark_library_Native_Encode()
/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/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/muxer/
DMuxer.h54 void dumpStatistics(string inputReference, string codecName = "", string statsFile = "");
/frameworks/av/media/tests/benchmark/src/native/encoder/
DEncoder.h82 string mode = "", string statsFile = "");
DEncoder.cpp186 string mode, string statsFile) { in dumpStatistics() argument
188 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
/frameworks/av/media/tests/benchmark/src/native/decoder/
DDecoder.cpp247 string statsFile) { in dumpStatistics() argument
250 mStats->dumpStatistics(operation, inputReference, durationUs, componentName, mode, statsFile); in dumpStatistics()
DDecoder.h77 string statsFile = "");
/frameworks/base/core/java/com/android/internal/os/
DProcessCpuTracker.java432 private int[] collectStats(String statsFile, int parentPid, boolean first, in collectStats() argument
435 int[] pids = Process.getPids(statsFile, curPids); in collectStats()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java1382 private void writeIntervalStatsToStream(DataOutputStream out, AtomicFile statsFile, int version) in writeIntervalStatsToStream() argument
1386 readLocked(statsFile, stats); in writeIntervalStatsToStream()