/frameworks/base/core/java/android/content/pm/ |
ComponentInfo.java | 36 public ApplicationInfo applicationInfo; 41 * as <var>applicationInfo.processName</var>. 54 * overriden by the one in its parent {@link ApplicationInfo}. 71 applicationInfo = orig.applicationInfo; 82 ApplicationInfo ai = applicationInfo; 106 return enabled && applicationInfo.enabled; 117 return icon != 0 ? icon : applicationInfo.icon [all...] |
PackageInfo.java | 65 public ApplicationInfo applicationInfo; 216 if (applicationInfo != null) { 218 applicationInfo.writeToParcel(dest, parcelableFlags); 257 applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source);
|
PackageParser.java | 218 pi.applicationInfo = generateApplicationInfo(p, flags); 477 //pkg.applicationInfo.sourceDir = destCodePath; 478 //pkg.applicationInfo.publicSourceDir = destRes; [all...] |
ActivityInfo.java | 409 return applicationInfo.targetSdkVersion < android.os.Build.VERSION_CODES.HONEYCOMB_MR2 478 return theme != 0 ? theme : applicationInfo.theme;
|
ResolveInfo.java | 145 ApplicationInfo ai = ci.applicationInfo; 179 ApplicationInfo ai = ci.applicationInfo;
|
/frameworks/base/services/java/com/android/server/am/ |
LaunchWarningWindow.java | 46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager())); 49 next.info.applicationInfo.loadLabel(context.getPackageManager()).toString())); 51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager())); 54 cur.info.applicationInfo.loadLabel(context.getPackageManager()).toString()));
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AllAppsList.java | 37 public ArrayList<ApplicationInfo> data = 38 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER); 40 public ArrayList<ApplicationInfo> added = 41 new ArrayList<ApplicationInfo>(DEFAULT_APPLICATIONS_NUMBER); 43 public ArrayList<ApplicationInfo> removed = new ArrayList<ApplicationInfo>(); 45 public ArrayList<ApplicationInfo> modified = new ArrayList<ApplicationInfo>(); 57 * Add the supplied ApplicationInfo objects to the list, and enqueue it into the 62 public void add(ApplicationInfo info) [all...] |
ApplicationInfo.java | 33 class ApplicationInfo extends ItemInfo { 34 private static final String TAG = "Launcher2.ApplicationInfo"; 63 ApplicationInfo() { 70 public ApplicationInfo(PackageManager pm, ResolveInfo info, IconCache iconCache, 72 final String packageName = info.activityInfo.applicationInfo.packageName; 81 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_SYSTEM) == 0) { 84 if ((appFlags & android.content.pm.ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0) { 96 public ApplicationInfo(ApplicationInfo info) { 122 return "ApplicationInfo(title=" + title.toString() + ")" [all...] |
/frameworks/base/core/java/android/app/ |
WallpaperInfo.java | 24 import android.content.pm.ApplicationInfo; 101 Resources res = pm.getResourcesForApplication(si.applicationInfo); 215 mService.serviceInfo.applicationInfo); 224 ApplicationInfo applicationInfo = null; 227 applicationInfo = mService.serviceInfo.applicationInfo; 229 return pm.getText(packageName, mAuthorResource, applicationInfo); 237 ApplicationInfo applicationInfo = null [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
ComponentInfoTest.java | 19 import android.content.pm.ApplicationInfo; 69 componentInfo.applicationInfo = new ApplicationInfo(); 102 mComponentInfo.applicationInfo = new ApplicationInfo(); 148 ci.applicationInfo = new ApplicationInfo(); 172 mComponentInfo.applicationInfo = new ApplicationInfo(); 179 assertEquals(mComponentInfo.applicationInfo.icon, mComponentInfo.getIconResource()) [all...] |
PackageInfoTest.java | 24 import android.content.pm.ApplicationInfo; 101 if (expected.applicationInfo != null) { 102 assertNotNull(actual.applicationInfo); 103 checkAppInfo(expected.applicationInfo, actual.applicationInfo); 105 assertNull(actual.applicationInfo); 119 private void checkAppInfo(ApplicationInfo expected, ApplicationInfo actual) {
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 25 import android.content.pm.ApplicationInfo; 103 if (info.applicationInfo != null) { 105 pm.getApplicationIcon(info.applicationInfo)); 106 label = info.applicationInfo.nonLocalizedLabel; 107 appClass = info.applicationInfo.className; 108 if (info.applicationInfo.enabled) { 111 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_SYSTEM) == 0) { 114 if ((info.applicationInfo.flags&ApplicationInfo.FLAG_DEBUGGABLE) == 0) [all...] |
AppHwConfigList.java | 23 import android.content.pm.ApplicationInfo; 82 List<ApplicationInfo> appList = mPm.getInstalledApplications(0); 83 for (ApplicationInfo app : appList) { 136 text.setText(info != null ? info.applicationInfo.loadLabel(mPm) : "(none)"); 147 CharSequence sa = ((PackageInfo) a).applicationInfo.loadLabel(mPm); 148 CharSequence sb = ((PackageInfo) b).applicationInfo.loadLabel(mPm);
|
ShowActivity.java | 75 mPackage.setText(mActivityInfo.applicationInfo.packageName); 78 mActivityInfo.applicationInfo.packageName + ".")) { 80 mActivityInfo.applicationInfo.packageName.length()));
|
PackageBrowser.java | 64 info.label = info.info.applicationInfo.loadLabel(getPackageManager()).toString(); 78 icon.setImageDrawable(info.info.applicationInfo.loadIcon(getPackageManager())); 158 final String dataPath = packageInfo.info.applicationInfo.dataDir;
|
/packages/apps/Settings/tests/src/com/android/settings/ |
SettingsHookTests.java | 26 import android.content.pm.ApplicationInfo; 77 ApplicationInfo applicationInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); 78 assertTrue((applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0);
|
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
MockPackageManager.java | 24 import android.content.pm.ApplicationInfo; 88 packageInfo.activityInfo.applicationInfo = new ApplicationInfo(); 89 packageInfo.activityInfo.applicationInfo.packageName = componentName.getPackageName();
|
/frameworks/base/services/java/com/android/server/pm/ |
PackageManagerService.java | 51 import android.content.pm.ApplicationInfo; 371 ApplicationInfo mAndroidApplication; 674 res.pkg.applicationInfo.packageName, 678 res.pkg.applicationInfo.packageName, 682 res.pkg.applicationInfo.packageName, null); [all...] |
/frameworks/base/core/java/android/app/admin/ |
DeviceAdminInfo.java | 26 import android.content.pm.ApplicationInfo; 233 Resources res = pm.getResourcesForApplication(ai.applicationInfo); 344 ApplicationInfo applicationInfo = null; 347 applicationInfo = mReceiver.activityInfo.applicationInfo; 350 mReceiver.activityInfo.descriptionRes, applicationInfo);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ResolveCache.java | 26 import android.content.pm.ApplicationInfo; 44 * Specific list {@link ApplicationInfo#packageName} of apps that are 179 final boolean isSystem = (info.activityInfo.applicationInfo.flags 180 & ApplicationInfo.FLAG_SYSTEM) != 0; 182 .contains(info.activityInfo.applicationInfo.packageName);
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
SpellCheckersSettings.java | 25 import android.content.pm.ApplicationInfo; 142 scp.getSpellCheckerInfo().getServiceInfo().applicationInfo.loadLabel( 157 return (sci.getServiceInfo().applicationInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0;
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
BatterySipper.java | 22 import android.content.pm.ApplicationInfo; 154 ApplicationInfo ai = pm.getApplicationInfo(packageLabels[i], 0); 178 pi.sharedUserLabel, pi.applicationInfo); 181 if (pi.applicationInfo.icon != 0) { 183 icon = pi.applicationInfo.loadIcon(pm);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageInstallerActivity.java | 27 import android.content.pm.ApplicationInfo; 57 ApplicationInfo mSourceInfo; 59 // ApplicationInfo object primarily used for already existing applications 60 private ApplicationInfo mAppInfo = null; 113 if ((mAppInfo != null) && (mAppInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0) { 161 CharSequence appTitle = mPm.getApplicationLabel(mPkgInfo.applicationInfo); 186 CharSequence appTitle1 = mPm.getApplicationLabel(mPkgInfo.applicationInfo); 258 mPkgInfo.applicationInfo.packageName); 292 mPkgInfo.applicationInfo, mPackageURI); 302 if ((mSourceInfo.flags&ApplicationInfo.FLAG_SYSTEM) != 0) [all...] |
/packages/experimental/UiAutomation/library/src/com/android/testing/uiautomation/ |
UiTestHelper.java | 91 tmpIntent.setClassName(info.activityInfo.applicationInfo.packageName,
|
/frameworks/base/core/java/android/view/textservice/ |
SpellCheckerInfo.java | 82 final Resources res = pm.getResourcesForApplication(si.applicationInfo); 210 return pm.getText(getPackageName(), mLabel, mService.serviceInfo.applicationInfo);
|