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.java1379 final ShortcutInfo si1 = makeShortcut("shortcut1");
1381 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1386 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1391 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1398 assertFalse(mManager.setDynamicShortcuts(list(si1)));
1404 assertFalse(mManager.setDynamicShortcuts(list(si1)));
1410 assertTrue(mManager.setDynamicShortcuts(list(si1))); // fail
1415 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1420 assertTrue(mManager.setDynamicShortcuts(list(si1)));
1425 assertFalse(mManager.setDynamicShortcuts(list(si1)));
[all …]
DShortcutManagerTest1.java272 final ShortcutInfo si1 = makeShortcut( in testSetDynamicShortcuts() local
296 assertTrue(mManager.setDynamicShortcuts(list(si1, si2, si3))); in testSetDynamicShortcuts()
304 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testSetDynamicShortcuts()
336 final ShortcutInfo si1 = makeShortcut("shortcut1"); in testAddDynamicShortcuts() local
342 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testAddDynamicShortcuts()
384 final ShortcutInfo si1 = makeShortcut("shortcut1"); in testUnlimitedCalls() local
388 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
391 assertTrue(mManager.addDynamicShortcuts(list(si1))); in testUnlimitedCalls()
394 assertTrue(mManager.updateShortcuts(list(si1))); in testUnlimitedCalls()
402 assertTrue(mManager.setDynamicShortcuts(list(si1))); in testUnlimitedCalls()
[all …]