Home
last modified time | relevance | path

Searched refs:PackageStatistics (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/location/
DLocationRequestStatistics.java17 public final HashMap<PackageProviderKey, PackageStatistics> statistics
18 = new HashMap<PackageProviderKey, PackageStatistics>();
29 PackageStatistics stats = statistics.get(key); in startRequesting()
31 stats = new PackageStatistics(); in startRequesting()
45 PackageStatistics stats = statistics.get(key); in stopRequesting()
92 public static class PackageStatistics { class in LocationRequestStatistics
106 private PackageStatistics() { in PackageStatistics() method in LocationRequestStatistics.PackageStatistics
/frameworks/base/services/tests/servicestests/src/com/android/server/location/
DLocationRequestStatisticsTest.java4 import com.android.server.location.LocationRequestStatistics.PackageStatistics;
39 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage()
58 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage_stopAndRestart()
79 PackageStatistics stats = mStatistics.statistics.values().iterator().next(); in testSinglePackage_multipleIntervals()
99 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testSinglePackage_multipleProviders()
105 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testSinglePackage_multipleProviders()
130 PackageStatistics stats1 = mStatistics.statistics.get(key1); in testMultiplePackages()
137 PackageStatistics stats2 = mStatistics.statistics.get(key2); in testMultiplePackages()
144 PackageStatistics stats3 = mStatistics.statistics.get(key3); in testMultiplePackages()
168 private void verifyStatisticsTimes(PackageStatistics stats) { in verifyStatisticsTimes()
/frameworks/base/services/core/java/com/android/server/
DLocationManagerService.java40 import com.android.server.location.LocationRequestStatistics.PackageStatistics;
2698 for (Map.Entry<PackageProviderKey, PackageStatistics> entry in dump()
2701 PackageStatistics stats = entry.getValue(); in dump()