HomeSort by relevance Sort by last modified time
    Searched defs:stats (Results 151 - 175 of 1225) sorted by null

1 2 3 4 5 67 8 91011>>

  /frameworks/base/core/java/android/app/usage/
UsageStatsManager.java 106 * Gets application usage stats for the given time range, aggregated by the specified interval.
122 * @param intervalType The time interval by which the stats are aggregated.
123 * @param beginTime The inclusive beginning of the range of stats to include in the results.
124 * @param endTime The exclusive end of the range of stats to include in the results.
152 * @param intervalType The time interval by which the stats are aggregated.
153 * @param beginTime The inclusive beginning of the range of stats to include in the results.
154 * @param endTime The exclusive end of the range of stats to include in the results.
197 * A convenience method that queries for all stats in the given range (using the best interval
201 * @param beginTime The inclusive beginning of the range of stats to include in the results.
202 * @param endTime The exclusive end of the range of stats to include in the results
207 List<UsageStats> stats = queryUsageStats(INTERVAL_BEST, beginTime, endTime); local
    [all...]
  /frameworks/base/core/jni/
android_net_TrafficStats.cpp 35 static const char* QTAGUID_UID_STATS = "/proc/net/xt_qtaguid/stats";
49 struct Stats {
58 static uint64_t getStatsType(struct Stats* stats, StatsType type) {
61 return stats->rxBytes;
63 return stats->rxPackets;
65 return stats->txBytes;
67 return stats->txPackets;
69 return stats->tcpRxPackets;
71 return stats->tcpTxPackets
154 struct Stats stats; local
169 struct Stats stats; local
179 struct Stats stats; 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/libs/hwui/
GpuMemoryTracker.cpp 94 const TypeStats& stats = gObjectStats[type]; local
96 stream << " is using " << SizePrinter{stats.totalSize};
97 stream << ", count = " << stats.count;
115 const TypeStats& stats = gObjectStats[type]; local
116 ATRACE_INT(buf, stats.totalSize);
118 ATRACE_INT(buf, stats.count);
  /frameworks/base/packages/ExtServices/tests/src/android/ext/services/storage/
CacheQuotaServiceImplTest.java 144 UsageStats stats = new UsageStats(); local
145 stats.mPackageName = packageName;
146 stats.mTotalTimeInForeground = foregroundTime;
148 .setVolumeUuid(uuid).setUid(uid).setUsageStats(stats).setQuota(-1).build();
  /frameworks/base/services/core/java/com/android/server/storage/
FileCollector.java 169 ExternalStorageStats stats = null; local
171 stats =
175 result.imagesSize = stats.getImageBytes();
176 result.videosSize = stats.getVideoBytes();
177 result.audioSize = stats.getAudioBytes();
179 stats.getTotalBytes()
  /frameworks/base/services/tests/servicestests/src/com/android/server/storage/
AppCollectorTest.java 116 PackageStats stats = new PackageStats("com.test.app"); local
120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats);
133 PackageStats stats = new PackageStats("com.test.app"); local
141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats);
  /frameworks/base/services/usage/java/com/android/server/usage/
UserUsageStatsService.java 108 Slog.w(TAG, mLogPrefix + "Some stats have no latest available");
114 // generate new stats for each bucket.
180 for (IntervalStats stats : mCurrentStats) {
182 stats.updateConfigurationStats(newFullConfig, event.mTimeStamp);
184 stats.updateChooserCounts(event.mPackage, event.mContentType, event.mAction);
188 stats.updateChooserCounts(event.mPackage, annotation, event.mAction);
192 stats.update(event.mPackage, event.mTimeStamp, event.mEventType);
202 public void combine(IntervalStats stats, boolean mutable,
205 accResult.addAll(stats.packageStats.values());
209 final int statCount = stats.packageStats.size()
430 final IntervalStats stats = mDatabase.getLatestUsageStats(intervalType); local
    [all...]
  /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);
  /frameworks/base/tests/net/java/com/android/internal/net/
NetworkStatsFactoryTest.java 77 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); local
79 assertEquals(70, stats.size());
80 assertStatsEntry(stats, "wlan0", 0, SET_DEFAULT, 0x0, 18621L, 2898L);
81 assertStatsEntry(stats, "wlan0", 10011, SET_DEFAULT, 0x0, 35777L, 5718L);
82 assertStatsEntry(stats, "wlan0", 10021, SET_DEFAULT, 0x7fffff01, 562386L, 49228L);
83 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 227423L);
84 assertStatsEntry(stats, "rmnet2", 10001, SET_DEFAULT, 0x0, 1125899906842624L, 984L);
102 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); local
103 assertEquals(70, stats.size());
104 assertStatsEntry(stats, "rmnet1", 10021, SET_DEFAULT, 0x30100000, 219110L, 578L, 227423L
112 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); local
122 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); local
137 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); local
176 NetworkStats stats; local
    [all...]
  /hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
