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.java862 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDynamic())); in areAllDynamic()
867 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDynamic())); in areAllNotDynamic()
872 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned())); in areAllPinned()
877 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned())); in areAllNotPinned()
882 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDeclaredInManifest())); in areAllManifest()
887 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDeclaredInManifest())); in areAllNotManifest()
892 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isImmutable())); in areAllImmutable()
897 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isImmutable())); in areAllMutable()
902 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isEnabled())); in areAllEnabled()
908 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isEnabled())); in areAllDisabled()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java1752 .forAllShortcuts(si -> { in testDisableAndEnableShortcuts()
5194 .forAllShortcuts(si -> { in checkBackupAndRestore_publisherNotRestored()
5903 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5927 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5937 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
5966 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
6007 .forAllShortcuts(si -> { in testBackupAndRestore_disabledShortcutsAreIgnored()
7954 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
7960 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
7969 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
[all …]