Home
last modified time | relevance | path

Searched refs:ApplicationInfo (Results 1 – 25 of 109) sorted by relevance

12345

/frameworks/base/services/java/com/android/server/pm/
DGrantedPermissions.java19 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()
DPackageSetting.java19 import android.content.pm.ApplicationInfo;
62 return (pkgFlags & ApplicationInfo.FLAG_PRIVILEGED) != 0; in isPrivileged()
DSettings.java46 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 …]
DSELinuxMMAC.java19 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/
DApplicationInfo.java34 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 …]
DComponentInfo.java36 public ApplicationInfo applicationInfo;
82 ApplicationInfo ai = applicationInfo; in loadLabel()
161 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in ComponentInfo()
186 @Override protected ApplicationInfo getApplicationInfo() { in getApplicationInfo()
DPackageManager.java1536 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()
DApplicationInfo.aidl20 parcelable ApplicationInfo;
DPackageParser.java304 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 …]
DPackageInfo.java65 public ApplicationInfo applicationInfo;
294 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); in PackageInfo()
/frameworks/base/services/java/com/android/server/am/
DBackupRecord.java21 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()
DCompatModePackages.java18 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()
DCompatModeDialog.java22 import android.content.pm.ApplicationInfo;
33 final ApplicationInfo mAppInfo;
40 ApplicationInfo appInfo) { in CompatModeDialog()
DContentProviderRecord.java22 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/
DDpiTestActivity.java34 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/
DMockPackageManager.java24 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/
DCompatibilityInfo.java19 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/
DInputMethodTest.java22 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/
DPackageManagerBackupAgent.java22 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/
DApplicationPackageManager.java25 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 …]
DIApplicationThread.java23 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()
DWallpaperInfo.java24 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/
DSenderFilter.java22 import android.content.pm.ApplicationInfo;
48 return (pm.getFlagsForUid(callerUid) & ApplicationInfo.FLAG_PRIVILEGED) != 0; in isPrivilegedApp()
/frameworks/base/packages/VpnDialogs/src/com/android/vpndialogs/
DConfirmDialog.java22 import android.content.pm.ApplicationInfo;
61 ApplicationInfo app = pm.getApplicationInfo(mPackage, 0); in onResume()
/frameworks/base/core/java/com/android/internal/app/
DHeavyWeightSwitcherActivity.java25 import android.content.pm.ApplicationInfo;
110 ApplicationInfo info = getPackageManager().getApplicationInfo( in setIconAndText()

12345