IPACM_OffloadManager.cpp 421 /* reset the stats when switch from LTE->STA */
426 IPACMDBG_H("switch to STA mode, need reset wlan-fw stats\n");
552 wan_ioctl_query_tether_stats_all stats; local
559 memset(&stats, 0, sizeof(stats));
560 if (strlcpy(stats.upstreamIface, upstream_name, IFNAMSIZ) >= IFNAMSIZ) {
565 stats.reset_stats = reset;
566 stats.ipa_client = IPACM_CLIENT_MAX;
568 if (ioctl(fd, WAN_IOC_QUERY_TETHER_STATS_ALL, &stats) < 0) {
574 offload_stats.tx = stats.tx_bytes
658 wan_ioctl_reset_tether_stats stats; local
    [all...]
  /packages/apps/Camera2/src/com/android/camera/stats/
CaptureSessionStatsCollector.java 1 package com.android.camera.stats;
  /packages/apps/Settings/src/com/android/settings/applications/
PhotosViewHolderController.java 59 StorageStatsSource.ExternalStorageStats stats = local
61 mFilesSize = stats.imageBytes + stats.videoBytes;
  /packages/apps/Settings/src/com/android/settings/deviceinfo/
MigrateEstimateTask.java 71 final StorageStatsManager stats = mContext.getSystemService(StorageStatsManager.class); local
87 final ExternalStorageStats s = stats.queryExternalStatsForUser(emulatedUuid,
  /packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
RecentAppsPreferenceControllerTest.java 157 final List<UsageStats> stats = new ArrayList<>(); local
163 stats.add(stat1);
167 stats.add(stat2);
171 stats.add(stat3);
183 .thenReturn(stats);
205 final List<UsageStats> stats = new ArrayList<>(); local
210 stats.add(stat1);
214 stats.add(stat2);
224 .thenReturn(stats);
239 final List<UsageStats> stats = new ArrayList<>() local
    [all...]
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/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.15-4.8/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*);
  /system/core/logd/
LogBuffer.h 82 LogStatistics stats; member in class:LogBuffer
137 stats.enableStatistics();
160 return stats.pidToName(pid);
163 return stats.pidToUid(pid);
166 return stats.tidToPid(tid);
169 return stats.uidToName(uid);
  /system/extras/iotop/
iotop.cpp 36 static float TimeToTgidPercent(uint64_t ns, int time, const TaskStatistics& stats) {
37 float percent = ns / stats.threads() / (time * NSEC_PER_SEC / 100.0f);
169 std::vector<TaskStatistics> stats; local
175 stats.clear();
187 // If printing processes, collect stats for the tgid which will
196 // Collect per-thread stats
208 stats.push_back(pid_stats_delta);
213 stats.push_back(tgid_stats_delta);
218 sorter(stats);
245 for (const TaskStatistics& statistics : stats) {
    [all...]
taskstats.cpp 60 taskstats stats; member in struct:TaskStatsRequest
64 taskstats* stats) {
74 int len = static_cast<int>(sizeof(*stats));
76 nla_memcpy(stats, attr, len);
100 taskstats stats; local
103 ret = ParseAggregateTaskStats(nested_attr, nla_len(attr), &stats);
107 taskstats_request->stats = stats;
123 bool TaskstatsSocket::GetStats(int pid, int type, TaskStatistics& stats) {
150 stats = TaskStatistics(taskstats_request.stats)
    [all...]
  /system/extras/taskstats/
taskstats.c 18 * Linux task stats reporting tool. Queries and prints out the kernel's
42 struct taskstats stats; member in struct:TaskStatistics
52 struct TaskStatistics* stats) {
56 stats->pid = nla_get_u32(attr);
59 stats->tgid = nla_get_u32(attr);
62 nla_memcpy(&stats->stats, attr, sizeof(stats->stats));
71 struct TaskStatistics* stats = (struct TaskStatistics*)arg local
81 stats); local
319 struct TaskStatistics stats; local
    [all...]
  /system/extras/tests/ext4/
rand_emmc_perf.c 38 struct stats { struct
49 static void print_stats(struct stats *stats_buf, int stats_count,
67 fprintf(stderr, "Cannot open full stats output file %s, ignoring\n",
113 struct stats *stats_buf;
117 stats_buf = malloc(stats_count * sizeof(struct stats));
223 fprintf(stderr, "Cannot get full stats filename\n");
  /external/guava/guava-tests/test/com/google/common/cache/
LocalLoadingCacheTest.java 75 // stats tests
82 assertEquals(EMPTY_STATS, cache.stats());
86 CacheStats stats = cache.stats(); local
87 assertEquals(1, stats.requestCount());
88 assertEquals(0, stats.hitCount());
89 assertEquals(0.0, stats.hitRate());
90 assertEquals(1, stats.missCount());
91 assertEquals(1.0, stats.missRate());
92 assertEquals(1, stats.loadCount())
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
ICUServiceThreadTest.java 371 if (PRINTSTATS) stableService.stats(); // Enable the stats collection
383 if (PRINTSTATS) System.out.println(stableService.stats());
393 if (PRINTSTATS) System.out.println(stableService.stats());
411 if (PRINTSTATS) System.out.println(stableService.stats());
418 if (PRINTSTATS) service.stats(); // Enable the stats collection
426 if (PRINTSTATS) System.out.println(service.stats());
432 if (PRINTSTATS) service.stats(); // Enable the stats collectio
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryInfo.java 149 BatteryStats stats = statsHelper.getStats(); local
151 getBatteryInfo(context, callback, stats, shortString);
155 BatteryStats stats, boolean shortString) {
175 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
180 ? stats.computeBatteryTimeRemaining(elapsedRealtimeUs) : 0;
182 return BatteryInfo.getBatteryInfo(context, batteryBroadcast, stats,
198 BatteryStats stats, long elapsedRealtimeUs, boolean shortString) {
199 return getBatteryInfo(context, batteryBroadcast, stats, elapsedRealtimeUs, shortString,
200 stats.computeBatteryTimeRemaining(elapsedRealtimeUs), false);
205 BatteryStats stats, long elapsedRealtimeUs, boolean shortString, long drainTimeUs
    [all...]

Completed in 683 milliseconds

1 2 3 4 5 67 8 91011>>