/cts/tools/vm-tests-tf/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 | 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 | 82 public boolean equals(Object obj) { in equals() argument 83 if (super.equals(obj)) { in equals() 84 JillBuildStep other = (JillBuildStep) obj; in equals()
|
D | JavacBuildStep.java | 80 public boolean equals(Object obj) { in equals() argument 81 if (super.equals(obj)) in equals() 83 JavacBuildStep other = (JavacBuildStep) 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()
|
D | JackDexBuildStep.java | 107 public boolean equals(Object obj) { in equals() argument 108 if (super.equals(obj)) { in equals() 109 JackDexBuildStep other = (JackDexBuildStep) obj; in equals()
|
D | JackBuildStep.java | 125 public boolean equals(Object obj) { in equals() argument 126 if (super.equals(obj)) { in equals() 127 JackBuildStep other = (JackBuildStep) obj; in equals()
|
D | DasmBuildStep.java | 159 public boolean equals(Object obj) { in equals() argument 160 if (super.equals(obj)) { in equals() 161 DasmBuildStep other = (DasmBuildStep) 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 …]
|
D | ItsService.java | 359 Object obj = objs[i]; in run() local 360 if (obj instanceof String) { in run() 364 tag = (String)obj; in run() 365 } else if (obj instanceof CameraCharacteristics) { in run() 367 (CameraCharacteristics)obj)); in run() 368 } else if (obj instanceof CaptureRequest) { in run() 370 (CaptureRequest)obj)); in run() 371 } else if (obj instanceof CaptureResult) { in run() 373 (CaptureResult)obj)); in run() 374 } else if (obj instanceof JSONArray) { in run() [all …]
|
/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 | 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 …]
|
D | MessageTest.java | 86 assertNull(message.obj); in testObtain() 101 assertEquals(message.obj, expected.obj); in testObtain2() 125 assertEquals(OBJ, expected.obj); in testObtain6() 142 assertEquals(OBJ, expected.obj); in testObtain8() 167 assertEquals(OBJ, mMessage.obj); in testCopyFrom() 178 assertNull(message.obj); in testRecycle()
|
/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/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, in Java_com_android_cts_verifier_audio_NativeAudioThread_slesInit() 40 (JNIEnv *env __unused, jobject obj __unused, jlong sles, jdoubleArray samplesArray, in Java_com_android_cts_verifier_audio_NativeAudioThread_slesProcessNext() 59 (JNIEnv *env __unused, jobject obj __unused, jlong sles) { in Java_com_android_cts_verifier_audio_NativeAudioThread_slesDestroy()
|
/cts/tests/tests/rscpp/librscpptest/ |
D | rs_jni_object.cpp | 37 … jclass obj, in Java_android_cts_rscpp_RSObjectTest_testClearObjectElement() argument 65 jclass obj, in Java_android_cts_rscpp_RSObjectTest_testClearObjectType() argument 93 jclass obj, in Java_android_cts_rscpp_RSObjectTest_testClearObjectAllocation() argument 122 jclass obj, in Java_android_cts_rscpp_RSObjectTest_testClearObjectSampler() argument 152 jclass obj, in Java_android_cts_rscpp_RSObjectTest_testClearObjectScript() argument
|
D | rs_jni_script.cpp | 47 jclass obj, in Java_android_cts_rscpp_RSScriptTest_testSet() argument 84 jclass obj, in Java_android_cts_rscpp_RSScriptTest_testInstance() argument 159 jclass obj, in Java_android_cts_rscpp_RSScriptTest_testVector() argument
|
/cts/tests/tests/util/src/android/util/cts/ |
D | RationalTest.java | 441 private static <T extends Serializable> byte[] serialize(T obj) throws IOException { in serialize() argument 444 objectStream.writeObject(obj); in serialize() 453 Object obj = ois.readObject(); in deserialize() local 454 return klass.cast(obj); in deserialize() 458 private static <T extends Serializable> T serializeRoundTrip(T obj) in serializeRoundTrip() argument 460 Class<T> klass = (Class<T>) obj.getClass(); in serializeRoundTrip() 461 byte[] arr = serialize(obj); in serializeRoundTrip() 466 private static <T extends Serializable> void assertEqualsAfterSerializing(T obj) in assertEqualsAfterSerializing() argument 468 T serialized = serializeRoundTrip(obj); in assertEqualsAfterSerializing() 469 assertEquals("Expected values to be equal after serialization round-trip", obj, serialized); in assertEqualsAfterSerializing()
|
/cts/tests/camera/libctscamera2jni/ |
D | native-camera-jni.cpp | 49 static void onAvailable(void* obj, const char* cameraId) { in onAvailable() argument 51 if (obj == nullptr) { in onAvailable() 54 CameraServiceListener* thiz = reinterpret_cast<CameraServiceListener*>(obj); in onAvailable() 61 static void onUnavailable(void* obj, const char* cameraId) { in onUnavailable() argument 63 if (obj == nullptr) { in onUnavailable() 66 CameraServiceListener* thiz = reinterpret_cast<CameraServiceListener*>(obj); in onUnavailable() 107 static void onDisconnected(void* obj, ACameraDevice* device) { in onDisconnected() argument 109 if (obj == nullptr) { in onDisconnected() 112 CameraDeviceListener* thiz = reinterpret_cast<CameraDeviceListener*>(obj); in onDisconnected() 118 static void onError(void* obj, ACameraDevice* device, int errorCode) { in onError() argument [all …]
|
/cts/apps/CameraITS/pymodules/its/ |
D | device.py | 728 obj = {} 729 obj["width"] = widths[j] 730 obj["height"] = heights[j] 731 obj["format"] = fmt 732 obj["metadata"] = mds[i] 735 obj["data"] = yuv_bufs[buf_size][i] 737 obj["data"] = bufs[fmt][i] 738 objs.append(obj)
|