/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentSettings.java | 77 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 …]
|
D | PaymentBackend.java | 64 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/ |
D | AppOpsState.java | 470 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/ |
D | PackageUtil.java | 93 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 …]
|
D | UninstallerActivity.java | 59 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/ |
D | HealthService.java | 120 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() 175 … appInfo.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/ |
D | Util.java | 57 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/ |
D | AppListPreference.java | 98 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()
|
D | UsageStatsActivity.java | 128 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/ |
D | DeleteDropTarget.java | 161 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/ |
D | NotificationLogActivity.java | 97 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/ |
D | RecentLocationApps.java | 184 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/ |
D | UidDetailProvider.java | 166 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/ |
D | AppChooserActivity.java | 254 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/ |
D | NfcApplication.java | 54 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/ |
D | LocationActivity.java | 229 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/ |
D | OpenManager.java | 32 OpenManager(Context context, AppInfo appInfo) { in OpenManager() argument 34 mAppInfo = appInfo; in OpenManager()
|
D | CacheClearer.java | 39 CacheClearer(Listener listener, AppInfo appInfo) { in CacheClearer() argument 41 mAppInfo = appInfo; in CacheClearer()
|
D | NotificationSetter.java | 39 NotificationSetter(AppInfo appInfo) { in NotificationSetter() argument 40 mAppInfo = appInfo; in NotificationSetter()
|
D | DataClearer.java | 40 DataClearer(Listener listener, AppInfo appInfo) { in DataClearer() argument 42 mAppInfo = appInfo; in DataClearer()
|
D | ForceStopManager.java | 38 ForceStopManager(Context context, AppInfo appInfo) { in ForceStopManager() argument 40 mAppInfo = appInfo; in ForceStopManager()
|
D | DefaultClearer.java | 49 DefaultClearer(Listener listener, AppInfo appInfo) { in DefaultClearer() argument 51 mAppInfo = appInfo; in DefaultClearer()
|
D | UninstallManager.java | 43 UninstallManager(Activity activity, AppInfo appInfo) { in UninstallManager() argument 45 mAppInfo = appInfo; in UninstallManager()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadProvider.java | 451 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/ |
D | Settings.java | 367 final ApplicationInfo appInfo = context.getApplicationInfo(); in readShowSetupWizardIcon() local 369 (appInfo.flags & ApplicationInfo.FLAG_SYSTEM) != 0; in readShowSetupWizardIcon()
|