Home
last modified time | relevance | path

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

12

/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/
DIntentParser.kt24 import com.android.credentialmanager.ktx.appLabel in <lambda>()
43 val appLabel = packageManager.appLabel(cancelUiRequest.packageName) in parseCancelUiRequest() constant
44 if (appLabel == null) { in parseCancelUiRequest()
48 Request.Cancel(appName = appLabel, token = cancelUiRequest.token) in parseCancelUiRequest()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java58 final CharSequence appLabel = getApplicationLabel(context.getPackageManager(), packageName); in getAppContentDescription() local
59 if (appLabel == null) { in getAppContentDescription()
63 ? context.getString(R.string.accessibility_work_profile_app_description, appLabel) in getAppContentDescription()
64 : appLabel.toString(); in getAppContentDescription()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/model/
DInstallStages.kt52 val appLabel: String? constant in com.android.packageinstaller.v2.model.InstallUserActionRequired
68 val appLabel: String? constant in com.android.packageinstaller.v2.model.InstallInstalling
90 val appLabel: String? constant in com.android.packageinstaller.v2.model.InstallSuccess
104 val appLabel: String? constant in com.android.packageinstaller.v2.model.InstallFailed
DUninstallStages.kt44 data class UninstallUninstalling(val appLabel: CharSequence, val isCloneUser: Boolean) : constant in com.android.packageinstaller.v2.model.UninstallUninstalling
/frameworks/base/core/java/com/android/internal/app/
DBlockedAppStreamingActivity.java47 CharSequence appLabel = null; in onCreate() local
50 appLabel = activityInfo.loadLabel(getPackageManager()); in onCreate()
53 if (TextUtils.isEmpty(appLabel)) { in onCreate()
85 mAlertParams.mMessage = getString(R.string.app_blocked_message, appLabel); in onCreate()
DBlockedAppActivity.java58 CharSequence appLabel = getAppLabel(userId, packageName); in onCreate() local
61 mAlertParams.mMessage = getString(R.string.app_blocked_message, appLabel); in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java220 final CharSequence appLabel = info.serviceInfo.applicationInfo.loadLabel(pm); in addPackageTiles() local
224 addTile(spec, appLabel, state, false); in addPackageTiles()
241 appLabel); in addPackageTiles()
273 String spec, @Nullable CharSequence appLabel, State state, boolean isSystem) { in addTile() argument
279 state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile()
280 ? null : appLabel; in addTile()
287 String spec, Drawable drawable, CharSequence label, CharSequence appLabel) { in createStateAndAddTile() argument
293 addTile(spec, appLabel, state, false); in createStateAndAddTile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java49 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateGuidance() local
57 if (!activityLabel.equals(appLabel)) { in onCreateGuidance()
60 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateGuidance()
100 appLabel.toString(), in onCreateGuidance()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java117 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateDialog() local
125 if (!activityLabel.equals(appLabel)) { in onCreateDialog()
128 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateDialog()
192 appLabel)); in onCreateDialog()
201 dialogBuilder.setTitle(getString(R.string.cloned_app_label, appLabel)); in onCreateDialog()
203 dialogBuilder.setTitle(getString(R.string.archiving_app_label, appLabel)); in onCreateDialog()
205 dialogBuilder.setTitle(appLabel); in onCreateDialog()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java102 final String appLabel = "app_label"; in createPackageManagerMockedInfo() local
123 if (id == 1) return appLabel; in createPackageManagerMockedInfo()
135 return appLabel; in createPackageManagerMockedInfo()
164 mockedInfo.setAppLabel = appLabel; in createPackageManagerMockedInfo()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/volume/panel/component/mediaoutput/domain/interactor/
DMediaOutputInteractorTest.kt114 assertThat(appLabel).isEqualTo("local_media_controller_label") in activeMediaDeviceSessions_areParsed()
119 assertThat(appLabel).isEqualTo("remote_media_controller_label") in activeMediaDeviceSessions_areParsed()
177 assertThat(appLabel).isEqualTo("local_media_controller_label") in activeLocalAndRemoteSession_defaultSession_local()
201 assertThat(appLabel).isEqualTo("remote_media_controller_label") in activeRemoteSession_defaultSession_remote()
225 assertThat(appLabel).isEqualTo("local_media_controller_label") in inactiveLocalAndRemoteSession_defaultSession_local()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/custom/
DCustomTileDefaultsRepositoryTest.kt175 appLabel = "", in noIconIsAnError()
200 appLabel = APP_LABEL_1, in PackageManager()
208 appLabel = APP_LABEL_2, in PackageManager()
216 appLabel: CharSequence, in PackageManager()
236 override fun loadLabel(pm: PackageManager): CharSequence = appLabel in PackageManager()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java214 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getRequestFromOps() local
215 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle); in getRequestFromOps()
216 if (appLabel.toString().contentEquals(badgedAppLabel)) { in getRequestFromOps()
221 request = new Request(packageName, userHandle, icon, appLabel, highBattery, in getRequestFromOps()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionVendorHelperDialogFragment.java110 final CharSequence appLabel; in onViewCreated() local
114 appLabel = getApplicationLabel(getContext(), packageName, userId); in onViewCreated()
145 title = appLabel; in onViewCreated()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/applications/
DRecentAppOpsAccess.java261 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps() local
262 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle); in getAccessFromOps()
263 if (appLabel.toString().contentEquals(badgedAppLabel)) { in getAccessFromOps()
268 access = new Access(packageName, userHandle, icon, appLabel, badgedAppLabel, in getAccessFromOps()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java68 String appLabel = intent.getStringExtra(EXTRA_APP_LABEL); in onReceive() local
90 ? context.getString(R.string.uninstall_done_clone_app, appLabel) in onReceive()
91 : context.getString(R.string.uninstall_done_app, appLabel), in onReceive()
186 context.getString(R.string.uninstall_failed_app, appLabel)); in onReceive()
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/
DDataConverter.kt303 val appLabel = originName?.ifEmpty { null } in toRequestDisplayInfo() constant
324 appLabel, in toRequestDisplayInfo()
338 appLabel = appLabel, in toRequestDisplayInfo()
359 appName = appLabel, in toRequestDisplayInfo()
552 appLabel: String, in newRequestDisplayInfoFromPasskeyJson()
575 appLabel, in newRequestDisplayInfoFromPasskeyJson()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DStatusBehavior.kt65 val appLabel = pm.getApplicationLabel(ai) in <lambda>() constant
73 R.string.controls_error_removed_message, cvh.title.getText(), appLabel)) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/panel/component/mediaoutput/shared/model/
DMediaDeviceSession.kt23 val appLabel: CharSequence, constant in com.android.systemui.volume.panel.component.mediaoutput.shared.model.MediaDeviceSession
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DFakeContextBuilder.java86 public FakeContextBuilder setAppLabel(String packageName, @Nullable CharSequence appLabel) { in setAppLabel() argument
88 mAppLabels.put(packageName, appLabel); in setAppLabel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt480 it.appLabel = ra.appLabel in updateAppItems()
572 appLabelView.text = runningApp.appLabel in onBindViewHolder()
833 appLabel: CharSequence,
836 this.appLabel = appLabel
841 var appLabel: CharSequence = "" variable in com.android.systemui.qs.RunningApp
855 pw.println("appLabel=$appLabel") in dump()
/frameworks/base/packages/CredentialManager/shared/src/com/android/credentialmanager/ktx/
DPackageManagerKtx.kt24 fun PackageManager.appLabel(appPackageName: String): String? = in PackageManager() method
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java863 public void updateSessionAppLabel(int sessionId, @Nullable CharSequence appLabel) { in updateSessionAppLabel() argument
865 final String val = (appLabel != null) ? appLabel.toString() : null; in updateSessionAppLabel()
2754 public String appLabel; field in PackageInstaller.SessionParams
2827 appLabel = source.readString(); in SessionParams()
2868 ret.appLabel = appLabel; in copy()
2965 public void setAppLabel(@Nullable CharSequence appLabel) { in setAppLabel() argument
2966 this.appLabel = (appLabel != null) ? appLabel.toString() : null; in setAppLabel()
3610 pw.printPair("appLabel", appLabel); in dump()
3653 dest.writeString(appLabel); in writeToParcel()
3820 public CharSequence appLabel; field in PackageInstaller.SessionInfo
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DShortcutPicker.java172 public ShortcutPreference(Context context, Shortcut shortcut, CharSequence appLabel) { in ShortcutPreference() argument
176 setSummary(context.getString(R.string.tuner_app, appLabel)); in ShortcutPreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/logcat/
DLogAccessDialogActivity.java190 CharSequence appLabel = pm.getApplicationInfoAsUser(callingPackage, in getTitleString() local
194 String titleString = context.getString(R.string.log_access_confirmation_title, appLabel); in getTitleString()

12