Home
last modified time | relevance | path

Searched refs:disabledMessage (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java494 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
495 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
507 public void disableShortcuts(@NonNull List<String> shortcutIds, CharSequence disabledMessage) { in disableShortcuts() argument
510 disabledMessage, /* disabledMessageResId =*/ 0, in disableShortcuts() local
DIShortcutService.aidl51 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, in disableShortcuts() argument
DShortcutInfo.java1095 public Builder setDisabledMessage(@NonNull CharSequence disabledMessage) { in setDisabledMessage() argument
1099 Preconditions.checkStringNotEmpty(disabledMessage, in setDisabledMessage()
1770 public void setDisabledMessage(String disabledMessage) { in setDisabledMessage() argument
1771 mDisabledMessage = disabledMessage; in setDisabledMessage()
2156 CharSequence disabledMessage, int disabledMessageResId, String disabledMessageResName, in ShortcutInfo() argument
2171 mDisabledMessage = disabledMessage; in ShortcutInfo()
/frameworks/support/compat/src/main/java/androidx/core/content/pm/
DShortcutInfoCompat.java226 public Builder setDisabledMessage(@NonNull CharSequence disabledMessage) { in setDisabledMessage() argument
227 mInfo.mDisabledMessage = disabledMessage; in setDisabledMessage()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java142 CharSequence disabledMessage = null; in print() local
148 disabledMessage = dpmi.getPrintingDisabledReasonForUser(callingUserId); in print()
152 if (disabledMessage != null) { in print()
153 Toast.makeText(mContext, Looper.getMainLooper(), disabledMessage, in print()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java370 public void disableWithId(@NonNull String shortcutId, String disabledMessage, in disableWithId() argument
377 if (disabledMessage != null) { in disableWithId()
378 disabled.setDisabledMessage(disabledMessage); in disableWithId()
1514 String disabledMessage; in parseShortcut() local
1540 disabledMessage = ShortcutService.parseStringAttribute(parser, ATTR_DISABLED_MESSAGE); in parseShortcut()
1618 disabledMessage, disabledMessageResId, disabledMessageResName, in parseShortcut()
DShortcutService.java1981 CharSequence disabledMessage, int disabledMessageResId, @UserIdInt int userId) { in disableShortcuts() argument
1994 (disabledMessage == null) ? null : disabledMessage.toString(); in disableShortcuts()