Home
last modified time | relevance | path

Searched refs:disabledReason (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java378 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 …]
DShortcutParser.java422 final int disabledReason = in createShortcutFromManifest() local
452 disabledReason, in createShortcutFromManifest()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java257 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/
DShortcutManagerTestUtils.java984 public ShortcutListAsserter areAllWithDisabledReason(int disabledReason) { in areAllWithDisabledReason() argument
986 disabledReason, s.getDisabledReason())); in areAllWithDisabledReason()
987 if (disabledReason >= ShortcutInfo.DISABLED_REASON_VERSION_LOWER) { in areAllWithDisabledReason()