/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
H A D | NoteTaskRoleManagerExt.kt | 56 val applicationLabel = context.packageManager.getApplicationLabel(packageName) 80 private fun PackageManager.getApplicationLabel(packageName: String?): String? { 87 ?.let { info -> getApplicationLabel(info).toString() }
|
/aosp14/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/ |
H A D | AppUtils.java | 35 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils 58 final CharSequence appLabel = getApplicationLabel(context.getPackageManager(), packageName); in getAppContentDescription()
|
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/ |
H A D | TvPipNotificationController.java | 173 .setSubText(getApplicationLabel(mPackageName)) in updateNotificationContent() 197 final String applicationTitle = getApplicationLabel(mPackageName); in getNotificationTitle() 204 private String getApplicationLabel(String packageName) { in getApplicationLabel() method in TvPipNotificationController 207 return mPackageManager.getApplicationLabel(appInfo).toString(); in getApplicationLabel()
|
/aosp14/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/ |
H A D | PackageInstallerActivity.java | 143 final CharSequence requestedUpdateOwnerLabel = getApplicationLabel(mCallingPackage); in startInstallConfirm() 170 return getApplicationLabel(existingUpdateOwner); in getExistingUpdateOwnerLabel() 176 private CharSequence getApplicationLabel(String packageName) { in getApplicationLabel() method in PackageInstallerActivity 180 return mPm.getApplicationLabel(appInfo); in getApplicationLabel() 220 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog() 223 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog() 595 CharSequence label = mPm.getApplicationLabel(mPkgInfo.applicationInfo); in processPackageUri() 841 .setTitle(pm.getApplicationLabel(sourceInfo))
|
/aosp14/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
H A D | CompanionVendorHelperDialogFragment.java | 24 import static com.android.companiondevicemanager.Utils.getApplicationLabel; 113 appLabel = getApplicationLabel(getContext(), packageName, userId); in onViewCreated()
|
H A D | Utils.java | 60 static @NonNull CharSequence getApplicationLabel( in getApplicationLabel() method in Utils 68 return packageManager.getApplicationLabel(appInfo); in getApplicationLabel()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
H A D | RecentTaskLabelLoader.kt | 55 val label = packageManager.getApplicationLabel(appInfo)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/models/recommendation/ |
H A D | SmartspaceMediaData.kt | 85 packageManager.getApplicationLabel(applicationInfo)
|
/aosp14/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppWaitingForDebuggerDialog.java | 37 mAppName = context.getPackageManager().getApplicationLabel(app.info); in AppWaitingForDebuggerDialog()
|
H A D | StrictModeViolationDialog.java | 53 && (name = context.getPackageManager().getApplicationLabel(app.info)) != null) { in StrictModeViolationDialog()
|
H A D | AppNotRespondingDialog.java | 69 && (name2 = context.getPackageManager().getApplicationLabel(mProc.info)) != null) { in AppNotRespondingDialog()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/util/ |
H A D | MediaDataUtils.java | 55 ? packageManager.getApplicationLabel(applicationInfo) in getAppLabel()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/ |
H A D | ExpandableNotificationRowComponent.java | 108 return String.valueOf(pmUser.getApplicationLabel(info)); in provideAppName()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/ |
H A D | AppUtils.java | 131 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils 134 .getApplicationLabel(packageManager, packageName); in getApplicationLabel()
|
H A D | RecentAppOpsAccess.java | 237 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/clipboardoverlay/ |
H A D | EditTextActivity.java | 68 CharSequence label = pm.getApplicationLabel( in onStart()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/ |
H A D | StatusBehavior.kt | 65 val appLabel = pm.getApplicationLabel(ai)
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
H A D | PartialConversationInfoTest.java | 162 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Package"); in testBindNotification_SetsName() 222 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
|
H A D | NotificationConversationInfoTest.java | 265 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_SetsTextApplicationName() 400 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate() 573 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_default_allCanBubble() 611 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDnd() 640 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityBaseline() 676 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("App Name"); in testBindNotification_priorityDndAndBubble()
|
/aosp14/frameworks/base/services/core/java/com/android/server/devicestate/ |
H A D | DeviceStateNotificationController.java | 106 String requesterApplicationLabel = getApplicationLabel(requestingAppUid); in showStateActiveNotificationIfNeeded() 353 private String getApplicationLabel(int uid) { in getApplicationLabel() method in DeviceStateNotificationController
|
/aosp14/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
H A D | FakeContextBuilder.java | 114 when(mPackageManager.getApplicationLabel(any(ApplicationInfo.class))).thenAnswer( in build()
|
/aosp14/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AlertWindowNotification.java | 105 ? pm.getApplicationLabel(aInfo).toString() : mPackageName; in onPostNotification()
|
/aosp14/frameworks/base/core/java/android/accounts/ |
H A D | GrantCredentialsPermissionActivity.java | 139 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in onCreate()
|
/aosp14/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
H A D | RecentLocationApps.java | 214 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getRequestFromOps()
|
/aosp14/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/ |
H A D | RecentLocationAppsTest.java | 69 when(mPackageManager.getApplicationLabel(isA(ApplicationInfo.class))) in setUp()
|