Home
last modified time | relevance | path

Searched refs:getApplicationLabel (Results 1 – 25 of 86) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/
DNoteTaskRoleManagerExt.kt56 val applicationLabel = context.packageManager.getApplicationLabel(packageName) in <lambda>()
80 private fun PackageManager.getApplicationLabel(packageName: String?): String? { in <lambda>() method
87 ?.let { info -> getApplicationLabel(info).toString() } in <lambda>()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java35 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils
58 final CharSequence appLabel = getApplicationLabel(context.getPackageManager(), packageName); in getAppContentDescription()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipNotificationController.java174 .setSubText(getApplicationLabel(mPackageName)) in updateNotificationContent()
199 final String applicationTitle = getApplicationLabel(mPackageName); in getNotificationTitle()
206 private String getApplicationLabel(String packageName) { in getApplicationLabel() method in TvPipNotificationController
209 return mPackageManager.getApplicationLabel(appInfo).toString(); in getApplicationLabel()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java152 final CharSequence requestedUpdateOwnerLabel = getApplicationLabel(mOriginatingPackage); in startInstallConfirm()
179 return getApplicationLabel(getExistingUpdateOwner()); in getExistingUpdateOwnerLabel()
192 private CharSequence getApplicationLabel(String packageName) { in getApplicationLabel() method in PackageInstallerActivity
196 return mPm.getApplicationLabel(appInfo); in getApplicationLabel()
236 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
239 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
627 CharSequence label = mPm.getApplicationLabel(mPkgInfo.applicationInfo); in processPackageUri()
875 .setTitle(pm.getApplicationLabel(sourceInfo))
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionVendorHelperDialogFragment.java24 import static com.android.companiondevicemanager.Utils.getApplicationLabel;
114 appLabel = getApplicationLabel(getContext(), packageName, userId); in onViewCreated()
DUtils.java60 static @NonNull CharSequence getApplicationLabel( in getApplicationLabel() method in Utils
68 return packageManager.getApplicationLabel(appInfo); in getApplicationLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskLabelLoader.kt55 val label = packageManager.getApplicationLabel(appInfo) in loadLabel()
/frameworks/base/services/core/java/com/android/server/am/
DAppWaitingForDebuggerDialog.java37 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java53 && (name = context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputInteractor.kt118 private suspend fun getApplicationLabel(packageName: String): CharSequence? { in <lambda>() method
185 appLabel = getApplicationLabel(packageName) ?: return null in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/shared/model/
DSmartspaceMediaData.kt86 packageManager.getApplicationLabel(applicationInfo) in getAppName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaDataUtils.java55 ? packageManager.getApplicationLabel(applicationInfo) in getAppLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java115 return String.valueOf(pmUser.getApplicationLabel(info)); in provideAppName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java132 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils
135 .getApplicationLabel(packageManager, packageName); in getApplicationLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DStatusBehavior.kt65 val appLabel = pm.getApplicationLabel(ai) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/media/controls/ui/viewmodel/
DMediaRecommendationsViewModelTest.kt72 whenever(packageManager.getApplicationLabel(any())).thenReturn(PACKAGE_NAME) in loadRecommendations_recsCardViewModelIsLoaded()
DMediaControlViewModelTest.kt71 whenever(packageManager.getApplicationLabel(any())).thenReturn(PACKAGE_NAME) in addMediaControl_mediaControlViewModelIsLoaded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DPartialConversationInfoTest.java157 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Package"); in testBindNotification_SetsName()
214 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
DNotificationConversationInfoTest.java266 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_SetsTextApplicationName()
401 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
574 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_default_allCanBubble()
612 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDnd()
641 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityBaseline()
677 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDndAndBubble()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DFakeContextBuilder.java114 when(mPackageManager.getApplicationLabel(any(ApplicationInfo.class))).thenAnswer( in build()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateNotificationController.java106 String requesterApplicationLabel = getApplicationLabel(requestingAppUid); in showStateActiveNotificationIfNeeded()
353 private String getApplicationLabel(int uid) { in getApplicationLabel() method in DeviceStateNotificationController
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java92 CharSequence label = pm.getApplicationLabel( in onStart()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallRepository.kt667 getApplicationLabel(originatingPackageNameFromSessionInfo) in <lambda>()
682 return getApplicationLabel(getExistingUpdateOwner(pkgInfo)) in <lambda>()
695 private fun getApplicationLabel(packageName: String?): CharSequence? { in <lambda>() method in com.android.packageinstaller.v2.model.InstallRepository
702 appInfo?.let { packageManager.getApplicationLabel(it) } in <lambda>()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java105 ? pm.getApplicationLabel(aInfo).toString() : mPackageName; in onPostNotification()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java139 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in onCreate()

1234