Home
last modified time | relevance | path

Searched refs:obj (Results 1 – 25 of 83) sorted by relevance

1234

/cts/tests/tests/hardware/src/android/hardware/camera2/cts/
DStaticMetadataCollectionTest.java98 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/
DBuildStep.java51 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()
DDFHBuildStep.java68 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()
DDxBuildStep.java72 public boolean equals(Object obj) { in equals() argument
73 if (super.equals(obj)) { in equals()
74 DxBuildStep other = (DxBuildStep) obj; in equals()
DJillBuildStep.java62 public boolean equals(Object obj) { in equals() argument
63 if (super.equals(obj)) { in equals()
64 JillBuildStep other = (JillBuildStep) obj; in equals()
DJavacBuildStep.java75 public boolean equals(Object obj) { in equals() argument
76 if (super.equals(obj)) in equals()
78 JavacBuildStep other = (JavacBuildStep) obj; in equals()
DJackDexBuildStep.java85 public boolean equals(Object obj) { in equals() argument
86 if (super.equals(obj)) { in equals()
87 JackDexBuildStep other = (JackDexBuildStep) obj; in equals()
DJackBuildStep.java80 public boolean equals(Object obj) { in equals() argument
81 if (super.equals(obj)) { in equals()
82 JackBuildStep other = (JackBuildStep) obj; in equals()
DJarBuildStep.java89 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/
DSigWildcardType.java61 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()
DSigTypeVariableReference.java39 public boolean equals(Object obj) { in equals() argument
40 if (getClass() == obj.getClass()) { in equals()
42 ((ITypeVariableReference) obj).getTypeVariableDefinition()); in equals()
DSigClassDefinition.java197 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()
DSigClassReference.java38 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/
DItsSerializer.java144 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/
DGLTestHelper.h30 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/
DActionListenerTest.java78 public boolean equals(Object obj) { in equals() argument
79 if (obj == null || !(obj instanceof Argument)) { in equals()
82 Argument arg = (Argument)obj; in equals()
DUPnPServiceResponseListenerTest.java100 public boolean equals(Object obj) { in equals() argument
101 if (obj == null || !(obj instanceof Argument)) { in equals()
104 Argument arg = (Argument)obj; in equals()
DDnsSdResponseListenerTest.java107 public boolean equals(Object obj) { in equals() argument
108 if (obj == null || !(obj instanceof Argument)) { in equals()
111 Argument arg = (Argument)obj; in equals()
DDnsSdTxtRecordListenerTest.java111 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/
DHandlerTest.java115 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/
Dgl2_jni_libone.cpp113 …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/
Djni_sles.c25 (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/
DArrayTypeProjection.java48 public boolean equals(Object obj) { in equals() argument
49 return SigArrayType.equals(this, obj); in equals()
DClassReferenceProjection.java43 public boolean equals(Object obj) { in equals() argument
44 return SigClassReference.equals(this, obj); in equals()
DWildcardTypeProjection.java55 public boolean equals(Object obj) { in equals() argument
56 return SigWildcardType.equals(this, obj); in equals()

1234