Home | History | Annotate | Download | only in utils

Lines Matching refs:ApplicationInfo

23 import android.content.pm.ApplicationInfo;
32 * Utility methods wrapping operations on ApplicationInfo and PackageInfo.
47 public static boolean appIsEligibleForBackup(ApplicationInfo app) {
49 if ((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) {
69 public static boolean appIsStopped(ApplicationInfo app) {
70 return ((app.flags & ApplicationInfo.FLAG_STOPPED) != 0);
78 if (pkg.applicationInfo.backupAgentName != null) {
80 return (pkg.applicationInfo.flags & ApplicationInfo.FLAG_FULL_BACKUP_ONLY) != 0;
118 if ((target.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) {