Searched refs:si2 (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | ShortcutManagerTest1.java | 305 final ShortcutInfo si2 = makeShortcut( in testSetDynamicShortcuts() local 320 assertTrue(mManager.setDynamicShortcuts(list(si1, si2, si3))); in testSetDynamicShortcuts() 345 assertTrue(mManager.setDynamicShortcuts(list(si2, si3))); in testSetDynamicShortcuts() 361 final ShortcutInfo si2 = makeShortcut("shortcut2"); in testAddDynamicShortcuts() local 372 assertTrue(mManager.addDynamicShortcuts(list(si2, si3))); in testAddDynamicShortcuts() 639 final ShortcutInfo si2 = new ShortcutInfo.Builder(mClientContext, "si2") in testPublishWithNoActivity() 660 assertTrue(mManager.setDynamicShortcuts(list(si2, si1))); in testPublishWithNoActivity() 703 assertTrue(mManager.addDynamicShortcuts(list(si2, si1))); in testPublishWithNoActivity() 755 final ShortcutInfo si2 = makeShortcut("shortcut2"); in testDeleteDynamicShortcuts() local 759 assertTrue(mManager.setDynamicShortcuts(list(si1, si2, si3, si4))); in testDeleteDynamicShortcuts() [all …]
|
D | ShortcutManagerTest2.java | 1742 final ShortcutInfo si2 = makeShortcut("shortcut1"); 1746 assertTrue(mManager.setDynamicShortcuts(list(si2))); 1750 assertTrue(mManager.setDynamicShortcuts(list(si2))); 1786 assertTrue(mManager.setDynamicShortcuts(list(si2))); 1787 assertTrue(mManager.setDynamicShortcuts(list(si2))); 1788 assertTrue(mManager.setDynamicShortcuts(list(si2))); 1789 assertFalse(mManager.setDynamicShortcuts(list(si2)));
|
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/ |
D | ShortcutManagerTestUtils.java | 762 ShortcutInfo si2 = p.readParcelable(ShortcutManagerTestUtils.class.getClassLoader()); in parceled() local 764 return si2; in parceled()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | MockingOomAdjusterTests.java | 2613 final ServiceInfo si2 = mock(ServiceInfo.class); in testUpdateOomAdj_DoAll_Service_KeepWarmingList() local 2614 si2.applicationInfo = mock(ApplicationInfo.class); in testUpdateOomAdj_DoAll_Service_KeepWarmingList() 2615 si2.applicationInfo.uid = MOCKAPP2_UID_OTHER; in testUpdateOomAdj_DoAll_Service_KeepWarmingList() 2617 si2, false, null)); in testUpdateOomAdj_DoAll_Service_KeepWarmingList()
|