Home
last modified time | relevance | path

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

123

/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/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DUtils.java59 static @NonNull CharSequence getApplicationLabel( in getApplicationLabel() method in Utils
67 return packageManager.getApplicationLabel(appInfo); in getApplicationLabel()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipNotificationController.java329 .setSubText(getApplicationLabel(mPackageName)) in updateNotificationContent()
349 final String applicationTitle = getApplicationLabel(mPackageName); in getNotificationTitle()
356 private String getApplicationLabel(String packageName) { in getApplicationLabel() method in TvPipNotificationController
359 return mPackageManager.getApplicationLabel(appInfo).toString(); in getApplicationLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskLabelLoader.kt50 val label = packageManager.getApplicationLabel(appInfo) in loadLabel()
/frameworks/base/services/core/java/com/android/server/am/
DAppWaitingForDebuggerDialog.java35 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
DStrictModeViolationDialog.java53 && (name = context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
DAppNotRespondingDialog.java69 && (name2 = context.getPackageManager().getApplicationLabel(mProc.info)) != null) { in AppNotRespondingDialog()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/
DMediaDataUtils.java54 ? packageManager.getApplicationLabel(applicationInfo) in getAppLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/recommendation/
DSmartspaceMediaData.kt85 packageManager.getApplicationLabel(applicationInfo) in getAppName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java130 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils
133 .getApplicationLabel(packageManager, packageName); in getApplicationLabel()
DRecentAppOpsAccess.java237 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java111 return String.valueOf(pmUser.getApplicationLabel(info)); in provideAppName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/fsi/
DFsiChromeRepo.kt89 var appName = pm.getApplicationLabel(context.applicationInfo) as String in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/
DEditTextActivity.java68 CharSequence label = pm.getApplicationLabel( in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DStatusBehavior.kt64 val appLabel = pm.getApplicationLabel(ai) in <lambda>()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java184 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
187 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
568 CharSequence label = mPm.getApplicationLabel(mPkgInfo.applicationInfo); in processPackageUri()
815 .setTitle(pm.getApplicationLabel(sourceInfo))
DInstallSuccess.java74 mAppSnippet = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
DInstallFailed.java105 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DFakeContextBuilder.java114 when(mPackageManager.getApplicationLabel(any(ApplicationInfo.class))).thenAnswer( in build()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfoTest.java261 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_SetsTextApplicationName()
392 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
559 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_default_allCanBubble()
596 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDnd()
624 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityBaseline()
659 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDndAndBubble()
DPartialConversationInfoTest.java162 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Package"); in testBindNotification_SetsName()
222 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/fsi/
DFsiChromeRepoTest.kt84 whenever(packageManager.getApplicationLabel(any())).thenReturn(appName) in <lambda>()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java214 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getRequestFromOps()

123