Searched refs:forAllShortcuts (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 860 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDynamic())); in areAllDynamic() 865 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDynamic())); in areAllNotDynamic() 870 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned())); in areAllPinned() 875 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned())); in areAllNotPinned() 880 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDeclaredInManifest())); in areAllManifest() 885 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDeclaredInManifest())); in areAllNotManifest() 890 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isImmutable())); in areAllImmutable() 895 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isImmutable())); in areAllMutable() 900 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isEnabled())); in areAllEnabled() 905 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isEnabled())); in areAllDisabled() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 7430 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7436 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7445 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7451 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7460 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
|