/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/ |
D | TileQueryHelper.java | 152 final CharSequence appLabel = info.serviceInfo.applicationInfo.loadLabel(pm); in addPackageTiles() local 156 addTile(spec, appLabel, state, false); in addPackageTiles() 173 appLabel); in addPackageTiles() 197 private void addTile(String spec, CharSequence appLabel, State state, boolean isSystem) { in addTile() argument 207 info.state.secondaryLabel = (isSystem || TextUtils.equals(state.label, appLabel)) in addTile() 208 ? null : appLabel; in addTile() 215 String spec, Drawable drawable, CharSequence label, CharSequence appLabel) { in createStateAndAddTile() argument 221 addTile(spec, appLabel, state, false); in createStateAndAddTile()
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/television/ |
D | UninstallAlertFragment.java | 45 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/ |
D | ResolverDataProvider.java | 91 final String appLabel = "app_label"; in createPackageManagerMockedInfo() local 112 if (id == 1) return appLabel; in createPackageManagerMockedInfo() 124 return appLabel; in createPackageManagerMockedInfo() 153 mockedInfo.setAppLabel = appLabel; in createPackageManagerMockedInfo()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInstaller.java | 414 public void updateSessionAppLabel(int sessionId, @Nullable CharSequence appLabel) { in updateSessionAppLabel() argument 416 final String val = (appLabel != null) ? appLabel.toString() : null; in updateSessionAppLabel() 1285 public String appLabel; field in PackageInstaller.SessionParams 1332 appLabel = source.readString(); in SessionParams() 1355 ret.appLabel = appLabel; in copy() 1438 public void setAppLabel(@Nullable CharSequence appLabel) { in setAppLabel() argument 1439 this.appLabel = (appLabel != null) ? appLabel.toString() : null; in setAppLabel() 1703 pw.printPair("appLabel", appLabel); in dump() 1732 dest.writeString(appLabel); in writeToParcel() 1840 public CharSequence appLabel; field in PackageInstaller.SessionInfo [all …]
|
D | IPackageInstaller.aidl | 34 void updateSessionAppLabel(int sessionId, String appLabel); in updateSessionAppLabel() argument
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/ |
D | RecentLocationAccesses.java | 190 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()
|
D | RecentLocationApps.java | 214 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/ |
D | UninstallAlertDialogFragment.java | 125 final CharSequence appLabel = dialogInfo.appInfo.loadSafeLabel(pm); in onCreateDialog() local 133 if (!activityLabel.equals(appLabel)) { in onCreateDialog() 136 messageBuilder.append(" ").append(appLabel).append(".\n\n"); in onCreateDialog() 161 dialogBuilder.setTitle(appLabel); in onCreateDialog()
|
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/ |
D | FakeContextBuilder.java | 86 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/ |
D | UninstallFinish.java | 69 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/ |
D | ShortcutPicker.java | 172 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/ |
D | MediaSessions.java | 205 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/packages/SettingsLib/src/com/android/settingslib/wifi/ |
D | AccessPoint.java | 1592 CharSequence appLabel = ""; in getAppLabel() local 1599 return appLabel; in getAppLabel() 1602 appLabel = appInfo.loadLabel(packageManager); in getAppLabel() 1604 return appLabel; in getAppLabel() 1611 CharSequence appLabel = in getSummary() local 1613 return context.getString(R.string.connected_via_app, appLabel); in getSummary()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserView.java | 670 CharSequence appLabel = resolveInfo.loadLabel(mContext.getPackageManager()); in startActivity() 672 R.string.activitychooserview_choose_application_error, appLabel); in startActivity()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageInstallerService.java | 671 public void updateSessionAppLabel(int sessionId, String appLabel) { in updateSessionAppLabel() argument 677 session.params.appLabel = appLabel; in updateSessionAppLabel()
|
D | PackageInstallerSession.java | 479 info.appLabel = params.appLabel; in generateInfo() 2422 writeStringAttribute(out, ATTR_APP_LABEL, params.appLabel); in write() 2519 params.appLabel = readStringAttribute(in, ATTR_APP_LABEL); in readFromXml()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | SMSDispatcher.java | 1452 CharSequence appLabel = getAppLabel(trackers[0].getAppPackageName(), trackers[0].mUserId); in handleReachSentLimit() local 1454 Spanned messageText = Html.fromHtml(r.getString(R.string.sms_control_message, appLabel)); in handleReachSentLimit() 1492 CharSequence appLabel = getAppLabel(trackers[0].getAppPackageName(), trackers[0].mUserId); in handleConfirmShortCode() local 1498 appLabel, in handleConfirmShortCode()
|
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/wifi/ |
D | AccessPointTest.java | 547 final CharSequence appLabel = "Test App"; 562 when(resources.getString(R.string.connected_via_app, appLabel)) 563 .thenReturn(connectedViaAppResourceString + appLabel.toString()); 566 when(applicationInfo.loadLabel(packageManager)).thenReturn(appLabel);
|
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/ |
D | DevicePolicyManagerService.java | 11423 CharSequence appLabel = pm.getApplicationLabel(appInfo); in getPrintingDisabledReasonForUser() local 11424 if (appLabel == null) { in getPrintingDisabledReasonForUser() 11429 .getResources().getString(R.string.printing_disabled_by, appLabel); in getPrintingDisabledReasonForUser()
|