Home
last modified time | relevance | path

Searched refs:item2 (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/servertransaction/
DObjectPoolTests.java74 ActivityConfigurationChangeItem item2 = ActivityConfigurationChangeItem.obtain(config()); in testRecycleActivityConfigurationChangeItem() local
75 assertSame(item, item2); in testRecycleActivityConfigurationChangeItem()
76 assertFalse(item2.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem()
89 ActivityResultItem item2 = ActivityResultItem.obtain(resultInfoList()); in testRecycleActivityResultItem() local
90 assertSame(item, item2); in testRecycleActivityResultItem()
91 assertFalse(item2.equals(emptyItem)); in testRecycleActivityResultItem()
104 ConfigurationChangeItem item2 = ConfigurationChangeItem.obtain(config()); in testRecycleConfigurationChangeItem() local
105 assertSame(item, item2); in testRecycleConfigurationChangeItem()
106 assertFalse(item2.equals(emptyItem)); in testRecycleConfigurationChangeItem()
119 DestroyActivityItem item2 = DestroyActivityItem.obtain(true, 14); in testRecycleDestroyActivityItem() local
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java56 final MenuItem item2 = mMenu.add(groupId, 0, item2Index, "test2"); in testGroupId() local
59 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId()
113 final MenuItem item2 = mMenu.add(groupId, 2, 0, "item2"); in testCheckable() local
120 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item2.isChecked()); in testCheckable()
122 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable()
133 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable()
140 final MenuItem item2 = mMenu.add(0, 2, 0, "item2"); in testVisibility() local
144 Assert.assertTrue("Item did not start as visible", item2.isVisible()); in testVisibility()
150 Assert.assertFalse("Item did not become invisible", item2.isVisible()); in testVisibility()
158 final MenuItem item2 = subMenu.add(0, 2, 0, "item2"); in testSubMenu() local
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DListGridLayoutTest.java258 View item2 = new View(mContext, null); in testRemoveAllItems() local
262 row2.addView(item2); in testRemoveAllItems()
284 View item2 = new View(mContext, null); in testAddItem() local
289 mListGridLayout.addItem(item2); in testAddItem()
309 View item2 = new View(mContext, null); in testAddItem_reverseItems() local
313 mListGridLayout.addItem(item2); in testAddItem_reverseItems()
319 assertEquals(item2, sublist.getChildAt(1)); in testAddItem_reverseItems()
327 mListGridLayout.addItem(item2); in testAddItem_reverseItems()
331 assertEquals(item2, sublist.getChildAt(1)); in testAddItem_reverseItems()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java134 SwitchItem item2 = new SwitchItem(); in testRebind() local
135 item2.setTitle("TestTitle2"); in testRebind()
136 item2.setSummary("TestSummary2"); in testRebind()
137 item2.setChecked(true); in testRebind()
142 item2.onBindView(view); in testRebind()
150 assertFalse("Item2 should not be checked", item2.isChecked()); in testRebind()
155 assertTrue("Item2 should be checked", item2.isChecked()); in testRebind()
/frameworks/base/cmds/statsd/tests/
DLogEvent_test.cpp67 const FieldValue& item2 = event1.getValues()[2]; in TEST() local
68 EXPECT_EQ(0x2018201, item2.mField.getField()); in TEST()
69 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST()
70 EXPECT_EQ(2000, item2.mValue.int_value); in TEST()
138 const FieldValue& item2 = event1.getValues()[2]; in TEST() local
139 EXPECT_EQ(0x2010282, item2.mField.getField()); in TEST()
140 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST()
141 EXPECT_EQ(123, item2.mValue.int_value); in TEST()
257 const FieldValue& item2 = event1.getValues()[3]; in TEST() local
258 EXPECT_EQ(0x2028201, item2.mField.getField()); in TEST()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java440 final ImeSubtypeListItem item2 = items.get(j); in testImeSubtypeListComparator() local
442 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator()
443 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf15 item2.URL;type=pref:www.smithauto.com
17 item2.X-ABLabel:_$!<HomePage>!$_