Searched defs:appInfo (Results 1 - 6 of 6) sorted by relevance

/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
H A DContactsMockPackageManager.java41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { argument
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DUtil.java57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { argument
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/
H A DPackageUtil.java101 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
100 initSnippetForInstalledApp(Activity pContext, ApplicationInfo appInfo, View snippetView) argument
156 getAppSnippet( Activity pContext, ApplicationInfo appInfo, File sourceFile) argument
[all...]
/packages/apps/Settings/src/com/android/settings/nfc/
H A DPaymentSettings.java74 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; field in class:PaymentSettings.PaymentAppPreference
198 public PaymentAppPreference(Context context, PaymentAppInfo appInfo, argument
[all...]
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsState.java465 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
464 getAppEntry(final Context context, final HashMap<String, AppEntry> appEntries, final String packageName, ApplicationInfo appInfo) argument
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DLauncher.java2122 void startApplicationUninstallActivity(ApplicationInfo appInfo) { argument
2123 if ((appInfo.flags & ApplicationInfo.DOWNLOADED_FLAG) == 0) {
2129 String packageName = appInfo.componentName.getPackageName();
2130 String className = appInfo.componentName.getClassName();

Completed in 195 milliseconds