Home
last modified time | relevance | path

Searched refs:addPackageInfo (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java1307 private void addPackageInfo(PackageInfo pi, List<PackageInfo> list) { in addPackageInfo() method in BaseShortcutManagerTest
1316 addPackageInfo(getInjectedPackageInfo(CALLING_PACKAGE_1, userId, false), ret); in getInstalledPackagesWithUninstalled()
1317 addPackageInfo(getInjectedPackageInfo(CALLING_PACKAGE_2, userId, false), ret); in getInstalledPackagesWithUninstalled()
1318 addPackageInfo(getInjectedPackageInfo(CALLING_PACKAGE_3, userId, false), ret); in getInstalledPackagesWithUninstalled()
1319 addPackageInfo(getInjectedPackageInfo(CALLING_PACKAGE_4, userId, false), ret); in getInstalledPackagesWithUninstalled()
1320 addPackageInfo(getInjectedPackageInfo(LAUNCHER_1, userId, false), ret); in getInstalledPackagesWithUninstalled()
1321 addPackageInfo(getInjectedPackageInfo(LAUNCHER_2, userId, false), ret); in getInstalledPackagesWithUninstalled()
1322 addPackageInfo(getInjectedPackageInfo(LAUNCHER_3, userId, false), ret); in getInstalledPackagesWithUninstalled()
1323 addPackageInfo(getInjectedPackageInfo(LAUNCHER_4, userId, false), ret); in getInstalledPackagesWithUninstalled()
/frameworks/base/services/core/java/com/android/server/pm/permission/
DDefaultPermissionGrantPolicy.java469 pm.addPackageInfo(pkg.packageName, pkg); in grantPermissionsToSysComponentsAndPrivApps()
1787 void addPackageInfo(@NonNull String packageName, @NonNull PackageInfo pkg) { in addPackageInfo() method in DefaultPermissionGrantPolicy.DelayingPackageManagerCache