/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CarrierAppUtilsTest.java | 19 import android.content.pm.ApplicationInfo; 71 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_NonSystemApp() 91 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 93 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_DisabledUser() 110 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() 112 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Disabled() 129 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 131 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_Enabled() 148 ApplicationInfo appInfo = new ApplicationInfo(); in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() 150 appInfo.flags |= ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in testDisableCarrierAppsUntilPrivileged_HasPrivileges_UpdatedApp() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 19 import android.content.pm.ApplicationInfo; 77 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidatesHelper(packageManager, in disableCarrierAppsUntilPrivileged() 86 for (ApplicationInfo ai : candidates) { in disableCarrierAppsUntilPrivileged() 140 public static List<ApplicationInfo> getDefaultCarrierApps(IPackageManager packageManager, in getDefaultCarrierApps() 143 List<ApplicationInfo> candidates = getDefaultCarrierAppCandidates(packageManager, userId); in getDefaultCarrierApps() 152 ApplicationInfo ai = candidates.get(i); in getDefaultCarrierApps() 176 public static List<ApplicationInfo> getDefaultCarrierAppCandidates( in getDefaultCarrierAppCandidates() 184 private static List<ApplicationInfo> getDefaultCarrierAppCandidatesHelper( in getDefaultCarrierAppCandidatesHelper() 191 List<ApplicationInfo> apps = null; in getDefaultCarrierAppCandidatesHelper() 195 ApplicationInfo ai = packageManager.getApplicationInfo(packageName, in getDefaultCarrierAppCandidatesHelper()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | SettingBase.java | 19 import android.content.pm.ApplicationInfo; 45 & (ApplicationInfo.FLAG_SYSTEM in setFlags() 46 | ApplicationInfo.FLAG_EXTERNAL_STORAGE); in setFlags() 51 & (ApplicationInfo.PRIVATE_FLAG_PRIVILEGED in setPrivateFlags() 52 | ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK); in setPrivateFlags()
|
D | PackageSetting.java | 19 import android.content.pm.ApplicationInfo; 67 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_PRIVILEGED) != 0; in isPrivileged() 71 return (pkgPrivateFlags & ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK) != 0; in isForwardLocked() 75 return (pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystem()
|
D | InstructionSets.java | 19 import android.content.pm.ApplicationInfo; 38 public static String[] getAppDexInstructionSets(ApplicationInfo info) { in getAppDexInstructionSets() 116 public static String getPrimaryInstructionSet(ApplicationInfo info) { in getPrimaryInstructionSet()
|
D | PackageDexOptimizer.java | 21 import android.content.pm.ApplicationInfo; 114 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_HAS_CODE) == 0) { in performDexOptLI() 118 … final boolean vmSafeMode = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_VM_SAFE_MODE) != 0; in performDexOptLI() 119 … final boolean debuggable = (pkg.applicationInfo.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in performDexOptLI()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 39 public class ApplicationInfo extends PackageItemInfo implements Parcelable { class 723 implements Comparator<ApplicationInfo> { 728 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { in compare() 745 public ApplicationInfo() { in ApplicationInfo() method in ApplicationInfo 748 public ApplicationInfo(ApplicationInfo orig) { in ApplicationInfo() method in ApplicationInfo 843 public static final Parcelable.Creator<ApplicationInfo> CREATOR 844 = new Parcelable.Creator<ApplicationInfo>() { 845 public ApplicationInfo createFromParcel(Parcel source) { 846 return new ApplicationInfo(source); 848 public ApplicationInfo[] newArray(int size) { [all …]
|
D | ComponentInfo.java | 36 public ApplicationInfo applicationInfo; 82 ApplicationInfo ai = applicationInfo; in loadLabel() 172 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in ComponentInfo() 205 @Override protected ApplicationInfo getApplicationInfo() { in getApplicationInfo()
|
D | PackageManager.java | 2207 public abstract ApplicationInfo getApplicationInfo(String packageName, in getApplicationInfo() 2746 public abstract List<ApplicationInfo> getInstalledApplications(int flags); in getInstalledApplications() 3128 ApplicationInfo appInfo); in getDrawable() 3221 public abstract Drawable getApplicationIcon(ApplicationInfo info); in getApplicationIcon() 3250 public abstract Drawable getApplicationBanner(ApplicationInfo info); in getApplicationBanner() 3317 public abstract Drawable getApplicationLogo(ApplicationInfo info); in getApplicationLogo() 3431 ApplicationInfo appInfo); in getText() 3450 ApplicationInfo appInfo); in getXml() 3459 public abstract CharSequence getApplicationLabel(ApplicationInfo info); in getApplicationLabel() 3489 public abstract Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication() [all …]
|
D | PackageParser.java | 430 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo() 431 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo() 1423 pkg.applicationInfo.privateFlags |= ApplicationInfo.PRIVATE_FLAG_FORWARD_LOCK; in parseBaseApk() 1428 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parseBaseApk() 1859 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS; in parseBaseApk() 1862 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS; in parseBaseApk() 1867 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS; in parseBaseApk() 1872 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS; in parseBaseApk() 1877 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS; in parseBaseApk() 1882 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES; in parseBaseApk() [all …]
|
/frameworks/base/media/java/android/media/tv/ |
D | TvContentRatingSystemInfo.java | 21 import android.content.pm.ApplicationInfo; 36 private final ApplicationInfo mApplicationInfo; 47 ApplicationInfo applicationInfo) { in createTvContentRatingSystemInfo() 56 private TvContentRatingSystemInfo(Uri xmlUri, ApplicationInfo applicationInfo) { in TvContentRatingSystemInfo() 66 return (mApplicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in isSystemDefined()
|
/frameworks/base/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 25 import android.content.pm.ApplicationInfo; 128 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 279 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 380 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 412 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner() 422 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 442 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() 475 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() 481 ApplicationInfo appInfo) { in getXml() 486 public CharSequence getApplicationLabel(ApplicationInfo info) { in getApplicationLabel() [all …]
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
D | BridgePackageManager.java | 25 import android.content.pm.ApplicationInfo; 120 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 243 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 351 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 381 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 391 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner() 411 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() 442 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() 447 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { in getXml() 452 public CharSequence getApplicationLabel(ApplicationInfo info) { in getApplicationLabel() [all …]
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BackupRecord.java | 21 import android.content.pm.ApplicationInfo; 33 final ApplicationInfo appInfo; // information about BackupAgent's app 39 BackupRecord(BatteryStatsImpl.Uid.Pkg.Serv _agentStats, ApplicationInfo _appInfo, in BackupRecord()
|
D | CompatModePackages.java | 37 import android.content.pm.ApplicationInfo; 150 ApplicationInfo ai = null; in handlePackageAddedLocked() 174 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() 182 public int computeCompatModeLocked(ApplicationInfo ai) { in computeCompatModeLocked() 249 ApplicationInfo ai = null; in getPackageScreenCompatModeLocked() 261 ApplicationInfo ai = null; in setPackageScreenCompatModeLocked() 273 private void setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) { in setPackageScreenCompatModeLocked() 382 ApplicationInfo ai = null; in saveCompatModes()
|
D | CompatModeDialog.java | 22 import android.content.pm.ApplicationInfo; 33 final ApplicationInfo mAppInfo; 40 ApplicationInfo appInfo) { in CompatModeDialog()
|
D | RecentTasks.java | 27 import android.content.pm.ApplicationInfo; 56 private final HashMap<String, ApplicationInfo> tmpAvailAppCache = new HashMap<>(); 58 private final ApplicationInfo tmpAppInfo = new ApplicationInfo(); 149 … ApplicationInfo app = tmpAvailAppCache.get(task.realActivity.getPackageName()); in cleanupLocked() 164 if (app == tmpAppInfo || (app.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked() 178 || (ai.applicationInfo.flags&ApplicationInfo.FLAG_INSTALLED) == 0) { in cleanupLocked()
|
/frameworks/base/tests/DpiTest/src/com/google/android/test/dpi/ |
D | DpiTestActivity.java | 34 import android.content.pm.ApplicationInfo; 56 ApplicationInfo ai = app.getPackageManager().getApplicationInfo( in init() 59 ai.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS in init() 60 | ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS in init() 61 | ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS in init() 62 | ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS in init() 63 | ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS in init() 64 | ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES; in init()
|
/frameworks/base/core/java/android/content/res/ |
D | CompatibilityInfo.java | 19 import android.content.pm.ApplicationInfo; 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, in CompatibilityInfo() 168 if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0) { in CompatibilityInfo() 178 if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS) != 0) { in CompatibilityInfo() 184 if ((appInfo.flags & ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS) != 0) { in CompatibilityInfo() 203 if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS) != 0) { in CompatibilityInfo() 211 if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS) != 0) { in CompatibilityInfo() 228 if ((appInfo.flags & ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES) != 0) { in CompatibilityInfo()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | PartnerTest.java | 23 import android.content.pm.ApplicationInfo; 115 ApplicationInfo appInfo = new ApplicationInfo(); in createResolveInfo() 116 appInfo.flags = isSystem ? ApplicationInfo.FLAG_SYSTEM : 0; in createResolveInfo() 178 public Resources getResourcesForApplication(ApplicationInfo app) { in getResourcesForApplication()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
D | ApplicationsState.java | 26 import android.content.pm.ApplicationInfo; 107 List<ApplicationInfo> mApplications = new ArrayList<ApplicationInfo>(); 183 mApplications = new ArrayList<ApplicationInfo>(); in doResumeIfNeededLocked() 191 ParceledListSlice<ApplicationInfo> list = in doResumeIfNeededLocked() 212 final ApplicationInfo info = mApplications.get(i); in doResumeIfNeededLocked() 275 ApplicationInfo info = getAppInfoLocked(packageName, userId); in getEntry() 293 private ApplicationInfo getAppInfoLocked(String pkg, int userId) { in getAppInfoLocked() 295 ApplicationInfo info = mApplications.get(i); in getAppInfoLocked() 339 ApplicationInfo appInfo = mApplications.get(i); in indexOfApplicationInfoLocked() 365 ApplicationInfo info = mIpm.getApplicationInfo(pkgName, in addPackage() [all …]
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | Partner.java | 21 import android.content.pm.ApplicationInfo; 119 final ApplicationInfo appInfo = info.activityInfo.applicationInfo; in get() 120 if ((appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { in get()
|
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/ |
D | AndroidPackageInfoFetcher.java | 20 import android.content.pm.ApplicationInfo; 77 ApplicationInfo appInfo = packageInfo.applicationInfo; in getStatements()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 21 import android.content.pm.ApplicationInfo; 411 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir() 436 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 30 import android.content.pm.ApplicationInfo; 289 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 292 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo() 307 private static void maybeAdjustApplicationInfo(ApplicationInfo info) { in maybeAdjustApplicationInfo() 612 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 615 ParceledListSlice<ApplicationInfo> slice = mPM.getInstalledApplications(flags, userId); in getInstalledApplications() 818 @Nullable ApplicationInfo appInfo) { in getDrawable() 900 @Override public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 932 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner() 965 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() [all …]
|