/frameworks/base/core/tests/coretests/src/android/app/servertransaction/ |
D | ObjectPoolTests.java | 63 ActivityConfigurationChangeItem item2 = ActivityConfigurationChangeItem.obtain(config()); in testRecycleActivityConfigurationChangeItem() local 64 assertSame(item, item2); in testRecycleActivityConfigurationChangeItem() 65 assertFalse(item2.equals(emptyItem)); in testRecycleActivityConfigurationChangeItem() 78 ActivityResultItem item2 = ActivityResultItem.obtain(resultInfoList()); in testRecycleActivityResultItem() local 79 assertSame(item, item2); in testRecycleActivityResultItem() 80 assertFalse(item2.equals(emptyItem)); in testRecycleActivityResultItem() 93 ConfigurationChangeItem item2 = ConfigurationChangeItem.obtain(config()); in testRecycleConfigurationChangeItem() local 94 assertSame(item, item2); in testRecycleConfigurationChangeItem() 95 assertFalse(item2.equals(emptyItem)); in testRecycleConfigurationChangeItem() 108 DestroyActivityItem item2 = DestroyActivityItem.obtain(true, 14); in testRecycleDestroyActivityItem() local [all …]
|
/frameworks/support/core/ktx/src/androidTest/java/androidx/core/view/ |
D | MenuTest.kt | 44 val item2 = menu.add("") in <lambda>() constant 45 assertTrue(item2 in menu) in <lambda>() 50 val item2 = menu.add(NONE, 2, NONE, "") in <lambda>() constant 54 menu -= item2 in <lambda>() 93 val item2 = menu.add("") in <lambda>() constant 99 assertThat(items).containsExactly(item1, item2) in <lambda>() 108 val item2 = menu.add("") in <lambda>() constant 115 assertThat(items).containsExactly(item1, item2) in <lambda>() 120 val item2 = menu.add("") in <lambda>() constant 126 assertSame(item2, iterator.next()) in <lambda>() [all …]
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | MenuTest.java | 55 final MenuItem item2 = mMenu.add(groupId, 0, item2Index, "test2"); in testGroupId() local 58 Assert.assertEquals(groupId, item2.getGroupId()); in testGroupId() 112 final MenuItem item2 = mMenu.add(groupId, 2, 0, "item2"); in testCheckable() local 119 Assert.assertFalse("Item was not unchecked due to exclusive checkable", item2.isChecked()); in testCheckable() 121 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable() 132 Assert.assertTrue("Item did not get checked", item2.isChecked()); in testCheckable() 139 final MenuItem item2 = mMenu.add(0, 2, 0, "item2"); in testVisibility() local 143 Assert.assertTrue("Item did not start as visible", item2.isVisible()); in testVisibility() 149 Assert.assertFalse("Item did not become invisible", item2.isVisible()); in testVisibility() 157 final MenuItem item2 = subMenu.add(0, 2, 0, "item2"); in testSubMenu() local [all …]
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
D | SchemaEqualityUtil.java | 66 for (K item2 : list2) { in checkSchemaEquality() 67 if (checkSchemaEquality(item1, item2)) { in checkSchemaEquality() 81 @Nullable K item1, @Nullable K item2) { in checkSchemaEquality() argument 83 return item2 == null; in checkSchemaEquality() 85 if (item2 == null) { in checkSchemaEquality() 88 return item1.isSchemaEqual(item2); in checkSchemaEquality()
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/ |
D | DaoNameConflictTest.java | 61 Item2 item2 = new Item2(2, "b"); in readFromItem1() local 62 mDb.item2Dao().insert(item2); in readFromItem1() 64 assertThat(mDb.item2Dao().get(), is(item2)); in readFromItem1() 128 Item2 item2 = (Item2) o; in equals() 131 if (id != item2.id) return false; in equals() 132 return name != null ? name.equals(item2.name) : item2.name == null; in equals()
|
/frameworks/base/cmds/statsd/tests/ |
D | LogEvent_test.cpp | 61 const FieldValue& item2 = event1.getValues()[2]; in TEST() local 62 EXPECT_EQ(0x2018201, item2.mField.getField()); in TEST() 63 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST() 64 EXPECT_EQ(2000, item2.mValue.int_value); in TEST() 135 const FieldValue& item2 = event1.getValues()[3]; in TEST() local 136 EXPECT_EQ(0x2028201, item2.mField.getField()); in TEST() 137 EXPECT_EQ(Type::INT, item2.mValue.getType()); in TEST() 138 EXPECT_EQ(2000, item2.mValue.int_value); in TEST()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | SwitchItemTest.java | 121 SwitchItem item2 = new SwitchItem(); in testRebind() local 122 item2.setTitle("TestTitle2"); in testRebind() 123 item2.setSummary("TestSummary2"); in testRebind() 124 item2.setChecked(true); in testRebind() 129 item2.onBindView(view); in testRebind() 137 assertFalse("Item2 should not be checked", item2.isChecked()); in testRebind() 142 assertTrue("Item2 should be checked", item2.isChecked()); in testRebind()
|
/frameworks/support/car/src/androidTest/java/androidx/car/widget/ |
D | TextListItemTest.java | 191 TextListItem item2 = new TextListItem(mActivity); in testSupplementalActionVisible() local 192 item2.setActions("text", true, v -> { /* Do nothing. */ }, in testSupplementalActionVisible() 195 List<TextListItem> items = Arrays.asList(item0, item1, item2); in testSupplementalActionVisible() 285 TextListItem item2 = new TextListItem(mActivity); in testDividersAreOptional() local 286 item2.setActions("text", false, v -> { /* Do nothing. */ }, in testDividersAreOptional() 292 List<TextListItem> items = Arrays.asList(item0, item1, item2, item3); in testDividersAreOptional() 323 TextListItem item2 = new TextListItem(mActivity); in testTextStartMarginMatchesPrimaryActionType() local 324 item2.setPrimaryActionEmptyIcon(); in testTextStartMarginMatchesPrimaryActionType() 329 List<TextListItem> items = Arrays.asList(item0, item1, item2, item3); in testTextStartMarginMatchesPrimaryActionType() 356 TextListItem item2 = new TextListItem(mActivity); in testItemWithOnlyTitleIsSingleLine() local [all …]
|
D | DividerVisibilityManagerTest.java | 154 TextListItem item2 = new TextListItem(mActivity); in testListItemAdapterAsVisibilityManager() local 155 item2.setHideDivider(true); in testListItemAdapterAsVisibilityManager() 162 item0, item1, item2, item3)); in testListItemAdapterAsVisibilityManager()
|
D | SeekbarListItemTest.java | 286 SeekbarListItem item2 = initSeekbarListItem(); in testPrimaryActionEmptyIconSpacing() local 287 item2.setPrimaryActionEmptyIcon(); in testPrimaryActionEmptyIconSpacing() 289 List<ListItem> items = Arrays.asList(item0, item1, item2); in testPrimaryActionEmptyIconSpacing()
|
/frameworks/support/media/src/main/java/androidx/media/ |
D | MediaUtils2.java | 56 static MediaItem createMediaItem(MediaItem2 item2) { in createMediaItem() argument 57 if (item2 == null) { in createMediaItem() 62 MediaMetadata2 metadata = item2.getMetadata(); in createMediaItem() 65 .setMediaId(item2.getMediaId()) in createMediaItem() 69 .setMediaId(item2.getMediaId()) in createMediaItem() 94 return new MediaItem(descCompat, item2.getFlags()); in createMediaItem()
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
D | SortedList.java | 899 abstract public boolean areItemsTheSame(T2 item1, T2 item2); in areItemsTheSame() argument 919 public Object getChangePayload(T2 item1, T2 item2) { in getChangePayload() argument 992 public boolean areItemsTheSame(T2 item1, T2 item2) { in areItemsTheSame() argument 993 return mWrappedCallback.areItemsTheSame(item1, item2); in areItemsTheSame() 998 public Object getChangePayload(T2 item1, T2 item2) { in getChangePayload() argument 999 return mWrappedCallback.getChangePayload(item1, item2); in getChangePayload()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/inputmethod/ |
D | InputMethodSubtypeSwitchingControllerTest.java | 428 final ImeSubtypeListItem item2 = items.get(j); in testImeSubtypeListComparator() local 430 assertTrue(item1 + " is less than " + item2, item1.compareTo(item2) < 0); in testImeSubtypeListComparator() 431 assertTrue(item2 + " is greater than " + item1, item2.compareTo(item1) > 0); in testImeSubtypeListComparator()
|
/frameworks/support/v7/recyclerview/src/test/java/androidx/recyclerview/widget/ |
D | OpReorderTest.java | 646 public static void assertIdentical(String logPrefix, Item item1, Item item2) { in assertIdentical() argument 647 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.id, item2.id); in assertIdentical() 648 assertEquals(logPrefix + "\n" + item1 + " vs " + item2, item1.version, item2.version); in assertIdentical()
|
D | SortedListTest.java | 136 public boolean areItemsTheSame(Item item1, Item item2) { in setUp() 137 return item1.id == item2.id; in setUp() 142 public Object getChangePayload(Item item1, Item item2) { in setUp() 144 return item2.data; in setUp() 195 Item item2 = new Item(2); in testAdd() local 196 item2.cmpField = item.cmpField + 1; in testAdd() 197 assertEquals(insert(item2), 1); in testAdd() 211 Item item2 = new Item(item.id); in testAddDuplicate() local 213 assertEquals(0, insert(item2)); in testAddDuplicate() 236 Item item2 = new Item(2, 1, 1); in testRemove2() local [all …]
|
/frameworks/opt/vcard/tests/res/raw/ |
D | v30_ios_613_multiline.vcf | 15 item2.URL;type=pref:www.smithauto.com 17 item2.X-ABLabel:_$!<HomePage>!$_
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/util/ |
D | SortedListActivity.java | 105 public boolean areItemsTheSame(Item item1, Item item2) { in SortedListAdapter() 106 return item1.id == item2.id; in SortedListAdapter()
|
/frameworks/support/media/version-compat-tests/previous/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaControllerCompatCallbackTest.java | 329 QueueItem item2 = new MediaSessionCompat.QueueItem(description2, TEST_QUEUE_ID_2); in testSetQueueAndSetQueueTitle() local 331 queue.add(item2); in testSetQueueAndSetQueueTitle()
|
/frameworks/support/media/version-compat-tests/current/client/src/androidTest/java/android/support/mediacompat/client/ |
D | MediaControllerCompatCallbackTest.java | 330 QueueItem item2 = new MediaSessionCompat.QueueItem(description2, TEST_QUEUE_ID_2); in testSetQueueAndSetQueueTitle() local 332 queue.add(item2); in testSetQueueAndSetQueueTitle()
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
D | databinding-studio-bundle.jar | META-INF/
META-INF/MANIFEST.MF
android/
android/databinding/
android/ ... |