Home
last modified time | relevance | path

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

123

/frameworks/base/core/tests/coretests/src/com/android/internal/net/
DNetworkStatsFactoryTest.java75 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/
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
168 private void verifyStatisticsTimes(PackageStatistics stats) { in verifyStatisticsTimes()
/frameworks/base/core/jni/
Dandroid_net_TrafficStats.cpp58 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/
DUsageStatsXmlV1.java67 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()
DUsageStatsXml.java64 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()
DUsageStatsDatabase.java212 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/
DNetworkStatsFactory.java95 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/
DNetworkStatsTest.java43 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()
DNetworkStatsHistoryTest.java55 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/
DFusionEngine.java132 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/
DDataIdleTest.java79 final NetworkStats stats = session.getSummaryForAllUid( in fetchStats() local
93 void reportStats(NetworkStats stats) { in reportStats()
/frameworks/base/wifi/java/android/net/wifi/
DWifiConnectionStatistics.java64 WifiNetworkConnectionStatistics stats; in incrementOrAddUntrusted() local
91 WifiNetworkConnectionStatistics stats = untrustedNetworkHistory.get(Key); in toString() local
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkStatsServiceTest.java658 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/
DSQLiteDebug.java32 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/
DUsageStatsActivity.java87 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/
DNetworkStatsFactoryBenchmark.java49 final NetworkStats stats = new NetworkStats(SystemClock.elapsedRealtime(), 0); in timeReadNetworkStatsDetailNative() local
/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java29 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/
DBackupRecord.java31 final BatteryStatsImpl.Uid.Pkg.Serv stats; field in BackupRecord
/frameworks/base/core/java/android/app/usage/
DConfigurationStats.java64 public ConfigurationStats(ConfigurationStats stats) { in ConfigurationStats() method in ConfigurationStats
DUsageStats.java69 public UsageStats(UsageStats stats) { in UsageStats() method in UsageStats
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/
DBandwidthTest.java263 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/
DFileFinder.cpp80 void SystemFileFinder::checkAndAddFile(String8 path, const struct stat* stats, in checkAndAddFile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DLoadAverageService.java182 final CpuTracker stats = mStats; in onDraw() local
263 final CpuTracker stats = mStats; in updateDisplay() local
/frameworks/base/core/tests/utillib/src/android/test/
DBandwidthTestCase.java105 NetworkStats stats = TrafficStats.stopDataProfiling(null); in runTest() local
/frameworks/base/core/java/android/content/
DSyncResult.java91 public final SyncStats stats; field in SyncResult

123