/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/core/java/com/android/internal/net/ |
NetworkStatsFactory.java | 49 /** Path to {@code /proc/net/xt_qtaguid/stats}. */ 60 mStatsXtUid = new File(procRoot, "net/xt_qtaguid/stats"); 69 * @throws IllegalStateException when problem parsing stats. 74 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); local 103 stats.addValues(entry); 107 throw new IllegalStateException("problem parsing stats: " + e); 109 throw new IllegalStateException("problem parsing stats: " + e); 111 throw new IllegalStateException("problem parsing stats: " + e); 116 return stats; 124 * @throws IllegalStateException when problem parsing stats 181 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 24); local [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/welcome/ |
AdtStartup.java | 209 SdkStatsService stats = new SdkStatsService(); local 210 stats.ping("adt", adtVersionString); //$NON-NLS-1$ 211 stats.ping("eclipse", eclipseVersionString); //$NON-NLS-1$
|
/external/chromium/chrome/browser/renderer_host/ |
web_cache_manager_unittest.cc | 32 static std::map<int, WebCacheManager::RendererInfo>& stats( function in class:WebCacheManagerTest 38 stats(h)[renderer_id].access = Time::Now() - TimeDelta::FromMinutes( 51 WebCache::UsageStats* stats) { 52 h->GatherStats(renderers, stats); 55 const WebCache::UsageStats& stats) { 57 static_cast<WebCacheManager::AllocationTactic>(tactic), stats); 162 EXPECT_EQ(1U, stats(manager()).size()); 166 EXPECT_EQ(1U, stats(manager()).size()); 167 EXPECT_TRUE(kStats == stats(manager())[kRendererID]); 191 WebCache::UsageStats stats; local 192 GatherStats(manager(), renderer_set, &stats); local 197 GatherStats(manager(), renderer_set, &stats); local [all...] |
/external/compiler-rt/lib/asan/ |
asan_thread.h | 90 AsanStats &stats() { return stats_; } function in class:__asan::AsanThread
|
/external/e2fsprogs/lib/ext2fs/ |
closefs.c | 374 io_stats stats = 0; local 385 fs->io->manager->get_stats(fs->io, &stats); 386 if (stats && stats->bytes_written && (fs->flags & EXT2_FLAG_RW)) { 387 fs->super->s_kbytes_written += stats->bytes_written >> 10;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
AbstractCacheTest.java | 85 CacheStats stats = counter.snapshot(); local 86 assertEquals(0, stats.requestCount()); 87 assertEquals(0, stats.hitCount()); 88 assertEquals(1.0, stats.hitRate()); 89 assertEquals(0, stats.missCount()); 90 assertEquals(0.0, stats.missRate()); 91 assertEquals(0, stats.loadSuccessCount()); 92 assertEquals(0, stats.loadExceptionCount()); 93 assertEquals(0, stats.loadCount()); 94 assertEquals(0, stats.totalLoadTime()) 116 CacheStats stats = counter.snapshot(); local [all...] |
CacheBuilderTest.java | 596 CacheStats stats = cache.stats(); local 597 assertEquals(removalListener.size(), stats.evictionCount()); 598 assertEquals(computeCount.get(), stats.loadSuccessCount()); 599 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());
|
LocalLoadingCacheTest.java | 80 // stats tests 87 assertEquals(EMPTY_STATS, cache.stats()); 91 CacheStats stats = cache.stats(); local 92 assertEquals(1, stats.requestCount()); 93 assertEquals(0, stats.hitCount()); 94 assertEquals(0.0, stats.hitRate()); 95 assertEquals(1, stats.missCount()); 96 assertEquals(1.0, stats.missRate()); 97 assertEquals(1, stats.loadCount()) [all...] |
/external/jmonkeyengine/engine/src/core/com/jme3/system/ |
NullRenderer.java | 55 private static final Statistics stats = new Statistics(); field in class:NullRenderer 62 return stats;
|
/external/libselinux/src/ |
label_android_property.c | 275 static void stats(struct selabel_handle __attribute__((unused)) *rec) function 277 selinux_log(SELINUX_WARNING, "'stats' functionality not implemented.\n"); 292 rec->func_stats = &stats;
|
/external/ppp/pppd/include/net/ |
vjcompress.h | 124 struct vjstat stats; member in struct:vjcompress
|
/external/webkit/Source/WebKit/efl/ewk/ |
ewk_tiled_backing_store.h | 71 Ewk_Tile_Stats stats; /**< tile usage statistics */ member in struct:_Ewk_Tile
|
/external/webp/src/enc/ |
webpenc.c | 133 // lf-stats: 2048 170 + lf_stats_size; // autofilter stats 181 " lf-stats: %ld\n" 276 WebPAuxStats* stats = enc->pic_->stats; local 279 stats->PSNR[0] = (float)GetPSNR(sse[0], size); 280 stats->PSNR[1] = (float)GetPSNR(sse[1], size / 4); 281 stats->PSNR[2] = (float)GetPSNR(sse[2], size / 4); 282 stats->PSNR[3] = (float)GetPSNR(sse[0] + sse[1] + sse[2], size * 3 / 2); 286 WebPAuxStats* const stats = enc->pic_->stats local [all...] |
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
NetworkStatsFactoryTest.java | 73 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); 75 final NetworkStats stats = mFactory.readNetworkStatsDetail(); local 76 assertEquals(70, stats.size()); 77 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L); 78 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L); 79 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L); 80 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L); 81 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L); 99 stageFile(R.raw.xt_qtaguid_typical, new File(mTestProc, "net/xt_qtaguid/stats")); 101 final NetworkStats stats = mFactory.readNetworkStatsDetail() local 110 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); local 121 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); local [all...] |
/frameworks/base/core/tests/utillib/src/android/test/ |
BandwidthTestCase.java | 105 NetworkStats stats = TrafficStats.stopDataProfiling(null); local 106 NetworkStats.Entry entry = stats.getTotal(null); 109 Log.w(TAG, "Failed to collect bandwidth stats");
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
DataIdleTest.java | 70 * Helper method that fetches all the network stats available and reports it 79 final NetworkStats stats = session.getSummaryForAllUid( local 81 reportStats(stats); 83 Log.w(LOG_TAG, "Failed to fetch network stats."); 90 * Print network data usage stats to instrumentation out 91 * @param stats {@link NetworkorStats} to print 93 void reportStats(NetworkStats stats) { 99 for (int i = 0; i < stats.size(); ++i) { 101 Entry statsEntry = stats.getValues(i, null);
|
/hardware/ti/wlan/wl1271/platforms/os/linux/inc/ |
WlanDrvIf.h | 115 struct net_device_stats stats; /* The driver's statistics for OS reports. */ member in struct:__anon18979
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpcsvc/ |
rstat.h | 72 struct stats { struct 86 typedef struct stats stats; typedef in typeref:struct:stats 128 extern stats * rstatproc_stats_1(void *, CLIENT *); 129 extern stats * rstatproc_stats_1_svc(void *, struct svc_req *); 135 extern stats * rstatproc_stats_1(); 136 extern stats * rstatproc_stats_1_svc(); 148 extern bool_t xdr_stats (XDR *, stats*);
|
/sdk/sdkmanager/libs/sdklib/tests/src/com/android/sdklib/internal/repository/ |
SdkStatsTest.java | 94 String url = "not-a-valid-url://stats.xml";
120 PlatformStat[] stats = new PlatformStat[len];
local 123 stats[i] = result.valueAt(i);
134 Arrays.toString(stats));
|
/system/extras/tests/bionic/libc/common/ |
bench_pthread.c | 78 static int64_t stats[MAX_STATS]; variable 99 qsort(stats, count, sizeof(stats[0]), compare_stats); 110 median = stats[(min_index+max_index)/2]; 113 min = stats[min_index]; 114 max = stats[max_index]; 120 total += stats[nn]; 130 printf(" %lld", (long long)stats[nn]); 148 stats[num_stats++] = sub_end - sub_start; \
|