Searched refs:disabledReason (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackage.java | 359 int disabledReason) { in disableDynamicWithId() argument 362 disabledReason); in disableDynamicWithId() 372 int disabledReason) { in disableWithId() argument 374 overrideImmutable, ignoreInvisible, disabledReason); in disableWithId() 389 boolean overrideImmutable, boolean ignoreInvisible, int disabledReason) { in deleteOrDisableWithId() argument 391 (disable == (disabledReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED)), in deleteOrDisableWithId() 392 "disable and disabledReason disagree: " + disable + " vs " + disabledReason); in deleteOrDisableWithId() local 410 oldShortcut.setDisabledReason(disabledReason); in deleteOrDisableWithId() 1517 int disabledReason; in parseShortcut() local 1545 disabledReason = ShortcutService.parseIntAttribute(parser, ATTR_DISABLED_REASON); in parseShortcut() [all …]
|
D | ShortcutParser.java | 340 final int disabledReason = in createShortcutFromManifest() local 370 disabledReason); in createShortcutFromManifest()
|
/frameworks/base/core/java/android/content/pm/ |
D | ShortcutInfo.java | 235 public static String getDisabledReasonDebugString(@DisabledReason int disabledReason) { in getDisabledReasonDebugString() argument 236 switch (disabledReason) { in getDisabledReasonDebugString() 252 return "[Disabled: unknown reason:" + disabledReason + "]"; in getDisabledReasonDebugString() 265 @DisabledReason int disabledReason) { in getDisabledReasonForRestoreIssue() argument 268 switch (disabledReason) { in getDisabledReasonForRestoreIssue() 289 public static boolean isDisabledForRestoreIssue(@DisabledReason int disabledReason) { in isDisabledForRestoreIssue() argument 290 return disabledReason >= DISABLED_REASON_RESTORE_ISSUE_START; in isDisabledForRestoreIssue() 2159 int flags, int iconResId, String iconResName, String bitmapPath, int disabledReason) { in ShortcutInfo() argument 2184 mDisabledReason = disabledReason; in ShortcutInfo()
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 978 public ShortcutListAsserter areAllWithDisabledReason(int disabledReason) { in areAllWithDisabledReason() argument 980 disabledReason, s.getDisabledReason())); in areAllWithDisabledReason() 981 if (disabledReason >= ShortcutInfo.DISABLED_REASON_VERSION_LOWER) { in areAllWithDisabledReason()
|