/frameworks/base/services/java/com/android/server/am/ |
BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in class:BackupRecord 41 stats = _agentStats;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatteryHistoryPreference.java | 38 public BatteryHistoryPreference(Context context, BatteryStats stats) { 41 mStats = stats;
|
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
MockActivityManager.java | 33 PkgUsageStats stats = new PkgUsageStats(packageName, 1, 0, new HashMap<String, Long>()); local 34 mPackageUsageStats.put(packageName, stats);
|
ApplicationsProviderForTesting.java | 55 Map<String, PkgUsageStats> stats = new HashMap<String, PkgUsageStats>(); local 57 stats.put(pus.packageName, pus); 59 return stats;
|
/external/webp/src/enc/ |
filter.c | 243 SSIMStats* const stats) { 255 stats->w += 1; 256 stats->xm += s1; 257 stats->ym += s2; 258 stats->xxm += s1 * s1; 259 stats->xym += s1 * s2; 260 stats->yym += s2 * s2; 265 static double GetSSIM(const SSIMStats* const stats) { 266 const double xmxm = stats->xm * stats->xm [all...] |
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/jni/ |
android_os_Debug.cpp | 85 #define BINDER_STATS "/proc/binder/stats" 117 static void read_mapinfo(FILE *fp, stats_t* stats) 220 stats[whichHeap].pss += pss; 221 stats[whichHeap].privateDirty += private_dirty; 222 stats[whichHeap].sharedDirty += shared_dirty; 227 static void load_maps(int pid, stats_t* stats) 236 read_mapinfo(fp, stats); 243 stats_t stats[_NUM_HEAP]; local 244 memset(&stats, 0, sizeof(stats)); [all...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpcsvc/ |
rstat.x | 98 struct stats { /* RSTATVERS_ORIG */ 139 stats
|
/external/blktrace/btt/ |
iostat.c | 27 (dip)->stats. fld ++; \ 33 (dip)->stats. fld --; \ 40 (dip)->stats. fld += __v; \ 47 (dip)->stats. fld -= __v; \ 65 dip->stats.tot_qusz += ((now - dip->stats.last_qu_change) * 66 dip->stats.cur_qusz); 70 dip->stats.last_qu_change = dip->all_stats.last_qu_change = now; 75 if (dip->stats.cur_dev == 0 || force) { 76 dip->stats.idle_time += (now - dip->stats.last_dev_change) [all...] |
/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...] |
web_cache_manager.h | 59 int renderer_id, const WebKit::WebCache::UsageStats& stats); 138 // Add up all the stats from the given set of renderers and place the result 139 // in |stats|. 141 WebKit::WebCache::UsageStats* stats); 147 const WebKit::WebCache::UsageStats& stats);
|
/external/bison/lib/ |
bitset_stats.c | 171 struct bitset_type_info_struct *stats) 173 if (!stats) 178 stats->allocs, stats->frees, 179 stats->allocs ? 100.0 * stats->frees / stats->allocs : 0); 181 stats->sets, stats->cache_sets, 182 stats->sets ? 100.0 * stats->cache_sets / stats->sets : 0) [all...] |
/external/libvpx/ |
vpxenc.c | 121 int stats_open_file(stats_io_t *stats, const char *fpf, int pass) 125 stats->pass = pass; 129 stats->file = fopen(fpf, "wb"); 130 stats->buf.sz = 0; 131 stats->buf.buf = NULL, 132 res = (stats->file != NULL); 142 stats->file = fdopen(fd, "rb"); 144 stats->buf.sz = stat_buf.st_size; 145 stats->buf.buf = mmap(NULL, stats->buf.sz, PROT_READ, MAP_PRIVATE 1097 stats_io_t stats; local [all...] |
/packages/experimental/procstatlog/ |
procstatlog.c | 49 // /proc/binder/stats - per line: "/proc/binder/stats:BC_REPLY" 54 // /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state 105 struct data *stats, int stats_count) { 143 struct data *data = &stats[num++]; 160 static int read_proc_yaffs(struct data *stats, int stats_count) { 193 struct data *data = &stats[num++]; 285 struct data *stats = malloc((stats_count + 1) * sizeof(struct data)); local 286 struct data *next = stats; 295 struct data *end = stats + stats_count [all...] |
/external/chromium/net/disk_cache/ |
stats_histogram.cc | 8 #include "net/disk_cache/stats.h" 16 const Stats* StatsHistogram::stats_ = NULL; 29 Sample maximum = disk_cache::Stats::kDataSizesLength - 1; 30 size_t bucket_count = disk_cache::Stats::kDataSizesLength; 55 bool StatsHistogram::Init(const Stats* stats) { 56 DCHECK(stats); 62 stats_ = stats; 72 return disk_cache::Stats::kDataSizesLength;
|
/external/chromium/chrome/browser/resources/net_internals/ |
httpcacheview.js | 25 for (var statName in info.stats) { 27 addTextNode(li, statName + ': ' + info.stats[statName]);
|
/external/icu4c/test/perf/perldriver/ |
Dataset.pm | 26 my $stats = Statistics::Descriptive::Full->new(); 27 $stats->add_data(@{$self->{_data}}); 28 $self->{_mean} = $stats->mean(); 36 $self->{_error} = $t * $stats->standard_deviation();
|
/external/iproute2/ip/ |
iplink_can.c | 263 struct can_device_stats *stats; local 265 if (xstats && RTA_PAYLOAD(xstats) == sizeof(*stats)) { 266 stats = RTA_DATA(xstats); 271 stats->restarts, stats->bus_error, 272 stats->arbitration_lost, stats->error_warning, 273 stats->error_passive, stats->bus_off);
|
/frameworks/base/tools/aapt/ |
FileFinder.h | 75 static void checkAndAddFile(String8 path, const struct stat* stats,
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/ |
StorageMeasurement.java | 56 * Filesystem stats (using StatFs) 323 public void onGetStatsCompleted(PackageStats stats, boolean succeeded) { 331 mAppsSizeForThisStatsObserver += stats.codeSize + stats.dataSize; 333 mAppsSizeForThisStatsObserver += stats.externalObbSize + 334 stats.externalCodeSize + stats.externalDataSize + 335 stats.externalCacheSize + stats.externalMediaSize; 337 mAppsSizeForThisStatsObserver += stats.codeSize + stats.dataSize [all...] |
/external/quake/quake/src/QW/server/ |
sv_send.c | 514 Performs a delta update of the stats array. This should only be performed 521 int stats[MAX_CL_STATS]; local 525 memset (stats, 0, sizeof(stats)); 527 // if we are a spectator and we are tracking a player, we get his stats 532 stats[STAT_HEALTH] = ent->v.health; 533 stats[STAT_WEAPON] = SV_ModelIndex(PR_GetString(ent->v.weaponmodel)); 534 stats[STAT_AMMO] = ent->v.currentammo; 535 stats[STAT_ARMOR] = ent->v.armorvalue; 536 stats[STAT_SHELLS] = ent->v.ammo_shells [all...] |
/external/chromium/third_party/libjingle/source/talk/session/phone/ |
mediamonitor.h | 81 MI stats(media_info_); 83 SignalUpdate(media_channel_, stats);
|
/external/iproute2/netem/ |
stats.c | 18 stats(FILE *fp) function 75 stats(fp);
|
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/syncadapter/ |
SyncAdapter.java | 130 syncResult.stats.numParseExceptions++; 135 syncResult.stats.numIoExceptions++; 138 syncResult.stats.numAuthExceptions++; 141 syncResult.stats.numParseExceptions++; 144 syncResult.stats.numParseExceptions++;
|
/external/quake/quake/src/WinQuake/ |
cl_parse.cpp | 557 cl.stats[STAT_WEAPONFRAME] = MSG_ReadByte (); 559 cl.stats[STAT_WEAPONFRAME] = 0; 565 if (cl.stats[STAT_ARMOR] != i) 567 cl.stats[STAT_ARMOR] = i; 575 if (cl.stats[STAT_WEAPON] != i) 577 cl.stats[STAT_WEAPON] = i; 582 if (cl.stats[STAT_HEALTH] != i) 584 cl.stats[STAT_HEALTH] = i; 589 if (cl.stats[STAT_AMMO] != i) 591 cl.stats[STAT_AMMO] = i [all...] |