Home
last modified time | relevance | path

Searched refs:PackageItemInfo (Results 1 – 25 of 48) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java27 import android.content.pm.PackageItemInfo;
67 mCallingPkg, 0).loadSafeLabel(pm, PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in onCreate()
68 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in onCreate()
69 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE).toString()); in onCreate()
71 mProviderPkg, 0).loadSafeLabel(pm, PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in onCreate()
72 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in onCreate()
73 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE).toString()); in onCreate()
/frameworks/base/services/core/java/com/android/server/wm/
DUnsupportedDisplaySizeDialog.java24 import android.content.pm.PackageItemInfo;
40 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in UnsupportedDisplaySizeDialog()
41 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in UnsupportedDisplaySizeDialog()
42 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in UnsupportedDisplaySizeDialog()
DDeprecatedTargetSdkVersionDialog.java26 import android.content.pm.PackageItemInfo;
47 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in DeprecatedTargetSdkVersionDialog()
48 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in DeprecatedTargetSdkVersionDialog()
49 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java23 import android.content.pm.PackageItemInfo;
42 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in UnsupportedCompileSdkDialog()
43 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in UnsupportedCompileSdkDialog()
44 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in UnsupportedCompileSdkDialog()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java51 public class PackageItemInfo { class
176 public PackageItemInfo() { in PackageItemInfo() method in PackageItemInfo
180 public PackageItemInfo(PackageItemInfo orig) { in PackageItemInfo() method in PackageItemInfo
465 protected PackageItemInfo(Parcel source) { in PackageItemInfo() method in PackageItemInfo
491 implements Comparator<PackageItemInfo> {
496 public final int compare(PackageItemInfo aa, PackageItemInfo ab) { in compare()
DPermissionGroupInfo.java38 public class PermissionGroupInfo extends PackageItemInfo implements Parcelable {
DInstrumentationInfo.java28 public class InstrumentationInfo extends PackageItemInfo implements Parcelable {
DComponentInfo.java40 public class ComponentInfo extends PackageItemInfo {
DPermissionInfo.java43 public class PermissionInfo extends PackageItemInfo implements Parcelable {
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerApplication.java20 import android.content.pm.PackageItemInfo;
26 PackageItemInfo.forceSafeLabels(); in onCreate()
DPackageInstalledNotificationUtils.java27 import android.content.pm.PackageItemInfo;
110 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in getAppLabel()
111 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE).toString(); in getAppLabel()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java24 import android.content.pm.PackageItemInfo;
87 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in createView()
88 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in createView()
89 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM)); in createView()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java24 import android.content.pm.PackageItemInfo;
39 public final PackageItemInfo packageItemInfo;
48 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info) { in DefaultAppInfo()
63 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info, in DefaultAppInfo()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/applications/
DDefaultAppInfoTest.java31 import android.content.pm.PackageItemInfo;
47 private PackageItemInfo mPackageItemInfo;
/frameworks/base/core/java/android/util/
DIconDrawableFactory.java22 import android.content.pm.PackageItemInfo;
65 public Drawable getBadgedIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo, in getBadgedIcon()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java25 import android.content.pm.PackageItemInfo;
290 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in getServiceLabelLocked()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DMetaDataTest.java21 import android.content.pm.PackageItemInfo;
45 private void checkMetaData(ComponentName cn, PackageItemInfo ci) in checkMetaData()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt129 .isEqualTo(longLabel.take(PackageItemInfo.MAX_SAFE_LABEL_LENGTH)) in <lambda>()
238 private fun invalidAppLabel() = (0 until PackageItemInfo.MAX_SAFE_LABEL_LENGTH + 10) in <lambda>()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java38 import android.content.pm.PackageItemInfo;
929 public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadItemIcon()
934 public Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadUnbadgedItemIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java20 import android.content.pm.PackageItemInfo;
976 public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadItemIcon()
981 public Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadUnbadgedItemIcon()
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java38 import android.content.pm.PackageItemInfo;
1167 public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadItemIcon()
1174 public Drawable loadUnbadgedItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadUnbadgedItemIcon()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java36 import android.content.pm.PackageItemInfo;
1082 public Drawable loadItemIcon(@NonNull PackageItemInfo itemInfo, in loadItemIcon()
1089 public Drawable loadUnbadgedItemIcon(@NonNull PackageItemInfo itemInfo, in loadUnbadgedItemIcon()
/frameworks/base/core/proto/android/content/
Dpackage_item_info.proto35 // Proto of android.content.pm.ApplicationInfo which extends PackageItemInfo
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java29 import android.content.pm.PackageItemInfo;
451 @NonNull PackageItemInfo packageItemInfo, @NonNull ParsedComponent component, in assignStateFieldsForPackageItemInfo()
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceManagerService.java77 import android.content.pm.PackageItemInfo;
560 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in requestNotificationAccess()
561 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in requestNotificationAccess()
562 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE) in requestNotificationAccess()

12