Home
last modified time | relevance | path

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

12

/packages/services/Telecomm/src/com/android/server/telecom/
DAppLabelProxy.java36 public static CharSequence getAppLabel(PackageManager pm, String packageName) { in getAppLabel() method in AppLabelProxy.Util
50 CharSequence getAppLabel(String packageName); in getAppLabel() method
DTelecomSystem.java247 packageName -> AppLabelProxy.Util.getAppLabel( in TelecomSystem()
384 packageName -> AppLabelProxy.Util.getAppLabel( in TelecomSystem()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/
DFormatting.java51 String getAppLabel(String pkg) { in getAppLabel() method in Formatting
58 return Utils.getAppLabel(app, mContext); in getAppLabel()
DConfirmationActivity.java101 final String appLabel = formatting.getAppLabel(pending.getRequestingPackage()); in onCreate()
DPendingList.java147 final String label = mFormatting.getAppLabel(report.getRequestingPackage()); in updateState()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DPermissionPreference.java349 private String getAppLabel() { in getAppLabel() method in PermissionPreference
350 String label = Utils.getAppLabel(mViewModel.getPackageInfo().applicationInfo, in getAppLabel()
375 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in requestChange()
461 LocationUtils.showLocationDialog(getContext(), getAppLabel()); in showBackgroundChooserDialog()
467 getRequestMessage(getAppLabel(), mGroup.getPackageName(), mGroup.getPermGroupName(), in showBackgroundChooserDialog()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DRequestToggleWiFiActivityTest.java84 assertThat(mActivity.getAppLabel()).isNull(); in getAppLabel_nullPackageName_returnNull()
91 assertThat(mActivity.getAppLabel()).isNotNull(); in getAppLabel_settingsPackageName_returnNotNull()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/wear/
DWearRequestRoleHelper.kt43 context.getString(role.requestTitleResource, Utils.getAppLabel(applicationInfo, context)) in <lambda>()
86 label = Utils.getAppLabel(qualifyingApplication.first, context), in <lambda>()
DWearDefaultAppListHelper.kt58 summary = Utils.getAppLabel(holderApplicationInfo, context) in <lambda>()
/packages/apps/Settings/src/com/android/settings/development/
DSelectDebugAppPreferenceController.java120 getAppLabel(debugApp))); in updatePreferenceSummary()
127 private String getAppLabel(String debugApp) { in getAppLabel() method in SelectDebugAppPreferenceController
DMockLocationAppPreferenceController.java123 getAppLabel(mockLocationApp))); in updateMockLocation()
146 private String getAppLabel(String mockLocationApp) { in getAppLabel() method in MockLocationAppPreferenceController
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissions.java72 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions()
88 public CharSequence getAppLabel() { in getAppLabel() method in AppPermissions
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntryTest.java212 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
237 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
265 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo()
286 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid()
309 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()
DBatteryUsageBreakdownControllerTest.java156 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in addAllPreferences_addAllPreferences()
184 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in addPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain()
/packages/apps/Settings/src/com/android/settings/wifi/
DRequestToggleWiFiActivity.java84 mAppLabel = getAppLabel(); in onCreate()
220 protected CharSequence getAppLabel() { in getAppLabel() method in RequestToggleWiFiActivity
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DSensorQcPanel.java148 : getAppLabel(applicationInfo.get(), mContext); in addPrivacyElementsToQcList()
192 private String getAppLabel(@NonNull ApplicationInfo applicationInfo, @NonNull Context context) { in getAppLabel() method in SensorQcPanel
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleSortFunction.java49 Utils.getAppLabel(role.first, context), collator); in RoleSortFunction()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java78 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry()
108 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry()
DBatteryUsageBreakdownController.java183 diffEntry.getAppLabel(), diffEntry.getKey(), diffEntry.getPackageName())); in handlePreferenceTreeClick()
351 final String appLabel = entry.getAppLabel(); in addAllPreferences()
DAnomalyEventWrapper.java125 final String appLabel = mRelatedBatteryDiffEntry.getAppLabel(); in getTitleString()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DLocationProviderInterceptDialog.java59 Utils.getAppLabel( in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DSafetyCenterQsFragment.java219 getAppLabel(pguA).toString().compareTo(getAppLabel(pguB).toString())); in addPermissionUsageInformation()
470 CharSequence appLabel = getAppLabel(usage);
494 private CharSequence getAppLabel(PermissionGroupUsage usage) {
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java90 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java621 public static String getAppLabel(@NonNull ApplicationInfo applicationInfo, in getAppLabel() method in Utils
623 return getAppLabel(applicationInfo, DEFAULT_MAX_LABEL_SIZE_PX, context); in getAppLabel()
637 return getAppLabel(applicationInfo, 0, context); in getFullAppLabel()
650 private static String getAppLabel(@NonNull ApplicationInfo applicationInfo, float ellipsizeDip, in getAppLabel() method in Utils
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java247 && !TextUtils.isEmpty(sessionInfo.getAppLabel()) in verifySessionInfo()

12