Home
last modified time | relevance | path

Searched refs:getAppLabel (Results 1 – 25 of 57) sorted by relevance

123

/aosp12/packages/services/Telecomm/src/com/android/server/telecom/
H A DAppLabelProxy.java36 public static CharSequence getAppLabel(PackageManager pm, String packageName) { in getAppLabel() method in AppLabelProxy.Util
50 CharSequence getAppLabel(String packageName); in getAppLabel() method
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
H A DFormatting.java51 String getAppLabel(String pkg) { in getAppLabel() method in Formatting
58 return Utils.getAppLabel(app, mContext); in getAppLabel()
/aosp12/frameworks/base/core/java/com/android/internal/app/
H A DBlockedAppActivity.java58 CharSequence appLabel = getAppLabel(userId, packageName); in onCreate()
66 private CharSequence getAppLabel(int userId, String packageName) { in getAppLabel() method in BlockedAppActivity
H A DSuspendedAppActivity.java94 private CharSequence getAppLabel(String packageName) { in getAppLabel() method in SuspendedAppActivity
149 final CharSequence suspendedAppLabel = getAppLabel(mSuspendedPackage); in resolveDialogMessage()
165 getAppLabel(mSuspendingPackage)); in resolveDialogMessage()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
H A DRequestToggleWiFiActivityTest.java82 assertThat(mActivity.getAppLabel()).isNull(); in getAppLabel_nullPackageName_returnNull()
89 assertThat(mActivity.getAppLabel()).isNotNull(); in getAppLabel_settingsPackageName_returnNotNull()
/aosp12/packages/apps/Settings/src/com/android/settings/development/
H A DSelectDebugAppPreferenceController.java98 getAppLabel(debugApp))); in updatePreferenceSummary()
104 private String getAppLabel(String debugApp) { in getAppLabel() method in SelectDebugAppPreferenceController
H A DMockLocationAppPreferenceController.java102 getAppLabel(mockLocationApp))); in updateMockLocation()
124 private String getAppLabel(String mockLocationApp) { in getAppLabel() method in MockLocationAppPreferenceController
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
H A DBatteryDiffEntryTest.java137 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
162 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
192 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo()
213 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid()
232 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()
H A DBatteryChartPreferenceControllerTest.java288 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_addPreferenceIntoScreen()
317 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain()
478 doReturn("label").when(mBatteryDiffEntry).getAppLabel(); in testOnExpand_expandedIsTrue_addSystemEntriesToPreferenceGroup()
/aosp12/frameworks/layoutlib/remote/client/src/com/android/layoutlib/bridge/remote/client/adapters/
H A DRemoteRenderParamsAdapter.java129 public String getAppLabel() { in getAppLabel() method in RemoteRenderParamsAdapter
130 return mDelegate.getAppLabel(); in getAppLabel()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
H A DAppPermissions.java71 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions()
87 public CharSequence getAppLabel() { in getAppLabel() method in AppPermissions
/aosp12/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
H A DPackageInstalledNotificationUtils.java87 mInstallerAppLabel = getAppLabel(context, installerAppInfo, installerPackage); in PackageInstalledNotificationUtils()
92 mInstalledAppLabel = getAppLabel(context, installedAppInfo, installerPackage); in PackageInstalledNotificationUtils()
106 private static String getAppLabel(@NonNull Context context, @NonNull ApplicationInfo appInfo, in getAppLabel() method in PackageInstalledNotificationUtils
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
H A DPermissionPreference.java433 private String getAppLabel() { in getAppLabel() method in PermissionPreference
462 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange()
572 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog()
578 getRequestMessage(getAppLabel(), mGroup.getApp().packageName, mGroup.getName(), in showBackgroundChooserDialog()
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
H A DControlsListingController.kt44 fun getAppLabel(name: ComponentName): CharSequence? = "" regex
H A DControlsListingControllerImpl.kt176 override fun getAppLabel(name: ComponentName): CharSequence? {
H A DControlsProviderSelectorActivity.kt161 listingController.getAppLabel(it))
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/
H A DRequestToggleWiFiActivity.java84 mAppLabel = getAppLabel(); in onCreate()
220 protected CharSequence getAppLabel() { in getAppLabel() method in RequestToggleWiFiActivity
/aosp12/frameworks/layoutlib/remote/common/src/com/android/layout/remote/api/
H A DRemoteRenderParams.java53 String getAppLabel() throws RemoteException; in getAppLabel() method
/aosp12/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
H A DMicQcPanel.java165 : getAppLabel(applicationInfo.get(), mContext); in addPrivacyElementsToQcList()
192 private String getAppLabel(@NonNull ApplicationInfo applicationInfo, @NonNull Context context) { in getAppLabel() method in MicQcPanel
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
H A DLocationProviderInterceptDialog.java55 Utils.getAppLabel(getPackageInfo(packageName).applicationInfo, this))) in onCreate()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
H A DRoleSortFunction.java48 Utils.getAppLabel(role.first, context), collator); in RoleSortFunction()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/
H A DSessionCommitReceiver.java77 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
/aosp12/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DBridgeActionBar.java127 String title = mParams.getAppLabel(); in setTitle()
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/management/
H A DControlsRequestDialogTest.kt113 `when`(listingController.getAppLabel(CONTROL_COMPONENT)).thenReturn(LABEL)
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DUtils.java646 public static String getAppLabel(@NonNull ApplicationInfo applicationInfo, in getAppLabel() method in Utils
648 return getAppLabel(applicationInfo, DEFAULT_MAX_LABEL_SIZE_PX, context); in getAppLabel()
662 return getAppLabel(applicationInfo, 0, context); in getFullAppLabel()
675 private static String getAppLabel(@NonNull ApplicationInfo applicationInfo, float ellipsizeDip, in getAppLabel() method in Utils

123