/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentBackend.java | 92 PaymentAppInfo appInfo = new PaymentAppInfo(); in refresh() local 93 appInfo.label = service.loadLabel(pm); in refresh() 94 if (appInfo.label == null) { in refresh() 95 appInfo.label = service.loadAppLabel(pm); in refresh() 97 appInfo.isDefault = service.getComponent().equals(defaultAppName); in refresh() 98 if (appInfo.isDefault) { in refresh() 99 foundDefaultApp = appInfo; in refresh() 101 appInfo.componentName = service.getComponent(); in refresh() 104 … appInfo.settingsComponent = new ComponentName(appInfo.componentName.getPackageName(), in refresh() 107 appInfo.settingsComponent = null; in refresh() [all …]
|
D | NfcPaymentPreference.java | 166 PaymentAppInfo appInfo = appInfos[position]; in getView() local 177 holder.imageView.setImageDrawable(appInfo.banner); in getView() 178 holder.imageView.setTag(appInfo); in getView() 179 holder.imageView.setContentDescription(appInfo.label); in getView() 184 holder.radioButton.setChecked(appInfo.isDefault); in getView() 185 holder.radioButton.setContentDescription(appInfo.label); in getView() 187 holder.radioButton.setTag(appInfo); in getView() 198 PaymentAppInfo appInfo = (PaymentAppInfo) compoundButton.getTag(); in onCheckedChanged() local 199 makeDefault(appInfo); in onCheckedChanged() 204 PaymentAppInfo appInfo = (PaymentAppInfo) view.getTag(); in onClick() local [all …]
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
D | PackageUtil.java | 83 ApplicationInfo appInfo, View snippetView) { in initSnippetForInstalledApp() argument 84 return initSnippetForInstalledApp(pContext, appInfo, snippetView, null); in initSnippetForInstalledApp() 99 ApplicationInfo appInfo, View snippetView, UserHandle user) { in initSnippetForInstalledApp() argument 101 Drawable icon = appInfo.loadIcon(pm); in initSnippetForInstalledApp() 107 appInfo.loadLabel(pm), in initSnippetForInstalledApp() 148 Activity pContext, ApplicationInfo appInfo, File sourceFile) { in getAppSnippet() argument 157 if (appInfo.labelRes != 0) { in getAppSnippet() 159 label = res.getText(appInfo.labelRes); in getAppSnippet() 164 label = (appInfo.nonLocalizedLabel != null) ? in getAppSnippet() 165 appInfo.nonLocalizedLabel : appInfo.packageName; in getAppSnippet() [all …]
|
D | InstallSuccess.java | 52 ApplicationInfo appInfo = in onCreate() local 63 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate() 64 pm.getApplicationIcon(appInfo)); in onCreate() 67 as = PackageUtil.getAppSnippet(this, appInfo, sourceFile); in onCreate() 74 if (appInfo.packageName != null) { in onCreate() 75 Log.i(LOG_TAG, "Finished installing " + appInfo.packageName); in onCreate() 82 appInfo.packageName); in onCreate()
|
D | UninstallFinish.java | 65 ApplicationInfo appInfo = intent.getParcelableExtra( in onReceive() local 108 if (dpm.packageHasActiveAdmins(appInfo.packageName, user.id)) { in onReceive() 117 Log.d(LOG_TAG, "Uninstall failed because " + appInfo.packageName in onReceive() 124 Log.d(LOG_TAG, "Uninstall failed because " + appInfo.packageName in onReceive() 142 if (packageManager.getBlockUninstallForUser(appInfo.packageName, in onReceive() 162 "Uninstall failed for " + appInfo.packageName + " with code " in onReceive() 180 Log.d(LOG_TAG, "Uninstall blocked for " + appInfo.packageName in onReceive() 185 Log.d(LOG_TAG, "Uninstall failed for " + appInfo.packageName + " with code " in onReceive()
|
D | UninstallerActivity.java | 69 public ApplicationInfo appInfo; field in UninstallerActivity.DialogInfo 127 mDialogInfo.appInfo = pm.getApplicationInfo(mPackageName, in onCreate() 133 if (mDialogInfo.appInfo == null) { in onCreate() 232 CharSequence label = mDialogInfo.appInfo.loadLabel(getPackageManager()); in startUninstallProgress() 239 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress() 253 newIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress() 278 broadcastIntent.putExtra(PackageUtil.INTENT_ATTR_APPLICATION_INFO, mDialogInfo.appInfo); in startUninstallProgress() 301 new VersionedPackage(mDialogInfo.appInfo.packageName, in startUninstallProgress()
|
/packages/apps/Settings/src/com/android/settings/applications/ |
D | AppOpsState.java | 506 final String packageName, ApplicationInfo appInfo) { in getAppEntry() argument 509 if (appInfo == null) { in getAppEntry() 511 appInfo = mPm.getApplicationInfo(packageName, in getAppEntry() 519 appEntry = new AppEntry(this, appInfo); in getAppEntry() 587 PackageInfo appInfo = apps.get(i); in buildState() local 588 AppEntry appEntry = getAppEntry(context, appEntries, appInfo.packageName, in buildState() 589 appInfo.applicationInfo); in buildState() 595 if (appInfo.requestedPermissions != null) { in buildState() 596 for (int j=0; j<appInfo.requestedPermissions.length; j++) { in buildState() 597 if (appInfo.requestedPermissionsFlags != null) { in buildState() [all …]
|
D | UserAppInfo.java | 31 public final ApplicationInfo appInfo; field in UserAppInfo 35 this.appInfo = mAppInfo; in UserAppInfo() 50 return that.userInfo.id == userInfo.id && TextUtils.equals(that.appInfo.packageName, in equals() 51 appInfo.packageName); in equals() 56 return Objects.hash(userInfo.id, appInfo.packageName); in hashCode()
|
D | PictureInPictureSettings.java | 133 for (final ApplicationInfo appInfo : pipApps) { in onResume() 134 final String packageName = appInfo.packageName; in onResume() 135 final CharSequence label = appInfo.loadLabel(mPackageManager); in onResume() 138 pref.setIcon(appInfo.loadIcon(mPackageManager)); in onResume() 141 appInfo.uid, packageName)); in onResume() 146 R.string.picture_in_picture_app_detail_title, packageName, appInfo.uid, in onResume()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 101 ApplicationInfo appInfo = mTvInputManagerHelper.getTvInputAppInfo(mChannel.getInputId()); in onBind() local 112 mAppInfoView.setText(mPackageManager.getApplicationLabel(appInfo)); in onBind() 117 } else if (appInfo.icon != 0) { in onBind() 118 Drawable appIcon = mPackageManager.getApplicationIcon(appInfo); in onBind() 127 mPackageManager.getApplicationLabel(appInfo))); in onBind() 149 setCardImageWithBanner(appInfo); in onBind() 211 private void setCardImageWithBanner(ApplicationInfo appInfo) { 224 if (banner == null && appInfo != null) { 225 if (appInfo.banner != 0) { 226 banner = mPackageManager.getApplicationBanner(appInfo); [all …]
|
/packages/apps/StorageManager/robotests/src/android/util/ |
D | IconDrawableFactory.java | 31 public Drawable getBadgedIcon(ApplicationInfo appInfo) { in getBadgedIcon() argument 32 return getBadgedIcon(appInfo, 0); in getBadgedIcon() 35 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) { in getBadgedIcon() argument 36 return getBadgedIcon(appInfo, appInfo, userId); in getBadgedIcon() 39 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon() argument
|
/packages/apps/Settings/tests/robotests/src/android/util/ |
D | IconDrawableFactory.java | 33 public Drawable getBadgedIcon(ApplicationInfo appInfo) { in getBadgedIcon() argument 34 return getBadgedIcon(appInfo, 0); in getBadgedIcon() 37 public Drawable getBadgedIcon(ApplicationInfo appInfo, int userId) { in getBadgedIcon() argument 38 return getBadgedIcon(appInfo, appInfo, userId); in getBadgedIcon() 41 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, int userId) { in getBadgedIcon() argument
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/terms/ |
D | TermsProvider.java | 122 for (ApplicationInfo appInfo : appInfos) { in getSystemAppTerms() 123 String header = getStringMetaData(appInfo, EXTRA_PROVISIONING_DISCLAIMER_HEADER); in getSystemAppTerms() 124 String content = getStringMetaData(appInfo, EXTRA_PROVISIONING_DISCLAIMER_CONTENT); in getSystemAppTerms() 152 private String getStringMetaData(ApplicationInfo appInfo, String key) { in getStringMetaData() argument 153 if (appInfo.metaData != null) { in getStringMetaData() 154 int resId = appInfo.metaData.getInt(key); in getStringMetaData() 158 appInfo).getString(resId); in getStringMetaData()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/ |
D | HealthService.java | 117 AppInfo appInfo = entry.getValue(); in cleanupApps() local 118 if (appInfo != null) in cleanupApps() 119 appInfo.cleanup(); in cleanupApps() 156 AppInfo appInfo = mApps.get(appConfig); in handleMessage() local 157 if (appInfo == null) break; in handleMessage() 168 appInfo.cleanup(); in handleMessage() 172 … appInfo.mRcpObj = new BluetoothHealthDeathRecipient(HealthService.this,appConfig); in handleMessage() 173 IBinder binder = appInfo.mCallback.asBinder(); in handleMessage() 175 binder.linkToDeath(appInfo.mRcpObj,0); in handleMessage() 179 appInfo.mAppId = appId; in handleMessage() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AlphabeticalAppsList.java | 94 public AppInfo appInfo = null; field in AlphabeticalAppsList.AdapterItem 98 public static AdapterItem asPredictedApp(int pos, String sectionName, AppInfo appInfo, in asPredictedApp() argument 100 AdapterItem item = asApp(pos, sectionName, appInfo, appIndex); in asPredictedApp() 105 public static AdapterItem asApp(int pos, String sectionName, AppInfo appInfo, in asApp() argument 111 item.appInfo = appInfo; in asApp() 116 public static AdapterItem asDiscoveryItem(int pos, String sectionName, AppInfo appInfo, in asDiscoveryItem() argument 122 item.appInfo = appInfo; in asDiscoveryItem()
|
/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/applications/defaultapps/ |
D | DefaultHomePicker.java | 98 final ActivityInfo appInfo = info.activityInfo; in setDefaultKey() local 99 ComponentName activityName = new ComponentName(appInfo.packageName, appInfo.name); in setDefaultKey() 125 ApplicationInfo appInfo = mPm.getPackageManager().getApplicationInfo( in launcherHasManagedProfilesFeature() local 127 return versionNumberAtLeastL(appInfo.targetSdkVersion); in launcherHasManagedProfilesFeature()
|
D | DefaultAppInfo.java | 84 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadLabel() local 86 return appInfo.loadLabel(mPm.getPackageManager()); in loadLabel() 107 final ApplicationInfo appInfo = mPm.getApplicationInfoAsUser( in loadIcon() local 109 return appInfo.loadIcon(mPm.getPackageManager()); in loadIcon()
|
/packages/apps/Car/Stream/src/com/android/car/stream/media/ |
D | MediaAppInfo.java | 65 ApplicationInfo appInfo = packageManager.getApplicationInfo(packageName, in MediaAppInfo() local 79 labelResId = appInfo.labelRes; in MediaAppInfo() 86 if (appTheme == 0 && appInfo.metaData != null) { in MediaAppInfo() 87 appTheme = appInfo.metaData.getInt(THEME_META_DATA_NAME); in MediaAppInfo() 90 appTheme = appInfo.theme; in MediaAppInfo()
|
/packages/services/Car/service/src/com/android/car/ |
D | CarServiceUtils.java | 47 ApplicationInfo appInfo = null; in assertPackageName() local 49 appInfo = context.getPackageManager().getApplicationInfo(packageName, in assertPackageName() 56 if (appInfo == null) { in assertPackageName() 60 if (uid != appInfo.uid) { in assertPackageName()
|
/packages/apps/Launcher3/src/com/android/launcher3/graphics/ |
D | LauncherIcons.java | 337 AppInfo appInfo = new AppInfo(); in createShortcutIcon() local 338 appInfo.user = shortcutInfo.getUserHandle(); in createShortcutIcon() 339 appInfo.componentName = cn; in createShortcutIcon() 340 appInfo.intent = new Intent(Intent.ACTION_MAIN) in createShortcutIcon() 343 cache.getTitleAndIcon(appInfo, false); in createShortcutIcon() 344 badgeBitmap = appInfo.iconBitmap; in createShortcutIcon()
|
/packages/services/Car/service/src/com/android/car/pm/ |
D | CarAppMetadataReader.java | 128 ApplicationInfo appInfo; in getMetadataId() local 129 appInfo = pm.getApplicationInfo(packageName, PackageManager.GET_META_DATA /*flags*/); in getMetadataId() 130 if (appInfo.metaData == null) { in getMetadataId() 133 return appInfo.metaData.getInt(METADATA_ATTRIBUTE, 0); in getMetadataId()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/ |
D | BackupAppsStepFragment.java | 174 final AppInfo appInfo = new AppInfo(getActivity(), entry); in getAppActions() local 176 .title(appInfo.getName()) in getAppActions() 177 .description(appInfo.getSize()) in getAppActions() 225 final AppInfo appInfo = new AppInfo(getActivity(), entry); in onGuidedActionClicked() local 228 appInfo.getName())); in onGuidedActionClicked()
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/ |
D | AppPermissionsFragment.java | 169 ApplicationInfo appInfo = packageInfo.applicationInfo; in bindUi() local 176 Drawable icon = appInfo.loadIcon(pm); in bindUi() 177 CharSequence label = appInfo.loadLabel(pm); in bindUi() 409 ApplicationInfo appInfo = packageInfo.applicationInfo; in bindUi() local 416 Drawable icon = appInfo.loadIcon(pm); in bindUi() 417 CharSequence label = appInfo.loadLabel(pm); in bindUi()
|
/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()
|