Home
last modified time | relevance | path

Searched refs:object (Results 1 – 25 of 260) sorted by relevance

1234567891011

/cts/tests/tests/util/src/android/util/cts/
DRangeTest.java132 private static <T extends Comparable<? super T>> void assertInRange(Range<T> object, T needle) { in assertInRange() argument
133 assertAction("in-range", object, needle, true, object.contains(needle)); in assertInRange()
136 private static <T extends Comparable<? super T>> void assertOutOfRange(Range<T> object, in assertOutOfRange() argument
138 assertAction("out-of-range", object, needle, false, object.contains(needle)); in assertOutOfRange()
141 private static <T extends Comparable<? super T>> void assertUpper(Range<T> object, T expected) { in assertUpper() argument
142 assertAction("upper", object, expected, object.getUpper()); in assertUpper()
145 private static <T extends Comparable<? super T>> void assertLower(Range<T> object, T expected) { in assertLower() argument
146 assertAction("lower", object, expected, object.getLower()); in assertLower()
149 private static <T, T2> void assertAction(String action, T object, T2 expected, in assertAction() argument
151 assertEquals("Expected " + object + " " + action + " to be ", in assertAction()
[all …]
DRationalTest.java372 private static void assertValueEquals(Rational object, float expected) { in assertValueEquals() argument
373 assertEquals("Checking floatValue() for " + object + ";", in assertValueEquals()
374 expected, object.floatValue()); in assertValueEquals()
377 private static void assertValueEquals(Rational object, double expected) { in assertValueEquals() argument
378 assertEquals("Checking doubleValue() for " + object + ";", in assertValueEquals()
379 expected, object.doubleValue()); in assertValueEquals()
382 private static void assertValueEquals(Rational object, long expected) { in assertValueEquals() argument
383 assertEquals("Checking longValue() for " + object + ";", in assertValueEquals()
384 expected, object.longValue()); in assertValueEquals()
387 private static void assertValueEquals(Rational object, int expected) { in assertValueEquals() argument
[all …]
/cts/tests/tests/animation/src/android/animation/cts/
DObjectAnimatorTest.java53 Object object = mActivity.view.newBall; in testOfFloat() local
57 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat()
73 Object object = mActivity.view.newBall; in testOfFloatBase() local
77 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase()
79 objAnimator.setTarget(object); in testOfFloatBase()
86 Object object = mActivity.view.newBall; in testOfInt() local
91 final ObjectAnimator colorAnimator = ObjectAnimator.ofInt(object, property, in testOfInt()
112 Object object = mActivity.view.newBall; in testOfObject() local
118 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject()
138 Object object = mActivity.view.newBall; in testOfPropertyValuesHolder() local
[all …]
DAnimatorSetTest.java38 private Object object; field in AnimatorSetTest
52 object = mActivity.view.newBall; in setUp()
53 yAnimator = getYAnimator(object); in setUp()
54 xAnimator = getXAnimator(object); in setUp()
135 public ObjectAnimator getXAnimator(Object object) { in getXAnimator() argument
139 ObjectAnimator xAnimator = ObjectAnimator.ofFloat(object, propertyX, startX, endX); in getXAnimator()
147 public ObjectAnimator getYAnimator(Object object) { in getYAnimator() argument
151 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getYAnimator()
167 private void assertUnique(Object object) { in assertUnique() argument
168 assertUnique(object, ""); in assertUnique()
[all …]
DPropertyValuesHolderTest.java254 Object object = mActivity.view; in testOfInt_Property() local
261 colorProperty.setObject(object); in testOfInt_Property()
265 ObjectAnimator colorAnimator = ObjectAnimator.ofPropertyValuesHolder(object,pVHolder); in testOfInt_Property()
308 public void setObject(Object object){ in setObject() argument
309 shapeHolder = (ShapeHolder) object; in setObject()
313 public Object get(Object object) { in get() argument
333 public void set(Object object, Object value) { in set() argument
352 public void setObject(Object object){ in setObject() argument
353 view = (View) object; in setObject()
357 public Object get(Object object) { in get() argument
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/
DT_iget_object_1.d29 iput-object v0, v1, dot.junit.opcodes.iget_object.d.T_iget_object_1.i1 Ljava/lang/Object;
32 iput-object v0, v1, dot.junit.opcodes.iget_object.d.T_iget_object_1.p1 Ljava/lang/Object;
35 iput-object v0, v1, dot.junit.opcodes.iget_object.d.T_iget_object_1.pvt1 Ljava/lang/Object;
43 iget-object v1, v2, dot.junit.opcodes.iget_object.d.T_iget_object_1.i1 Ljava/lang/Object;
44 return-object v1
DT_iget_object_21.d30 iput-object v0, v1, dot.junit.opcodes.iget_object.d.T_iget_object_21.i1 Ljava/lang/Object;
38 iget-object v1, v2, dot.junit.opcodes.iget_object.d.T_iget_object_21.i1 Ljava/lang/String;
39 return-object v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/
DT_sget_object_1.d26 sput-object v0, dot.junit.opcodes.sget_object.d.T_sget_object_1.i1 Ljava/lang/Object;
29 sput-object v0, dot.junit.opcodes.sget_object.d.T_sget_object_1.p1 Ljava/lang/Object;
32 sput-object v0, dot.junit.opcodes.sget_object.d.T_sget_object_1.pvt1 Ljava/lang/Object;
47 sget-object v1, dot.junit.opcodes.sget_object.d.T_sget_object_1.i1 Ljava/lang/Object;
48 return-object v1
DT_sget_object_5.d27 iput-object v2, v3, dot.junit.opcodes.sget_object.d.T_sget_object_5.i1 Ljava/lang/Object;
34 sget-object v1, dot.junit.opcodes.sget_object.d.T_sget_object_5.i1 Ljava/lang/Object;
35 return-object v1
DT_sget_object_21.d26 sput-object v0, dot.junit.opcodes.sget_object.d.T_sget_object_21.i1 Ljava/lang/Object;
41 sget-object v1, dot.junit.opcodes.sget_object.d.T_sget_object_21.i1 Ljava/lang/String;
42 return-object v1
DT_sget_object_9.d29 sput-object v1, dot.junit.opcodes.sget_object.d.StubInitError.value Ljava/lang/Object;
49 sget-object v1, dot.junit.opcodes.sget_object.d.StubInitError.value Ljava/lang/Object;
50 return-object v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/
DT_return_object_6.d34 return-object v3
43 move-result-object v7
58 return-object v0
61 return-object v0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_object_from16/d/
DT_move_object_from16_1.d29 move-object/from16 v255, v4999
30 move-object/from16 v1, v255
32 return-object v1
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_object_16/d/
DT_move_object_16_1.d29 move-object/16 v4000, v4999
30 move-object/16 v1, v4000
32 return-object v1
/cts/tools/vm-tests-tf/src/dot/junit/
DDxAbstractMain.java143 static public void assertNotNull(Object object) { in assertNotNull() argument
144 if (object == null) throw new RuntimeException("AssertionFailedError: object was null"); in assertNotNull()
147 static public void assertNull(Object object) { in assertNull() argument
148 if (object != null) throw new RuntimeException("AssertionFailedError: object was not null"); in assertNull()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array/d/
DT_filled_new_array_8.d31 move-result-object v0
38 move-result-object v0
39 return-object v0
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sput_object/d/
DT_sput_object_14.d30 sget-object v0, dot.junit.opcodes.sput_object.d.T_sput_object_1.st_p1 Ljava/lang/Object;
31 return-object v0
37 sput-object v2, dot.junit.opcodes.sput_object.d.T_sput_object_1.st_p1 Ljava/lang/Object;
DT_sput_object_1.d33 sget-object v0, dot.junit.opcodes.sput_object.d.T_sput_object_1.st_pvt1 Ljava/lang/Object;
34 return-object v0
40 sput-object v2, dot.junit.opcodes.sput_object.d.T_sput_object_1.st_i1 Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/
DT_iput_object_14.d30 iget-object v0, v1, dot.junit.opcodes.iput_object.d.T_iput_object_1.st_p1 Ljava/lang/Object;
31 return-object v0
37 iput-object v2, v2, dot.junit.opcodes.iput_object.d.T_iput_object_1.st_p1 Ljava/lang/Object;
DT_iput_object_1.d33 … iget-object v0, v1, dot.junit.opcodes.iput_object.d.T_iput_object_1.st_pvt1 Ljava/lang/Object;
34 return-object v0
40 iput-object v2, v2, dot.junit.opcodes.iput_object.d.T_iput_object_1.st_i1 Ljava/lang/Object;
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/
DT_aput_object_3.d87 aput-object v4, v3, v0
90 aput-object v4, v6, v0
93 aput-object v4, v7, v0
97 aput-object v5, v2, v0
107 aput-object v5, v8, v0
117 aput-object v2, v6, v0
/cts/tools/dasm/test/
Dall_opcodes.d23 move-object v1, v2
24 move-object/from16 v11, v222
25 move-object/16 v111, v222
28 move-result-object v11
33 return-object v11
95 aget-object v11, v22, v33
102 aput-object v11, v22, v33
109 iget-object v1, v2, dxc.junit.opcodes.nop.jm.T_nop_1.pub_field I
116 iput-object v1, v2, dxc.junit.opcodes.nop.jm.T_nop_1.pub_field I
123 sget-object v1, dxc.junit.opcodes.nop.jm.T_nop_1.static_field I
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_object/d/
DT_move_object_1.d30 move-object v0, v15
32 return-object v0
/cts/tools/utils/cts/
Dtools.py23 class TestPackage(object):
36 class TestSuite(object):
110 class TestPlan(object):
219 class XmlFile(object):
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array_range/d/
DT_filled_new_array_range_7.d30 move-result-object v0
31 return-object v0

1234567891011