Searched refs:disabledReason (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 311 public static String getDisabledReasonDebugString(@DisabledReason int disabledReason) { in getDisabledReasonDebugString() argument 312 switch (disabledReason) { in getDisabledReasonDebugString() 328 return "[Disabled: unknown reason:" + disabledReason + "]"; in getDisabledReasonDebugString() 341 @DisabledReason int disabledReason) { in getDisabledReasonForRestoreIssue() argument 344 switch (disabledReason) { in getDisabledReasonForRestoreIssue() 365 public static boolean isDisabledForRestoreIssue(@DisabledReason int disabledReason) { in isDisabledForRestoreIssue() argument 366 return disabledReason >= DISABLED_REASON_RESTORE_ISSUE_START; in isDisabledForRestoreIssue() 2716 int disabledReason, Person[] persons, LocusId locusId, in ShortcutInfo() argument 2744 mDisabledReason = disabledReason; in ShortcutInfo()
|
D | AppSearchShortcutInfo.java | 417 final int disabledReason = !TextUtils.isEmpty(disabledReasonString) in toShortcutInfo() local 427 iconResName, null, iconUri, disabledReason, persons, locusId, in toShortcutInfo() 644 public Builder setDisabledReason(@ShortcutInfo.DisabledReason final int disabledReason) { in setDisabledReason() argument 645 setPropertyString(KEY_DISABLED_REASON, String.valueOf(disabledReason)); in setDisabledReason()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 599 int disabledReason, boolean ignorePersistedShortcuts) { in disableDynamicWithId() argument 601 ignoreInvisible, disabledReason, ignorePersistedShortcuts); in disableDynamicWithId() 629 int disabledReason) { in disableWithId() argument 631 overrideImmutable, ignoreInvisible, disabledReason, in disableWithId() 651 boolean overrideImmutable, boolean ignoreInvisible, int disabledReason, in deleteOrDisableWithId() argument 654 (disable == (disabledReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED)), in deleteOrDisableWithId() 655 "disable and disabledReason disagree: " + disable + " vs " + disabledReason); in deleteOrDisableWithId() local 676 si.setDisabledReason(disabledReason); in deleteOrDisableWithId() 2106 int disabledReason; in parseShortcut() local 2141 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()
|