/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/inputmethod/util/src/android/view/inputmethod/cts/util/ |
D | AutoCloseableWrapper.java | 42 public static <U> AutoCloseableWrapper<U> create(@Nullable U object, in create() argument 44 Objects.requireNonNull(object, "object cannot be null"); in create() 46 return new AutoCloseableWrapper<>(object, closingFunction); in create() 62 void close(U object) throws Exception; in close() argument 71 private AutoCloseableWrapper(@NonNull T object, @NonNull ClosingFunction<T> closer) { in AutoCloseableWrapper() argument 72 mObject = object; in AutoCloseableWrapper()
|
/cts/tests/inputmethod/mocka11yime/common/src/com/android/cts/mocka11yime/ |
D | MockA11yImeBundleUtils.java | 40 final Object object = bundle.get(key); in dumpBundle() local 43 if (object instanceof EditorInfo) { in dumpBundle() 44 final EditorInfo info = (EditorInfo) object; in dumpBundle() 50 } else if (object instanceof Bundle) { in dumpBundle() 51 dumpBundle(sb, (Bundle) object); in dumpBundle() 53 sb.append(object); in dumpBundle()
|
D | MockA11yImeEvent.java | 55 private static ReturnType getReturnTypeFromObject(@Nullable Object object) { in getReturnTypeFromObject() argument 56 if (object == null) { in getReturnTypeFromObject() 59 if (object == RETURN_VALUE_UNAVAILABLE) { in getReturnTypeFromObject() 62 if (object instanceof InputMethod) { in getReturnTypeFromObject() 65 if (object instanceof InputMethod.AccessibilityInputConnection) { in getReturnTypeFromObject() 68 if (object instanceof View) { in getReturnTypeFromObject() 71 if (object instanceof Handler) { in getReturnTypeFromObject() 74 if (object instanceof TextSnapshot) { in getReturnTypeFromObject() 77 if (object instanceof Boolean) { in getReturnTypeFromObject() 80 if (object instanceof Integer) { in getReturnTypeFromObject() [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()
|
/cts/tests/inputmethod/mockime/src/com/android/cts/mockime/ |
D | ImeEvent.java | 56 private static ReturnType getReturnTypeFromObject(@Nullable Object object) { in getReturnTypeFromObject() argument 57 if (object == null) { in getReturnTypeFromObject() 60 if (object == RETURN_VALUE_UNAVAILABLE) { in getReturnTypeFromObject() 63 if (object instanceof AbstractInputMethodService.AbstractInputMethodImpl) { in getReturnTypeFromObject() 66 if (object instanceof View) { in getReturnTypeFromObject() 69 if (object instanceof Handler) { in getReturnTypeFromObject() 72 if (object instanceof TextSnapshot) { in getReturnTypeFromObject() 75 if (object instanceof Boolean) { in getReturnTypeFromObject() 78 if (object instanceof Integer) { in getReturnTypeFromObject() 81 if (object instanceof Long) { in getReturnTypeFromObject() [all …]
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | Persistence.java | 94 public static TestCase fromJson(JSONObject object, in fromJson() argument 96 return new TestCase(Setup.fromJson(object.getJSONObject(SETUP_KEY), table), in fromJson() 97 StateDump.fromJson(object.getJSONObject(INITIAL_STATE_KEY)), in fromJson() 98 StateDump.fromJson(object.getJSONObject(END_STATE_KEY)), name); in fromJson() 153 public static Setup fromJson(JSONObject object, in fromJson() argument 156 object.getJSONArray(INITIAL_INTENT_KEY), table); in fromJson() 157 List<GenerationIntent> act = intentsFromJson(object.getJSONArray(ACT_KEY), table); in fromJson() 178 JSONObject object = (JSONObject) intentArray.get(i); in intentsFromJson() local 179 GenerationIntent intent = GenerationIntent.fromJson(object, table); in intentsFromJson() 210 static GenerationIntent fromJson(JSONObject object, Map<String, IntentFlag> table) in fromJson() argument [all …]
|
/cts/tests/surfacecontrol/src/android/view/surfacecontrol/cts/ |
D | AttachedSurfaceControlSyncTest.java | 198 public void setValue(View object, int value) { 199 object.setTranslationX(value); 203 public Integer get(View object) { 204 return (int) object.getTranslationX(); 210 public void setValue(View object, int value) { 211 object.setTranslationY(value); 215 public Integer get(View object) { 216 return (int) object.getTranslationY();
|
/cts/hostsidetests/jvmti/base/jni/ |
D | tracking.cpp | 45 static void RecordAllocationEvent(JNIEnv* jni_env, jobject object, jclass object_klass, in RecordAllocationEvent() argument 48 ScopedLocalRef<jclass> object_klass2(jni_env, jni_env->GetObjectClass(object)); in RecordAllocationEvent() 59 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedGlobal() argument 68 RecordAllocationEvent(jni_env, object, object_klass, size); in ObjectAllocatedGlobal() 72 jthread thread, jobject object, jclass object_klass, in ObjectAllocatedThread() argument 75 RecordAllocationEvent(jni_env, object, object_klass, size); in ObjectAllocatedThread()
|
/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
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
D | DeviceIdentifiersTest.java | 52 T object = provider.get(); in assertAccessDenied() local 54 assertNull(object); in assertAccessDenied() 56 fail("Expected SecurityException, received " + object); in assertAccessDenied()
|
/cts/tests/tests/animation/src/android/animation/cts/ |
D | ObjectAnimatorTest.java | 123 Object object = mActivity.view.newBall; in testOfFloat() local 127 ObjectAnimator objAnimator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloat() 152 Object object = mActivity.view.newBall; in testOfFloatBase() local 156 ObjectAnimator animator = ObjectAnimator.ofFloat(object, property, startY, endY); in testOfFloatBase() 158 objAnimator.setTarget(object); in testOfFloatBase() 167 Object object = mActivity.view.newBall; in testOfInt() local 170 final ObjectAnimator intAnimator = ObjectAnimator.ofInt(object, property, 200, 0); in testOfInt() 192 Object object = mActivity.view.newBall; in testOfObject() local 199 final ObjectAnimator colorAnimator = ObjectAnimator.ofObject(object, property, in testOfObject() 257 Object object = mActivity.view.newBall; in testOfPropertyValuesHolder() local [all …]
|
/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
|
/cts/tests/tests/security/src/android/security/cts/CVE_2023_20953/ |
D | CVE_2023_20953.java | 75 UiObject2 object = device.findObject(selector); in testCliboardIfUserSetupNotComplete() local 76 device.drag(object.getVisibleBounds().left, object.getVisibleCenter().y, in testCliboardIfUserSetupNotComplete() 77 object.getVisibleBounds().right, object.getVisibleCenter().y, 1); in testCliboardIfUserSetupNotComplete()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | UiBot.java | 365 public List<String> getChildrenAsText(UiObject2 object) { in getChildrenAsText() argument 367 getChildrenAsText(object, list); in getChildrenAsText() 371 private static void getChildrenAsText(UiObject2 object, List<String> children) { in getChildrenAsText() argument 372 final String text = object.getText(); in getChildrenAsText() 376 for (UiObject2 child : object.getChildren()) { in getChildrenAsText() 452 final UiObject2 object = waitForObject(By.text(name)); in selectByText() local 453 object.click(); in selectByText() 467 final UiObject2 object = waitForObject(By.text(text), timeout); in assertShownByText() local 468 assertWithMessage("No node with text '%s'", text).that(object).isNotNull(); in assertShownByText() 469 return object; in assertShownByText() [all …]
|
/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/gputools/layers/jni/ |
D | vk_layer_interface.h | 45 void* object); 47 void* object);
|
/cts/tests/inputmethod/mocka11yime/client/src/com/android/cts/mocka11yime/ |
D | MockA11yImeEventStream.java | 220 final Object object = bundle.get(key); in dumpBundle() local 223 if (object instanceof EditorInfo) { in dumpBundle() 224 final EditorInfo info = (EditorInfo) object; in dumpBundle() 230 } else if (object instanceof Bundle) { in dumpBundle() 231 dumpBundle(sb, (Bundle) object); in dumpBundle() 233 sb.append(object); in dumpBundle()
|
/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/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()
|