Home
last modified time | relevance | path

Searched refs:obj1 (Results 1 – 6 of 6) sorted by relevance

/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DBasicDependantBindingTest.java48 for (NotBindableVo obj1 : obj1s) { in testAllPermutations()
51 testWith(obj1, obj2); in testAllPermutations()
54 testWith(obj1, obj2); in testAllPermutations()
59 private void testWith(NotBindableVo obj1, NotBindableVo obj2) { in testWith() argument
60 mBinder.setObj1(obj1); in testWith()
63 assertValues(safeGet(obj1), safeGet(obj2), in testWith()
64 obj1 == null ? "" : obj1.mergeStringFields(obj2), in testWith()
65 obj2 == null ? "" : obj2.mergeStringFields(obj1), in testWith()
66 (obj1 == null ? null : obj1.getStringValue()) in testWith()
DMultiArgAdapterTest.java33 MultiBindingClass1 obj1 = new MultiBindingClass1(); in testMultiArgIsCalled() local
37 obj1.setValue("a", false); in testMultiArgIsCalled()
41 mBinder.setObj1(obj1); in testMultiArgIsCalled()
47 assertEquals(mBinder.merged.getText().toString(), join(obj1, obj2)); in testMultiArgIsCalled()
53 obj1.setValue("o", false); in testMultiArgIsCalled()
60 obj1.notifyPropertyChanged(BR._all); in testMultiArgIsCalled()
66 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString()); in testMultiArgIsCalled()
76 MultiBindingClass1 obj1 = new MultiBindingClass1(); in testSetWithOldValues() local
80 obj1.setValue("a", false); in testSetWithOldValues()
84 mBinder.setObj1(obj1); in testSetWithOldValues()
[all …]
DMultiArgAdapterEvaluationTest.java34 MultiBindingClass1 obj1 = new MultiBindingClass1(); in testMultiArgIsCalled() local
36 obj1.setValue("a", false); in testMultiArgIsCalled()
38 mBinder.setObj1(obj1); in testMultiArgIsCalled()
42 assertEquals(mBinder.merged.getText().toString(), join(obj1.getValue(), obj2.getValue())); in testMultiArgIsCalled()
48 obj1.setValue("o", false); in testMultiArgIsCalled()
55 obj1.setValue("o2", true); in testMultiArgIsCalled()
57 assertEquals(join(obj1, obj2), mBinder.merged.getText().toString()); in testMultiArgIsCalled()
/frameworks/support/work/workmanager/src/main/java/androidx/work/
DArrayCreatingInputMerger.java117 private Object concatenateNonArrays(Object obj1, Object obj2) { in concatenateNonArrays() argument
118 Object newArray = Array.newInstance(obj1.getClass(), 2); in concatenateNonArrays()
119 Array.set(newArray, 0, obj1); in concatenateNonArrays()
/frameworks/av/media/libstagefright/foundation/tests/
DAData_test.cpp987 Data obj1; in TEST_F() local
988 obj1.set(buf1); in TEST_F()
992 obj1.clear(); in TEST_F()
998 obj1.set(buf1); in TEST_F()
999 EXPECT_TRUE(obj1.used()); in TEST_F()
1000 Data obj2 = obj1; in TEST_F()
1008 obj1.clear(); in TEST_F()
1016 obj1.set(buf1); in TEST_F()
1017 EXPECT_TRUE(obj1.used()); in TEST_F()
1018 obj2 = std::move(obj1); in TEST_F()
[all …]
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...