Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java32 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils
54 final CharSequence appLabel = getApplicationLabel(context.getPackageManager(), packageName); in getAppContentDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipNotification.java247 final String applicationTitle = getApplicationLabel(mPackageName); in getNotificationTitle()
255 private String getApplicationLabel(String packageName) { in getApplicationLabel() method in PipNotification
258 return mPackageManager.getApplicationLabel(appInfo).toString(); in getApplicationLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/micdisclosure/
DAudioRecordingDisclosureBar.java231 final String label = getApplicationLabel(packageName); in show()
324 final String label = getApplicationLabel(packageName); in expand()
454 private String getApplicationLabel(String packageName) { in getApplicationLabel() method in AudioRecordingDisclosureBar
462 return pm.getApplicationLabel(appInfo).toString(); in getApplicationLabel()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DAppUtils.java126 public static CharSequence getApplicationLabel( in getApplicationLabel() method in AppUtils
129 .getApplicationLabel(packageManager, packageName); in getApplicationLabel()
/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.java67 (name2=context.getPackageManager().getApplicationLabel(mProc.info)) != null) { in AppNotRespondingDialog()
DAppErrorDialog.java75 (name = context.getPackageManager().getApplicationLabel(mProc.info)) != null) { in AppErrorDialog()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageInstallerActivity.java170 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
173 mPm.getApplicationLabel(mPkgInfo.applicationInfo)); in createDialog()
521 … mAppSnippet = new PackageUtil.AppSnippet(mPm.getApplicationLabel(mPkgInfo.applicationInfo), in processPackageUri()
722 .setTitle(pm.getApplicationLabel(sourceInfo))
DInstallSuccess.java65 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
DInstallFailed.java105 as = new PackageUtil.AppSnippet(pm.getApplicationLabel(appInfo), in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/dagger/
DExpandableNotificationRowComponent.java110 return String.valueOf(pmUser.getApplicationLabel(info)); in provideAppName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DStatusBehavior.kt64 val appLabel = pm.getApplicationLabel(ai) in <lambda>()
/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/
DPartialConversationInfoTest.java166 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Package"); in testBindNotification_SetsName()
226 when(mMockPackageManager.getApplicationLabel(any())).thenReturn("Other"); in testBindNotification_delegate()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java112 return packageManager.getApplicationLabel( in getCallingAppName()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java107 ? pm.getApplicationLabel(aInfo).toString() : mPackageName; in onPostNotification()
/frameworks/base/core/java/android/accounts/
DGrantCredentialsPermissionActivity.java124 packageLabel = pm.getApplicationLabel(pm.getApplicationInfo(pkg, 0)).toString(); in onCreate()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java190 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps()
DRecentLocationApps.java214 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getRequestFromOps()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DAppOpsInfo.java102 mAppName = String.valueOf(mPm.getApplicationLabel(info)); in bindHeader()
DPartialConversationInfo.java192 mAppName = String.valueOf(mPm.getApplicationLabel(info));
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaResumeListener.kt84 appName = pm.getApplicationLabel( in addTrack()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/location/
DRecentLocationAccessesTest.java68 when(mPackageManager.getApplicationLabel(isA(ApplicationInfo.class))) in setUp()
DRecentLocationAppsTest.java69 when(mPackageManager.getApplicationLabel(isA(ApplicationInfo.class))) in setUp()

123