Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest2.java1567 final ShortcutInfo si1 = makeShortcut("shortcut1");
1569 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1574 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1579 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1586 assertFalse(mManager.setDynamicShortcuts(list(si1)));
1592 assertFalse(mManager.setDynamicShortcuts(list(si1)));
1598 assertTrue(mManager.setDynamicShortcuts(list(si1))); // fail
1603 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1608 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1613 assertFalse(mManager.setDynamicShortcuts(list(si1)));
[all …]
DShortcutManagerTest1.java291 final ShortcutInfo si1 = makeShortcut( in testSetDynamicShortcuts() local
315 assertTrue(mManager.setDynamicShortcuts(list(si1, si2, si3))); in testSetDynamicShortcuts()
323 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testSetDynamicShortcuts()
355 final ShortcutInfo si1 = makeShortcut("shortcut1"); in testAddDynamicShortcuts() local
361 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testAddDynamicShortcuts()
544 final ShortcutInfo si1 = makeShortcut("shortcut1"); in testUnlimitedCalls() local
548 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
551 assertTrue(mManager.addDynamicShortcuts(list(si1))); in testUnlimitedCalls()
554 assertTrue(mManager.updateShortcuts(list(si1))); in testUnlimitedCalls()
562 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
[all …]