/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/incident/ |
D | Formatting.java | 51 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/ |
D | AppLabelProxy.java | 40 public static CharSequence getAppLabel(Context context, UserHandle userHandle, in getAppLabel() method in AppLabelProxy.Util 72 CharSequence getAppLabel(String packageName, UserHandle userHandle); in getAppLabel() method
|
D | TelecomSystem.java | 252 (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/ |
D | BasePermissionReviewPreference.java | 349 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/ |
D | RequestToggleWiFiActivityTest.java | 84 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/ |
D | AppPermissions.java | 72 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/ |
D | SelectDebugAppPreferenceController.java | 120 getAppLabel(debugApp))); in updatePreferenceSummary() 127 private String getAppLabel(String debugApp) { in getAppLabel() method in SelectDebugAppPreferenceController
|
D | MockLocationAppPreferenceController.java | 123 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/ |
D | WearRequestRoleHelper.kt | 46 context.getString(role.requestTitleResource, Utils.getAppLabel(applicationInfo, context)) in <lambda>() 90 label = Utils.getAppLabel(applicationItem.applicationInfo, context), in <lambda>()
|
D | WearDefaultAppListHelper.kt | 58 summary = Utils.getAppLabel(holderApplicationInfo, context) in <lambda>()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/ |
D | BatteryDiffEntryTest.java | 212 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()
|
D | BatteryUsageBreakdownControllerTest.java | 168 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/ |
D | ForgetDeviceDialogFragment.java | 104 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/ |
D | RequestToggleWiFiActivity.java | 84 mAppLabel = getAppLabel(); in onCreate() 220 protected CharSequence getAppLabel() { in getAppLabel() method in RequestToggleWiFiActivity
|
/packages/apps/Launcher3/src/com/android/launcher3/pm/ |
D | InstallSessionTracker.java | 87 + ", appLabel=" + sessionInfo.getAppLabel()); in onCreated() 162 + ", appLabel=" + sessionInfo.getAppLabel()); in onBadgingChanged()
|
D | InstallSessionHelper.java | 248 && !TextUtils.isEmpty(sessionInfo.getAppLabel()) in verifySessionInfo()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | RoleSortFunction.java | 46 Utils.getAppLabel(item.getApplicationInfo(), context), collator); in createComparator()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/ |
D | SensorQcPanel.java | 148 : 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/ |
D | BatteryHistEntry.java | 78 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry() 108 mAppLabel = batteryInformation.getAppLabel(); in BatteryHistEntry()
|
D | BatteryUsageBreakdownController.java | 206 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/ |
D | LocationProviderInterceptDialog.java | 59 Utils.getAppLabel( in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | SafetyCenterQsFragment.java | 219 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/ |
D | WearLocationProviderInterceptDialogViewModel.kt | 57 val appLabel = Utils.getAppLabel(applicationInfo, context) in showDialog()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | SessionCommitReceiver.java | 91 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/ |
D | Utils.java | 631 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
|