/cts/tests/tests/util/src/android/util/cts/ |
D | PropertyTest.java | 112 public void set(PropertyTest object, Point value) { 113 object.setPointProp(value); 117 public Point get(PropertyTest object) { 118 return object.getPointProp(); 125 public void set(PropertyTest object, Float value) { 126 object.setFloatProp(value); 130 public Float get(PropertyTest object) { 131 return object.getFloatProp(); 139 public void setValue(PropertyTest object, float value) { 140 object.setFloatProp(value); [all …]
|
D | RangeTest.java | 125 private static <T extends Comparable<? super T>> void verifyInRange(Range<T> object, T needle) { in verifyInRange() argument 126 verifyAction("in-range", object, needle, true, object.contains(needle)); in verifyInRange() 129 private static <T extends Comparable<? super T>> void verifyOutOfRange(Range<T> object, in verifyOutOfRange() argument 131 verifyAction("out-of-range", object, needle, false, object.contains(needle)); in verifyOutOfRange() 134 private static <T extends Comparable<? super T>> void verifyUpper(Range<T> object, T expected) { in verifyUpper() argument 135 verifyAction("upper", object, expected, object.getUpper()); in verifyUpper() 138 private static <T extends Comparable<? super T>> void verifyLower(Range<T> object, T expected) { in verifyLower() argument 139 verifyAction("lower", object, expected, object.getLower()); in verifyLower() 142 private static <T, T2> void verifyAction(String action, T object, T2 expected, in verifyAction() argument 144 assertEquals("Expected " + object + " " + action + " to be ", in verifyAction() [all …]
|
D | RationalTest.java | 413 private static void verifyValueEquals(Rational object, float expected) { in verifyValueEquals() argument 414 assertEquals("Checking floatValue() for " + object + ";", in verifyValueEquals() 415 expected, object.floatValue(), 0.0f); in verifyValueEquals() 418 private static void verifyValueEquals(Rational object, double expected) { in verifyValueEquals() argument 419 assertEquals("Checking doubleValue() for " + object + ";", in verifyValueEquals() 420 expected, object.doubleValue(), 0.0f); in verifyValueEquals() 423 private static void verifyValueEquals(Rational object, long expected) { in verifyValueEquals() argument 424 assertEquals("Checking longValue() for " + object + ";", in verifyValueEquals() 425 expected, object.longValue()); in verifyValueEquals() 428 private static void verifyValueEquals(Rational object, int expected) { in verifyValueEquals() argument [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 93 public static TestCase fromJson(JSONObject object, in fromJson() argument 95 return new TestCase(Setup.fromJson(object.getJSONObject(SETUP_KEY), table), in fromJson() 96 StateDump.fromJson(object.getJSONObject(INITIAL_STATE_KEY)), in fromJson() 97 StateDump.fromJson(object.getJSONObject(END_STATE_KEY)), name); in fromJson() 152 public static Setup fromJson(JSONObject object, in fromJson() argument 155 object.getJSONArray(INITIAL_INTENT_KEY), table); in fromJson() 156 List<GenerationIntent> act = intentsFromJson(object.getJSONArray(ACT_KEY), table); in fromJson() 177 JSONObject object = (JSONObject) intentArray.get(i); in intentsFromJson() local 178 GenerationIntent intent = GenerationIntent.fromJson(object, table); in intentsFromJson() 209 static GenerationIntent fromJson(JSONObject object, Map<String, IntentFlag> table) in fromJson() argument [all …]
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEvent.java | 49 private static ReturnType getReturnTypeFromObject(@Nullable Object object) { in getReturnTypeFromObject() argument 50 if (object == null) { in getReturnTypeFromObject() 53 if (object == RETURN_VALUE_UNAVAILABLE) { in getReturnTypeFromObject() 56 if (object instanceof AbstractInputMethodService.AbstractInputMethodImpl) { in getReturnTypeFromObject() 59 if (object instanceof View) { in getReturnTypeFromObject() 62 if (object instanceof Handler) { in getReturnTypeFromObject() 65 if (object instanceof Boolean) { in getReturnTypeFromObject() 68 if (object instanceof Integer) { in getReturnTypeFromObject() 71 if (object instanceof String) { in getReturnTypeFromObject() 74 if (object instanceof CharSequence) { in getReturnTypeFromObject() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | UiBot.java | 319 public List<String> getChildrenAsText(UiObject2 object) { 321 getChildrenAsText(object, list); 325 private static void getChildrenAsText(UiObject2 object, List<String> children) { 326 final String text = object.getText(); 330 for (UiObject2 child : object.getChildren()) { 363 final UiObject2 object = waitForObject(By.text(name)); 364 object.click(); 378 final UiObject2 object = waitForObject(By.text(text), timeout); 379 assertWithMessage("No node with text '%s'", text).that(object).isNotNull(); 380 return object; [all …]
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 103 Object object = mActivity.view.newBall; in testOfFloat() local 107 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() 132 Object object = mActivity.view.newBall; in testOfFloatBase() local 136 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() 138 objAnimator.setTarget(object); in testOfFloatBase() 146 Object object = mActivity.view.newBall; in testOfInt() local 149 final ObjectAnimator intAnimator = ObjectAnimator.ofInt(object, property, 200, 0); in testOfInt() 170 Object object = mActivity.view.newBall; in testOfObject() local 177 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject() 204 Object object = mActivity.view.newBall; in testOfPropertyValuesHolder() local [all …]
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_ibinder_jni.cpp | 45 jobject object = AIBinder_toJavaBinder(env, binder); in TEST_F() local 46 EXPECT_NE(nullptr, object); in TEST_F() 48 AIBinder* fromJavaBinder = AIBinder_fromJavaBinder(env, object); in TEST_F()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iget_object/d/ |
D | T_iget_object_1.smali | 36 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->i1:Ljava/lang/Object; 40 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->p1:Ljava/lang/Object; 44 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->pvt1:Ljava/lang/Object; 54 iget-object v1, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_1;->i1:Ljava/lang/Object; 56 return-object v1
|
D | T_iget_object_21.smali | 34 iput-object v0, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_21;->i1:Ljava/lang/Object; 44 iget-object v1, p0, Ldot/junit/opcodes/iget_object/d/T_iget_object_21;->i1:Ljava/lang/String; 46 return-object v1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sget_object/d/ |
D | T_sget_object_1.smali | 34 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->i1:Ljava/lang/Object; 38 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->p1:Ljava/lang/Object; 42 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->pvt1:Ljava/lang/Object; 60 sget-object v1, Ldot/junit/opcodes/sget_object/d/T_sget_object_1;->i1:Ljava/lang/Object; 62 return-object v1
|
D | T_sget_object_5.smali | 32 iput-object v2, p0, Ldot/junit/opcodes/sget_object/d/T_sget_object_5;->i1:Ljava/lang/Object; 42 sget-object v1, Ldot/junit/opcodes/sget_object/d/T_sget_object_5;->i1:Ljava/lang/Object; 44 return-object v1
|
D | T_sget_object_21.smali | 32 sput-object v0, Ldot/junit/opcodes/sget_object/d/T_sget_object_21;->i1:Ljava/lang/Object; 50 sget-object v1, Ldot/junit/opcodes/sget_object/d/T_sget_object_21;->i1:Ljava/lang/String; 52 return-object v1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_object/d/T_aput_object_3.smalis/ |
D | T_aput_object_3.smali | 66 aput-object v4, v3, v0 69 aput-object v4, v6, v0 72 aput-object v4, v7, v0 76 aput-object v5, v2, v0 90 aput-object v5, v8, v0 104 aput-object v2, v6, v0
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/return_object/d/ |
D | T_return_object_6.smali | 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/ |
D | DxAbstractMain.java | 152 static public void assertNotNull(Object object) { in assertNotNull() argument 153 if (object == null) in assertNotNull() 157 static public void assertNull(Object object) { in assertNull() argument 158 if (object != null) in assertNull()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/move_object_16/d/ |
D | T_move_object_16_1.smali | 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/move_object_from16/d/ |
D | T_move_object_from16_1.smali | 29 move-object/from16 v255, v4999 30 move-object/from16 v1, v255 32 return-object v1
|
/cts/hostsidetests/gputools/layers/jni/ |
D | vk_layer_interface.h | 45 void* object); 47 void* 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 …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/d/ |
D | T_iput_object_14.smali | 30 … iget-object v0, v1, Ldot/junit/opcodes/iput_object/d/T_iput_object_1;->st_p1:Ljava/lang/Object; 31 return-object v0 37 … iput-object v2, v2, Ldot/junit/opcodes/iput_object/d/T_iput_object_1;->st_p1:Ljava/lang/Object;
|
D | T_iput_object_1.smali | 42 … iget-object v0, p0, Ldot/junit/opcodes/iput_object/d/T_iput_object_1;->st_pvt1:Ljava/lang/Object; 44 return-object v0 50 iput-object p0, p0, Ldot/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.smali | 30 sget-object v0, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_p1:Ljava/lang/Object; 31 return-object v0 37 sput-object v2, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_p1:Ljava/lang/Object;
|
D | T_sput_object_1.smali | 40 sget-object v0, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_pvt1:Ljava/lang/Object; 42 return-object v0 50 sput-object p0, Ldot/junit/opcodes/sput_object/d/T_sput_object_1;->st_i1:Ljava/lang/Object;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/filled_new_array/d/ |
D | T_filled_new_array_8.smali | 31 move-result-object v0 38 move-result-object v0 39 return-object v0
|