/external/guava/guava/src/com/google/common/cache/ |
Cache.java | 131 * Returns a current snapshot of this cache's cumulative statistics. All stats are initialized 135 CacheStats stats(); method in interface:Cache
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheStatsTest.java | 29 CacheStats stats = new CacheStats(0, 0, 0, 0, 0, 0); local 30 assertEquals(0, stats.requestCount()); 31 assertEquals(0, stats.hitCount()); 32 assertEquals(1.0, stats.hitRate()); 33 assertEquals(0, stats.missCount()); 34 assertEquals(0.0, stats.missRate()); 35 assertEquals(0, stats.loadSuccessCount()); 36 assertEquals(0, stats.loadExceptionCount()); 37 assertEquals(0.0, stats.loadExceptionRate()); 38 assertEquals(0, stats.loadCount()) 45 CacheStats stats = new CacheStats(11, 13, 17, 19, 23, 27); local [all...] |
/external/iproute2/netem/ |
stats.c | 18 stats(FILE *fp) function 75 stats(fp);
|
/external/libnl/tests/ |
test-genl.c | 38 struct taskstats *stats = nla_data(attrs[TASKSTATS_TYPE_STATS]); local 41 stats->ac_comm, stats->ac_pid, stats->ac_uid, 42 stats->ac_gid, stats->ac_ppid);
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
ebb.h | 26 } stats; member in struct:ebb_state
|
/external/ltp/testcases/kernel/syscalls/fstatfs/ |
fstatfs01.c | 72 struct statfs stats; local 82 TEST(fstatfs(*tcases[i].fd, &stats)); 88 tcases[i].msg, stats.f_type);
|
/external/valgrind/memcheck/tests/ |
sbfragment.c | 11 void stats(char *msg) function 98 stats ("before freeing last block"); 101 stats ("after freeing last block");
|
/external/valgrind/memcheck/tests/x86-solaris/ |
scalar.c | 37 struct statvfs64 stats; local 40 SY(SYS_statvfs64, x0 + path, x0 + &stats); SUCC; 42 size_t basetype_len = strlen(stats.f_basetype); 43 size_t fstr_len = strlen(stats.f_fstr); 47 if (stats.f_basetype[basetype_len + 2] != ' ') x = -1; else x = -2; 48 if (stats.f_fstr[fstr_len + 2] != ' ') x = -3; else x = -4;
|
/external/webp/src/enc/ |
cost_enc.h | 35 StatsArray* stats; member in struct:VP8Residual 45 static WEBP_INLINE int VP8RecordStats(int bit, proba_t* const stats) { 46 proba_t p = *stats; 50 p = ((p + 1u) >> 1) & 0x7fff7fffu; // -> divide the stats by 2. 54 *stats = p;
|
/external/webrtc/webrtc/modules/video_processing/test/ |
brightness_detection_test.cc | 32 VideoProcessing::FrameStats stats; local 33 vp_->GetFrameStats(video_frame_, &stats); 34 EXPECT_GT(stats.num_pixels, 0u); 35 ASSERT_GE(brightnessWarning = vp_->BrightnessDetection(video_frame_, stats), 69 VideoProcessing::FrameStats stats; local 70 vp_->GetFrameStats(video_frame_, &stats); 71 EXPECT_GT(stats.num_pixels, 0u); 72 ASSERT_GE(brightnessWarning = vp_->BrightnessDetection(video_frame_, stats), 103 VideoProcessing::FrameStats stats; local 104 vp_->GetFrameStats(video_frame_, &stats); [all...] |
deflickering_test.cc | 65 VideoProcessing::FrameStats stats; local 66 vp_->GetFrameStats(video_frame_, &stats); 67 EXPECT_GT(stats.num_pixels, 0u); 68 ASSERT_EQ(0, vp_->Deflickering(&video_frame_, &stats));
|
/external/webrtc/webrtc/p2p/stunprober/ |
main.cc | 66 StunProber::Stats stats; local 67 if (!prober->GetStats(&stats)) { 72 LOG(LS_INFO) << "Shared Socket Mode: " << stats.shared_socket_mode; 73 LOG(LS_INFO) << "Requests sent: " << stats.num_request_sent; 74 LOG(LS_INFO) << "Responses received: " << stats.num_response_received; 75 LOG(LS_INFO) << "Target interval (ns): " << stats.target_request_interval_ns; 76 LOG(LS_INFO) << "Actual interval (ns): " << stats.actual_request_interval_ns; 77 LOG(LS_INFO) << "NAT Type: " << PrintNatType(stats.nat_type); 78 LOG(LS_INFO) << "Host IP: " << stats.host_ip [all...] |
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
NetworkStatsFactoryBenchmark.java | 28 // TODO: consider staging stats file with different number of rows 32 mStats = new File("/proc/net/xt_qtaguid/stats"); 51 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 0); local 53 stats, mStats.getAbsolutePath(), NetworkStats.UID_ALL,
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
KernelMemoryBandwidthStatsTest.java | 19 * Standard example of parsing stats. 24 KernelMemoryBandwidthStats stats = new KernelMemoryBandwidthStats(); local 39 stats.parseStats(mockStandardReader); 42 LongSparseLongArray array = stats.getBandwidthEntries(); 51 * When the stats are populated with zeroes (unsupported device), checks that the stats are
|
/frameworks/base/services/core/java/com/android/server/am/ |
BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in class:BackupRecord 41 stats = _agentStats;
|
/packages/apps/Camera2/src/com/android/camera/stats/ |
Camera2FaceProxy.java | 17 package com.android.camera.stats;
|
/packages/apps/Camera2/src/com/android/camera/stats/profiler/ |
GuardingProfile.java | 17 package com.android.camera.stats.profiler;
|
GuardingProfiler.java | 17 package com.android.camera.stats.profiler;
|
LoggingProfile.java | 17 package com.android.camera.stats.profiler;
|
LoggingProfiler.java | 17 package com.android.camera.stats.profiler;
|
/packages/apps/Camera2/src_pd/com/android/camera/stats/ |
CaptureStats.java | 1 package com.android.camera.stats;
|
SessionStatsCollector.java | 1 package com.android.camera.stats;
|
/frameworks/base/tests/net/java/android/net/ |
NetworkStatsTest.java | 51 final NetworkStats stats = new NetworkStats(TEST_START, 5) local 63 assertEquals(4, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_YES, 65 assertEquals(3, stats.findIndex(TEST_IFACE, 102, SET_DEFAULT, TAG_NONE, METERED_NO, 67 assertEquals(2, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_YES, 69 assertEquals(1, stats.findIndex(TEST_IFACE, 101, SET_DEFAULT, TAG_NONE, METERED_NO, 71 assertEquals(0, stats.findIndex(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE, METERED_NO, 73 assertEquals(-1, stats.findIndex(TEST_IFACE, 6, SET_DEFAULT, TAG_NONE, METERED_NO, 78 final NetworkStats stats = new NetworkStats(TEST_START, 3) local 97 for (int hint = 0; hint < stats.size(); hint++) { 98 assertEquals(0, stats.findIndexHinted(TEST_IFACE, 100, SET_DEFAULT, TAG_NONE 120 final NetworkStats stats = new NetworkStats(TEST_START, 4); local 172 final NetworkStats stats = new NetworkStats(TEST_START, 10); local 391 final NetworkStats stats = new NetworkStats(TEST_START, 7) local [all...] |
/frameworks/base/services/core/java/com/android/server/location/ |
LocationRequestStatistics.java | 29 PackageStatistics stats = statistics.get(key); local 30 if (stats == null) { 31 stats = new PackageStatistics(); 32 statistics.put(key, stats); 34 stats.startRequesting(intervalMs); 45 PackageStatistics stats = statistics.get(key); local 46 if (stats != null) { 47 stats.stopRequesting();
|
/sdk/eclipse/plugins/com.android.ide.eclipse.monitor/src/com/android/ide/eclipse/monitor/ |
MonitorApplication.java | 78 // If this is the first time using ddms or adt, open up the stats service 81 SdkStatsService stats = new SdkStatsService(); local 82 stats.checkUserPermissionForPing(new Shell(display));
|