Home
last modified time | relevance | path

Searched refs:getApplicationIcon (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java71 static @NonNull Drawable getApplicationIcon(@NonNull Context context, in getApplicationIcon() method in Utils
74 return packageManager.getApplicationIcon(packageName); in getApplicationIcon()
94 return getApplicationIcon(context, packageName); in getVendorHeaderIcon()
DCompanionVendorHelperDialogFragment.java23 import static com.android.companiondevicemanager.Utils.getApplicationIcon;
112 applicationIcon = getApplicationIcon(getContext(), packageName); in onViewCreated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/common/
DMediaTttUtils.kt81 MediaTttIcon.Loaded(packageManager.getApplicationIcon(appPackageName)), in getIconInfoFromPackageName()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityTest.kt95 whenever(packageManager.getApplicationIcon(ArgumentMatchers.eq(info))).thenReturn(drawable) in testGetBadgedIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivity.java112 return mUserManager.getBadgedIconForUser(mPackageManager.getApplicationIcon( in getBadgedIcon()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java126 final Drawable drawable = pm.getApplicationIcon(aInfo); in onPostNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DPartialConversationInfo.java173 mPkgIcon = mPm.getApplicationIcon(info);
DExpandableNotificationRowDragController.java167 pkgicon = pm.getApplicationIcon(info); in getPkgIcon()
DFeedbackInfo.java106 pkgicon = mPm.getApplicationIcon(info); in bindHeader()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/common/
DMediaTttUtilsTest.kt51 whenever(packageManager.getApplicationIcon(PACKAGE_NAME)).thenReturn(appIconFromPackageName) in setUp()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgePackageManager.java525 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() method in BridgePackageManager
530 public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { in getApplicationIcon() method in BridgePackageManager
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/testutils/
DPackageManagerStub.java530 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() method in PackageManagerStub
535 public Drawable getApplicationIcon(String packageName) in getApplicationIcon() method in PackageManagerStub
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DFeedbackInfoTest.java129 when(mMockPackageManager.getApplicationIcon(any(ApplicationInfo.class))) in testBindNotification_SetsPackageIcon()
DPartialConversationInfoTest.java181 when(mMockPackageManager.getApplicationIcon((ApplicationInfo) any())).thenReturn(mDrawable); in testBindNotification_setsIcon()
/frameworks/base/core/java/com/android/internal/app/chooser/
DSelectableTargetInfo.java93 mBadgeIcon = pm.getApplicationIcon(ai.applicationInfo); in SelectableTargetInfo()
/frameworks/base/services/companion/java/com/android/server/companion/datatransfer/contextsync/
DCrossDeviceCall.java104 packageManager.getApplicationIcon(applicationInfo)); in CrossDeviceCall()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleViewInfoTask.java252 appIcon = pm.getApplicationIcon(b.getPackageName()); in populateCommonInfo()
/frameworks/base/services/tests/servicestests/src/com/android/server/app/
DMockPackageManager.java605 public Drawable getApplicationIcon(@NonNull ApplicationInfo info) { in getApplicationIcon() method in MockPackageManager
611 public Drawable getApplicationIcon(@NonNull String packageName) in getApplicationIcon() method in MockPackageManager
/frameworks/base/test-mock/src/android/test/mock/
DMockPackageManager.java592 public Drawable getApplicationIcon(ApplicationInfo info) { in getApplicationIcon() method in MockPackageManager
597 public Drawable getApplicationIcon(String packageName) throws NameNotFoundException { in getApplicationIcon() method in MockPackageManager
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java598 mPm.getApplicationIcon(mPkgInfo.applicationInfo)); in processPackageUri()
842 .setIcon(pm.getApplicationIcon(sourceInfo))
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/ui/
DMediaControlPanel.java826 .getApplicationIcon(data.getPackageName()); in bindArtworkAndColors()
885 .getApplicationIcon(data.getPackageName()); in bindArtworkAndColors()
942 .getApplicationIcon(packageName); in bindRecommendationArtwork()
1372 Drawable icon = packageManager.getApplicationIcon(applicationInfo);
/frameworks/base/services/companion/java/com/android/server/companion/
DCompanionDeviceShellCommand.java213 mService.getContext().getPackageManager().getApplicationIcon( in onCommand()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttChipControllerReceiverTest.kt108 whenever(packageManager.getApplicationIcon(PACKAGE_NAME)).thenReturn(fakeAppIconDrawable) in setUp()
/frameworks/base/core/java/android/app/
DSearchDialog.java452 icon = pm.getApplicationIcon(info.applicationInfo); in updateSearchAppIcon()
/frameworks/base/test-mock/api/
Dcurrent.txt219 …method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(android.content.pm…
220 …method @Deprecated public android.graphics.drawable.Drawable getApplicationIcon(String) throws and…

12