Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/applications/
DAppUtils.java54 final CharSequence appLabel = getApplicationLabel(context.getPackageManager(), packageName); in getAppContentDescription() local
56 ? context.getString(R.string.accessibility_work_profile_app_description, appLabel) in getAppContentDescription()
57 : appLabel.toString(); in getAppContentDescription()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java161 final CharSequence appLabel = info.serviceInfo.applicationInfo.loadLabel(pm); in addPackageTiles() local
165 addTile(spec, appLabel, state, false); in addPackageTiles()
182 appLabel); in addPackageTiles()
208 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { in addTile() argument
218 info.state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile()
219 ? null : appLabel; in addTile()
226 String spec, Drawable drawable, CharSequence label, CharSequence appLabel) { in createStateAndAddTile() argument
232 addTile(spec, appLabel, state, false); in createStateAndAddTile()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java45 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateGuidance() local
53 if (!activityLabel.equals(appLabel)) { in onCreateGuidance()
56 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateGuidance()
82 appLabel.toString(), in onCreateGuidance()
/frameworks/base/core/tests/coretests/src/com/android/internal/app/
DResolverDataProvider.java97 final String appLabel = "app_label"; in createPackageManagerMockedInfo() local
118 if (id == 1) return appLabel; in createPackageManagerMockedInfo()
130 return appLabel; in createPackageManagerMockedInfo()
159 mockedInfo.setAppLabel = appLabel; in createPackageManagerMockedInfo()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationAccesses.java190 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps() local
191 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle); in getAccessFromOps()
192 if (appLabel.toString().contentEquals(badgedAppLabel)) { in getAccessFromOps()
197 access = new Access(packageName, userHandle, icon, appLabel, badgedAppLabel, in getAccessFromOps()
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/core/java/android/content/pm/
DPackageInstaller.java494 public void updateSessionAppLabel(int sessionId, @Nullable CharSequence appLabel) { in updateSessionAppLabel() argument
496 final String val = (appLabel != null) ? appLabel.toString() : null; in updateSessionAppLabel()
1480 public String appLabel; field in PackageInstaller.SessionParams
1535 appLabel = source.readString(); in SessionParams()
1566 ret.appLabel = appLabel; in copy()
1655 public void setAppLabel(@Nullable CharSequence appLabel) { in setAppLabel() argument
1656 this.appLabel = (appLabel != null) ? appLabel.toString() : null; in setAppLabel()
1992 pw.printPair("appLabel", appLabel); in dump()
2025 dest.writeString(appLabel); in writeToParcel()
2141 public CharSequence appLabel; field in PackageInstaller.SessionInfo
[all …]
DIPackageInstaller.aidl34 void updateSessionAppLabel(int sessionId, String appLabel); in updateSessionAppLabel() argument
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java111 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateDialog() local
119 if (!activityLabel.equals(appLabel)) { in onCreateDialog()
122 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateDialog()
147 dialogBuilder.setTitle(appLabel); in onCreateDialog()
/frameworks/base/core/java/com/android/internal/app/
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/controls/ui/
DStatusBehavior.kt64 val appLabel = pm.getApplicationLabel(ai) in <lambda>() constant
72 R.string.controls_error_removed_message, cvh.title.getText(), appLabel)) in <lambda>()
/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/PackageInstaller/src/com/android/packageinstaller/
DUninstallFinish.java69 String appLabel = intent.getStringExtra(EXTRA_APP_LABEL); in onReceive() local
89 Toast.makeText(context, context.getString(R.string.uninstall_done_app, appLabel), in onReceive()
193 context.getString(R.string.uninstall_failed_app, appLabel)); in onReceive()
/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/SettingsLib/src/com/android/settingslib/volume/
DMediaSessions.java205 final String appLabel = Objects.toString(ai.loadLabel(pm), "").trim(); in getControllerName() local
206 if (appLabel.length() > 0) { in getControllerName()
207 return appLabel; in getControllerName()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt86 assertThat(installer.getSessionInfo(it)?.appLabel) in <lambda>()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DStandardWifiEntry.java194 final CharSequence appLabel = getAppLabel(mContext, mWifiConfig.creatorName); in getSummary() local
195 if (!TextUtils.isEmpty(appLabel)) { in getSummary()
196 sj.add(mContext.getString(R.string.saved_network, appLabel)); in getSummary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1630 CharSequence appLabel = ""; in getAppLabel() local
1637 return appLabel; in getAppLabel()
1640 appLabel = appInfo.loadLabel(packageManager); in getAppLabel()
1642 return appLabel; in getAppLabel()
1649 CharSequence appLabel = in getSummary() local
1651 return context.getString(R.string.connected_via_app, appLabel); in getSummary()
/frameworks/base/services/core/java/com/android/server/pm/
DPackageInstallerService.java516 params.appLabel = TextUtils.trimToSize(params.appLabel, in createSessionInternal()
759 public void updateSessionAppLabel(int sessionId, String appLabel) { in updateSessionAppLabel() argument
765 session.params.appLabel = appLabel; in updateSessionAppLabel()
DPackageInstallerSession.java673 info.appLabel = params.appLabel; in generateInfoInternal()
3388 writeStringAttribute(out, ATTR_APP_LABEL, params.appLabel); in write()
3514 params.appLabel = readStringAttribute(in, ATTR_APP_LABEL); in readFromXml()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java670 CharSequence appLabel = resolveInfo.loadLabel(mContext.getPackageManager()); in startActivity()
672 R.string.activitychooserview_choose_application_error, appLabel); in startActivity()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DSMSDispatcher.java1461 CharSequence appLabel = getAppLabel(trackers[0].getAppPackageName(), trackers[0].mUserId); in handleReachSentLimit() local
1463 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit()
1501 CharSequence appLabel = getAppLabel(trackers[0].getAppPackageName(), trackers[0].mUserId); in handleConfirmShortCode() local
1507 appLabel, in handleConfirmShortCode()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/
DAccessPointTest.java506 final CharSequence appLabel = "Test App";
521 when(resources.getString(R.string.connected_via_app, appLabel))
522 .thenReturn(connectedViaAppResourceString + appLabel.toString());
525 when(applicationInfo.loadLabel(packageManager)).thenReturn(appLabel);
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...