Home
last modified time | relevance | path

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

123

/frameworks/base/services/core/java/com/android/server/wm/
DDeprecatedAbiDialog.java22 import android.content.pm.PackageItemInfo;
36 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in DeprecatedAbiDialog()
37 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in DeprecatedAbiDialog()
38 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in DeprecatedAbiDialog()
DUnsupportedDisplaySizeDialog.java22 import android.content.pm.PackageItemInfo;
38 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in UnsupportedDisplaySizeDialog()
39 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in UnsupportedDisplaySizeDialog()
40 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in UnsupportedDisplaySizeDialog()
DDeprecatedTargetSdkVersionDialog.java23 import android.content.pm.PackageItemInfo;
39 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in DeprecatedTargetSdkVersionDialog()
40 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in DeprecatedTargetSdkVersionDialog()
41 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in DeprecatedTargetSdkVersionDialog()
DUnsupportedCompileSdkDialog.java23 import android.content.pm.PackageItemInfo;
40 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in UnsupportedCompileSdkDialog()
41 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in UnsupportedCompileSdkDialog()
42 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM); in UnsupportedCompileSdkDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DSlicePermissionActivity.java27 import android.content.pm.PackageItemInfo;
76 mCallingPkg, 0).loadSafeLabel(pm, PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in onCreate()
77 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in onCreate()
78 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE).toString()); in onCreate()
80 mProviderPkg, 0).loadSafeLabel(pm, PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in onCreate()
81 PackageItemInfo.SAFE_LABEL_FLAG_TRIM in onCreate()
82 | PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE).toString()); in onCreate()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java31 import android.content.pm.PackageItemInfo;
294 final PackageItemInfo packageItemInfo = Mockito.mock(PackageItemInfo.class); in testExtractPackageItemInfoAttributes_noMetaData()
301 final PackageItemInfo packageItemInfo = Mockito.mock(PackageItemInfo.class); in testExtractPackageItemInfoAttributes_noParser()
310 final PackageItemInfo packageItemInfo = Mockito.mock(PackageItemInfo.class); in testExtractPackageItemInfoAttributes_noMetaDataXml()
321 final PackageItemInfo packageItemInfo = Mockito.mock(PackageItemInfo.class); in testExtractPackageItemInfoAttributes_nonMatchingRootTag()
337 final PackageItemInfo packageItemInfo = Mockito.mock(PackageItemInfo.class); in testExtractPackageItemInfoAttributes_successfulExtraction()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerApplication.java20 import android.content.pm.PackageItemInfo;
26 PackageItemInfo.forceSafeLabels(); in onCreate()
/frameworks/base/core/java/android/content/pm/
DPackageItemInfo.java53 public class PackageItemInfo { class
188 public PackageItemInfo() { in PackageItemInfo() method in PackageItemInfo
192 public PackageItemInfo(PackageItemInfo orig) { in PackageItemInfo() method in PackageItemInfo
492 protected PackageItemInfo(Parcel source) { in PackageItemInfo() method in PackageItemInfo
519 implements Comparator<PackageItemInfo> {
524 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.java41 public class ComponentInfo extends PackageItemInfo {
DPermissionInfo.java44 public class PermissionInfo extends PackageItemInfo implements Parcelable {
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DDefaultAppInfo.java24 import android.content.pm.PackageItemInfo;
41 public final PackageItemInfo packageItemInfo;
50 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info) { in DefaultAppInfo()
65 public DefaultAppInfo(Context context, PackageManager pm, int uid, PackageItemInfo info, in DefaultAppInfo()
/frameworks/base/core/java/com/android/internal/app/
DHarmfulAppWarningActivity.java27 import android.content.pm.PackageItemInfo;
92 PackageItemInfo.DEFAULT_MAX_LABEL_SIZE_PX, in createView()
93 PackageItemInfo.SAFE_LABEL_FLAG_FIRST_LINE in createView()
94 | PackageItemInfo.SAFE_LABEL_FLAG_TRIM)); in createView()
/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.java27 import android.content.pm.PackageItemInfo;
72 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;
351 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.kt221 .isEqualTo(longLabel.take(PackageItemInfo.MAX_SAFE_LABEL_LENGTH)) in <lambda>()
421 private fun invalidAppLabel() = (0 until PackageItemInfo.MAX_SAFE_LABEL_LENGTH + 10) in <lambda>()
/frameworks/base/services/tests/mockingservicestests/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/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java39 import android.content.pm.PackageItemInfo;
968 public Drawable loadItemIcon(PackageItemInfo itemInfo, ApplicationInfo appInfo) { in loadItemIcon()
973 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/packages/SystemUI/src/com/android/systemui/privacy/
DPrivacyDialogV2.kt21 import android.content.pm.PackageItemInfo in <lambda>()
444 private fun PackageManager.getGroupInfo(groupName: String): PackageItemInfo? { in <lambda>()
/frameworks/base/core/proto/android/content/
Dpackage_item_info.proto36 // Proto of android.content.pm.ApplicationInfo which extends PackageItemInfo

123