Lines Matching refs:packageInfo
28 import android.content.pm.PackageInfo;
352 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL) {
361 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY) {
367 if (expInstallLocation == PackageInfo.INSTALL_LOCATION_AUTO) {
599 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
615 PackageInfo pkgInfo = null;
1374 0, true, false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
1385 0, true, false, -1, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1391 0, true, false, -1, PackageInfo.INSTALL_LOCATION_AUTO);
1397 0, true, false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
1410 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1422 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1492 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
1498 false, -1, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1520 false, -1, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1525 false, -1, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
1672 int origDefaultLoc = PackageInfo.INSTALL_LOCATION_AUTO;
1704 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
1839 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
1874 PackageInfo.INSTALL_LOCATION_AUTO);
1902 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
1962 PackageInfo.INSTALL_LOCATION_AUTO);
1999 PackageInfo.INSTALL_LOCATION_AUTO);
2012 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2024 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2036 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2053 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2071 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2089 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2102 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2120 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2138 PackageInfo.INSTALL_LOCATION_AUTO);
2290 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2304 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2313 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2338 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2361 PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2384 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2407 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2425 PackageInfo.INSTALL_LOCATION_AUTO);
2448 PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2456 int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED;
2460 iloc = PackageInfo.INSTALL_LOCATION_AUTO;
2462 iloc = PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL;
2464 iloc = PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY;
2477 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2496 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2508 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2515 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2527 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2539 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2551 setExistingXUserX(userSetting, iFlags, PackageInfo.INSTALL_LOCATION_PREFER_EXTERNAL);
2625 int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED;
2637 int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED;
2644 int iloc = PackageInfo.INSTALL_LOCATION_UNSPECIFIED;
2703 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2713 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2733 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2763 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2772 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2781 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2828 false, -1, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2872 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2882 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2921 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2927 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2930 assertInstall(pkg, 0, PackageInfo.INSTALL_LOCATION_INTERNAL_ONLY);
2976 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
2978 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3062 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3124 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3153 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3190 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3193 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3196 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3267 false, -1, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3310 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3322 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3334 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3346 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3358 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3370 fail, retCode, PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3386 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);
3405 List<PackageInfo> packages = getPm().getInstalledPackages(0);
3411 List<PackageInfo> packages = getPm().getInstalledPackages(
3427 List<PackageInfo> packages = getPm().getInstalledPackages(flags);
3431 PackageInfo packageInfo = null;
3435 for (PackageInfo pi : packages) {
3438 packageInfo = pi;
3442 assertNotNull("activities should not be null", packageInfo.activities);
3443 assertNotNull("configPreferences should not be null", packageInfo.configPreferences);
3444 assertNotNull("instrumentation should not be null", packageInfo.instrumentation);
3445 assertNotNull("permissions should not be null", packageInfo.permissions);
3446 assertNotNull("providers should not be null", packageInfo.providers);
3447 assertNotNull("receivers should not be null", packageInfo.receivers);
3448 assertNotNull("services should not be null", packageInfo.services);
3449 assertNotNull("signatures should not be null", packageInfo.signatures);
3464 List<PackageInfo> packages = getPm().getInstalledPackages(flags);
3468 PackageInfo packageInfo = null;
3472 for (PackageInfo pi : packages) {
3475 packageInfo = pi;
3479 assertNotNull("activities should not be null", packageInfo.activities);
3480 assertNotNull("configPreferences should not be null", packageInfo.configPreferences);
3481 assertNotNull("instrumentation should not be null", packageInfo.instrumentation);
3482 assertNotNull("permissions should not be null", packageInfo.permissions);
3483 assertNotNull("providers should not be null", packageInfo.providers);
3484 assertNotNull("receivers should not be null", packageInfo.receivers);
3485 assertNotNull("services should not be null", packageInfo.services);
3486 assertNotNull("signatures should not be null", packageInfo.signatures);
3492 PackageInfo.INSTALL_LOCATION_UNSPECIFIED);