/cts/tests/tests/util/src/android/util/cts/ |
D | PropertyTest.java | 99 public void set(PropertyTest object, Point value) { 100 object.setPointProp(value); 104 public Point get(PropertyTest object) { 105 return object.getPointProp(); 112 public void set(PropertyTest object, Float value) { 113 object.setFloatProp(value); 117 public Float get(PropertyTest object) { 118 return object.getFloatProp(); 126 public void setValue(PropertyTest object, float value) { 127 object.setFloatProp(value); [all …]
|
D | RangeTest.java | 132 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 …]
|
D | RationalTest.java | 372 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/ |
D | ObjectAnimatorTest.java | 54 Object object = mActivity.view.newBall; in testOfFloat() local 58 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() 74 Object object = mActivity.view.newBall; in testOfFloatBase() local 78 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() 80 objAnimator.setTarget(object); in testOfFloatBase() 87 Object object = mActivity.view.newBall; in testOfInt() local 92 final ObjectAnimator colorAnimator = ObjectAnimator.ofInt(object, property, in testOfInt() 113 Object object = mActivity.view.newBall; in testOfObject() local 119 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject() 139 Object object = mActivity.view.newBall; in testOfPropertyValuesHolder() local [all …]
|
D | AnimatorSetTest.java | 43 private Object object; field in AnimatorSetTest 57 object = mActivity.view.newBall; in setUp() 58 yAnimator = getYAnimator(object); in setUp() 59 xAnimator = getXAnimator(object); in setUp() 334 public ObjectAnimator getXAnimator(Object object) { in getXAnimator() argument 338 ObjectAnimator xAnimator = ObjectAnimator.ofFloat(object, propertyX, startX, endX); in getXAnimator() 346 public ObjectAnimator getYAnimator(Object object) { in getYAnimator() argument 350 ObjectAnimator yAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in getYAnimator() 366 private void assertUnique(Object object) { in assertUnique() argument 367 assertUnique(object, ""); in assertUnique() [all …]
|
D | PropertyValuesHolderTest.java | 254 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/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/util/ |
D | OptionHelper.java | 41 private static List<Field> getFields(Object object) { in getFields() argument 42 Field[] classFields = object.getClass().getDeclaredFields(); in getFields() 63 static Set<String> getOptionNames(Object object) { in getOptionNames() argument 65 List<Field> optionFields = getFields(object); in getOptionNames() 80 static Set<String> getOptionShortNames(Object object) { in getOptionShortNames() argument 82 List<Field> optionFields = getFields(object); in getOptionShortNames() 98 public static List<String> getValidCliArgs(String commandString, Object object) { in getValidCliArgs() argument 99 Set<String> optionNames = OptionHelper.getOptionNames(object); in getValidCliArgs() 100 Set<String> optionShortNames = OptionHelper.getOptionShortNames(object); in getValidCliArgs()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/ |
D | T_sget_object_1.d | 26 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
|
D | T_sget_object_5.d | 27 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
|
D | T_sget_object_21.d | 26 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
|
D | T_sget_object_9.d | 29 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/iget_object/d/ |
D | T_iget_object_1.d | 29 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
|
D | T_iget_object_21.d | 30 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/common/host-side/tradefed/src/com/android/compatibility/common/tradefed/testtype/ |
D | JarHostTest.java | 154 Object object = super.loadObject(classObj); in loadObject() local 155 if (object instanceof IAbiReceiver) { in loadObject() 156 ((IAbiReceiver) object).setAbi(mAbi); in loadObject() 158 if (object instanceof IBuildReceiver) { in loadObject() 159 ((IBuildReceiver) object).setBuild(mBuild); in loadObject() 161 return object; in loadObject()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/ |
D | T_return_object_6.d | 34 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/ |
D | T_move_object_from16_1.d | 29 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/ |
D | T_move_object_16_1.d | 29 move-object/16 v4000, v4999 30 move-object/16 v1, v4000 32 return-object v1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/ |
D | T_aput_object_3.d | 87 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/vm-tests-tf/src/dot/junit/ |
D | DxAbstractMain.java | 143 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/ |
D | T_filled_new_array_8.d | 31 move-result-object v0 38 move-result-object v0 39 return-object v0
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/ |
D | T_iput_object_14.d | 30 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;
|
D | T_iput_object_1.d | 33 … 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/sput_object/d/ |
D | T_sput_object_14.d | 30 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;
|
D | T_sput_object_1.d | 33 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/dasm/test/ |
D | all_opcodes.d | 23 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 …]
|