/frameworks/base/services/java/com/android/server/pm/ |
D | GrantedPermissions.java | 19 import android.content.pm.ApplicationInfo; 46 & (ApplicationInfo.FLAG_SYSTEM in setFlags() 47 | ApplicationInfo.FLAG_PRIVILEGED in setFlags() 48 | ApplicationInfo.FLAG_FORWARD_LOCK in setFlags() 49 | ApplicationInfo.FLAG_EXTERNAL_STORAGE); in setFlags()
|
D | PackageSetting.java | 19 import android.content.pm.ApplicationInfo; 62 return (pkgFlags & ApplicationInfo.FLAG_PRIVILEGED) != 0; in isPrivileged()
|
D | Settings.java | 46 import android.content.pm.ApplicationInfo; 275 p.pkg.applicationInfo.flags |= ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in disableSystemPackageLPw() 298 p.pkg.applicationInfo.flags &= ~ApplicationInfo.FLAG_UPDATED_SYSTEM_APP; in enableSystemPackageLPw() 400 if ((p.pkgFlags & ApplicationInfo.FLAG_SYSTEM) != 0) { in getPackageLPw() 433 & (ApplicationInfo.FLAG_SYSTEM | ApplicationInfo.FLAG_PRIVILEGED); in getPackageLPw() 462 if ((pkgFlags&ApplicationInfo.FLAG_SYSTEM) == 0) { in getPackageLPw() 1406 final ApplicationInfo ai = pkg.pkg.applicationInfo; in writeLPr() 1408 final boolean isDebug = (ai.flags & ApplicationInfo.FLAG_DEBUGGABLE) != 0; in writeLPr() 1562 if ((pkg.pkgFlags & ApplicationInfo.FLAG_SYSTEM) == 0) { in writePackageLPr() 1868 if ((ps.pkgFlags&ApplicationInfo.FLAG_SYSTEM) != 0 && ps.pkg != null in readDefaultPreferredAppsLPw() [all …]
|
D | SELinuxMMAC.java | 19 import android.content.pm.ApplicationInfo; 259 if (((pkg.applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) || in assignSeinfoValue() 260 ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0)) { in assignSeinfoValue()
|
/frameworks/base/core/java/android/content/pm/ |
D | ApplicationInfo.java | 34 public class ApplicationInfo extends PackageItemInfo implements Parcelable { class 534 implements Comparator<ApplicationInfo> { 539 public final int compare(ApplicationInfo aa, ApplicationInfo ab) { in compare() 556 public ApplicationInfo() { in ApplicationInfo() method in ApplicationInfo 559 public ApplicationInfo(ApplicationInfo orig) { in ApplicationInfo() method in ApplicationInfo 628 public static final Parcelable.Creator<ApplicationInfo> CREATOR 629 = new Parcelable.Creator<ApplicationInfo>() { 630 public ApplicationInfo createFromParcel(Parcel source) { 631 return new ApplicationInfo(source); 633 public ApplicationInfo[] newArray(int size) { [all …]
|
D | ComponentInfo.java | 36 public ApplicationInfo applicationInfo; 82 ApplicationInfo ai = applicationInfo; in loadLabel() 161 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in ComponentInfo() 186 @Override protected ApplicationInfo getApplicationInfo() { in getApplicationInfo()
|
D | PackageManager.java | 1536 public abstract ApplicationInfo getApplicationInfo(String packageName, in getApplicationInfo() 1966 public abstract List<ApplicationInfo> getInstalledApplications(int flags); in getInstalledApplications() 2331 ApplicationInfo appInfo); in getDrawable() 2390 public abstract Drawable getApplicationIcon(ApplicationInfo info); in getApplicationIcon() 2462 public abstract Drawable getApplicationLogo(ApplicationInfo info); in getApplicationLogo() 2502 ApplicationInfo appInfo); in getText() 2521 ApplicationInfo appInfo); in getXml() 2530 public abstract CharSequence getApplicationLabel(ApplicationInfo info); in getApplicationLabel() 2560 public abstract Resources getResourcesForApplication(ApplicationInfo app) in getResourcesForApplication()
|
D | ApplicationInfo.aidl | 20 parcelable ApplicationInfo;
|
D | PackageParser.java | 304 if ((pi.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0 in generatePackageInfo() 305 || (pi.applicationInfo.flags&ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { in generatePackageInfo() 1011 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_FORWARD_LOCK; in parsePackage() 1016 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_EXTERNAL_STORAGE; in parsePackage() 1393 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SMALL_SCREENS; in parsePackage() 1396 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_NORMAL_SCREENS; in parsePackage() 1401 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_LARGE_SCREENS; in parsePackage() 1406 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_XLARGE_SCREENS; in parsePackage() 1411 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_RESIZEABLE_FOR_SCREENS; in parsePackage() 1416 pkg.applicationInfo.flags |= ApplicationInfo.FLAG_SUPPORTS_SCREEN_DENSITIES; in parsePackage() [all …]
|
D | PackageInfo.java | 65 public ApplicationInfo applicationInfo; 294 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo()
|
/frameworks/base/services/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 | 18 import android.content.pm.ApplicationInfo; 120 ApplicationInfo ai = null; in handlePackageAddedLocked() 144 public CompatibilityInfo compatibilityInfoForPackageLocked(ApplicationInfo ai) { in compatibilityInfoForPackageLocked() 152 public int computeCompatModeLocked(ApplicationInfo ai) { in computeCompatModeLocked() 219 ApplicationInfo ai = null; in getPackageScreenCompatModeLocked() 231 ApplicationInfo ai = null; in setPackageScreenCompatModeLocked() 243 private void setPackageScreenCompatModeLocked(ApplicationInfo ai, int mode) { in setPackageScreenCompatModeLocked() 352 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; 40 final ApplicationInfo appInfo; 59 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 | 24 import android.content.pm.ApplicationInfo; 118 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 225 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 320 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { in getDrawable() 341 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 361 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() 371 public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { in getText() 377 ApplicationInfo appInfo) { in getXml() 382 public CharSequence getApplicationLabel(ApplicationInfo info) { in getApplicationLabel() 393 public Resources getResourcesForApplication(ApplicationInfo app) { in getResourcesForApplication()
|
/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/base/core/tests/inputmethodtests/src/android/os/ |
D | InputMethodTest.java | 22 import android.content.pm.ApplicationInfo; 94 final ApplicationInfo ai = new ApplicationInfo(); in createDummyInputMethodInfo() 97 ai.flags |= ApplicationInfo.FLAG_SYSTEM; in createDummyInputMethodInfo()
|
/frameworks/base/services/java/com/android/server/ |
D | PackageManagerBackupAgent.java | 22 import android.content.pm.ApplicationInfo; 255 List<ApplicationInfo> restoredApps = new ArrayList<ApplicationInfo>(); in onRestore() 305 ApplicationInfo app = new ApplicationInfo(); in onRestore()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationPackageManager.java | 25 import android.content.pm.ApplicationInfo; 216 public ApplicationInfo getApplicationInfo(String packageName, int flags) in getApplicationInfo() 219 ApplicationInfo ai = mPM.getApplicationInfo(packageName, flags, mContext.getUserId()); in getApplicationInfo() 454 public List<ApplicationInfo> getInstalledApplications(int flags) { in getInstalledApplications() 457 ParceledListSlice<ApplicationInfo> slice = mPM.getInstalledApplications(flags, userId); in getInstalledApplications() 651 ApplicationInfo appInfo) { in getDrawable() 722 @Override public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() 754 public Drawable getApplicationLogo(ApplicationInfo info) { in getApplicationLogo() 771 ApplicationInfo app) throws NameNotFoundException { in getResourcesForApplication() 802 ApplicationInfo ai = mPM.getApplicationInfo(appPackageName, 0, userId); in getResourcesForApplicationAsUser() [all …]
|
D | IApplicationThread.java | 23 import android.content.pm.ApplicationInfo; 75 void scheduleCreateBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo, in scheduleCreateBackupAgent() 77 void scheduleDestroyBackupAgent(ApplicationInfo app, CompatibilityInfo compatInfo) in scheduleDestroyBackupAgent() 91 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()
|
/frameworks/base/services/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/packages/VpnDialogs/src/com/android/vpndialogs/ |
D | ConfirmDialog.java | 22 import android.content.pm.ApplicationInfo; 61 ApplicationInfo app = pm.getApplicationInfo(mPackage, 0); in onResume()
|
/frameworks/base/core/java/com/android/internal/app/ |
D | HeavyWeightSwitcherActivity.java | 25 import android.content.pm.ApplicationInfo; 110 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText()
|