Home
last modified time | relevance | path

Searched refs:appLabel (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java117 CharSequence appLabel; in onBind() local
124 appLabel = in onBind()
126 if (appLabel != null) { in onBind()
127 mAppInfoView.setText(appLabel); in onBind()
141 protected void onPostExecute(CharSequence appLabel) { in onBind() argument
143 mLoadTvInputId, appLabel); in onBind()
148 mAppInfoView.setText(appLabel); in onBind()
195 appLabel = in onBind()
197 if (appLabel != null) { in onBind()
202 appLabel)); in onBind()
[all …]
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDeleteManagedProfileDialog.java104 String appLabel; in createContentView() local
111 appLabel = mdmPackageInfo.appLabel; in createContentView()
114 appLabel = getResources().getString(android.R.string.unknownName); in createContentView()
121 getResources().getString(R.string.mdm_icon_label, appLabel)); in createContentView()
124 deviceManagerName.setText(appLabel); in createContentView()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DMdmPackageInfo.java38 public final String appLabel; field in MdmPackageInfo
43 public MdmPackageInfo(@NonNull Drawable packageIcon, @NonNull String appLabel) { in MdmPackageInfo() argument
45 this.appLabel = checkNotNull(appLabel, "app label must not be null"); in MdmPackageInfo()
/packages/apps/Settings/src/com/android/settings/users/
DUserDialogs.java99 CharSequence appLabel = packageManager.getApplicationLabel(mdmApplicationInfo); in createRemoveManagedUserDialogView() local
100 CharSequence badgedAppLabel = packageManager.getUserBadgedLabel(appLabel, in createRemoveManagedUserDialogView()
104 textView.setText(appLabel); in createRemoveManagedUserDialogView()
105 if (!appLabel.toString().contentEquals(badgedAppLabel)) { in createRemoveManagedUserDialogView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/users/
DUserDialogs.java99 CharSequence appLabel = packageManager.getApplicationLabel(mdmApplicationInfo); in createRemoveManagedUserDialogView() local
100 CharSequence badgedAppLabel = packageManager.getUserBadgedLabel(appLabel, in createRemoveManagedUserDialogView()
104 textView.setText(appLabel); in createRemoveManagedUserDialogView()
105 if (!appLabel.toString().contentEquals(badgedAppLabel)) { in createRemoveManagedUserDialogView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/tips/
DRestrictAppTip.java63 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getTitle() local
69 appLabel, num) in getTitle()
76 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getSummary() local
81 return context.getResources().getQuantityString(resId, num, appLabel, num); in getSummary()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DRestrictAppTip.java63 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getTitle() local
69 appLabel, num) in getTitle()
76 final CharSequence appLabel = num > 0 ? Utils.getApplicationLabel(context, in getSummary() local
81 return context.getResources().getQuantityString(resId, num, appLabel, num); in getSummary()
/packages/apps/PermissionController/src/com/android/packageinstaller/incident/
DConfirmationActivity.java93 final String appLabel = formatting.getAppLabel(pending.getRequestingPackage()); in onCreate() local
117 .setMessage(getString(R.string.incident_report_error_dialog_text, appLabel)) in onCreate()
162 appLabel, in onCreate()
165 appLabel); in onCreate()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DResolverAdapter.java156 CharSequence appLabel = packageManager.getApplicationLabel(info); in getComponentLabel() local
158 if (appLabel == null) { in getComponentLabel()
162 return appLabel.toString(); in getComponentLabel()
DLensPickerAdapter.java162 CharSequence appLabel = mPackageManager.getApplicationLabel(aInfo); in getComponentLabel() local
163 if (appLabel != null) { in getComponentLabel()
164 return appLabel.toString(); in getComponentLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DSelectDebugAppPreferenceControllerTest.java111 final String appLabel = "foobar"; in onActivityResult_foobarAppSelected_shouldUpdateSummaryWithDebugLabel() local
112 activityResultIntent.setAction(appLabel); in onActivityResult_foobarAppSelected_shouldUpdateSummaryWithDebugLabel()
117 verify(mPreference).setSummary(mContext.getString(R.string.debug_app_set, appLabel)); in onActivityResult_foobarAppSelected_shouldUpdateSummaryWithDebugLabel()
/packages/apps/Settings/src/com/android/settings/development/
DMockLocationAppPreferenceController.java121 final CharSequence appLabel = mPackageManager.getApplicationLabel(ai); in getAppLabel() local
122 return appLabel != null ? appLabel.toString() : mockLocationApp; in getAppLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DMockLocationAppPreferenceController.java121 final CharSequence appLabel = mPackageManager.getApplicationLabel(ai); in getAppLabel() local
122 return appLabel != null ? appLabel.toString() : mockLocationApp; in getAppLabel()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/appinfo/
DAppHeaderViewPreferenceControllerTest.java97 final String appLabel = "App1"; in refreshUi_shouldRefreshButton() local
98 appEntry.label = appLabel; in refreshUi_shouldRefreshButton()
114 assertThat(title.getText()).isEqualTo(appLabel); in refreshUi_shouldRefreshButton()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/wear/
DReviewPermissionsWearFragment.java272 String appLabel = mAppPermissions.getAppLabel().toString(); in addTitlePreferenceToScreen() local
276 SpannableString message = new SpannableString(getString(labelTemplateResId, appLabel)); in addTitlePreferenceToScreen()
279 final int appLabelStart = message.toString().indexOf(appLabel, 0); in addTitlePreferenceToScreen()
280 final int appLabelLength = appLabel.length(); in addTitlePreferenceToScreen()
/packages/services/Car/service/src/com/android/car/pm/
DActivityBlockingActivity.java234 CharSequence appLabel = getPackageManager().getApplicationLabel(applicationInfo); in findHumanReadableLabel() local
235 if (appLabel != null) { in findHumanReadableLabel()
236 label = appLabel.toString(); in findHumanReadableLabel()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DMdmPackageInfoTest.java64 assertEquals(TEST_LABEL, mdmInfo.appLabel); in testConstructor()
74 assertEquals(TEST_LABEL, mdmInfo.appLabel); in testCreateFromPackageName()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowUtils.java111 public static void setApplicationLabel(String packageName, String appLabel) { in setApplicationLabel() argument
115 sAppNameMap.put(packageName, appLabel); in setApplicationLabel()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DBatteryTipDialogFragment.java103 final CharSequence appLabel = Utils.getApplicationLabel(context, in onCreateDialog() local
113 getString(R.string.battery_tip_restrict_app_dialog_message, appLabel)); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DBatteryTipDialogFragment.java103 final CharSequence appLabel = Utils.getApplicationLabel(context, in onCreateDialog() local
113 getString(R.string.battery_tip_restrict_app_dialog_message, appLabel)); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/assist/
DVoiceInputHelper.java59 public final CharSequence appLabel; field in VoiceInputHelper.BaseInfo
69 appLabel = _service.applicationInfo.loadLabel(pm); in BaseInfo()
/packages/apps/Settings/src/com/android/settings/applications/assist/
DVoiceInputHelper.java59 public final CharSequence appLabel; field in VoiceInputHelper.BaseInfo
69 appLabel = _service.applicationInfo.loadLabel(pm); in BaseInfo()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/utils/
DUtils.java555 public static CharSequence getRequestMessage(CharSequence appLabel, AppPermissionGroup group, in getRequestMessage() argument
561 appLabel), 0); in getRequestMessage()
565 group.getDeclaringPackage()).getString(requestRes, appLabel), 0); in getRequestMessage()
570 return Html.fromHtml(context.getString(R.string.permission_warning_template, appLabel, in getRequestMessage()
/packages/apps/TV/src/com/android/tv/data/
DPreviewDataManager.java568 CharSequence appLabel = in createDefaultPreviewChannel() local
573 .setDisplayName(appLabel == null ? null : appLabel.toString()) in createDefaultPreviewChannel()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAdjustUserSensitiveFragment.java226 NonUserSensitiveAppPreference(@NonNull Context context, @NonNull String appLabel, in NonUserSensitiveAppPreference() argument
233 setTitle(appLabel); in NonUserSensitiveAppPreference()

12