/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationStatsTest.java | 42 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
|
D | PulledStatsTest.java | 47 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/ |
D | WifiP2pMetricsTest.java | 58 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/ |
D | TransportStatsTest.java | 54 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/ |
D | NetworkStatsFactoryTest.java | 96 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/ |
D | UsageStatsDatabase.java | 186 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/ |
D | PssTable.java | 57 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/ |
D | StatsdStats_test.cpp | 31 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/ |
D | TransportStats.java | 35 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/ |
D | ImagePoolHelperTest.java | 42 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/ |
D | InstallerTest.java | 117 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/ |
D | LocationRequestStatisticsTest.java | 39 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/ |
D | com_android_server_net_NetworkStatsService.cpp | 56 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/ |
D | NetworkStatsTest.java | 66 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/ |
D | StorageVolumeProvider.java | 50 long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getTotalBytes() 57 long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException; in getFreeBytes()
|
D | StorageManagerVolumeProvider.java | 53 public long getTotalBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getTotalBytes() 58 public long getFreeBytes(StorageStatsManager stats, VolumeInfo volume) throws IOException { in getFreeBytes()
|
D | PrivateStorageInfo.java | 43 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/ |
D | NetworkStatsFactory.java | 178 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/ |
D | ImagePoolHelper.java | 31 …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/ |
D | WifiPowerMetrics.java | 64 WifiBatteryStats stats = getStats(); in buildProto() local 97 WifiBatteryStats stats = getStats(); in buildWifiRadioUsageProto() local
|
/frameworks/native/libs/graphicsenv/ |
D | IGpuService.cpp | 96 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/ |
D | NetworkStatsApiTest.kt | 156 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/ |
D | ITransactionCompletedListener.cpp | 131 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/ |
D | NetworkStatsBenchmark.java | 93 NetworkStats stats = mNetworkStats.clone(); in timeMigrateTun() local 105 NetworkStats stats = mNetworkStats.clone(); in timeClone() local
|
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/ |
D | BenchmarkResults.java | 32 final Bundle stats = new Bundle(); in getStatsToReport() local 38 final Bundle stats = new Bundle(); in getStatsToLog() local
|