/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/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/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/binder_ndk/libbinder_ndk_test/ |
D | test_parcel_jni.cpp | 31 jobject object = callStaticJavaMethodForObject(env, "android/binder/cts/NdkBinderTest", in TEST() local 33 ASSERT_NE(nullptr, object); in TEST() 35 ScopedAParcel parcel = ScopedAParcel(AParcel_fromJavaParcel(env, object)); in TEST() 39 env->DeleteLocalRef(object); in 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()
|
D | utilities.cpp | 93 jobject object = env->CallStaticObjectMethod(cl, mid); in callStaticJavaMethodForObject() local 94 if (object == nullptr) { in callStaticJavaMethodForObject() 99 return object; in callStaticJavaMethodForObject()
|
/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/hostsidetests/securitybulletin/res/ |
D | CVE-2019-2130.pac | 21 Object.create(object); 31 object = opt; 37 var object;
|
/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/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/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/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;
|
/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
|