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 | 856 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDynamic())); in areAllDynamic() 861 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDynamic())); in areAllNotDynamic() 866 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isPinned())); in areAllPinned() 871 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isPinned())); in areAllNotPinned() 876 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isDeclaredInManifest())); in areAllManifest() 881 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isDeclaredInManifest())); in areAllNotManifest() 886 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isImmutable())); in areAllImmutable() 891 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isImmutable())); in areAllMutable() 896 forAllShortcuts(s -> assertTrue("id=" + s.getId(), s.isEnabled())); in areAllEnabled() 901 forAllShortcuts(s -> assertFalse("id=" + s.getId(), s.isEnabled())); in areAllDisabled() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 7415 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7421 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7430 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7436 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer() 7445 .forAllShortcuts(si -> assertTrue(si.isReturnedByServer())); in testReturnedByServer()
|