/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 172 String s = "Not equal: " + p1 + "[" + System.identityHashCode(p1.obj) + in check() 173 "] vs " + p2 + "[" + System.identityHashCode(p2.obj); in check() 189 Object obj; field in JvmtiTaggingTest.Pair 193 obj = o; in Pair() 198 public boolean equals(Object obj) { in equals() argument 199 if (obj instanceof Pair) { in equals() 200 Pair p = (Pair)obj; in equals() 201 return tag == p.tag && (p.obj == null ? this.obj == null : p.obj.equals(this.obj)); in equals() 213 if ((obj instanceof Comparable) && (p.obj instanceof Comparable)) { in compareTo() 215 int result = ((Comparable<Object>) obj).compareTo(p.obj); in compareTo() [all …]
|
/cts/tests/tests/view/jni/ |
D | android_view_cts_AInputNativeTest.cpp | 51 void nativeMotionEventTest(JNIEnv *env, jclass /* clazz */, jobject obj) { in nativeMotionEventTest() argument 52 const AInputEvent *event = AMotionEvent_fromJava(env, obj); in nativeMotionEventTest() 53 jint action = env->CallIntMethod(obj, gMotionEventMethodIds.getAction); in nativeMotionEventTest() 54 jlong downTime = env->CallLongMethod(obj, gMotionEventMethodIds.getDownTime) * NS_PER_MS; in nativeMotionEventTest() 55 jlong eventTime = env->CallLongMethod(obj, gMotionEventMethodIds.getEventTime) * NS_PER_MS; in nativeMotionEventTest() 56 jint metaState = env->CallIntMethod(obj, gMotionEventMethodIds.getMetaState); in nativeMotionEventTest() 57 jint pointerCount = env->CallIntMethod(obj, gMotionEventMethodIds.getPointerCount); in nativeMotionEventTest() 81 jfloat rawX = env->CallFloatMethod(obj, gMotionEventMethodIds.getRawX, i); in nativeMotionEventTest() 82 jfloat rawY = env->CallFloatMethod(obj, gMotionEventMethodIds.getRawY, i); in nativeMotionEventTest() 92 void nativeKeyEventTest(JNIEnv *env, jclass /* clazz */, jobject obj) { in nativeKeyEventTest() argument [all …]
|
/cts/tools/vm-tests-tf/build/src/util/build/ |
D | BuildStep.java | 55 public boolean equals(Object obj) { in equals() argument 56 if (obj == null) return false; in equals() 57 if (this == obj) return true; in equals() 58 if (getClass() == obj.getClass()) { in equals() 59 BuildFile other = (BuildFile) obj; in equals() 95 public boolean equals(Object obj) { in equals() argument 96 if (obj == null) return false; in equals() 97 if (obj == this) return true; in equals() 98 return this.getClass() == obj.getClass(); in equals()
|
D | SmaliBuildStep.java | 58 public boolean equals(Object obj) { in equals() argument 59 if (super.equals(obj)) { in equals() 60 SmaliBuildStep other = (SmaliBuildStep) obj; in equals()
|
/cts/hostsidetests/harmfulappwarning/testapp/src/android/harmfulappwarning/testapp/ |
D | HarmfulAppWarningDeviceTest.java | 76 UiObject2 obj = getUiDevice().findObject(By.res("android:id/message")); in verifyWarningShown() local 77 Assert.assertEquals(obj.getText(), "This is a warning message."); in verifyWarningShown() 78 Assert.assertNotNull(obj); in verifyWarningShown() 92 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button2")); in clickLaunchAnyway() local 93 Assert.assertNotNull(obj); in clickLaunchAnyway() 94 obj.click(); in clickLaunchAnyway() 98 UiObject2 obj = getUiDevice().findObject(By.res("android:id/button1")); in clickUninstall() local 99 Assert.assertNotNull(obj); in clickUninstall() 100 obj.click(); in clickUninstall()
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | jni-bridge.cpp | 53 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_startAudio() 63 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_stopAudio() 72 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_closeAudio() 83 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isRecordingComplete() 92 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_isLowlatency() 101 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getError() 110 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_analyze() 119 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getLatencyMillis() 128 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getConfidence() 137 (JNIEnv *env __unused, jobject obj __unused, jlong pAnalyzer) { in Java_com_android_cts_verifier_audio_NativeAnalyzerThread_getSampleRate()
|
/cts/tests/tests/libthermalndk/jni/ |
D | NativeThermalTest.cpp | 64 static inline void setThermalStatusOverride(JNIEnv* env, jobject obj, int32_t level) { in setThermalStatusOverride() argument 65 env->CallVoidMethod(obj, gNativeThermalTest_thermalOverrideMethodID, level); in setThermalStatusOverride() 77 JNIEnv *env, jobject obj, int32_t level) { in testGetCurrentThermalStatus() argument 85 setThermalStatusOverride(env, obj, level); in testGetCurrentThermalStatus() 100 static jstring nativeTestGetCurrentThermalStatus(JNIEnv *env, jobject obj, jint level) { in nativeTestGetCurrentThermalStatus() argument 101 return returnJString(env, testGetCurrentThermalStatus(env, obj, static_cast<int32_t>(level))); in nativeTestGetCurrentThermalStatus() 104 static std::optional<std::string> testRegisterThermalStatusListener(JNIEnv *env, jobject obj) { in testRegisterThermalStatusListener() argument 135 setThermalStatusOverride(env, obj, level); in testRegisterThermalStatusListener() 158 static jstring nativeTestRegisterThermalStatusListener(JNIEnv *env, jobject obj) { in nativeTestRegisterThermalStatusListener() argument 159 return returnJString(env, testRegisterThermalStatusListener(env, obj)); in nativeTestRegisterThermalStatusListener() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 145 JSONObject obj = new JSONObject(); in serializeStreamConfigurationMap() local 146 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap() 147 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() 148 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap() 149 obj.put("input", false); in serializeStreamConfigurationMap() 150 obj.put("minFrameDuration", in serializeStreamConfigurationMap() 152 cfgArray.put(obj); in serializeStreamConfigurationMap() 158 JSONObject obj = new JSONObject(); in serializeStreamConfigurationMap() local 159 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap() 160 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() [all …]
|
/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | MyAutofillId.java | 40 public boolean equals(Object obj) { in equals() argument 41 if (this == obj) return true; in equals() 42 if (obj == null) return false; in equals() 43 if (getClass() != obj.getClass()) return false; in equals() 44 MyAutofillId other = (MyAutofillId) obj; in equals()
|
/cts/hostsidetests/sustainedperf/shadertoy_android/jni/ |
D | hooks_android.cpp | 24 …JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_init(JNIEnv * env, jobject obj, jint wi… 25 JNIEXPORT void JNICALL Java_com_android_gputest_GLtestLib_step(JNIEnv * env, jobject obj); 28 …_init(__attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj, jint width, jint … in Java_com_android_gputest_GLtestLib_init() argument 33 …id_gputest_GLtestLib_step(__attribute__((unused)) JNIEnv * env,__attribute__((unused)) jobject obj) in Java_com_android_gputest_GLtestLib_step() argument
|
/cts/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 117 msg.obj = new Object(); in testHasMessagesWithObject() 118 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 120 assertTrue(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 122 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 137 msg.obj = new Object(); in testRemoveCallbacksAndMessages() 142 mHandler1.removeCallbacksAndMessages(msg.obj); in testRemoveCallbacksAndMessages() 148 final Object obj = new Object(); in testRemoveCallbacksAndMessages() local 150 mHandler1.postAtTime(mr1, obj, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages() 152 mHandler1.removeCallbacksAndMessages(obj); in testRemoveCallbacksAndMessages() 158 mHandler1.postAtTime(mr1, obj, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages() [all …]
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/wrapper/sidecarwrapperimpl/ |
D | TestSidecarDeviceState.java | 54 public boolean equals(Object obj) { in equals() argument 55 if (this == obj) { in equals() 58 if (!(obj instanceof TestSidecarDeviceState)) { in equals() 61 final TestSidecarDeviceState other = (TestSidecarDeviceState) obj; in equals()
|
D | TestSidecarDisplayFeature.java | 60 public boolean equals(Object obj) { in equals() argument 61 if (this == obj) { in equals() 64 if (!(obj instanceof TestSidecarDisplayFeature)) { in equals() 67 final TestSidecarDisplayFeature other = (TestSidecarDisplayFeature) obj; in equals()
|
D | TestSidecarWindowLayoutInfo.java | 68 public boolean equals(Object obj) { in equals() argument 69 if (this == obj) { in equals() 72 if (!(obj instanceof TestSidecarWindowLayoutInfo)) { in equals() 75 final TestSidecarWindowLayoutInfo other = (TestSidecarWindowLayoutInfo) obj; in equals()
|
/cts/tests/framework/base/windowmanager/jetpack/src/android/server/wm/jetpack/utils/wrapper/extensionwrapperimpl/ |
D | TestExtensionDeviceState.java | 55 public boolean equals(Object obj) { in equals() argument 56 if (this == obj) { in equals() 59 if (!(obj instanceof TestExtensionDeviceState)) { in equals() 62 final TestExtensionDeviceState other = (TestExtensionDeviceState) obj; in equals()
|
D | TestExtensionDisplayFeature.java | 60 public boolean equals(Object obj) { in equals() argument 61 if (this == obj) { in equals() 64 if (!(obj instanceof TestExtensionDisplayFeature)) { in equals() 67 final TestExtensionDisplayFeature other = (TestExtensionDisplayFeature) obj; in equals()
|
D | TestExtensionWindowLayoutInfo.java | 68 public boolean equals(Object obj) { in equals() argument 69 if (this == obj) { in equals() 72 if (!(obj instanceof TestExtensionWindowLayoutInfo)) { in equals() 75 final TestExtensionWindowLayoutInfo other = (TestExtensionWindowLayoutInfo) obj; in equals()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ActionListenerTest.java | 78 public boolean equals(Object obj) { in equals() argument 79 if (obj == null || !(obj instanceof Argument)) { in equals() 82 Argument arg = (Argument)obj; in equals()
|
D | UPnPServiceResponseListenerTest.java | 100 public boolean equals(Object obj) { in equals() argument 101 if (obj == null || !(obj instanceof Argument)) { in equals() 104 Argument arg = (Argument)obj; in equals()
|
D | DnsSdResponseListenerTest.java | 107 public boolean equals(Object obj) { in equals() argument 108 if (obj == null || !(obj instanceof Argument)) { in equals() 111 Argument arg = (Argument)obj; in equals()
|
D | DnsSdTxtRecordListenerTest.java | 111 public boolean equals(Object obj) { in equals() argument 112 if (obj == null || !(obj instanceof Argument)) { in equals() 115 Argument arg = (Argument)obj; in equals()
|
/cts/tools/release-parser/tests/resources/ |
D | boot-framework.oat.pb.txt | 66 …obj/JAVA_LIBRARIES/core-oj_intermediates/javalib.jar --dex-file=out/target/common/obj/JAVA_LIBRARI…
|
/cts/tests/tests/media/libmediandkjni/ |
D | native_media_utils.cpp | 47 void* Thread::thread_wrapper(void *obj) { in thread_wrapper() argument 48 assert(obj != nullptr); in thread_wrapper() 49 Thread *t = reinterpret_cast<Thread *>(obj); in thread_wrapper()
|
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/users/ |
D | UserType.java | 97 public boolean equals(Object obj) { in equals() argument 98 if (obj == null || !(obj instanceof UserType)) { in equals() 102 UserType other = (UserType) obj; in equals()
|
/cts/tests/tests/opengl/libopengltest/ |
D | gl2_jni_libone.cpp | 113 …tern "C" JNIEXPORT void JNICALL Java_android_opengl_cts_GL2JniLibOne_step(JNIEnv * env, jclass obj) in Java_android_opengl_cts_GL2JniLibOne_step() argument 118 …T jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachShaderError() argument 122 …ORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getLoadShaderError() argument 126 …EXPORT jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getProgramError(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getProgramError() argument 130 …jint JNICALL Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount(JNIEnv * env, jclass obj){ in Java_android_opengl_cts_GL2JniLibOne_getAttachedShaderCount() argument 135 jclass obj, jint pCategory, jint pSubCategory, jfloatArray color) in Java_android_opengl_cts_GL2JniLibOne_draw() argument
|