Home
last modified time | relevance | path

Searched defs:stats (Results 1 – 25 of 186) 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
DPulledStatsTest.java47 PulledStats stats = new PulledStats(0L); in testPulledStats_Empty() local
53 PulledStats stats = new PulledStats(0L); in testPulledStats_UnknownReport() local
72 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportPackages() local
104 PulledStats stats = new PulledStats(0L); in testPulledStats_RemoteViewReportEndTime() 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/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/tests/net/java/com/android/server/net/
DNetworkStatsFactoryTest.java96 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsDetail() local
393 final NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_typical); in testNetworkStatsWithSet() local
404 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); in testNetworkStatsSingle() local
415 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); in testNetworkStatsXt() local
431 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat_simple); in testDoubleClatAccountingSimple() local
442 NetworkStats stats = parseDetailedStats(R.raw.xt_qtaguid_with_clat); in testDoubleClatAccounting() local
474 NetworkStats stats; in testDoubleClatAccounting100MBDownload() local
525 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
538 private static void assertNoStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertNoStatsEntry()
547 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
[all …]
/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 …]
/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/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.cpp56 static uint64_t getStatsType(Stats* stats, StatsType type) { in getStatsType()
75 static int parseIfaceStats(const char* iface, Stats* stats) { in parseIfaceStats()
119 static int parseUidStats(const uint32_t uid, Stats* stats) { in parseUidStats()
152 Stats stats = {}; in getTotalStat() local
176 Stats stats = {}; in getIfaceStat() local
194 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
746 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_NoFilter() local
773 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_UidFilter() local
804 NetworkStats stats = new NetworkStats(TEST_START, 4) in testFilter_InterfaceFilter() local
827 NetworkStats stats = new NetworkStats(TEST_START, 3) in testFilter_EmptyInterfaceFilter() local
851 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/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java178 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); in readBpfNetworkStatsDev() local
201 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); in readNetworkStatsSummaryDev() local
327 final NetworkStats stats = in readNetworkStatsDetail() local
407 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 24); in javaReadNetworkStatsDetail() local
477 public static native int nativeReadNetworkStatsDetail(NetworkStats stats, String path, in nativeReadNetworkStatsDetail()
481 public static native int nativeReadNetworkStatsDev(NetworkStats stats); in nativeReadNetworkStatsDev()
/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/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/base/tests/net/common/java/android/net/netstats/
DNetworkStatsApiTest.kt156 val stats = testStats2.addEntry(Entry(IFACE_VT, TEST_UID1, SET_DEFAULT, TAG_NONE, in testAddEntry() constant
165 var stats = NetworkStats(0L, 0) in testAdd() variable
/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/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java93 NetworkStats stats = mNetworkStats.clone(); in timeMigrateTun() local
105 NetworkStats stats = mNetworkStats.clone(); in timeClone() local
/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

12345678