| /frameworks/base/services/tests/servicestests/src/com/android/server/location/ |
| LocationRequestStatisticsTest.java | 105 PackageStatistics stats2 = mStatistics.statistics.get(key2); local 106 verifyStatisticsTimes(stats2); 107 assertEquals(INTERVAL2, stats2.getSlowestIntervalMs()); 108 assertEquals(INTERVAL2, stats2.getFastestIntervalMs()); 109 assertTrue(stats2.isActive()); 113 assertTrue(stats2.isActive()); 116 assertFalse(stats2.isActive()); 137 PackageStatistics stats2 = mStatistics.statistics.get(key2); local 138 verifyStatisticsTimes(stats2); 139 assertEquals(INTERVAL2, stats2.getSlowestIntervalMs()) [all...] |
| /prebuilts/go/darwin-x86/test/fixedbugs/ |
| issue9110.go | 23 var stats, stats1, stats2 runtime.MemStats 86 runtime.ReadMemStats(&stats2) 88 if int(stats2.HeapObjects)-int(stats1.HeapObjects) > 20 { // normally at most 1 or 2; was 300 with leak 89 print("BUG: object leak: ", stats.HeapObjects, " -> ", stats1.HeapObjects, " -> ", stats2.HeapObjects, "\n")
|
| /prebuilts/go/linux-x86/test/fixedbugs/ |
| issue9110.go | 23 var stats, stats1, stats2 runtime.MemStats 86 runtime.ReadMemStats(&stats2) 88 if int(stats2.HeapObjects)-int(stats1.HeapObjects) > 20 { // normally at most 1 or 2; was 300 with leak 89 print("BUG: object leak: ", stats.HeapObjects, " -> ", stats1.HeapObjects, " -> ", stats2.HeapObjects, "\n")
|
| /system/core/storaged/tests/ |
| storaged_test.cpp | 195 struct disk_stats disk_stats_add(struct disk_stats stats1, struct disk_stats stats2) { 197 retval.read_ios = stats1.read_ios + stats2.read_ios; 198 retval.read_merges = stats1.read_merges + stats2.read_merges; 199 retval.read_sectors = stats1.read_sectors + stats2.read_sectors; 200 retval.read_ticks = stats1.read_ticks + stats2.read_ticks; 201 retval.write_ios = stats1.write_ios + stats2.write_ios; 202 retval.write_merges = stats1.write_merges + stats2.write_merges; 203 retval.write_sectors = stats1.write_sectors + stats2.write_sectors; 204 retval.write_ticks = stats1.write_ticks + stats2.write_ticks; 205 retval.io_in_flight = stats1.io_in_flight + stats2.io_in_flight [all...] |
| /external/tensorflow/tensorflow/contrib/boosted_trees/lib/learner/common/accumulators/ |
| feature-stats-accumulator_test.cc | 70 TestStats stats2 = {4.46f, 1.9f}; local 71 accumulator.AddStats(0, 2, 1, 234, stats2); 80 TestStats stats2 = {4.46f, 1.9f}; local 81 accumulator.AddStats(0, 1, 0, 91, stats2); 84 EXPECT_STATS_EQ(stats2, accumulator.GetStats(0, 1, 0, 91));
|
| /frameworks/base/services/robotests/src/com/android/server/backup/transport/ |
| TransportStatsTest.java | 96 Stats stats2 = mTransportStats.getStatsForTransport(mTransportComponent2); local 98 Stats stats = Stats.merge(stats1, stats2);
|
| /cts/tests/sensor/src/android/hardware/cts/helpers/ |
| SensorStatsTest.java | 48 stats.addSensorStats("stats2", new SensorStats());
|
| /external/compiler-rt/lib/asan/tests/ |
| asan_mac_test.cc | 226 malloc_statistics_t stats1, stats2; local 230 malloc_zone_statistics(/*all zones*/NULL, &stats2); 231 EXPECT_GT(stats2.blocks_in_use, stats1.blocks_in_use); 232 EXPECT_GE(stats2.size_in_use - stats1.size_in_use, kMallocSize);
|
| /external/libvpx/libvpx/test/ |
| vp9_ethread_test.cc | 120 FIRSTPASS_STATS *stats2 = stats1 + nframes_ / 2; local 127 const double *frame_stats2 = reinterpret_cast<double *>(stats2); 139 stats2++; 151 uint8_t *stats2 = stats1 + fp_stats->sz / 2; local 157 md5_row_mt_1.Add(stats2, fp_stats->sz / 2);
|
| /frameworks/base/tests/net/java/android/net/ |
| NetworkStatsHistoryTest.java | 208 final NetworkStatsHistory stats2 = new NetworkStatsHistory(HOUR_IN_MILLIS); local 209 stats2.recordData(TEST_START_2, TEST_START_2 + 2 * HOUR_IN_MILLIS, 1000L, 500L); 214 stats.recordEntireHistory(stats2); 233 final NetworkStatsHistory stats2 = new NetworkStatsHistory(MINUTE_IN_MILLIS); local 234 stats2.recordData(TEST_START_2, TEST_START_2 + MINUTE_IN_MILLIS * 5, 50L, 50L); 239 stats.recordEntireHistory(stats2); 256 stats.recordEntireHistory(stats2);
|
| /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
| FrameSummaryViewPage.java | 426 PerCallStats stats2 = (PerCallStats) entry2.getValue(); local 432 return stats1.count - stats2.count; 434 return (int) (stats1.wallDuration - stats2.wallDuration); 436 return (int) (stats1.threadDuration - stats2.threadDuration);
|
| /external/python/cpython3/Lib/test/ |
| test_tracemalloc.py | 426 stats2 = snapshot2.statistics('lineno') 427 self.assertEqual(stats2, [ 459 stats2 = snapshot2.statistics('filename') 460 self.assertEqual(stats2, [ 492 stats2 = snapshot2.statistics('traceback') 493 self.assertEqual(stats2, [ [all...] |
| /external/zopfli/src/zopfli/ |
| squeeze.c | 61 const SymbolStats* stats2, double w2, 66 (size_t) (stats1->litlens[i] * w1 + stats2->litlens[i] * w2); 70 (size_t) (stats1->dists[i] * w1 + stats2->dists[i] * w2);
|
| /external/webrtc/talk/media/webrtc/ |
| webrtcvideoengine2_unittest.cc | 2768 webrtc::VideoSendStream::Stats stats2; local [all...] |
| /external/autotest/client/tools/ |
| html_report.py | 139 table.stats2 147 table.stats2 td{ [all...] |