Home
last modified time | relevance | path

Searched refs:forAllShortcuts (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java867 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDynamic())); in areAllDynamic()
872 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDynamic())); in areAllNotDynamic()
877 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned())); in areAllPinned()
882 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned())); in areAllNotPinned()
887 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDeclaredInManifest())); in areAllManifest()
892 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDeclaredInManifest())); in areAllNotManifest()
897 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isImmutable())); in areAllImmutable()
902 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isImmutable())); in areAllMutable()
907 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isEnabled())); in areAllEnabled()
913 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isEnabled())); in areAllDisabled()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1763 .forAllShortcuts(si -> { in testDisableAndEnableShortcuts()
5205 .forAllShortcuts(si -> { in checkBackupAndRestore_publisherNotRestored()
5914 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5938 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5948 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5977 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
6018 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
7985 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
7991 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
8000 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
[all …]