/frameworks/base/services/core/java/com/android/server/pm/ |
D | GrantedPermissions.java | 19 import android.content.pm.ApplicationInfo; 45 & (ApplicationInfo.FLAG_SYSTEM in setFlags() 46 | ApplicationInfo.FLAG_PRIVILEGED in setFlags() 47 | ApplicationInfo.FLAG_FORWARD_LOCK in setFlags() 48 | ApplicationInfo.FLAG_EXTERNAL_STORAGE); in setFlags()
|
D | PackageSetting.java | 19 import android.content.pm.ApplicationInfo; 65 return (pkgFlags & ApplicationInfo.FLAG_PRIVILEGED) != 0; in isPrivileged()
|
D | Settings.java | 56 import android.content.pm.ApplicationInfo; 348 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in disableSystemPackageLPw() 371 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in enableSystemPackageLPw() 482 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getPackageLPw() 515 & (ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_PRIVILEGED); in getPackageLPw() 546 if ((pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) { in getPackageLPw() 1663 final ApplicationInfo ai = pkg.pkg.applicationInfo; in writeLPr() 1665 final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in writeLPr() 1841 if ((pkg.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in writePackageLPr() 2192 if ((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0 && ps.pkg != null in readDefaultPreferredAppsLPw() [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/core/java/android/content/pm/ |
D | ApplicationInfo.java | 38 public class ApplicationInfo extends PackageItemInfo implements Parcelable { class 650 implements Comparator<ApplicationInfo> { 655 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { in compare() 672 public ApplicationInfo() { in ApplicationInfo() method in ApplicationInfo 675 public ApplicationInfo(ApplicationInfo orig) { in ApplicationInfo() method in ApplicationInfo 764 public static final Parcelable.Creator<ApplicationInfo> CREATOR 765 = new Parcelable.Creator<ApplicationInfo>() { 766 public ApplicationInfo createFromParcel(Parcel source) { 767 return new ApplicationInfo(source); 769 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 | 1906 public abstract ApplicationInfo getApplicationInfo(String packageName, in getApplicationInfo() 2336 public abstract List<ApplicationInfo> getInstalledApplications(int flags); in getInstalledApplications() 2714 ApplicationInfo appInfo); in getDrawable() 2807 public abstract Drawable getApplicationIcon(ApplicationInfo info); in getApplicationIcon() 2836 public abstract Drawable getApplicationBanner(ApplicationInfo info); in getApplicationBanner() 2903 public abstract Drawable getApplicationLogo(ApplicationInfo info); in getApplicationLogo() 3016 ApplicationInfo appInfo); in getText() 3035 ApplicationInfo appInfo); in getXml() 3044 public abstract CharSequence getApplicationLabel(ApplicationInfo info); in getApplicationLabel() 3074 public abstract Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication() [all …]
|
D | ApplicationInfo.aidl | 20 parcelable ApplicationInfo;
|
D | PackageParser.java | 429 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo() 430 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo() 1407 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_FORWARD_LOCK; in parseBaseApk() 1412 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parseBaseApk() 1840 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS; in parseBaseApk() 1843 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS; in parseBaseApk() 1848 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS; in parseBaseApk() 1853 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS; in parseBaseApk() 1858 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS; in parseBaseApk() 1863 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES; in parseBaseApk() [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 | 34 import android.content.pm.ApplicationInfo; 147 ApplicationInfo ai = null; in handlePackageAddedLocked() 171 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() 179 public int computeCompatModeLocked(ApplicationInfo ai) { in computeCompatModeLocked() 246 ApplicationInfo ai = null; in getPackageScreenCompatModeLocked() 258 ApplicationInfo ai = null; in setPackageScreenCompatModeLocked() 270 private void setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) { in setPackageScreenCompatModeLocked() 379 ApplicationInfo ai = null; in saveCompatModes()
|
D | CompatModeDialog.java | 22 import android.content.pm.ApplicationInfo; 33 final ApplicationInfo mAppInfo; 40 ApplicationInfo appInfo) { in CompatModeDialog()
|
D | ContentProviderRecord.java | 22 import android.content.pm.ApplicationInfo; 39 final ApplicationInfo appInfo; 58 ApplicationInfo ai, ComponentName _name, boolean _singleton) { in ContentProviderRecord()
|
/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/test-runner/src/android/test/mock/ |
D | MockPackageManager.java | 25 import android.content.pm.ApplicationInfo; 126 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 233 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 334 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 366 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner() 376 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 396 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() 429 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() 435 ApplicationInfo appInfo) { in getXml() 440 public CharSequence getApplicationLabel(ApplicationInfo info) { in getApplicationLabel() [all …]
|
/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/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 21 import android.content.pm.ApplicationInfo; 346 ApplicationInfo appInfo = context.getApplicationInfo(); in getNoBackupFilesDir() 371 ApplicationInfo appInfo = context.getApplicationInfo(); in getCodeCacheDir()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 25 import android.content.pm.ApplicationInfo; 266 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 269 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo() 284 private static void maybeAdjustApplicationInfo(ApplicationInfo info) { in maybeAdjustApplicationInfo() 526 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 529 ParceledListSlice<ApplicationInfo> slice = mPM.getInstalledApplications(flags, userId); in getInstalledApplications() 728 ApplicationInfo appInfo) { in getDrawable() 799 @Override public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 831 public Drawable getApplicationBanner(ApplicationInfo info) { in getApplicationBanner() 864 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() [all …]
|
D | IApplicationThread.java | 23 import android.content.pm.ApplicationInfo; 80 void scheduleCreateBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo, in scheduleCreateBackupAgent() 82 void scheduleDestroyBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo) in scheduleDestroyBackupAgent() 96 void bindApplication(String packageName, ApplicationInfo info, List<ProviderInfo> providers, in bindApplication()
|
D | WallpaperInfo.java | 24 import android.content.pm.ApplicationInfo; 224 ApplicationInfo applicationInfo = null; in loadAuthor() 237 ApplicationInfo applicationInfo = null; in loadDescription()
|
D | LoadedApk.java | 28 import android.content.pm.ApplicationInfo; 83 private ApplicationInfo mApplicationInfo; 124 public LoadedApk(ActivityThread activityThread, ApplicationInfo aInfo, in LoadedApk() 153 private static ApplicationInfo adjustNativeLibraryPaths(ApplicationInfo info) { in adjustNativeLibraryPaths() 165 final ApplicationInfo modified = new ApplicationInfo(info); in adjustNativeLibraryPaths() 180 mApplicationInfo = new ApplicationInfo(); in LoadedApk() 203 void installSystemApplicationInfo(ApplicationInfo info, ClassLoader classLoader) { in installSystemApplicationInfo() 213 public ApplicationInfo getApplicationInfo() { in getApplicationInfo() 239 ApplicationInfo ai = null; in getLibrariesFor()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | SenderFilter.java | 22 import android.content.pm.ApplicationInfo; 48 return (pm.getFlagsForUid(callerUid) & ApplicationInfo.FLAG_PRIVILEGED) != 0; in isPrivilegedApp()
|
/frameworks/base/core/java/android/hardware/soundtrigger/ |
D | KeyphraseEnrollmentInfo.java | 21 import android.content.pm.ApplicationInfo; 102 ApplicationInfo ai = null; in KeyphraseEnrollmentInfo() 107 if ((ai.flags & ApplicationInfo.FLAG_PRIVILEGED) == 0) { in KeyphraseEnrollmentInfo()
|
/frameworks/base/core/java/com/android/internal/appwidget/ |
D | IAppWidgetHost.aidl | 19 import android.content.pm.ApplicationInfo;
|
/frameworks/native/opengl/tools/glgen/stubs/jsr239/ |
D | GLImplHeader.java-impl | 22 import android.content.pm.ApplicationInfo; 70 … ApplicationInfo applicationInfo = pm.getApplicationInfo(appName, 0, UserHandle.myUserId());
|