/cts/tests/tests/hardware/src/android/hardware/camera2/cts/ |
D | StaticMetadataCollectionTest.java | 98 private double getJsonValueAsDouble(String name, Object obj) throws Exception { in getJsonValueAsDouble() argument 99 if (obj == null) { in getJsonValueAsDouble() 102 } else if (obj instanceof Double) { in getJsonValueAsDouble() 103 return ((Double)obj).doubleValue(); in getJsonValueAsDouble() 104 } else if (obj instanceof Float) { in getJsonValueAsDouble() 105 return ((Float)obj).floatValue(); in getJsonValueAsDouble() 106 } else if (obj instanceof Long) { in getJsonValueAsDouble() 107 return ((Long)obj).longValue(); in getJsonValueAsDouble() 108 } else if (obj instanceof Integer) { in getJsonValueAsDouble() 109 return ((Integer)obj).intValue(); in getJsonValueAsDouble() [all …]
|
/cts/tools/vm-tests-tf/src/util/build/ |
D | BuildStep.java | 51 public boolean equals(Object obj) { in equals() argument 52 if (obj == null) return false; in equals() 53 if (this == obj) return true; in equals() 54 if (getClass() == obj.getClass()) { in equals() 55 BuildFile other = (BuildFile) obj; in equals() 90 public boolean equals(Object obj) { in equals() argument 91 if (obj == null) return false; in equals() 92 if (obj == this) return true; in equals() 93 return this.getClass() == obj.getClass(); in equals()
|
D | DFHBuildStep.java | 68 public boolean equals(Object obj) { in equals() argument 70 if (super.equals(obj)) { in equals() 71 return inputFile.equals(((DFHBuildStep) obj).inputFile) in equals() 72 && outputFile.equals(((DFHBuildStep) obj).outputFile); in equals()
|
D | DxBuildStep.java | 72 public boolean equals(Object obj) { in equals() argument 73 if (super.equals(obj)) { in equals() 74 DxBuildStep other = (DxBuildStep) obj; in equals()
|
D | JillBuildStep.java | 62 public boolean equals(Object obj) { in equals() argument 63 if (super.equals(obj)) { in equals() 64 JillBuildStep other = (JillBuildStep) obj; in equals()
|
D | JavacBuildStep.java | 75 public boolean equals(Object obj) { in equals() argument 76 if (super.equals(obj)) in equals() 78 JavacBuildStep other = (JavacBuildStep) obj; in equals()
|
D | JackDexBuildStep.java | 85 public boolean equals(Object obj) { in equals() argument 86 if (super.equals(obj)) { in equals() 87 JackDexBuildStep other = (JackDexBuildStep) obj; in equals()
|
D | JackBuildStep.java | 80 public boolean equals(Object obj) { in equals() argument 81 if (super.equals(obj)) { in equals() 82 JackBuildStep other = (JackBuildStep) obj; in equals()
|
D | JarBuildStep.java | 89 public boolean equals(Object obj) { in equals() argument 90 if (super.equals(obj)) { in equals() 91 JarBuildStep other = (JarBuildStep) obj; in equals()
|
/cts/tools/signature-tools/src/signature/model/impl/ |
D | SigWildcardType.java | 61 public boolean equals(Object obj) { in equals() argument 62 return SigWildcardType.equals(this, obj); in equals() 65 public static boolean equals(IWildcardType thiz, Object obj) { in equals() argument 66 if (thiz == obj) return true; in equals() 67 if (obj == null) return false; in equals() 68 if (!(obj instanceof IWildcardType)) return false; in equals() 69 IWildcardType that = (IWildcardType) obj; in equals()
|
D | SigTypeVariableReference.java | 39 public boolean equals(Object obj) { in equals() argument 40 if (getClass() == obj.getClass()) { in equals() 42 ((ITypeVariableReference) obj).getTypeVariableDefinition()); in equals()
|
D | SigClassDefinition.java | 197 public boolean equals(Object obj) { in equals() argument 198 return SigClassDefinition.equals(this, obj); in equals() 201 public static boolean equals(IClassDefinition thiz, Object obj) { in equals() argument 202 if (thiz == obj) return true; in equals() 203 if (obj instanceof IClassDefinition) { in equals() 204 IClassDefinition that = (IClassDefinition) obj; in equals()
|
D | SigClassReference.java | 38 public boolean equals(Object obj) { in equals() argument 39 return SigClassReference.equals(this, obj); in equals()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/its/ |
D | ItsSerializer.java | 144 JSONObject obj = new JSONObject(); in serializeStreamConfigurationMap() local 145 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap() 146 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() 147 obj.put("height", sizes[si].getHeight()); in serializeStreamConfigurationMap() 148 obj.put("input", false); in serializeStreamConfigurationMap() 149 obj.put("minFrameDuration", in serializeStreamConfigurationMap() 151 cfgArray.put(obj); in serializeStreamConfigurationMap() 157 JSONObject obj = new JSONObject(); in serializeStreamConfigurationMap() local 158 obj.put("format", fmts[fi]); in serializeStreamConfigurationMap() 159 obj.put("width",sizes[si].getWidth()); in serializeStreamConfigurationMap() [all …]
|
/cts/tests/tests/nativeopengl/standalone/jni/ |
D | GLTestHelper.h | 30 static int runTests(JNIEnv* env, jobject obj, jstring filter); 31 static int runTestsCTS(JNIEnv* env, jobject obj, jobject activity); 34 static void setWindow(JNIEnv* env, jobject obj, jobject surface);
|
/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/tests/tests/os/src/android/os/cts/ |
D | HandlerTest.java | 115 msg.obj = new Object(); in testHasMessagesWithObject() 116 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 118 assertTrue(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 120 assertFalse(mHandler.hasMessages(msg.what, msg.obj)); in testHasMessagesWithObject() 135 msg.obj = new Object(); in testRemoveCallbacksAndMessages() 140 mHandler1.removeCallbacksAndMessages(msg.obj); in testRemoveCallbacksAndMessages() 146 final Object obj = new Object(); in testRemoveCallbacksAndMessages() local 148 mHandler1.postAtTime(mr1, obj, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages() 150 mHandler1.removeCallbacksAndMessages(obj); in testRemoveCallbacksAndMessages() 156 mHandler1.postAtTime(mr1, obj, SystemClock.uptimeMillis() + RUNTIME); in testRemoveCallbacksAndMessages() [all …]
|
/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
|
/cts/apps/CtsVerifier/jni/audio_loopback/ |
D | jni_sles.c | 25 (JNIEnv *env __unused, jobject obj __unused, jint samplingRate, jint frameCount, jint micSource) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() 39 (JNIEnv *env __unused, jobject obj __unused, jlong sles, jdoubleArray samplesArray, in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext() 58 (JNIEnv *env __unused, jobject obj __unused, jlong sles) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesDestroy()
|
/cts/tools/signature-tools/src/signature/compare/model/subst/ |
D | ArrayTypeProjection.java | 48 public boolean equals(Object obj) { in equals() argument 49 return SigArrayType.equals(this, obj); in equals()
|
D | ClassReferenceProjection.java | 43 public boolean equals(Object obj) { in equals() argument 44 return SigClassReference.equals(this, obj); in equals()
|
D | WildcardTypeProjection.java | 55 public boolean equals(Object obj) { in equals() argument 56 return SigWildcardType.equals(this, obj); in equals()
|