use of org.fdroid.fdroid.data.App in project fdroidclient by f-droid.
the class ProperMultiIndexUpdaterTest method allApps.
private Map<String, App> allApps() {
List<App> apps = AppProvider.Helper.all(context.getContentResolver());
Map<String, App> appsIndexedByPackageName = new HashMap<>(apps.size());
for (App app : apps) {
appsIndexedByPackageName.put(app.packageName, app);
}
return appsIndexedByPackageName;
}
use of org.fdroid.fdroid.data.App in project fdroidclient by f-droid.
the class ProperMultiIndexUpdaterTest method assert2048Metadata.
private void assert2048Metadata(Repo repo, @RepoIdentifier String id) {
App a2048 = AppProvider.Helper.findSpecificApp(context.getContentResolver(), "com.uberspot.a2048", repo.getId(), AppMetadataTable.Cols.ALL);
assert2048Metadata(a2048, id);
}
use of org.fdroid.fdroid.data.App in project fdroidclient by f-droid.
the class ProperMultiIndexUpdaterTest method assertAdAwayMetadata.
private void assertAdAwayMetadata(Repo repo, @RepoIdentifier String id) {
App adaway = AppProvider.Helper.findSpecificApp(context.getContentResolver(), "org.adaway", repo.getId(), AppMetadataTable.Cols.ALL);
assertAdAwayMetadata(adaway, id);
}
Aggregations