Home
last modified time | relevance | path

Searched refs:appInfo (Results 1 – 25 of 33) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/nfc/
DPaymentSettings.java77 for (PaymentAppInfo appInfo : appInfos) { in refresh()
79 new PaymentAppPreference(getActivity(), appInfo, this); in refresh()
80 preference.setTitle(appInfo.caption); in refresh()
81 if (appInfo.banner != null) { in refresh()
85 Log.e(TAG, "Couldn't load banner drawable of service " + appInfo.componentName); in refresh()
142 PaymentAppInfo appInfo = (PaymentAppInfo) v.getTag(); in onClick() local
143 if (appInfo.componentName != null) { in onClick()
144 mPaymentBackend.setDefaultPaymentApp(appInfo.componentName); in onClick()
206 private final PaymentAppInfo appInfo; field in PaymentSettings.PaymentAppPreference
208 public PaymentAppPreference(Context context, PaymentAppInfo appInfo, in PaymentAppPreference() argument
[all …]
DPaymentBackend.java64 PaymentAppInfo appInfo = new PaymentAppInfo(); in getPaymentAppInfos() local
65 appInfo.banner = service.loadBanner(pm); in getPaymentAppInfos()
66 appInfo.caption = service.getDescription(); in getPaymentAppInfos()
67 if (appInfo.caption == null) { in getPaymentAppInfos()
68 appInfo.caption = service.loadLabel(pm); in getPaymentAppInfos()
70 appInfo.isDefault = service.getComponent().equals(defaultApp); in getPaymentAppInfos()
71 appInfo.componentName = service.getComponent(); in getPaymentAppInfos()
72 appInfos.add(appInfo); in getPaymentAppInfos()
/packages/apps/Settings/src/com/android/settings/applications/
DAppOpsState.java470 final String packageName, ApplicationInfo appInfo) { in getAppEntry() argument
473 if (appInfo == null) { in getAppEntry()
475 appInfo = mPm.getApplicationInfo(packageName, in getAppEntry()
483 appEntry = new AppEntry(this, appInfo); in getAppEntry()
546 PackageInfo appInfo = apps.get(i); in buildState() local
547 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, in buildState()
548 appInfo.applicationInfo); in buildState()
554 if (appInfo.requestedPermissions != null) { in buildState()
555 for (int j=0; j<appInfo.requestedPermissions.length; j++) { in buildState()
556 if (appInfo.requestedPermissionsFlags != null) { in buildState()
[all …]
/packages/apps/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java93 ApplicationInfo appInfo, View snippetView) { in initSnippetForInstalledApp() argument
94 return initSnippetForInstalledApp(pContext, appInfo, snippetView, null); in initSnippetForInstalledApp()
109 ApplicationInfo appInfo, View snippetView, UserHandle user) { in initSnippetForInstalledApp() argument
111 Drawable icon = appInfo.loadIcon(pm); in initSnippetForInstalledApp()
117 appInfo.loadLabel(pm), in initSnippetForInstalledApp()
169 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument
178 if (appInfo.labelRes != 0) { in getAppSnippet()
180 label = res.getText(appInfo.labelRes); in getAppSnippet()
185 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet()
186 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet()
[all …]
DUninstallerActivity.java59 final CharSequence appLabel = dialogInfo.appInfo.loadLabel(pm); in onCreateDialog()
76 ((dialogInfo.appInfo.flags & ApplicationInfo.FLAG_UPDATED_SYSTEM_APP) != 0); in onCreateDialog()
93 dialogBuilder.setIcon(dialogInfo.appInfo.loadIcon(pm)); in onCreateDialog()
137 ApplicationInfo appInfo; field in UninstallerActivity.DialogInfo
180 mDialogInfo.appInfo = pm.getApplicationInfo(packageName, in onCreate()
186 if (mDialogInfo.appInfo == null) { in onCreate()
230 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress()
244 observer.onPackageDeleted(mDialogInfo.appInfo.packageName, in dispatchAborted()
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
DHealthService.java120 AppInfo appInfo = entry.getValue(); in cleanupApps() local
121 if (appInfo != null) in cleanupApps()
122 appInfo.cleanup(); in cleanupApps()
159 AppInfo appInfo = mApps.get(appConfig); in handleMessage() local
160 if (appInfo == null) break; in handleMessage()
171 appInfo.cleanup(); in handleMessage()
175appInfo.mRcpObj = new BluetoothHealthDeathRecipient(HealthService.this,appConfig); in handleMessage()
176 IBinder binder = appInfo.mCallback.asBinder(); in handleMessage()
178 binder.linkToDeath(appInfo.mRcpObj,0); in handleMessage()
182 appInfo.mAppId = appId; in handleMessage()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
DUtil.java57 public static Uri getResourceUri(Context context, ApplicationInfo appInfo, int res) { in getResourceUri() argument
59 Resources resources = context.getPackageManager().getResourcesForApplication(appInfo); in getResourceUri()
60 return getResourceUri(resources, appInfo.packageName, res); in getResourceUri()
62 Log.e(TAG, "Resources not found for " + appInfo.packageName); in getResourceUri()
65 Log.e(TAG, "Resource not found: " + res + " in " + appInfo.packageName); in getResourceUri()
/packages/apps/Settings/src/com/android/settings/
DAppListPreference.java98 for (ApplicationInfo appInfo : appInfos) { in setPackageNames()
99 if (appInfo != null) { in setPackageNames()
100 applicationNames[index] = appInfo.loadLabel(pm); in setPackageNames()
101 mEntryDrawables[index] = appInfo.loadIcon(pm); in setPackageNames()
103 appInfo.packageName.contentEquals(defaultPackageName)) { in setPackageNames()
DUsageStatsActivity.java128 ApplicationInfo appInfo = mPm.getApplicationInfo(pkgStats.getPackageName(), 0); in UsageStatsAdapter() local
129 String label = appInfo.loadLabel(mPm).toString(); in UsageStatsAdapter()
/packages/apps/Launcher3/src/com/android/launcher3/
DDeleteDropTarget.java161 AppInfo appInfo = (AppInfo) info; in willAcceptDrop() local
162 return (appInfo.flags & AppInfo.DOWNLOADED_FLAG) != 0; in willAcceptDrop()
299 AppInfo appInfo = (AppInfo) item; in completeDrop() local
300 mLauncher.startApplicationUninstallActivity(appInfo.componentName, appInfo.flags, in completeDrop()
301 appInfo.user); in completeDrop()
/packages/experimental/NotificationLog/src/com/android/notificationlog/
DNotificationLogActivity.java97 ApplicationInfo appInfo; in bindView() local
100 appInfo = mPM.getApplicationInfo(pkg, 0); in bindView()
101 pkg = mPM.getApplicationLabel(appInfo) + " (" + pkg + ")"; in bindView()
102 appIcon = mPM.getApplicationIcon(appInfo); in bindView()
/packages/apps/Settings/src/com/android/settings/location/
DRecentLocationApps.java184 ApplicationInfo appInfo = in getPreferenceFromOps() local
186 if (appInfo == null) { in getPreferenceFromOps()
194 Drawable appIcon = mPackageManager.getApplicationIcon(appInfo); in getPreferenceFromOps()
196 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getPreferenceFromOps()
/packages/apps/Settings/src/com/android/settings/net/
DUidDetailProvider.java166 final ApplicationInfo appInfo = ipm.getApplicationInfo(packageName, in buildUidDetail() local
169 if (appInfo != null) { in buildUidDetail()
170 detail.detailLabels[i] = appInfo.loadLabel(pm).toString(); in buildUidDetail()
176 detail.icon = um.getBadgedIconForUser(appInfo.loadIcon(pm), userHandle); in buildUidDetail()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DAppChooserActivity.java254 DisplayAppInfo appInfo = mList.get(position); in getView() local
256 holder.banner.setImageDrawable(appInfo.displayBanner); in getView()
260 holder.icon.setImageDrawable(appInfo.displayIcon); in getView()
261 holder.text.setText(appInfo.displayLabel); in getView()
/packages/apps/Nfc/src/com/android/nfc/
DNfcApplication.java54 RunningAppProcessInfo appInfo = (RunningAppProcessInfo)(i.next()); in onCreate() local
55 if (appInfo.pid == Process.myPid()) { in onCreate()
56 isMainProcess = (NFC_PROCESS.equals(appInfo.processName)); in onCreate()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLocationActivity.java229 ApplicationInfo appInfo = getPackageManager().getApplicationInfo( in getActionFromOps() local
231 if (appInfo.uid == ops.getUid()) { in getActionFromOps()
233 .title(getPackageManager().getApplicationLabel(appInfo).toString()) in getActionFromOps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DOpenManager.java32 OpenManager(Context context, AppInfo appInfo) { in OpenManager() argument
34 mAppInfo = appInfo; in OpenManager()
DCacheClearer.java39 CacheClearer(Listener listener, AppInfo appInfo) { in CacheClearer() argument
41 mAppInfo = appInfo; in CacheClearer()
DNotificationSetter.java39 NotificationSetter(AppInfo appInfo) { in NotificationSetter() argument
40 mAppInfo = appInfo; in NotificationSetter()
DDataClearer.java40 DataClearer(Listener listener, AppInfo appInfo) { in DataClearer() argument
42 mAppInfo = appInfo; in DataClearer()
DForceStopManager.java38 ForceStopManager(Context context, AppInfo appInfo) { in ForceStopManager() argument
40 mAppInfo = appInfo; in ForceStopManager()
DDefaultClearer.java49 DefaultClearer(Listener listener, AppInfo appInfo) { in DefaultClearer() argument
51 mAppInfo = appInfo; in DefaultClearer()
DUninstallManager.java43 UninstallManager(Activity activity, AppInfo appInfo) { in UninstallManager() argument
45 mAppInfo = appInfo; in UninstallManager()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadProvider.java451 ApplicationInfo appInfo = null; in onCreate() local
453 appInfo = getContext().getPackageManager(). in onCreate()
458 if (appInfo != null) { in onCreate()
459 mDefContainerUid = appInfo.uid; in onCreate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettings.java367 final ApplicationInfo appInfo = context.getApplicationInfo(); in readShowSetupWizardIcon() local
369 (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in readShowSetupWizardIcon()

12