Searched refs:disabledReason (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 297 public static String getDisabledReasonDebugString(@DisabledReason int disabledReason) { in getDisabledReasonDebugString() argument 298 switch (disabledReason) { in getDisabledReasonDebugString() 314 return "[Disabled: unknown reason:" + disabledReason + "]"; in getDisabledReasonDebugString() 327 @DisabledReason int disabledReason) { in getDisabledReasonForRestoreIssue() argument 330 switch (disabledReason) { in getDisabledReasonForRestoreIssue() 351 public static boolean isDisabledForRestoreIssue(@DisabledReason int disabledReason) { in isDisabledForRestoreIssue() argument 352 return disabledReason >= DISABLED_REASON_RESTORE_ISSUE_START; in isDisabledForRestoreIssue() 2487 int disabledReason, Person[] persons, LocusId locusId, in ShortcutInfo() argument 2514 mDisabledReason = disabledReason; in ShortcutInfo()
|
D | AppSearchShortcutInfo.java | 420 final int disabledReason = Integer.parseInt(getPropertyString(KEY_DISABLED_REASON)); in toShortcutInfo() local 426 disabledReason, persons, locusId, null); in toShortcutInfo() 746 public Builder setDisabledReason(@ShortcutInfo.DisabledReason final int disabledReason) { in setDisabledReason() argument 747 setPropertyString(KEY_DISABLED_REASON, String.valueOf(disabledReason)); in setDisabledReason()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 545 int disabledReason) { in disableDynamicWithId() argument 547 ignoreInvisible, disabledReason); in disableDynamicWithId() 575 int disabledReason) { in disableWithId() argument 577 overrideImmutable, ignoreInvisible, disabledReason); in disableWithId() 596 boolean overrideImmutable, boolean ignoreInvisible, int disabledReason) { in deleteOrDisableWithId() argument 598 (disable == (disabledReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED)), in deleteOrDisableWithId() 599 "disable and disabledReason disagree: " + disable + " vs " + disabledReason); in deleteOrDisableWithId() local 618 si.setDisabledReason(disabledReason); in deleteOrDisableWithId() 2000 int disabledReason; in parseShortcut() local 2034 disabledReason = ShortcutService.parseIntAttribute(parser, ATTR_DISABLED_REASON); in parseShortcut() [all …]
|
D | ShortcutParser.java | 428 final int disabledReason = in createShortcutFromManifest() local 459 disabledReason, in createShortcutFromManifest()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 1047 public ShortcutListAsserter areAllWithDisabledReason(int disabledReason) { in areAllWithDisabledReason() argument 1049 disabledReason, s.getDisabledReason())); in areAllWithDisabledReason() 1050 if (disabledReason >= ShortcutInfo.DISABLED_REASON_VERSION_LOWER) { in areAllWithDisabledReason()
|