Lines Matching refs:applicationInfo
426 pi.applicationInfo = generateApplicationInfo(p, flags, state, userId);
429 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0
430 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) {
1372 pkg.mVersionCode = pkg.applicationInfo.versionCode = sa.getInteger(
1399 pkg.applicationInfo.installLocation = pkg.installLocation;
1407 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_FORWARD_LOCK;
1412 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE;
1646 pkg.applicationInfo.targetSdkVersion
1649 pkg.applicationInfo.targetSdkVersion = targetVers;
1659 pkg.applicationInfo.requiresSmallestWidthDp = sa.getInteger(
1662 pkg.applicationInfo.compatibleWidthLimitDp = sa.getInteger(
1665 pkg.applicationInfo.largestWidthLimitDp = sa.getInteger(
1800 if (pkg.applicationInfo.targetSdkVersion >= npi.sdkVersion) {
1824 if (pkg.applicationInfo.targetSdkVersion >= spi.targetSdk
1838 && pkg.applicationInfo.targetSdkVersion
1840 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS;
1843 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS;
1846 && pkg.applicationInfo.targetSdkVersion
1848 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS;
1851 && pkg.applicationInfo.targetSdkVersion
1853 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS;
1856 && pkg.applicationInfo.targetSdkVersion
1858 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS;
1861 && pkg.applicationInfo.targetSdkVersion
1863 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES;
1871 if (pkg.applicationInfo.targetSdkVersion < Build.VERSION_CODES.JELLY_BEAN_MR2) {
2402 final ApplicationInfo ai = owner.applicationInfo;
2403 final String pkgName = owner.applicationInfo.packageName;
2430 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP;
2447 ai.flags |= ApplicationInfo.FLAG_KILL_AFTER_RESTORE;
2452 ai.flags |= ApplicationInfo.FLAG_RESTORE_ANY_VERSION;
2457 ai.flags |= ApplicationInfo.FLAG_FULL_BACKUP_ONLY;
2483 ai.flags |= ApplicationInfo.FLAG_PERSISTENT;
2508 ai.flags |= ApplicationInfo.FLAG_DEBUGGABLE;
2514 ai.flags |= ApplicationInfo.FLAG_VM_SAFE_MODE;
2519 owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.ICE_CREAM_SANDWICH);
2524 ai.flags |= ApplicationInfo.FLAG_HAS_CODE;
2530 ai.flags |= ApplicationInfo.FLAG_ALLOW_TASK_REPARENTING;
2536 ai.flags |= ApplicationInfo.FLAG_ALLOW_CLEAR_USER_DATA;
2542 ai.flags |= ApplicationInfo.FLAG_TEST_ONLY;
2548 ai.flags |= ApplicationInfo.FLAG_LARGE_HEAP;
2554 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_RTL;
2560 ai.flags |= ApplicationInfo.FLAG_MULTIARCH;
2568 if (owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.FROYO) {
2584 if (owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.FROYO) {
2603 ai.flags |= ApplicationInfo.FLAG_IS_GAME;
2610 ai.flags |= ApplicationInfo.FLAG_CANT_SAVE_STATE;
2781 owner.splitFlags[splitIndex] |= ApplicationInfo.FLAG_HAS_CODE;
2914 = buildClassName(owner.applicationInfo.packageName, name, outError);
2987 a.info.applicationInfo.uiOptions);
3007 a.info.permission = owner.applicationInfo.permission;
3015 a.info.taskAffinity = buildTaskAffinityName(owner.applicationInfo.packageName,
3016 owner.applicationInfo.taskAffinity, str, outError);
3063 (owner.applicationInfo.flags&ApplicationInfo.FLAG_ALLOW_TASK_REPARENTING) != 0)) {
3165 if (receiver && (owner.applicationInfo.flags&ApplicationInfo.FLAG_CANT_SAVE_STATE) != 0) {
3265 targetActivity = buildClassName(owner.applicationInfo.packageName,
3447 if (owner.applicationInfo.targetSdkVersion < Build.VERSION_CODES.JELLY_BEAN_MR1) {
3473 p.info.readPermission = owner.applicationInfo.permission;
3484 p.info.writePermission = owner.applicationInfo.permission;
3518 if ((owner.applicationInfo.flags&ApplicationInfo.FLAG_CANT_SAVE_STATE) != 0) {
3766 s.info.permission = owner.applicationInfo.permission;
3797 if ((owner.applicationInfo.flags&ApplicationInfo.FLAG_CANT_SAVE_STATE) != 0) {
4218 public final ApplicationInfo applicationInfo = new ApplicationInfo();
4330 * and prods fields out of {@code this.applicationInfo}.
4336 applicationInfo.packageName = packageName;
4337 applicationInfo.uid = -1;
4355 if ((applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) != 0) {
4360 if ((splitFlags[i] & ApplicationInfo.FLAG_HAS_CODE) != 0) {
4370 applicationInfo.packageName = newName;
4456 = buildClassName(owner.applicationInfo.packageName, name, args.outError);
4497 if (owner.applicationInfo.targetSdkVersion >= Build.VERSION_CODES.FROYO) {
4506 outInfo.processName = buildProcessName(owner.applicationInfo.packageName,
4507 owner.applicationInfo.processName, pname,
4531 componentName = new ComponentName(owner.applicationInfo.packageName,
4538 ComponentName.appendShortString(sb, owner.applicationInfo.packageName, className);
4542 ComponentName.printShortString(pw, owner.applicationInfo.packageName, className);
4612 if (p.applicationInfo
4633 public static ApplicationInfo generateApplicationInfo(Package p, int flags,
4638 private static void updateApplicationInfo(ApplicationInfo ai, int flags,
4645 ai.flags |= ApplicationInfo.FLAG_INSTALLED;
4647 ai.flags &= ~ApplicationInfo.FLAG_INSTALLED;
4650 ai.flags |= ApplicationInfo.FLAG_HIDDEN;
4652 ai.flags &= ~ApplicationInfo.FLAG_HIDDEN;
4665 public static ApplicationInfo generateApplicationInfo(Package p, int flags,
4674 // In this case it is safe to directly modify the internal ApplicationInfo state:
4681 updateApplicationInfo(p.applicationInfo, flags, state);
4682 return p.applicationInfo;
4686 ApplicationInfo ai = new ApplicationInfo(p.applicationInfo);
4698 ai.flags |= ApplicationInfo.FLAG_STOPPED;
4700 ai.flags &= ~ApplicationInfo.FLAG_STOPPED;
4706 public static ApplicationInfo generateApplicationInfo(ApplicationInfo ai, int flags,
4714 ai = new ApplicationInfo(ai);
4720 ai.flags |= ApplicationInfo.FLAG_STOPPED;
4722 ai.flags &= ~ApplicationInfo.FLAG_STOPPED;
4756 info.applicationInfo = args.owner.applicationInfo;
4787 ai.applicationInfo = generateApplicationInfo(a.owner, flags, state, userId);
4800 ai.applicationInfo = generateApplicationInfo(ai.applicationInfo, flags, state, userId);
4810 info.applicationInfo = args.owner.applicationInfo;
4841 si.applicationInfo = generateApplicationInfo(s.owner, flags, state, userId);
4852 info.applicationInfo = args.owner.applicationInfo;
4895 pi.applicationInfo = generateApplicationInfo(p.owner, flags, state, userId);