/frameworks/base/services/java/com/android/server/am/ |
BackupRecord.java | 33 final ApplicationInfo appInfo; // information about BackupAgent's app 42 appInfo = _appInfo; 53 .append(' ').append(appInfo.packageName) 54 .append(' ').append(appInfo.name) 55 .append(' ').append(appInfo.backupAgentName).append('}');
|
CompatModeDialog.java | 40 ApplicationInfo appInfo) { 48 mAppInfo = appInfo;
|
ContentProviderRecord.java | 40 final ApplicationInfo appInfo; 63 appInfo = ai; 73 appInfo = cpr.appInfo;
|
ServiceRecord.java | 66 final ApplicationInfo appInfo; 310 appInfo = sInfo.applicationInfo; 321 userId = UserHandle.getUserId(appInfo.uid); 420 final int appUid = appInfo.uid; 440 localForegroundNoti.icon = appInfo.icon; 445 CharSequence appName = appInfo.loadLabel( 448 appName = appInfo.packageName; 453 appInfo.packageName, 0); 457 appInfo.packageName, null));
|
ProviderMap.java | 100 + ", record uid = " + record.appInfo.uid); 105 final int userId = UserHandle.getUserId(record.appInfo.uid); 113 + ", record uid = " + record.appInfo.uid); 118 final int userId = UserHandle.getUserId(record.appInfo.uid); 241 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) { 267 if (dumpPackage != null && !dumpPackage.equals(r.appInfo.packageName)) {
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
PaymentBackend.java | 63 PaymentAppInfo appInfo = new PaymentAppInfo(); 64 appInfo.banner = service.loadBanner(pm); 65 appInfo.caption = service.getDescription(); 66 if (appInfo.caption == null) { 67 appInfo.caption = service.loadLabel(pm); 69 appInfo.isDefault = service.getComponent().equals(defaultApp); 70 appInfo.componentName = service.getComponent(); 71 appInfos.add(appInfo);
|
PaymentSettings.java | 74 for (PaymentAppInfo appInfo : appInfos) { 76 new PaymentAppPreference(getActivity(), appInfo, this); 77 preference.setTitle(appInfo.caption); 78 if (appInfo.banner != null) { 82 Log.e(TAG, "Couldn't load banner drawable of service " + appInfo.componentName); 132 PaymentAppInfo appInfo = (PaymentAppInfo) v.getTag(); 133 if (appInfo.componentName != null) { 134 mPaymentBackend.setDefaultPaymentApp(appInfo.componentName); 196 private final PaymentAppInfo appInfo; 198 public PaymentAppPreference(Context context, PaymentAppInfo appInfo, [all...] |
/packages/apps/Nfc/src/com/android/nfc/ |
NfcApplication.java | 52 RunningAppProcessInfo appInfo = (RunningAppProcessInfo)(i.next()); 53 if (appInfo.pid == Process.myPid()) { 54 isMainProcess = (NFC_PROCESS.equals(appInfo.processName));
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
DefaultManifestAttributesTest.java | 45 private ApplicationInfo appInfo; 48 return appInfo; 58 appInfo = pm.getApplicationInfo(packageName, 0); 61 if (appInfo.targetSdkVersion <= 3) {
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/ |
Util.java | 57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { 59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); 60 return getResourceUri(resources, appInfo.packageName, res); 62 Log.e(TAG, "Resources not found for " + appInfo.packageName); 65 Log.e(TAG, "Resource not found: " + res + " in " + appInfo.packageName);
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
PackageUtil.java | 101 ApplicationInfo appInfo, View snippetView) { 105 appInfo.loadLabel(pm), 106 appInfo.loadIcon(pm)); 116 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 153 * @param appInfo ApplicationInfo object of package whose resources are to be loaded 157 Activity pContext, ApplicationInfo appInfo, File sourceFile) { 166 if (appInfo.labelRes != 0) { 168 label = res.getText(appInfo.labelRes); 173 label = (appInfo.nonLocalizedLabel != null) ? 174 appInfo.nonLocalizedLabel : appInfo.packageName [all...] |
/frameworks/base/core/java/android/content/res/ |
CompatibilityInfo.java | 95 public CompatibilityInfo(ApplicationInfo appInfo, int screenLayout, int sw, 99 if (appInfo.requiresSmallestWidthDp != 0 || appInfo.compatibleWidthLimitDp != 0 100 || appInfo.largestWidthLimitDp != 0) { 102 int required = appInfo.requiresSmallestWidthDp != 0 103 ? appInfo.requiresSmallestWidthDp 104 : appInfo.compatibleWidthLimitDp; 106 required = appInfo.largestWidthLimitDp; 108 int compat = appInfo.compatibleWidthLimitDp != 0 109 ? appInfo.compatibleWidthLimitDp : required [all...] |
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/ |
ContactsMockPackageManager.java | 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
|
/packages/apps/Settings/src/com/android/settings/applications/ |
AppOpsState.java | 465 final String packageName, ApplicationInfo appInfo) { 468 if (appInfo == null) { 470 appInfo = mPm.getApplicationInfo(packageName, 478 appEntry = new AppEntry(this, appInfo); 541 PackageInfo appInfo = apps.get(i); 542 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, 543 appInfo.applicationInfo); 549 if (appInfo.requestedPermissions != null) { 550 for (int j=0; j<appInfo.requestedPermissions.length; j++) { 551 if (appInfo.requestedPermissionsFlags != null) [all...] |
/cts/tests/tests/content/src/android/content/pm/cts/ |
PackageManagerTest.java | 115 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 117 appInfo.uid, 0); 195 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 198 CharSequence appText = mPackageManager.getText(PACKAGE_NAME, discriptionRes, appInfo); 212 assertEquals(appLabel, mPackageManager.getApplicationLabel(appInfo)); 213 assertEquals(PACKAGE_NAME, appInfo.processName); 228 checkPackagesNameForUid(PACKAGE_NAME, mPackageManager.getPackagesForUid(appInfo.uid)); 229 assertEquals(PACKAGE_NAME, mPackageManager.getNameForUid(appInfo.uid)); 419 ApplicationInfo appInfo = mPackageManager.getApplicationInfo(PACKAGE_NAME, 0); 420 assertNotNull(mPackageManager.getDrawable(PACKAGE_NAME, iconRes, appInfo)); [all...] |
ProviderInfoTest.java | 40 ApplicationInfo appInfo = pm.getApplicationInfo(PACKAGE_NAME, 0); 41 List<ProviderInfo> providers = pm.queryContentProviders(PACKAGE_NAME, appInfo.uid, 0);
|
/packages/apps/Settings/src/com/android/settings/location/ |
RecentLocationApps.java | 166 ApplicationInfo appInfo = mPackageManager.getApplicationInfo( 174 if (appInfo.uid == ops.getUid()) { 176 mPackageManager.getApplicationIcon(appInfo), 177 mPackageManager.getApplicationLabel(appInfo),
|
/packages/experimental/NotificationLog/src/com/android/notificationlog/ |
NotificationLogActivity.java | 97 ApplicationInfo appInfo; 100 appInfo = mPM.getApplicationInfo(pkg, 0); 101 pkg = mPM.getApplicationLabel(appInfo) + " (" + pkg + ")"; 102 appIcon = mPM.getApplicationIcon(appInfo);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContextWrapper.java | 102 ApplicationInfo appInfo = new ApplicationInfo(); 103 appInfo.name = appName; 104 appInfo.packageName = packageName; 105 appInfo.processName = packageName; 106 return appInfo;
|
/packages/apps/Settings/src/com/android/settings/net/ |
UidDetailProvider.java | 142 final ApplicationInfo appInfo = pm.getApplicationInfo(packageName, 0); 144 detail.detailLabels[i] = appInfo.loadLabel(pm).toString(); 148 detail.icon = appInfo.loadIcon(pm);
|
/external/chromium_org/base/android/java/src/org/chromium/base/ |
BuildInfo.java | 96 ApplicationInfo appInfo = packageManager.getApplicationInfo(context.getPackageName(), 98 CharSequence label = packageManager.getApplicationLabel(appInfo);
|
/frameworks/base/core/java/android/app/backup/ |
BackupAgent.java | 251 ApplicationInfo appInfo = getApplicationInfo(); 253 String rootDir = new File(appInfo.dataDir).getCanonicalPath(); 258 String libDir = (appInfo.nativeLibraryDir != null) 259 ? new File(appInfo.nativeLibraryDir).getCanonicalPath() 326 ApplicationInfo appInfo = getApplicationInfo(); 329 mainDir = new File(appInfo.dataDir).getCanonicalPath(); 334 libDir = (appInfo.nativeLibraryDir == null) 336 : new File(appInfo.nativeLibraryDir).getCanonicalPath();
|
/development/apps/Development/src/com/android/development/ |
PermissionDetails.java | 205 ApplicationInfo appInfo = null; 207 appInfo = mPm.getApplicationInfo(pInfo.packageName, 0); 208 String uidStr = mPm.getNameForUid(appInfo.uid); 215 if (appInfo != null) { 216 String[] sharedList = mPm.getPackagesForUid(appInfo.uid);
|
/frameworks/base/core/java/android/app/ |
ApplicationPackageManager.java | 651 ApplicationInfo appInfo) { 657 if (appInfo == null) { 659 appInfo = getApplicationInfo(packageName, 0); 665 Resources r = getResourcesForApplication(appInfo); 683 + appInfo.packageName); 686 + appInfo.packageName + ": " + e.getMessage()); [all...] |
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
AppChooserActivity.java | 255 DisplayAppInfo appInfo = mList.get(position); 257 holder.banner.setImageDrawable(appInfo.displayBanner); 261 holder.icon.setImageDrawable(appInfo.displayIcon); 262 holder.text.setText(appInfo.displayLabel);
|