/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
|
/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/tests/net/java/com/android/server/net/ |
D | NetworkStatsFactoryTest.java | 91 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/ |
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/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 …]
|
D | UsageStatsProto.java | 68 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/ |
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/core/java/com/android/server/net/ |
D | NetworkStatsFactory.java | 152 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/ |
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 | 57 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/ |
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 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/ |
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/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/base/core/tests/benchmarks/src/android/net/ |
D | NetworkStatsBenchmark.java | 65 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/ |
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/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/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
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MobileRadioPowerCalculator.java | 52 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()
|