/packages/services/Car/tests/libvehiclenetwork-native-test/ |
VehicleHalMock.h | 35 mProperties->getList().push_back(properties + i); 62 if (mProperties->getList().size() != list->getList().size()) { 65 auto l = mProperties->getList().begin(); 66 auto r = list->getList().begin(); 67 while (l != mProperties->getList().end() && r != list->getList().end()) {
|
IVehicleNetworkTest.cpp | 71 int32_t numConfigs = properties->getList().size(); 73 for (auto& config : properties->getList()) { 79 for (auto& config : properties->getList()) { 83 ASSERT_EQ((size_t) 1, singleProperty->getList().size()); 84 vehicle_prop_config_t const * newConfig = *singleProperty->getList().begin(); 96 int32_t numConfigs = properties->getList().size(); 98 for (auto& config : properties->getList()) { 131 int32_t numConfigs = properties->getList().size(); 133 for (auto& config : properties->getList()) { 155 int32_t numConfigs = properties->getList().size() [all...] |
VehicleNetworkTest.cpp | 78 int32_t numConfigs = properties->getList().size(); 80 for (auto& config : properties->getList()) { 86 for (auto& config : properties->getList()) { 90 ASSERT_EQ((size_t) 1, singleProperty->getList().size()); 91 vehicle_prop_config_t const * newConfig = *singleProperty->getList().begin(); 103 int32_t numConfigs = properties->getList().size(); 105 for (auto& config : properties->getList()) { 129 int32_t numConfigs = properties->getList().size(); 131 for (auto& config : properties->getList()) { 153 int32_t numConfigs = properties->getList().size() [all...] |
/external/guava/guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/testers/ |
ListSubListTester.java | 50 getList().subList(-1, 0); 58 getList().subList(0, getNumElements() + 1); 66 getList().subList(1, 0); 81 emptyList(), getList().subList(0, 0)); 86 getList(), getList().subList(0, getNumElements())); 92 List<E> subList = getList().subList(0, 1); 102 List<E> subList = getList().subList(0, 1); 111 List<E> subList = getList().subList(0, 0); 119 List<E> subList = getList().subList(0, 1) [all...] |
ListSetTester.java | 64 E initialValue = getList().get(index); 66 initialValue, getList().set(index, newValue)); 68 newValue, getList().get(index)); 70 getNumElements(), getList().size()); 76 getList().set(-1, samples.e3); 87 getList().set(index, samples.e3); 98 getList().set(aValidIndex(), samples.e3); 109 getList().set(0, samples.e3); 123 getList().set(aValidIndex(), null); 131 return getList().size() / 2 [all...] |
ListAddAtIndexTester.java | 46 getList().add(0, samples.e0); 58 getList().add(0, samples.e0); 67 getList().add(0, samples.e3); 76 getList().add(0, samples.e3); 87 getList().add(0, samples.e3); 98 getList().add(getNumElements() / 2, samples.e3); 105 getList().add(getNumElements(), samples.e3); 112 getList().add(0, null); 120 getList().add(0, null); 132 getList().add(-1, samples.e3) [all...] |
ListAddTester.java | 43 assertTrue("add(present) should return true", getList().add(samples.e0)); 55 getList().add(samples.e0); 66 assertTrue("add(nullPresent) should return true", getList().add(null));
|
ListListIteratorTester.java | 77 return getList().listIterator(); 88 getList().listIterator(-1); 96 getList().listIterator(getNumElements() + 1); 103 getList().listIterator(getNumElements());
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue61/ |
GenericListBeanTest.java | 31 listProvider.getList().add("foo"); 32 listProvider.getList().add("bar"); 39 assertEquals("foo", listProvider2.getList().get(0)); 40 assertEquals("bar", listProvider2.getList().get(1)); 50 listProvider.getList().add(foo); 54 listProvider.getList().add(bar); 62 Bean foo2 = (Bean) listProvider2.getList().get(0); 65 Bean bar2 = (Bean) listProvider2.getList().get(1); 73 public List<T> getList() { 85 return list.equals(((ListProvider) obj).getList()); [all...] |
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/ |
ListAddAllAtIndexTester.java | 47 getList().addAll(0, MinimalCollection.of(samples.e0))); 55 getList().addAll(0, MinimalCollection.of(samples.e0)); 66 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3))); 74 getList().addAll(0, MinimalCollection.of(samples.e0, samples.e3)); 85 getList().addAll(0, emptyCollection())); 93 getList().addAll(0, emptyCollection())); 104 getList().addAll(0, elementsToAdd)); 113 getList().addAll(0, containsNull)); 126 getList().addAll(0, containsNull); 139 getList().addAll(getNumElements() / 2, createDisjointCollection())) [all...] |
ListRemoveTester.java | 43 int firstIndex = getList().indexOf(duplicate); 44 int initialSize = getList().size(); 46 getList().remove(duplicate)); 48 + "the duplicate element", getList().contains(duplicate)); 51 firstIndex == getList().indexOf(duplicate)); 53 initialSize - 1, getList().size());
|
ListEqualsTester.java | 40 getList().equals(new ArrayList<E>(getOrderedElements()))); 49 getList().equals(other)); 58 getList().equals(other)); 70 getList().equals(other)); 77 getList().equals(new ArrayList<E>(fewerElements))); 83 getList().equals(new ArrayList<E>(moreElements))); 88 getList().equals(MinimalSet.from(getList())));
|
ListAddAtIndexTester.java | 49 getList().add(0, samples.e0); 61 getList().add(0, samples.e0); 70 getList().add(0, samples.e3); 79 getList().add(0, samples.e3); 90 getList().add(0, samples.e3); 101 getList().add(getNumElements() / 2, samples.e3); 108 getList().add(getNumElements(), samples.e3); 115 getList().add(0, null); 123 getList().add(0, null); 135 getList().add(-1, samples.e3) [all...] |
ListSubListTester.java | 54 getList().subList(-1, 0); 62 getList().subList(0, getNumElements() + 1); 70 getList().subList(1, 0); 85 emptyList(), getList().subList(0, 0)); 90 getList(), getList().subList(0, getNumElements())); 96 List<E> subList = getList().subList(0, 1); 106 List<E> subList = getList().subList(0, 1); 115 List<E> subList = getList().subList(0, 0); 123 List<E> subList = getList().subList(0, 1) [all...] |
ListSetTester.java | 68 E initialValue = getList().get(index); 70 initialValue, getList().set(index, newValue)); 72 newValue, getList().get(index)); 74 getNumElements(), getList().size()); 80 getList().set(-1, samples.e3); 91 getList().set(index, samples.e3); 102 getList().set(aValidIndex(), samples.e3); 113 getList().set(0, samples.e3); 127 getList().set(aValidIndex(), null); 135 return getList().size() / 2 [all...] |
ListRemoveAtIndexTester.java | 47 getList().remove(0); 57 getList().remove(-1); 67 getList().remove(getNumElements()); 92 getList().remove(getNumElements() / 2); 109 getList().get(index), getList().remove(index));
|
ListToArrayTester.java | 38 Object[] actual = getList().toArray(); 45 Object[] actual = getList().toArray(new Object[0]); 51 Object[] actual = getList().toArray(new Object[getNumElements()]);
|
ListGetTester.java | 37 getList().get(-1); 45 getList().get(getNumElements());
|
AbstractListTester.java | 38 protected final List<E> getList() { 52 if (getList().size() != expectedList.size()) { 57 E actual = getList().get(i);
|
ListAddAllTester.java | 41 getList().addAll(MinimalCollection.of(samples.e0))); 49 getList().addAll(MinimalCollection.of(samples.e0)); 61 getList().addAll(elementsToAdd));
|
ListListIteratorTester.java | 80 return getList().listIterator(); 91 getList().listIterator(-1); 99 getList().listIterator(getNumElements() + 1); 106 getList().listIterator(getNumElements());
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/state/transforms/ |
ListElementAddTransform.java | 37 GLListProperty list = getList(currentState); 45 GLListProperty list = getList(currentState); 53 return getList(currentState); 56 private GLListProperty getList(IGLProperty state) {
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
ParceledListSliceTest.java | 31 assertNotNull(slice.getList()); 32 assertEquals(objectCount, slice.getList().size()); 35 assertEquals(i * 2, slice.getList().get(i).mFieldA); 36 assertEquals((i * 2) + 1, slice.getList().get(i).mFieldB); 82 assertNotNull(slice.getList()); 83 assertEquals(objectCount, slice.getList().size()); 86 assertEquals(i * 5, slice.getList().get(i).mFieldA); 87 assertEquals((i * 5) + 1, slice.getList().get(i).mFieldB); 88 assertEquals((i * 5) + 2, slice.getList().get(i).mFieldC); 89 assertEquals((i * 5) + 3, slice.getList().get(i).mFieldD) [all...] |
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/issues/issue73/ |
ArrayListTest.java | 41 assertEquals(3, loaded.getList().size()); 42 assertEquals(ArrayList.class, loaded.getList().getClass()); 49 public ArrayList<String> getList() {
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
GenericAdapterTest.java | 44 assertEquals(list, getBinder().view5.getList()); 45 assertEquals(list, getBinder().view6.getList());
|