HomeSort by relevance Sort by last modified time
    Searched defs:stats (Results 76 - 100 of 1153) sorted by null

1 2 34 5 6 7 8 91011>>

  /cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/
EventOrderingVerification.java 65 public void verify(TestSensorEnvironment environment, SensorStats stats) {
66 verify(stats);
72 void verify(SensorStats stats) {
74 stats.addValue(PASSED_KEY, count == 0);
75 stats.addValue(SensorStats.EVENT_OUT_OF_ORDER_COUNT_KEY, count);
76 stats.addValue(
JitterVerificationTest.java 50 SensorStats stats = new SensorStats(); local
52 verification.verify(environment, stats);
53 verifyStats(stats, true, 0.0);
61 stats = new SensorStats();
64 verification.verify(environment, stats);
69 verifyStats(stats, false, 25); // 500 us range (250 us in single-sided sense)
116 private void verifyStats(SensorStats stats, boolean passed, double percentageJitter) {
117 assertEquals(passed, stats.getValue(JitterVerification.PASSED_KEY));
120 (Double) stats.getValue(SensorStats.JITTER_95_PERCENTILE_PERCENT_KEY),
MagnitudeVerification.java 85 public void verify(TestSensorEnvironment environment, SensorStats stats) {
86 verify(stats);
92 void verify(SensorStats stats) {
94 stats.addValue(PASSED_KEY, true);
101 stats.addValue(PASSED_KEY, !failed);
102 stats.addValue(SensorStats.MAGNITUDE_KEY, mean);
MeanVerification.java 79 public void verify(TestSensorEnvironment environment, SensorStats stats) {
80 verify(stats);
86 void verify(SensorStats stats) {
88 stats.addValue(PASSED_KEY, true);
116 stats.addValue(PASSED_KEY, !failed);
117 stats.addValue(SensorStats.MEAN_KEY, means);
TimestampClockSourceVerificationTest.java 166 SensorStats stats = new SensorStats(); local
170 verification.verify(environment, stats);
174 verification.verify(environment, stats);
182 assertEquals(pass, stats.getValue(TimestampClockSourceVerification.PASSED_KEY));
183 assertEquals(indices.length, stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY));
184 if (0 != (Integer) stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_COUNT_KEY)) {
185 assertNotNull(stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_POSITIONS_KEY));
188 int[] actualIndices = (int[]) stats.getValue(SensorStats.EVENT_TIME_WRONG_CLOCKSOURCE_POSITIONS_KEY);
BatchArrivalVerification.java 89 public void verify(TestSensorEnvironment environment, SensorStats stats) {
91 stats.addValue(PASSED_KEY, count == 0);
92 stats.addValue(SensorStats.DELAYED_BATCH_DELIVERY, count);
  /external/icu/android_icu4j/src/main/java/android/icu/impl/
ICURWLock.java 44 private Stats stats = null; field in class:ICURWLock
49 public final static class Stats {
75 private Stats() {
78 private Stats(int rc, int mrc, int wrc, int wc, int wwc) {
86 private Stats(Stats rhs) {
91 * Return a string listing all the stats.
104 * Reset the stats. Returns existing stats, if any
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICURWLock.java 42 private Stats stats = null; field in class:ICURWLock
47 public final static class Stats {
73 private Stats() {
76 private Stats(int rc, int mrc, int wrc, int wc, int wwc) {
84 private Stats(Stats rhs) {
89 * Return a string listing all the stats.
102 * Reset the stats. Returns existing stats, if any
    [all...]
  /external/iproute2/ip/
iplink_can.c 350 struct can_device_stats *stats; local
352 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) {
353 stats = RTA_DATA(xstats);
358 stats->restarts, stats->bus_error,
359 stats->arbitration_lost, stats->error_warning,
360 stats->error_passive, stats->bus_off);
  /external/v8/tools/
callstats.py 12 run run chrome with --runtime-call-stats and generate logs
13 stats process logs and print statistics
17 For each command, you can try ./runtime-call-stats.py help command.
32 import scipy.stats
112 var msg = "STATS: (" + refreshId + ") " + url;
177 js_flags = "--runtime-call-stats"
203 # If the stats file is empty, chrome must be called again.
298 flags = get_chrome_flags("'--runtime-call-stats --allow-natives-syntax'",
323 t_bounds = scipy.stats.t.interval(0.95, N-1)
369 if line.startswith("STATS:"): continu
426 def stats(s, units=""): function in function:print_stats.print_entry
    [all...]
  /external/webrtc/webrtc/p2p/stunprober/
stunprober_unittest.cc 104 StunProber::Stats stats; local
105 EXPECT_TRUE(prober->GetStats(&stats));
106 EXPECT_EQ(stats.success_percent, 100);
107 EXPECT_TRUE(stats.nat_type > stunprober::NATTYPE_NONE);
108 EXPECT_EQ(stats.srflx_addrs, srflx_addresses);
109 EXPECT_EQ(static_cast<uint32_t>(stats.num_request_sent),
111 EXPECT_EQ(static_cast<uint32_t>(stats.num_response_received),
  /frameworks/base/core/java/android/database/sqlite/
SQLiteDebug.java 32 private static native void nativeGetPagerStats(PagerStats stats);
133 /** statement cache stats: hits/misses/cachesize */
147 * return all pager and database stats for the current process.
151 PagerStats stats = new PagerStats(); local
152 nativeGetPagerStats(stats);
153 stats.dbStats = SQLiteDatabase.getDbStats();
154 return stats;
  /frameworks/base/services/core/java/com/android/server/storage/
AppCollector.java 72 * Returns a list of package stats for the context and volume. Note that in a multi-user
73 * environment, this may return stats for the same package multiple times. These "duplicate"
74 * entries will have the package stats for the package for a given user, not the package in
117 List<PackageStats> stats = new ArrayList<>(); local
140 stats.add(packageStats);
147 mStats.complete(stats);
  /frameworks/base/wifi/java/android/net/wifi/
WifiConnectionStatistics.java 28 * Wifi Connection Statistics: gather various stats regarding WiFi connections,
64 WifiNetworkConnectionStatistics stats; local
68 stats = untrustedNetworkHistory.get(SSID);
69 if (stats != null){
70 stats.numConnection = connection + stats.numConnection;
71 stats.numUsage = usage + stats.numUsage;
74 stats = new WifiNetworkConnectionStatistics(connection, usage);
76 if (stats != null)
91 WifiNetworkConnectionStatistics stats = untrustedNetworkHistory.get(Key); local
    [all...]
  /hardware/interfaces/automotive/vehicle/2.0/default/tests/
VehicleObjectPool_test.cpp 36 stats = PoolStats::instance();
44 ASSERT_EQ(stats->Obtained, stats->Recycled);
45 ASSERT_LE(stats->Created, stats->Recycled);
49 stats->Obtained = 0;
50 stats->Created = 0;
51 stats->Recycled = 0;
55 PoolStats* stats; member in class:android::hardware::automotive::vehicle::V2_0::__anon40940::VehicleObjectPoolTest
66 ASSERT_EQ(3u, stats->Obtained)
    [all...]
  /packages/apps/Camera2/src/com/android/camera/one/v2/stats/
PreviewFpsListener.java 17 package com.android.camera.one.v2.stats;
  /packages/apps/Camera2/src/com/android/camera/stats/profiler/
ProfileBase.java 17 package com.android.camera.stats.profiler;
  /packages/apps/Camera2/src_pd/com/android/camera/stats/
UsageStatistics.java 18 package com.android.camera.stats;
  /prebuilts/go/darwin-x86/src/net/internal/socktest/
switch.go 23 stats stats
29 sw.stats = make(stats)
32 // Stats returns a list of per-cookie socket statistics.
33 func (sw *Switch) Stats() []Stat {
36 for _, s := range sw.stats {
106 type stats map[Cookie]*Stat type
108 func (st stats) getLocked(c Cookie) *Stat {
  /prebuilts/go/linux-x86/src/net/internal/socktest/
switch.go 23 stats stats
29 sw.stats = make(stats)
32 // Stats returns a list of per-cookie socket statistics.
33 func (sw *Switch) Stats() []Stat {
36 for _, s := range sw.stats {
106 type stats map[Cookie]*Stat type
108 func (st stats) getLocked(c Cookie) *Stat {
  /tools/tradefederation/core/tests/src/com/android/tradefed/device/
TopHelperTest.java 56 List<TopStats> stats = mTop.getTopStats(); local
58 assertEquals(1, stats.size());
60 assertEquals(17.0, stats.get(0).mTotalPercent, 0.0001);
61 assertEquals(7.0, stats.get(0).mUserPercent, 0.0001);
62 assertEquals(5.0, stats.get(0).mSystemPercent, 0.0001);
63 assertEquals(3.0, stats.get(0).mIowPercent, 0.0001);
64 assertEquals(2.0, stats.get(0).mIrqPercent, 0.0001);
80 List<TopStats> stats = mTop.getTopStats(); local
82 assertEquals(0, stats.size());
84 assertNull(TopHelper.getTotalAverage(stats));
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/location/
LocationRequestStatisticsTest.java 39 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); local
40 verifyStatisticsTimes(stats);
41 assertEquals(INTERVAL1, stats.getFastestIntervalMs());
42 assertEquals(INTERVAL1, stats.getSlowestIntervalMs());
43 assertTrue(stats.isActive());
58 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); local
59 verifyStatisticsTimes(stats);
60 assertEquals(INTERVAL1, stats.getFastestIntervalMs());
61 assertEquals(INTERVAL1, stats.getSlowestIntervalMs());
62 assertTrue(stats.isActive())
79 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); local
    [all...]
  /frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/
UsageStatsActivity.java 130 Map<String, UsageStats> stats = mUsageStatsManager.queryAndAggregateUsageStats( local
132 mAdapter.update(stats);
138 public void update(Map<String, UsageStats> stats) {
140 if (stats == null) {
144 mStats.addAll(stats.values());
  /frameworks/base/tests/net/java/android/net/
NetworkStatsHistoryTest.java 55 private NetworkStatsHistory stats; field in class:NetworkStatsHistoryTest
60 if (stats != null) {
61 assertConsistent(stats);
93 stats = new NetworkStatsHistory(BUCKET_SIZE);
96 stats.recordData(TEST_START, TEST_START + SECOND_IN_MILLIS,
99 assertEquals(1, stats.size());
100 assertValues(stats, 0, SECOND_IN_MILLIS, 1024L, 10L, 2048L, 20L, 2L);
105 stats = new NetworkStatsHistory(bucketDuration);
109 stats.recordData(recordStart, recordStart + bucketDuration,
112 assertEquals(2, stats.size())
    [all...]
  /art/compiler/utils/
dedupe_set-inl.h 41 struct DedupeSet<InKey, StoreKey, Alloc, HashType, HashFunc, kShard>::Stats {
83 void UpdateStats(Thread* self, Stats* global_stats) REQUIRES(!lock_) {
85 // for bookkeeping while collecting the stats.
86 std::unordered_map<HashType, size_t> stats; variable
94 auto it = stats.find(key.Hash());
95 if (it == stats.end()) {
96 stats.insert({key.Hash(), 1u});
102 for (const auto& entry : stats) {
238 Stats stats; local
    [all...]

Completed in 824 milliseconds

1 2 34 5 6 7 8 91011>>