Searched refs:item1 (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 112 final MenuItem item1 = mMenu.add(groupId, 1, 0, "item1"); in testCheckable() local 117 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable() 118 item1.setChecked(true); in testCheckable() 119 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable() 123 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item1.isChecked()); in testCheckable() 127 Assert.assertTrue("Item was not set to checkable", item1.isCheckable()); in testCheckable() 128 item1.setChecked(false); in testCheckable() 129 Assert.assertFalse("Item did not get unchecked", item1.isChecked()); in testCheckable() 130 item1.setChecked(true); in testCheckable() 131 Assert.assertTrue("Item did not get checked", item1.isChecked()); in testCheckable() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | ListGridLayoutTest.java | 257 View item1 = new View(mContext, null); in testRemoveAllItems() local 261 row1.addView(item1); in testRemoveAllItems() 283 View item1 = new View(mContext, null); in testAddItem() local 288 mListGridLayout.addItem(item1); in testAddItem() 297 mListGridLayout.addItem(item1); in testAddItem() 308 View item1 = new View(mContext, null); in testAddItem_reverseItems() local 312 mListGridLayout.addItem(item1); in testAddItem_reverseItems() 318 assertEquals(item1, sublist.getChildAt(0)); in testAddItem_reverseItems() 326 mListGridLayout.addItem(item1); in testAddItem_reverseItems() 332 assertEquals(item1, sublist.getChildAt(2)); in testAddItem_reverseItems()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | SwitchItemTest.java | 129 SwitchItem item1 = new SwitchItem(); in testRebind() local 130 item1.setTitle("TestTitle1"); in testRebind() 131 item1.setSummary("TestSummary1"); in testRebind() 132 item1.setChecked(false); in testRebind() 141 item1.onBindView(view); in testRebind() 149 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind() 154 assertFalse("Item1 should still be unchecked", item1.isChecked()); in testRebind()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 62 const FieldValue& item1 = event1.getValues()[1]; in TEST() local 63 EXPECT_EQ(0x2010182, item1.mField.getField()); in TEST() 64 EXPECT_EQ(Type::STRING, item1.mValue.getType()); in TEST() 65 EXPECT_EQ("tag1", item1.mValue.str_value); in TEST() 133 const FieldValue& item1 = event1.getValues()[1]; in TEST() local 134 EXPECT_EQ(0x2010201, item1.mField.getField()); in TEST() 135 EXPECT_EQ(Type::INT, item1.mValue.getType()); in TEST() 136 EXPECT_EQ(11, item1.mValue.int_value); in TEST() 252 const FieldValue& item1 = event1.getValues()[2]; in TEST() local 253 EXPECT_EQ(0x2020182, item1.mField.getField()); in TEST() [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/inputmethod/ |
D | InputMethodSubtypeSwitchingControllerTest.java | 435 final ImeSubtypeListItem item1 = items.get(i); in testImeSubtypeListComparator() local 437 assertTrue(item1 + " has the same order of itself", item1.compareTo(item1) == 0); in testImeSubtypeListComparator() 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/ |
D | v30_ios_613_multiline.vcf | 11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
|