/frameworks/support/compat/src/androidTest/java/androidx/core/app/ |
FrameMetricsAggregatorTest.java | 56 SparseIntArray[] durations = metrics.getMetrics(); local 58 assertNull(durations); 60 assertNotNull(durations); 61 for (SparseIntArray sparseArray : durations) { 70 durations = metrics.getMetrics(); 72 assertNull(durations); 74 assertNotNull(durations); 75 for (int i = 0; i < durations.length; ++i) { 77 assertNotNull(durations[i]); 79 assertNull(durations[i]) [all...] |
/frameworks/native/services/surfaceflinger/EventLog/ |
EventLog.h | 34 const int32_t* durations, size_t numDurations); 77 void doLogFrameDurations(const String8& window, const int32_t* durations,
|
EventLog.cpp | 35 const int32_t* durations, size_t numDurations) { 40 buffer.writeInt32(durations[i]); 47 const int32_t* durations, size_t numDurations) { 48 EventLog::getInstance().doLogFrameDurations(window, durations,
|
/external/autotest/utils/ |
site_check_dut_usage.py | 51 Returns all list of tuples containing durations. 82 def calculate_usage(self, durations): 84 Calculates and prints out usage information given list of durations. 89 for q_time, s_time, f_time, machine in durations: 96 avg_job_run_time = self._total_seconds(total_run_time) / len(durations) 98 len(durations)) 137 durations = self.find_all_durations() 138 if not durations: 141 self.calculate_usage(durations)
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
BenchmarkResultsReporter.java | 55 private void logSummary(String tag, String summary, ArrayList<Long> durations) { 57 final int size = durations.size(); 59 sb.append("\n").append(i).append("->").append(durations.get(i));
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
TestDuration.java | 184 void doTest_comparisons_Duration(Duration... durations) { 185 for (int i = 0; i < durations.length; i++) { 186 Duration a = durations[i]; 187 for (int j = 0; j < durations.length; j++) { 188 Duration b = durations[j];
|
/frameworks/base/tests/JankBench/scripts/ |
collect.py | 44 self.durations = [] 69 scoremap[run_id][name][iteration].durations.append(float(total_duration)) 134 stddev = round_to_2(numpy.std(res.durations)) 135 mean = round_to_2(numpy.mean(res.durations)) 136 sample_count += len(res.durations) 139 score = 100 * len(res.durations) / float(res.total_count) 147 print "\t%s: Score = %f x %f x %f = %f (%d samples)" % (iteration, stddev, mean, pj, score, len(res.durations))
|
itr_collect.py | 22 self.durations = [] 44 scoremap[run_id][name].durations.append(float(total_duration)) 93 stddev = numpy.std(res.durations) 94 mean = numpy.mean(res.durations) 95 sample_count = len(res.durations) 102 print "\tScore = %f x %f x %f = %f (%d samples)" % (stddev, mean, pj, score, len(res.durations))
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheBuilderFactory.java | 66 CacheBuilderFactory withExpireAfterWrites(Set<DurationSpec> durations) { 67 this.expireAfterWrites = Sets.newLinkedHashSet(durations); 71 CacheBuilderFactory withExpireAfterAccesses(Set<DurationSpec> durations) { 72 this.expireAfterAccesses = Sets.newLinkedHashSet(durations); 76 CacheBuilderFactory withRefreshes(Set<DurationSpec> durations) { 77 this.refreshes = Sets.newLinkedHashSet(durations);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/adaptivestreaming/ |
AbstractManifestWriter.java | 44 long[] durations = new long[startSamples.length];
local 56 durations[currentFragment] += entry.getDelta();
61 return durations;
|
/hardware/libhardware/modules/camera/3_4/ |
format_metadata_factory_test.cpp | 58 durations{{V4L2_PIX_FMT_JPEG, 92 DoAll(SetArgPointee<2>(durations[format][size]), Return(0))); 134 durations{{V4L2_PIX_FMT_YUYV, 156 DoAll(SetArgPointee<2>(durations[format][size]), Return(0)));
|
/frameworks/av/media/extractors/mpeg2/ |
MPEG2TSExtractor.cpp | 275 List<int64_t> durations; local 286 durations.push_back(currentDurationUs); 287 if (durations.size() > 5) { 288 durations.erase(durations.begin()); 289 int64_t min = *durations.begin(); 290 int64_t max = *durations.begin(); 291 for (auto duration : durations) {
|
/frameworks/base/libs/hwui/ |
PropertyValuesAnimatorSet.h | 58 Interpolator* interpolators, int64_t startDelays, nsecs_t durations,
|
/frameworks/base/core/java/com/android/internal/app/procstats/ |
DumpUtils.java | 277 public static long dumpSingleTime(PrintWriter pw, String prefix, long[] durations, 285 long time = durations[state]; 317 public static void dumpAdjTimesCheckin(PrintWriter pw, String sep, long[] durations, 322 long time = durations[state];
|
/prebuilts/go/darwin-x86/src/flag/ |
example_test.go | 33 // Example 3: A user-defined flag type, a slice of durations. 64 // Define a flag to accumulate durations. Because it has a special type,
|
/prebuilts/go/linux-x86/src/flag/ |
example_test.go | 33 // Example 3: A user-defined flag type, a slice of durations. 64 // Define a flag to accumulate durations. Because it has a special type,
|
/external/v8/src/heap/ |
gc-tracer.cc | 717 double durations = sum.second; local 718 if (durations == 0.0) return 0; 719 double speed = bytes / durations; 797 double durations = allocation_duration_since_gc_; local 799 MakeBytesAndDuration(bytes, durations), time_ms); 805 double durations = allocation_duration_since_gc_; local 807 MakeBytesAndDuration(bytes, durations), time_ms); [all...] |
/external/golang-protobuf/ptypes/duration/ |
duration.pb.go | 51 // } else if (durations.seconds > 0 && duration.nanos < 0) { 96 // of time. Durations less than one second are represented with a 0 97 // `seconds` field and a positive or negative `nanos` field. For durations
|
/external/protobuf/csharp/src/Google.Protobuf/WellKnownTypes/ |
Duration.cs | 62 /// } else if (durations.seconds > 0 && duration.nanos < 0) { 131 /// of time. Durations less than one second are represented with a 0 132 /// `seconds` field and a positive or negative `nanos` field. For durations
|
/external/golang-protobuf/ptypes/ |
duration_test.go | 56 // Some ordinary non-zero durations.
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
TCKDuration.java | [all...] |
/frameworks/base/core/java/android/hardware/camera2/params/ |
StreamConfigurationMap.java | 52 * <p>This also contains the minimum frame durations and stall durations for each format/size 1365 StreamConfigurationDuration[] durations = getDurations(duration, dataspace); local [all...] |
/prebuilts/go/darwin-x86/src/time/ |
time.go | 627 // Common durations. There is no definition for units of Day or larger 648 // Leading zero units are omitted. As a special case, durations less than one [all...] |
time_test.go | 829 // composite durations [all...] |
/prebuilts/go/linux-x86/src/time/ |
time.go | 627 // Common durations. There is no definition for units of Day or larger 648 // Leading zero units are omitted. As a special case, durations less than one [all...] |