Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDiffEntryTest.java128 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
153 assertThat(entry.getAppLabel()).isEqualTo(expectedName); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
183 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromApplicationInfo()
204 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_loadDataFromPreDefinedNameAndUid()
223 assertThat(entry.getAppLabel()).isEqualTo(expectedAppLabel); in testGetAppLabel_nullAppLabel_returnAppLabelInBatteryHistEntry()
DBatteryChartPreferenceControllerTest.java317 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_addPreferenceIntoScreen()
346 doReturn(appLabel).when(mBatteryDiffEntry).getAppLabel(); in testAddPreferenceToScreen_alreadyInScreen_notAddPreferenceAgain()
511 doReturn("label").when(mBatteryDiffEntry).getAppLabel(); in testOnExpand_expandedIsTrue_addSystemEntriesToPreferenceGroup()
/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.java223 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.java96 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.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()
/packages/apps/Settings/src/com/android/settings/development/
DSelectDebugAppPreferenceController.java98 getAppLabel(debugApp))); in updatePreferenceSummary()
104 private String getAppLabel(String debugApp) { in getAppLabel() method in SelectDebugAppPreferenceController
DMockLocationAppPreferenceController.java102 getAppLabel(mockLocationApp))); in updateMockLocation()
124 private String getAppLabel(String mockLocationApp) { in getAppLabel() method in MockLocationAppPreferenceController
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/
DAppPermissions.java71 mAppLabel = Utils.getAppLabel(packageInfo.applicationInfo, context); in AppPermissions()
87 public CharSequence getAppLabel() { in getAppLabel() method in AppPermissions
/packages/apps/Car/SystemUI/src/com/android/systemui/car/privacy/
DMicPrivacyChipDialogController.java232 : getAppLabel(applicationInfo, context)); in createCarUiContentListItem()
257 private String getAppLabel(@NonNull ApplicationInfo applicationInfo, @NonNull Context context) { in getAppLabel() method
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
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
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DRoleSortFunction.java48 Utils.getAppLabel(role.first, context), collator); in RoleSortFunction()
DRequestRoleFragment.java145 String applicationLabel = Utils.getAppLabel(applicationInfo, context); in onCreateDialog()
726 title = Utils.getAppLabel(qualifyingApplicationInfo, context); in getView()
DDefaultAppListChildFragment.java184 preference.setSummary(Utils.getAppLabel(holderApplicationInfo, context)); in addPreferences()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/
DLocationProviderInterceptDialog.java55 Utils.getAppLabel(getPackageInfo(packageName).applicationInfo, this))) in onCreate()
/packages/apps/Launcher3/src/com/android/launcher3/
DSessionCommitReceiver.java77 + ", has app label: " + !TextUtils.isEmpty(info.getAppLabel())); in processIntent()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryChartPreferenceController.java230 diffEntry.getAppLabel(), histEntry.getKey(), histEntry.mPackageName)); in handlePreferenceTreeClick()
404 final String appLabel = entry.getAppLabel(); in addPreferenceToScreen()
DBatteryDiffEntry.java104 public String getAppLabel() { in getAppLabel() method in BatteryDiffEntry
/packages/apps/Launcher3/src/com/android/launcher3/pm/
DInstallSessionHelper.java235 && !TextUtils.isEmpty(sessionInfo.getAppLabel()) in verifySessionInfo()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DReviewPermissionsWearFragment.java273 String appLabel = mAppPermissions.getAppLabel().toString(); in addTitlePreferenceToScreen()
DAppPermissionsFragmentWear.java332 getContext(), mAppPermissions.getAppLabel()); in createSwitchPreferenceForGroup()
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallScreeningServiceFilter.java269 mAppName = appLabelProxy.getAppLabel(mPackageName); in CallScreeningServiceFilter()
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java334 info.getAppLabel()); in updateSessionCache()

12