Home
last modified time | relevance | path

Searched refs:DISABLED_REASON_NOT_DISABLED (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java194 if (restoreBlockReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in onRestored()
366 ShortcutInfo.DISABLED_REASON_NOT_DISABLED); in deleteDynamicWithId()
410 (disable == (disabledReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED)), in deleteOrDisableWithId()
428 if (oldShortcut.getDisabledReason() == ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in deleteOrDisableWithId()
451 shortcut.setDisabledReason(ShortcutInfo.DISABLED_REASON_NOT_DISABLED); in enableWithId()
900 si.setDisabledReason(ShortcutInfo.DISABLED_REASON_NOT_DISABLED); in rescanPackageIfNeeded()
1755 if ((disabledReason == ShortcutInfo.DISABLED_REASON_NOT_DISABLED) in parseShortcut()
1912 != (si.getDisabledReason() == ShortcutInfo.DISABLED_REASON_NOT_DISABLED)) { in verifyStates()
DShortcutPackageInfo.java160 return ShortcutInfo.DISABLED_REASON_NOT_DISABLED; in canRestoreTo()
DShortcutLauncher.java114 if (restoreBlockReason != ShortcutInfo.DISABLED_REASON_NOT_DISABLED) { in onRestored()
DShortcutParser.java423 enabled ? ShortcutInfo.DISABLED_REASON_NOT_DISABLED in createShortcutFromManifest()
/frameworks/base/core/java/android/content/pm/
DShortcutInfo.java191 public static final int DISABLED_REASON_NOT_DISABLED = 0; field in ShortcutInfo
241 DISABLED_REASON_NOT_DISABLED,
259 case DISABLED_REASON_NOT_DISABLED: in getDisabledReasonDebugString()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java19 import static android.content.pm.ShortcutInfo.DISABLED_REASON_NOT_DISABLED;
4024 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, false, 10, true, "sig1"); in testCanRestoreTo()
4025 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, false, 10, true, "x", "sig1"); in testCanRestoreTo()
4026 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, false, 10, true, "sig1", "y"); in testCanRestoreTo()
4027 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, false, 10, true, "x", "sig1", "y"); in testCanRestoreTo()
4028 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, false, 11, true, "sig1"); in testCanRestoreTo()
4037 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, true, 9, true, "sig1"); in testCanRestoreTo()
4038 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi1, true, 9, true, "sig1"); in testCanRestoreTo()
4040 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi2, false, 10, true, "sig1", "sig2"); in testCanRestoreTo()
4041 checkCanRestoreTo(DISABLED_REASON_NOT_DISABLED, spi2, false, 10, true, "sig2", "sig1"); in testCanRestoreTo()
[all …]
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java908 areAllWithDisabledReason(ShortcutInfo.DISABLED_REASON_NOT_DISABLED); in areAllEnabled()
915 ShortcutInfo.DISABLED_REASON_NOT_DISABLED, s.getDisabledReason())); in areAllDisabled()
/frameworks/base/api/
Dcurrent.txt12025 field public static final int DISABLED_REASON_NOT_DISABLED = 0; // 0x0