Home
last modified time | relevance | path

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

12

/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()
/packages/services/Telecomm/src/com/android/server/telecom/
DAppLabelProxy.java40 public static CharSequence getAppLabel(Context context, UserHandle userHandle, in getAppLabel() method in AppLabelProxy.Util
72 CharSequence getAppLabel(String packageName, UserHandle userHandle); in getAppLabel() method
DTelecomSystem.java252 (packageName, userHandle) -> AppLabelProxy.Util.getAppLabel(mContext, in TelecomSystem()
393 (packageName, userHandle) -> AppLabelProxy.Util.getAppLabel(mContext, in TelecomSystem()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DBasePermissionReviewPreference.java349 private String getAppLabel() { in getAppLabel() method in BasePermissionReviewPreference
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/permission/model/
DAppPermissions.java72 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions()
88 public CharSequence getAppLabel() { in getAppLabel() method in AppPermissions
/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/role/ui/wear/
DWearRequestRoleHelper.kt46 context.getString(role.requestTitleResource, Utils.getAppLabel(applicationInfo, context)) in <lambda>()
90 label = Utils.getAppLabel(applicationItem.applicationInfo, context), in <lambda>()
DWearDefaultAppListHelper.kt58 summary = Utils.getAppLabel(holderApplicationInfo, context) in <lambda>()
/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.java168 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in addAllPreferences_addAllPreferences()
196 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in addPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DForgetDeviceDialogFragment.java104 CharSequence appLabel = getAppLabel(ai.getPackageName()); in onCreateDialog()
167 private CharSequence getAppLabel(String packageName) { in getAppLabel() method in ForgetDeviceDialogFragment
/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/Launcher3/src/com/android/launcher3/pm/
DInstallSessionTracker.java87 + ", appLabel=" + sessionInfo.getAppLabel()); in onCreated()
162 + ", appLabel=" + sessionInfo.getAppLabel()); in onBadgingChanged()
DInstallSessionHelper.java248 && !TextUtils.isEmpty(sessionInfo.getAppLabel()) in verifySessionInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleSortFunction.java46 Utils.getAppLabel(item.getApplicationInfo(), context), collator); in createComparator()
/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/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryHistEntry.java78 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry()
108 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry()
DBatteryUsageBreakdownController.java206 diffEntry.getAppLabel(), diffEntry.getKey(), diffEntry.getPackageName())); in handlePreferenceTreeClick()
377 final String appLabel = entry.getAppLabel(); in addAllPreferences()
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/model/
DWearLocationProviderInterceptDialogViewModel.kt57 val appLabel = Utils.getAppLabel(applicationInfo, context) in showDialog()
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java91 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DUtils.java631 public static String getAppLabel(@NonNull ApplicationInfo applicationInfo, in getAppLabel() method in Utils
633 return getAppLabel(applicationInfo, DEFAULT_MAX_LABEL_SIZE_PX, context); in getAppLabel()
647 return getAppLabel(applicationInfo, 0, context); in getFullAppLabel()
660 private static String getAppLabel(@NonNull ApplicationInfo applicationInfo, float ellipsizeDip, in getAppLabel() method in Utils

12