/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
EventBasicVerification.java | 166 public void verify(TestSensorEnvironment environment, SensorStats stats) { 167 verify(stats); 171 void verify(SensorStats stats) { 173 stats.addValue(SensorStats.EVENT_COUNT_KEY, mNumEvent); 174 stats.addValue(SensorStats.EVENT_COUNT_EXPECTED_KEY, mExpectedMinNumEvent); 175 stats.addValue(SensorStats.WRONG_SENSOR_KEY, mWrongSensorObserved); 181 stats.addValue(PASSED_KEY, success);
|
EventGapVerification.java | 68 public void verify(TestSensorEnvironment environment, SensorStats stats) { 71 stats.addValue(PASSED_KEY, "skipped (under load)"); 81 stats.addValue(PASSED_KEY, pass); 82 stats.addValue(SensorStats.EVENT_GAP_COUNT_KEY, count); 83 stats.addValue(SensorStats.EVENT_GAP_POSITIONS_KEY, getIndexArray(mEventGaps));
|
EventTimestampSynchronizationVerification.java | 99 public void verify(TestSensorEnvironment environment, SensorStats stats) { 104 stats.addValue(SensorStats.EVENT_TIME_SYNCHRONIZATION_COUNT_KEY, failuresCount); 105 stats.addValue( 110 stats.addValue(PASSED_KEY, success);
|
FifoLengthVerification.java | 93 public void verify(TestSensorEnvironment environment, SensorStats stats) { 96 stats.addValue(PASSED_KEY, "skipped (no fifo length requirements)"); 122 stats.addValue(PASSED_KEY, success); 123 stats.addValue(SensorStats.EVENT_FIFO_LENGTH, batchCount);
|
FrequencyVerification.java | 130 public void verify(TestSensorEnvironment environment, SensorStats stats) { 132 stats.addValue(PASSED_KEY, true); 141 stats.addValue(SensorStats.FREQUENCY_KEY, measuredFrequencyHz); 142 stats.addValue(PASSED_KEY, !failed);
|
GyroscopeIntegrationVerification.java | 57 public void verify(TestSensorEnvironment environment, SensorStats stats) { 62 stats.addValue(PASSED_KEY, true); 84 stats.addValue(PASSED_KEY, success);
|
JitterVerification.java | 104 public void verify(TestSensorEnvironment environment, SensorStats stats) { 108 stats.addValue(PASSED_KEY, true); 125 stats.addValue(SensorStats.JITTER_95_PERCENTILE_PERCENT_KEY, percentageJitter); 128 stats.addValue(PASSED_KEY, success);
|
StandardDeviationVerification.java | 126 public void verify(TestSensorEnvironment environment, SensorStats stats) { 127 verify(stats); 133 void verify(SensorStats stats) { 135 stats.addValue(PASSED_KEY, true); 166 stats.addValue(PASSED_KEY, !failed); 167 stats.addValue(SensorStats.STANDARD_DEVIATION_KEY, stdDevs);
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/stat/ |
StatUtils.java | 642 DescriptiveStatistics stats = new DescriptiveStatistics(); local 644 // Add the data from the series to stats 646 stats.addValue(sample[i]); 650 double mean = stats.getMean(); 651 double standardDeviation = stats.getStandardDeviation();
|
/external/caliper/caliper/src/main/java/com/google/caliper/worker/ |
MicrobenchmarkAllocationWorker.java | 94 AllocationStats stats = measureAllocations(benchmark, benchmarkMethod, 0); local 95 history.add(stats); 96 if (stats.equals(baseline)) { 104 baseline = stats;
|
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/ |
smoothness_unittest.py | 15 stats = ['refresh_period', 'frame_timestamps', 'frame_times', 'paint_times', variable in class:_MockRenderingStats 25 for stat in self.stats: 40 stats = _MockRenderingStats() 41 for stat in _MockRenderingStats.stats: 42 # Just set fake data for all of the relevant arrays of stats typically 44 setattr(stats, stat, [[10, 20], [30, 40, 50]]) 47 self.metric._PopulateResultsFromStats(results, stats, False) 65 stats = _MockRenderingStats(refresh_period=10, 69 self.metric._ComputeSurfaceFlingerMetric(self.page, stats)) 76 stats = _MockRenderingStats [all...] |
/external/compiler-rt/lib/asan/ |
asan_stats.cc | 44 Printf("Stats: %zuM malloced (%zuM for red zones) by %zu calls\n", 46 Printf("Stats: %zuM realloced by %zu calls\n", realloced>>20, reallocs); 47 Printf("Stats: %zuM freed by %zu calls\n", freed>>20, frees); 48 Printf("Stats: %zuM really freed by %zu calls\n", 50 Printf("Stats: %zuM (%zuM-%zuM) mmaped; %zu maps, %zu unmaps\n", 55 Printf("Stats: malloc large: %zu\n", malloc_large); 58 void AsanStats::MergeFrom(const AsanStats *stats) { 60 const uptr *src_ptr = reinterpret_cast<const uptr*>(stats); 79 accumulated_stats->MergeFrom(&t->stats()); 82 static void GetAccumulatedStats(AsanStats *stats) { 109 AsanStats stats; local 123 AsanStats stats; local 140 AsanStats stats; local 150 AsanStats stats; local 156 AsanStats stats; local [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_stackdepotbase.h | 34 StackDepotStats *GetStats() { return &stats; } 55 StackDepotStats stats; member in class:__sanitizer::StackDepotBase 120 stats.n_uniq_ids++; 127 stats.allocated += memsz;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
AbstractCacheTest.java | 102 CacheStats stats = counter.snapshot(); local 103 assertEquals(0, stats.requestCount()); 104 assertEquals(0, stats.hitCount()); 105 assertEquals(1.0, stats.hitRate()); 106 assertEquals(0, stats.missCount()); 107 assertEquals(0.0, stats.missRate()); 108 assertEquals(0, stats.loadSuccessCount()); 109 assertEquals(0, stats.loadExceptionCount()); 110 assertEquals(0, stats.loadCount()); 111 assertEquals(0, stats.totalLoadTime()) 133 CacheStats stats = counter.snapshot(); local [all...] |
CacheBuilderTest.java | 590 CacheStats stats = cache.stats(); local 591 assertEquals(removalListener.size(), stats.evictionCount()); 592 assertEquals(computeCount.get(), stats.loadSuccessCount()); 593 assertEquals(exceptionCount.get() + computeNullCount.get(), stats.loadExceptionCount());
|
ForwardingCacheTest.java | 101 expect(mock.stats()).andReturn(null); 103 assertNull(forward.stats());
|
ForwardingLoadingCacheTest.java | 113 expect(mock.stats()).andReturn(null); 115 assertNull(forward.stats());
|
/external/iproute2/tipc/ |
link.c | 210 struct nlattr *stats[]) 229 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_INFO]), 230 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTS]), 231 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_FRAGMENTED]), 232 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLES]), 233 mnl_attr_get_u32(stats[TIPC_NLA_STATS_RX_BUNDLED])); 237 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_INFO]), 238 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTS]), 239 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_FRAGMENTED]), 240 mnl_attr_get_u32(stats[TIPC_NLA_STATS_TX_BUNDLES]) 325 struct nlattr *stats[TIPC_NLA_STATS_MAX + 1] = {}; local [all...] |
/external/libchrome/base/trace_event/ |
malloc_dump_provider.cc | 120 malloc_statistics_t stats; local 121 memset(&stats, 0, sizeof(stats)); 122 malloc_zone_statistics(nullptr, &stats); 123 total_virtual_size = stats.size_allocated; 124 allocated_objects_size = stats.size_in_use; 131 resident_size = stats.max_size_in_use;
|
/external/libvpx/libvpx/examples/ |
twopass_encoder.c | 72 vpx_fixed_buf_t *stats) { 78 if (res != VPX_CODEC_OK) die_codec(ctx, "Failed to get frame stats."); 86 stats->buf = realloc(stats->buf, stats->sz + pkt_size); 87 memcpy((uint8_t *)stats->buf + stats->sz, pkt_buf, pkt_size); 88 stats->sz += pkt_size; 128 vpx_fixed_buf_t stats = { NULL, 0 }; local 137 &stats); 197 vpx_fixed_buf_t stats; local [all...] |
/external/ppp/pppd/include/net/ |
vjcompress.h | 124 struct vjstat stats; member in struct:vjcompress
|
/external/selinux/libselinux/src/ |
label_media.c | 197 static void stats(struct selabel_handle *rec) function 223 rec->func_stats = &stats;
|
label_x.c | 223 static void stats(struct selabel_handle *rec) function 248 rec->func_stats = &stats;
|
/external/v8/tools/ |
gc-nvp-trace-processor.py | 286 def stats(out, prefix, trace, field): function in function:process_trace 335 stats(out, 'Total in GC', trace, 'pause') 336 stats(out, 'Scavenge', scavenges, 'pause') 337 stats(out, 'MarkSweep', marksweeps, 'pause') 338 stats(out, 'Mark', filter(lambda r: r['mark'] != 0, trace), 'mark') 339 stats(out, 'Sweep', filter(lambda r: r['sweep'] != 0, trace), 'sweep') 340 stats(out,
|
/external/webrtc/webrtc/audio/ |
audio_receive_stream.cc | 190 webrtc::AudioReceiveStream::Stats AudioReceiveStream::GetStats() const { 192 webrtc::AudioReceiveStream::Stats stats; local 193 stats.remote_ssrc = config_.rtp.remote_ssrc; 199 return stats; 202 stats.bytes_rcvd = call_stats.bytesReceived; 203 stats.packets_rcvd = call_stats.packetsReceived; 204 stats.packets_lost = call_stats.cumulativeLost; 205 stats.fraction_lost = Q8ToFloat(call_stats.fractionLost); 206 stats.capture_start_ntp_time_ms = call_stats.capture_start_ntp_time_ms_ [all...] |