Home
last modified time | relevance | path

Searched refs:packageStats (Results 1 – 4 of 4) sorted by relevance

/external/doclava/src/com/google/doclava/
DTodoFile.java70 TreeMap<String, PackageStats> packageStats = new TreeMap<String, PackageStats>(); in writeTodoFile() local
160 PackageStats ps = packageStats.get(pkgName); in writeTodoFile()
164 packageStats.put(pkgName, ps); in writeTodoFile()
176 for (PackageStats ps : packageStats.values()) { in writeTodoFile()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowApplicationPackageManager.java930 final PackageStats packageStats = packageStatsMap.get((String) pkgName); in getPackageSizeInfo() local
936 .onGetStatsCompleted(packageStats, packageStats != null); in getPackageSizeInfo()
945 final PackageStats packageStats = packageStatsMap.get((String) pkgName); in getPackageSizeInfo() local
951 .onGetStatsCompleted(packageStats, packageStats != null); in getPackageSizeInfo()
960 final PackageStats packageStats = packageStatsMap.get((String) pkgName); in getPackageSizeInfoAsUser() local
966 .onGetStatsCompleted(packageStats, packageStats != null); in getPackageSizeInfoAsUser()
DShadowPackageManager.java433 PackageStats packageStats = new PackageStats(packageInfo.packageName); in addPackageNoDefaults() local
434 addPackage(packageInfo, packageStats); in addPackageNoDefaults()
443 public synchronized void addPackage(PackageInfo packageInfo, PackageStats packageStats) { in addPackage() argument
444 Preconditions.checkArgument(packageInfo.packageName.equals(packageStats.packageName)); in addPackage()
447 packageStatsMap.put(packageInfo.packageName, packageStats); in addPackage()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowPackageManagerTest.java1954 PackageStats packageStats = new PackageStats("org.robolectric"); in whenPreconfigured_getPackageSizeInfo_callsBackWithConfiguredValues() local
1955 shadowPackageManager.addPackage(packageInfo, packageStats); in whenPreconfigured_getPackageSizeInfo_callsBackWithConfiguredValues()
1962 assertThat(packageStatsCaptor.getValue().toString()).isEqualTo(packageStats.toString()); in whenPreconfigured_getPackageSizeInfo_callsBackWithConfiguredValues()
1970 PackageStats packageStats = new PackageStats("org.other"); in whenPreconfiguredForAnotherPackage_getPackageSizeInfo_callsBackWithConfiguredValues() local
1971 shadowPackageManager.addPackage(packageInfo, packageStats); in whenPreconfiguredForAnotherPackage_getPackageSizeInfo_callsBackWithConfiguredValues()
1978 assertThat(packageStatsCaptor.getValue().toString()).isEqualTo(packageStats.toString()); in whenPreconfiguredForAnotherPackage_getPackageSizeInfo_callsBackWithConfiguredValues()