Home
last modified time | relevance | path

Searched refs:item1 (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/view/
DMenuTest.java112 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/SettingsLib/Spa/tests/src/com/android/settingslib/spa/widget/editor/
DSettingsDropdownCheckBoxTest.kt43 val item1 = SettingsDropdownCheckOption("item1") in dropdownCheckBox_displayed() constant
49 options = listOf(item1, item2, item3), in dropdownCheckBox_displayed()
58 val item1 = SettingsDropdownCheckOption("item1") in dropdownCheckBox_expanded() constant
64 options = listOf(item1, item2, item3), in dropdownCheckBox_expanded()
76 val item1 = SettingsDropdownCheckOption("item1") in dropdownCheckBox_valueAdded() constant
82 options = listOf(item1, item2, item3), in dropdownCheckBox_valueAdded()
96 val item1 = SettingsDropdownCheckOption("item1") in dropdownCheckBox_valueDeleted() constant
102 options = listOf(item1, item2, item3), in dropdownCheckBox_valueDeleted()
117 val item1 = SettingsDropdownCheckOption("item1") in dropdownCheckBox_withSelectAll() constant
122 options = listOf(selectAll, item1, item2), in dropdownCheckBox_withSelectAll()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DListGridLayoutTest.java257 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/
DSwitchItemTest.java129 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/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/editor/
DSettingsDropdownBox.kt57 val item1 = "item1" in SettingsDropdownBoxPreview() constant
60 val options = listOf(item1, item2, item3) in SettingsDropdownBoxPreview()
DSettingsDropdownCheckBox.kt150 val item1 = SettingsDropdownCheckOption("item1") in ActionButtonsPreview() constant
153 val options = listOf(item1, item2, item3) in ActionButtonsPreview()
/frameworks/base/services/tests/InputMethodSystemServerTests/src/com/android/server/inputmethod/
DInputMethodSubtypeSwitchingControllerTest.java430 final ImeSubtypeListItem item1 = items.get(i); in testImeSubtypeListComparator() local
432 assertTrue(item1 + " has the same order of itself", item1.compareTo(item1) == 0); in testImeSubtypeListComparator()
437 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator()
438 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/privacy/
DPrivacyItemControllerTest.kt133 val item1 = PrivacyItem(PrivacyType.TYPE_CAMERA, in testPrivacyItemsAggregated() constant
137 doReturn(listOf(item1)) in testPrivacyItemsAggregated()
146 assertTrue(argCaptor.value.contains(item1)) in testPrivacyItemsAggregated()
/frameworks/opt/vcard/tests/res/raw/
Dv30_ios_613_multiline.vcf11 item1.EMAIL;type=INTERNET;type=pref:bob@smithauto.com
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionUtil-impl.h178 for (const auto& item1 : input1) { in convertContainers() local
180 *ins = VALUE_OR_RETURN(itemConversion(item1, *iter2++)); in convertContainers()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/appops/
DAppOpsControllerTest.java251 AppOpItem item1 = list.get(1); in startListening_fetchesCurrentActive_multiplePackages() local
252 assertThat(item1.getPackageName()).isEqualTo("package.three"); in startListening_fetchesCurrentActive_multiplePackages()
253 assertThat(item1.getUid()).isEqualTo(3); in startListening_fetchesCurrentActive_multiplePackages()
254 assertThat(item1.getCode()).isEqualTo(AppOpsManager.OP_FINE_LOCATION); in startListening_fetchesCurrentActive_multiplePackages()
/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DJobStoreTest.java827 JobWorkItem item1 = new JobWorkItem.Builder().build(); in testJobWorkItems() local
828 item1.bumpDeliveryCount(); in testJobWorkItems()
842 jobStatus.executingWork = new ArrayList<>(List.of(item1, item2)); in testJobWorkItems()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/media/
DInfoMediaManagerTest.java383 RouteListingPreference.Item item1 = in setUpPreferenceList() local
389 preferenceItemList.add(item1); in setUpPreferenceList()