/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
D | NetworkStatsFactoryTest.java | 75 final NetworkStats stats = mFactory.readNetworkStatsDetail(); in testNetworkStatsDetail() local 101 final NetworkStats stats = mFactory.readNetworkStatsDetail(); in testNetworkStatsWithSet() local 110 final NetworkStats stats = mFactory.readNetworkStatsSummaryDev(); in testNetworkStatsSingle() local 121 final NetworkStats stats = mFactory.readNetworkStatsSummaryXt(); in testNetworkStatsXt() local 157 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry() 165 private static void assertStatsEntry(NetworkStats stats, String iface, int uid, int set, in assertStatsEntry()
|
/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 168 private void verifyStatisticsTimes(PackageStatistics stats) { in verifyStatisticsTimes()
|
/frameworks/base/core/jni/ |
D | android_net_TrafficStats.cpp | 58 static uint64_t getStatsType(struct Stats* stats, StatsType type) { in getStatsType() 77 static int parseIfaceStats(const char* iface, struct Stats* stats) { in parseIfaceStats() 121 static int parseUidStats(const uint32_t uid, struct Stats* stats) { in parseUidStats() 154 struct Stats stats; in getTotalStat() local 169 struct Stats stats; in getIfaceStat() local 179 struct Stats stats; in getUidStat() local
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | UsageStatsXmlV1.java | 67 final UsageStats stats = statsOut.getOrCreateUsageStats(pkg); in loadUsageStats() local 121 private static void writeUsageStats(XmlSerializer xml, final IntervalStats stats, in writeUsageStats() 136 private static void writeConfigStats(XmlSerializer xml, final IntervalStats stats, in writeConfigStats() 156 private static void writeEvent(XmlSerializer xml, final IntervalStats stats, in writeEvent() 229 public static void write(XmlSerializer xml, IntervalStats stats) throws IOException { in write()
|
D | UsageStatsXml.java | 64 public static void write(AtomicFile file, IntervalStats stats) throws IOException { in write() 102 private static void write(OutputStream out, IntervalStats stats) throws IOException { in write()
|
D | UsageStatsDatabase.java | 212 IntervalStats stats = new IntervalStats(); in getLatestUsageStats() local 256 void combine(IntervalStats stats, boolean mutable, List<T> accumulatedResult); in combine() 307 IntervalStats stats = new IntervalStats(); in queryUsageStats() local 400 public void putUsageStats(int intervalType, IntervalStats stats) throws IOException { in putUsageStats()
|
/frameworks/base/core/java/com/android/internal/net/ |
D | NetworkStatsFactory.java | 95 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 6); in readNetworkStatsSummaryDev() local 191 final NetworkStats stats = readNetworkStatsDetailInternal(limitUid, limitIfaces, limitTag, in readNetworkStatsDetail() local 239 final NetworkStats stats; in readNetworkStatsDetailInternal() local 271 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 24); in javaReadNetworkStatsDetail() local 344 NetworkStats stats, String path, int limitUid, String[] limitIfaces, int limitTag); in nativeReadNetworkStatsDetail()
|
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 43 final NetworkStats stats = new NetworkStats(TEST_START, 3) in testFindIndex() local 55 final NetworkStats stats = new NetworkStats(TEST_START, 3) in testFindIndexHinted() local 76 final NetworkStats stats = new NetworkStats(TEST_START, 2); in testAddEntryGrow() local 102 final NetworkStats stats = new NetworkStats(TEST_START, 10); in testCombineExisting() local 262 final NetworkStats stats = new NetworkStats(TEST_START, 3) in testGetTotal() local 323 private static void assertValues(NetworkStats stats, int index, String iface, int uid, int set, in assertValues()
|
D | NetworkStatsHistoryTest.java | 55 private NetworkStatsHistory stats; field in NetworkStatsHistoryTest 455 NetworkStatsHistory stats, int before, int after, long time) { in assertIndexBeforeAfter() 468 private static void assertConsistent(NetworkStatsHistory stats) { in assertConsistent()
|
/frameworks/base/packages/FusedLocation/src/com/android/location/fused/ |
D | FusionEngine.java | 132 ProviderStats stats = mStats.get(name); in enableProvider() local 148 ProviderStats stats = mStats.get(name); in disableProvider() local 280 ProviderStats stats = mStats.get(provider); in onProviderEnabled() local 289 ProviderStats stats = mStats.get(provider); in onProviderDisabled() local
|
/frameworks/base/tests/DataIdleTest/src/com/android/tests/dataidle/ |
D | DataIdleTest.java | 79 final NetworkStats stats = session.getSummaryForAllUid( in fetchStats() local 93 void reportStats(NetworkStats stats) { in reportStats()
|
/frameworks/base/wifi/java/android/net/wifi/ |
D | WifiConnectionStatistics.java | 64 WifiNetworkConnectionStatistics stats; in incrementOrAddUntrusted() local 91 WifiNetworkConnectionStatistics stats = untrustedNetworkHistory.get(Key); in toString() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkStatsServiceTest.java | 658 NetworkStats stats = mSession.getSummaryForAllUid( in testSummaryForAllUid() local 729 final NetworkStats stats = mSession.getSummaryForAllUid( in testForegroundBackground() local 852 final NetworkStats stats = mSession.getSummaryForNetwork(template, start, end); in assertNetworkTotal() local 871 final NetworkStats stats = mSession.getSummaryForAllUid( in assertUidTotal() local 972 private static void assertValues(NetworkStats stats, String iface, int uid, int set, in assertValues() 995 private static void assertValues(NetworkStatsHistory stats, long start, long end, long rxBytes, in assertValues()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteDebug.java | 32 private static native void nativeGetPagerStats(PagerStats stats); in nativeGetPagerStats() 151 PagerStats stats = new PagerStats(); in getDatabaseInfo() local
|
/frameworks/base/tests/UsageStatsTest/src/com/android/tests/usagestats/ |
D | UsageStatsActivity.java | 87 Map<String, UsageStats> stats = mUsageStatsManager.queryAndAggregateUsageStats( in updateAdapter() local 95 public void update(Map<String, UsageStats> stats) { in update()
|
/frameworks/base/core/tests/benchmarks/src/com/android/internal/net/ |
D | NetworkStatsFactoryBenchmark.java | 49 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 0); in timeReadNetworkStatsDetailNative() local
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | LocationRequestStatistics.java | 29 PackageStatistics stats = statistics.get(key); in startRequesting() local 45 PackageStatistics stats = statistics.get(key); in stopRequesting() local
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BackupRecord.java | 31 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in BackupRecord
|
/frameworks/base/core/java/android/app/usage/ |
D | ConfigurationStats.java | 64 public ConfigurationStats(ConfigurationStats stats) { in ConfigurationStats() method in ConfigurationStats
|
D | UsageStats.java | 69 public UsageStats(UsageStats stats) { in UsageStats() method in UsageStats
|
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/ |
D | BandwidthTest.java | 263 NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 1); in fetchDataFromProc() local 306 public void addStatsToResults(String label, NetworkStats stats, Bundle results, int uid){ in addStatsToResults()
|
/frameworks/base/tools/aapt/ |
D | FileFinder.cpp | 80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, in checkAndAddFile()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | LoadAverageService.java | 182 final CpuTracker stats = mStats; in onDraw() local 263 final CpuTracker stats = mStats; in updateDisplay() local
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 105 NetworkStats stats = TrafficStats.stopDataProfiling(null); in runTest() local
|
/frameworks/base/core/java/android/content/ |
D | SyncResult.java | 91 public final SyncStats stats; field in SyncResult
|