Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/content/pm/
DShortcutManager.java271 public void disableShortcuts(@NonNull List<String> shortcutIds, String disabledMessage) { in disableShortcuts() argument
272 disableShortcuts(shortcutIds, (CharSequence) disabledMessage); in disableShortcuts()
286 public void disableShortcuts(@NonNull List<String> shortcutIds, CharSequence disabledMessage) { in disableShortcuts() argument
289 disabledMessage, /* disabledMessageResId =*/ 0, in disableShortcuts() local
DIShortcutService.aidl52 void disableShortcuts(String packageName, in List shortcutIds, CharSequence disabledMessage, in disableShortcuts() argument
DShortcutInfo.java1173 public Builder setDisabledMessage(@NonNull CharSequence disabledMessage) { in setDisabledMessage() argument
1177 Preconditions.checkStringNotEmpty(disabledMessage, in setDisabledMessage()
1928 public void setDisabledMessage(String disabledMessage) { in setDisabledMessage() argument
1929 mDisabledMessage = disabledMessage; in setDisabledMessage()
2332 CharSequence disabledMessage, int disabledMessageResId, String disabledMessageResName, in ShortcutInfo() argument
2348 mDisabledMessage = disabledMessage; in ShortcutInfo()
/frameworks/base/services/print/java/com/android/server/print/
DPrintManagerService.java142 CharSequence disabledMessage = null; in print() local
148 disabledMessage = dpmi.getPrintingDisabledReasonForUser(callingUserId); in print()
150 if (disabledMessage != null) { in print()
151 Toast.makeText(mContext, Looper.getMainLooper(), disabledMessage, in print()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java389 public void disableWithId(@NonNull String shortcutId, String disabledMessage, in disableWithId() argument
396 if (disabledMessage != null) { in disableWithId()
397 disabled.setDisabledMessage(disabledMessage); in disableWithId()
1660 String disabledMessage; in parseShortcut() local
1688 disabledMessage = ShortcutService.parseStringAttribute(parser, ATTR_DISABLED_MESSAGE); in parseShortcut()
1772 disabledMessage, disabledMessageResId, disabledMessageResName, in parseShortcut()
DShortcutService.java2012 CharSequence disabledMessage, int disabledMessageResId, @UserIdInt int userId) { in disableShortcuts() argument
2025 (disabledMessage == null) ? null : disabledMessage.toString(); in disableShortcuts()