Searched refs:disabledReason (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 378 int disabledReason) { in disableDynamicWithId() argument 381 disabledReason); in disableDynamicWithId() 391 int disabledReason) { in disableWithId() argument 393 overrideImmutable, ignoreInvisible, disabledReason); in disableWithId() 408 boolean overrideImmutable, boolean ignoreInvisible, int disabledReason) { in deleteOrDisableWithId() argument 410 (disable == (disabledReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED)), in deleteOrDisableWithId() 411 "disable and disabledReason disagree: " + disable + " vs " + disabledReason); in deleteOrDisableWithId() local 429 oldShortcut.setDisabledReason(disabledReason); in deleteOrDisableWithId() 1663 int disabledReason; in parseShortcut() local 1693 disabledReason = ShortcutService.parseIntAttribute(parser, ATTR_DISABLED_REASON); in parseShortcut() [all …]
|
D | ShortcutParser.java | 422 final int disabledReason = in createShortcutFromManifest() local 452 disabledReason, in createShortcutFromManifest()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 257 public static String getDisabledReasonDebugString(@DisabledReason int disabledReason) { in getDisabledReasonDebugString() argument 258 switch (disabledReason) { in getDisabledReasonDebugString() 274 return "[Disabled: unknown reason:" + disabledReason + "]"; in getDisabledReasonDebugString() 287 @DisabledReason int disabledReason) { in getDisabledReasonForRestoreIssue() argument 290 switch (disabledReason) { in getDisabledReasonForRestoreIssue() 311 public static boolean isDisabledForRestoreIssue(@DisabledReason int disabledReason) { in isDisabledForRestoreIssue() argument 312 return disabledReason >= DISABLED_REASON_RESTORE_ISSUE_START; in isDisabledForRestoreIssue() 2335 int flags, int iconResId, String iconResName, String bitmapPath, int disabledReason, in ShortcutInfo() argument 2361 mDisabledReason = disabledReason; in ShortcutInfo()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 983 public ShortcutListAsserter areAllWithDisabledReason(int disabledReason) { in areAllWithDisabledReason() argument 985 disabledReason, s.getDisabledReason())); in areAllWithDisabledReason() 986 if (disabledReason >= ShortcutInfo.DISABLED_REASON_VERSION_LOWER) { in areAllWithDisabledReason()
|