Home
last modified time | relevance | path

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

12

/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/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()
DLogAccessDialogActivity.java176 CharSequence appLabel = pm.getApplicationInfoAsUser(callingPackage, in getTitleString() local
181 com.android.internal.R.string.log_access_confirmation_title, appLabel); in getTitleString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java227 final CharSequence appLabel = info.serviceInfo.applicationInfo.loadLabel(pm); in addPackageTiles() local
231 addTile(spec, appLabel, state, false); in addPackageTiles()
248 appLabel); in addPackageTiles()
276 String spec, @Nullable CharSequence appLabel, State state, boolean isSystem) { in addTile() argument
282 state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile()
283 ? null : appLabel; in addTile()
290 String spec, Drawable drawable, CharSequence label, CharSequence appLabel) { in createStateAndAddTile() argument
296 addTile(spec, appLabel, state, false); in createStateAndAddTile()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceActivity.java247 final CharSequence appLabel; in initUI() local
250 appLabel = getApplicationLabel(this, packageName, userId); in initUI()
296 initUiForSingleDevice(appLabel); in initUI()
298 initUiForMultipleDevices(appLabel); in initUI()
469 private void initUiForSingleDevice(CharSequence appLabel) { in initUiForSingleDevice() argument
476 deviceFilterPairs, deviceProfile, appLabel)); in initUiForSingleDevice()
485 String deviceProfile, CharSequence appLabel) { in updateSingleDeviceUi() argument
506 title = getHtmlFromResources(this, R.string.confirmation_title, appLabel, deviceName); in updateSingleDeviceUi()
511 title = getHtmlFromResources(this, R.string.confirmation_title, appLabel, profileName); in updateSingleDeviceUi()
512 summary = getHtmlFromResources(this, R.string.summary_watch, deviceName, appLabel); in updateSingleDeviceUi()
[all …]
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/
DUninstallAlertFragment.java48 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateGuidance() local
56 if (!activityLabel.equals(appLabel)) { in onCreateGuidance()
59 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateGuidance()
93 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/applications/
DRecentAppOpsAccess.java237 CharSequence appLabel = mPackageManager.getApplicationLabel(appInfo); in getAccessFromOps() local
238 CharSequence badgedAppLabel = mPackageManager.getUserBadgedLabel(appLabel, userHandle); in getAccessFromOps()
239 if (appLabel.toString().contentEquals(badgedAppLabel)) { in getAccessFromOps()
244 access = new Access(packageName, userHandle, icon, appLabel, badgedAppLabel, in getAccessFromOps()
/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/PackageInstaller/src/com/android/packageinstaller/handheld/
DUninstallAlertDialogFragment.java112 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateDialog() local
120 if (!activityLabel.equals(appLabel)) { in onCreateDialog()
123 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateDialog()
156 dialogBuilder.setTitle(appLabel); in onCreateDialog()
/frameworks/base/core/java/android/content/pm/
DPackageInstaller.java561 public void updateSessionAppLabel(int sessionId, @Nullable CharSequence appLabel) { in updateSessionAppLabel() argument
563 final String val = (appLabel != null) ? appLabel.toString() : null; in updateSessionAppLabel()
1754 public String appLabel; field in PackageInstaller.SessionParams
1814 appLabel = source.readString(); in SessionParams()
1848 ret.appLabel = appLabel; in copy()
1939 public void setAppLabel(@Nullable CharSequence appLabel) { in setAppLabel() argument
1940 this.appLabel = (appLabel != null) ? appLabel.toString() : null; in setAppLabel()
2362 pw.printPair("appLabel", appLabel); in dump()
2398 dest.writeString(appLabel); in writeToParcel()
2559 public CharSequence appLabel; field in PackageInstaller.SessionInfo
[all …]
DIPackageInstaller.aidl35 void updateSessionAppLabel(int sessionId, String appLabel); in updateSessionAppLabel() argument
/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/packages/SystemUI/src/com/android/systemui/qs/
DFgsManagerController.kt463 it.appLabel = ra.appLabel in updateAppItemsLocked()
550 appLabelView.text = runningApp.appLabel in onBindViewHolder()
808 appLabel: CharSequence,
811 this.appLabel = appLabel
816 var appLabel: CharSequence = "" variable in com.android.systemui.qs.RunningApp
830 pw.println("appLabel=$appLabel") in dump()
/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.java211 final String appLabel = Objects.toString(ai.loadLabel(pm), "").trim(); in getControllerName() local
212 if (appLabel.length() > 0) { in getControllerName()
213 return appLabel; in getControllerName()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPoint.java1643 CharSequence appLabel = ""; in getAppLabel() local
1650 return appLabel; in getAppLabel()
1653 appLabel = appInfo.loadLabel(packageManager); in getAppLabel()
1655 return appLabel; in getAppLabel()
1662 CharSequence appLabel = in getSummary() local
1664 return context.getString(R.string.connected_via_app, appLabel); in getSummary()
/frameworks/base/core/tests/PackageInstallerSessions/src/android/content/pm/
DPackageSessionTests.kt128 assertThat(installer.getSessionInfo(it)?.appLabel) in <lambda>()
/frameworks/base/core/java/android/permission/
DPermissionUsageHelper.java643 CharSequence appLabel = appInfo.loadLabel(userPkgManager); in getUniqueUsagesWithLabels() local
645 if (!proxyLabelList.contains(appLabel)) { in getUniqueUsagesWithLabels()
646 proxyLabelList.add(appLabel); in getUniqueUsagesWithLabels()
/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/net/wifi/libs/WifiTrackerLib/tests/src/com/android/wifitrackerlib/
DUtilsTest.java602 String appLabel = "app label"; in testDisconnectedDescription_noAttributionAnnotationPackage_returnsEmpty() local
603 when(mApplicationInfo.loadLabel(any())).thenReturn(appLabel); in testDisconnectedDescription_noAttributionAnnotationPackage_returnsEmpty()
604 when(mMockContext.getString(R.string.wifitrackerlib_saved_network, appLabel)) in testDisconnectedDescription_noAttributionAnnotationPackage_returnsEmpty()
/frameworks/opt/net/wifi/libs/WifiTrackerLib/src/com/android/wifitrackerlib/
DUtils.java344 final CharSequence appLabel = getAppLabel(context, in getDisconnectedDescription() local
346 if (!TextUtils.isEmpty(appLabel)) { in getDisconnectedDescription()
347 sj.add(context.getString(R.string.wifitrackerlib_saved_network, appLabel)); in getDisconnectedDescription()

12