Home
last modified time | relevance | path

Searched defs:stats (Results 1 – 25 of 187) sorted by relevance

12345678

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationStatsTest.java42 NotificationStats stats = new NotificationStats(); in testConstructor() local
56 NotificationStats stats = new NotificationStats(); in testSeen() local
64 NotificationStats stats = new NotificationStats(); in testDirectReplied() local
72 NotificationStats stats = new NotificationStats(); in testExpanded() local
80 NotificationStats stats = new NotificationStats(); in testSnoozed() local
88 NotificationStats stats = new NotificationStats(); in testViewedSettings() local
96 NotificationStats stats = new NotificationStats(); in testDismissalSurface() local
104 NotificationStats stats = new NotificationStats(); in testDismissalSentiment() local
112 NotificationStats stats = new NotificationStats(); in testWriteToParcel() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMetricsTest.java58 WifiP2pStats stats; in startAndEndConnectionEventSucceeds() local
99 WifiP2pStats stats; in startAndEndGroupEventSucceeds() local
139 WifiP2pStats stats; in increasePeerScans() local
158 WifiP2pStats stats; in increaseServiceScans() local
178 WifiP2pStats stats; in updatePersistentGroup() local
206 WifiP2pStats stats; in updateGroupEvent() local
243 WifiP2pStats stats; in updateGroupEventWithNoCurrentGroup() local
273 WifiP2pStats stats; in updateGroupEventWithDifferentGroup() local
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java91 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsDetail() local
118 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsWithSet() local
129 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); in testNetworkStatsSingle() local
140 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); in testNetworkStatsXt() local
156 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); in testDoubleClatAccounting() local
198 NetworkStats stats; in testDoubleClatAccounting100MBDownload() local
251 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
264 private static void assertNoStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertNoStatsEntry()
273 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/transport/
DTransportStatsTest.java54 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime() local
67 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testRegisterConnectionTime_whenHasAlreadyOneSample() local
79 Stats stats = mTransportStats.getStatsForTransport(mTransportComponent1); in testGetStatsForTransport() local
94 Stats stats = Stats.merge(stats1, stats2); in testMerge() local
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java186 boolean checkin(IntervalStats stats); in checkin()
219 IntervalStats stats = new IntervalStats(); in checkinDailyFiles() local
221 readLocked(files.valueAt(i), stats); in checkinDailyFiles() local
496 IntervalStats stats = new IntervalStats(); in continueUpgradeLocked() local
572 IntervalStats stats = new IntervalStats(); in getLatestUsageStats() local
599 void combine(IntervalStats stats, boolean mutable, List<T> accumulatedResult); in combine()
649 final IntervalStats stats = new IntervalStats(); in queryUsageStats() local
767 final IntervalStats stats = new IntervalStats(); in pruneChooserCountsOlderThan() local
810 private void writeLocked(AtomicFile file, IntervalStats stats) throws IOException { in writeLocked()
814 private static void writeLocked(AtomicFile file, IntervalStats stats, int version) in writeLocked()
[all …]
DUsageStatsProto.java68 UsageStats stats; in loadUsageStats() local
308 private static void writeStringPool(ProtoOutputStream proto, final IntervalStats stats) in writeStringPool()
320 final IntervalStats stats, final UsageStats usageStats) throws IOException { in writeUsageStats()
399 final IntervalStats stats, final ConfigurationStats configStats, boolean isActive) in writeConfigStats()
413 private static void writeEvent(ProtoOutputStream proto, long fieldId, final IntervalStats stats, in writeEvent()
574 public static void write(OutputStream out, IntervalStats stats) throws IOException { in write()
/frameworks/base/core/java/com/android/internal/app/procstats/
DPssTable.java57 final long[] stats = getArrayForKey(key); in mergeStats() local
74 final long[] stats = getArrayForKey(key); in mergeStats() local
80 public static void mergeStats(final long[] stats, final int statsIndex, in mergeStats()
94 public static void mergeStats(final long[] stats, final int statsIndex, final int inCount, in mergeStats()
149 final long[] stats = getArrayForKey(key); in writeStatsToProtoForKey() local
154 public static void writeStatsToProto(ProtoOutputStream proto, final long[] stats, in writeStatsToProto()
/frameworks/base/cmds/statsd/tests/guardrail/
DStatsdStats_test.cpp31 StatsdStats stats; in TEST() local
58 StatsdStats stats; in TEST() local
79 StatsdStats stats; in TEST() local
106 StatsdStats stats; in TEST() local
222 StatsdStats stats; in TEST() local
255 StatsdStats stats; in TEST() local
288 StatsdStats stats; in TEST() local
328 StatsdStats stats; in TEST() local
361 StatsdStats stats; in TEST() local
375 StatsdStats stats; in TEST() local
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java152 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); in readBpfNetworkStatsDev() local
175 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); in readNetworkStatsSummaryDev() local
272 final NetworkStats stats = in readNetworkStatsDetail() local
299 final NetworkStats stats; in readNetworkStatsDetailInternal() local
352 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 24); in javaReadNetworkStatsDetail() local
422 public static native int nativeReadNetworkStatsDetail(NetworkStats stats, String path, in nativeReadNetworkStatsDetail()
426 public static native int nativeReadNetworkStatsDev(NetworkStats stats); in nativeReadNetworkStatsDev()
/frameworks/base/services/backup/java/com/android/server/backup/transport/
DTransportStats.java35 Stats stats = mTransportStats.get(transportComponent); in registerConnectionTime() local
48 Stats stats = mTransportStats.get(transportComponent); in getStatsForTransport() local
66 Stats stats = mTransportStats.get(transportComponent); in dump() local
74 private static void dumpStats(PrintWriter pw, String prefix, Stats stats) { in dumpStats()
/frameworks/layoutlib/bridge/tests/src/android/util/imagepool/
DImagePoolHelperTest.java42 ImagePoolStats stats = new ImagePoolStatsProdImpl(); in testGetBufferedImage() local
62 ImagePoolStats stats = new ImagePoolStatsProdImpl(); in testGetBufferedImageRecurse() local
82 ImagePoolStats stats = new ImagePoolStatsProdImpl(); in testRecurseThenHitCacheLimit() local
104 ImagePoolStats stats = new ImagePoolStatsProdImpl(); in testBucketHasImageToReturn() local
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DInstallerTest.java117 final PackageStats stats = new PackageStats(app.packageName); in testGetAppSize() local
130 checkEquals(Arrays.toString(packageNames) + " UID=" + app.uid, stats, quotaStats); in testGetAppSize() local
139 final PackageStats stats = new PackageStats("android"); in testGetUserSize() local
152 checkEquals(Arrays.toString(appIds), stats, quotaStats); in testGetUserSize() local
161 final long[] stats = mInstaller.getExternalSize(null, UserHandle.USER_SYSTEM, 0, appIds); in testGetExternalSize() local
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java39 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage() local
58 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage_stopAndRestart() local
79 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage_multipleIntervals() local
186 private void verifyStatisticsTimes(PackageStatistics stats) { in verifyStatisticsTimes()
/frameworks/base/services/core/jni/
Dcom_android_server_net_NetworkStatsService.cpp57 static uint64_t getStatsType(struct Stats* stats, StatsType type) { in getStatsType()
76 static int parseIfaceStats(const char* iface, struct Stats* stats) { in parseIfaceStats()
120 static int parseUidStats(const uint32_t uid, struct Stats* stats) { in parseUidStats()
153 struct Stats stats; in getTotalStat() local
178 struct Stats stats; in getIfaceStat() local
197 struct Stats stats; in getUidStat() local
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java66 final NetworkStats stats = new NetworkStats(TEST_START, 5) in testFindIndex() local
96 final NetworkStats stats = new NetworkStats(TEST_START, 3) in testFindIndexHinted() local
141 final NetworkStats stats = new NetworkStats(TEST_START, 4); in testAddEntryGrow() local
194 final NetworkStats stats = new NetworkStats(TEST_START, 10); in testCombineExisting() local
423 final NetworkStats stats = new NetworkStats(TEST_START, 7) in testGetTotal() local
699 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_NoFilter() local
726 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_UidFilter() local
757 NetworkStats stats = new NetworkStats(TEST_START, 4) in testFilter_InterfaceFilter() local
780 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_EmptyInterfaceFilter() local
804 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_TagFilter() local
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DStorageVolumeProvider.java50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getTotalBytes()
57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getFreeBytes()
DStorageManagerVolumeProvider.java53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getTotalBytes()
58 public long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getFreeBytes()
DPrivateStorageInfo.java43 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); in getPrivateStorageInfo() local
62 final StorageStatsManager stats = context.getSystemService(StorageStatsManager.class); in getTotalSize() local
/frameworks/layoutlib/bridge/src/android/util/imagepool/
DImagePoolHelper.java31 …tBucketCreationMetaData(int w, int h, int type, ImagePoolPolicy poolPolicy, ImagePoolStats stats) { in getBucketCreationMetaData()
72 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in getBufferedImage()
105 Bucket bucket, BucketCreationMetaData metaData, ImagePoolStats stats) { in populateBucket()
/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java65 NetworkStats stats = mNetworkStats.clone(); in timeMigrateTun() local
77 NetworkStats stats = mNetworkStats.clone(); in timeClone() local
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java64 WifiBatteryStats stats = getStats(); in buildProto() local
97 WifiBatteryStats stats = getStats(); in buildWifiRadioUsageProto() local
/frameworks/native/libs/graphicsenv/
DIGpuService.cpp96 const GraphicsEnv::Stats stats, const uint64_t value) { in setTargetStats()
156 std::vector<GpuStatsGlobalInfo> stats; in onTransact() local
169 std::vector<GpuStatsAppInfo> stats; in onTransact() local
188 int32_t stats; in onTransact() local
/frameworks/native/libs/gui/
DITransactionCompletedListener.cpp131 for (const auto& stats : transactionStats) { in writeToParcel() local
144 TransactionStats stats; in readFromParcel() local
171 void onTransactionCompleted(ListenerStats stats) override { in onTransactionCompleted()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResults.java32 final Bundle stats = new Bundle(); in getStatsToReport() local
38 final Bundle stats = new Bundle(); in getStatsToLog() local
/frameworks/base/core/java/com/android/internal/os/
DMobileRadioPowerCalculator.java52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) { in MobileRadioPowerCalculator()
118 public void calculateRemaining(BatterySipper app, BatteryStats stats, long rawRealtimeUs, in calculateRemaining()
167 public void reset(BatteryStats stats) { in reset()

12345678