/cts/tests/media/src/android/mediav2/cts/ |
D | CodecDecoderTest.java | 246 OutputManager ref = new OutputManager(); in testSimpleDecode() local 262 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecode() 285 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testSimpleDecode() 289 ref.isPtsStrictlyIncreasing(mPrevOutputPts)); in testSimpleDecode() 293 ref.isOutPtsListIdenticalToInpPtsList(false)); in testSimpleDecode() 312 ref.getRmsError(refData) <= mRmsError); in testSimpleDecode() 362 OutputManager ref = mOutputBuff; in testFlush() local 365 ref.isPtsStrictlyIncreasing(mPrevOutputPts)); in testFlush() 368 ref.isOutPtsListIdenticalToInpPtsList(false)); in testFlush() 419 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testFlush() [all …]
|
D | CodecDecoderSurfaceTest.java | 198 OutputManager ref; in testSimpleDecodeToSurface() local 204 ref = mOutputBuff; in testSimpleDecodeToSurface() 206 ref.isOutPtsListIdenticalToInpPtsList(false)); in testSimpleDecodeToSurface() 228 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testSimpleDecodeToSurface() 264 OutputManager ref = mOutputBuff; in testFlush() local 266 ref.isOutPtsListIdenticalToInpPtsList(false)); in testFlush() 306 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testFlush() 322 assertTrue(log + "decoder output is flaky", ref.equals(test)); in testFlush() 353 OutputManager ref = mOutputBuff; in testReconfigure() local 357 ref.isOutPtsListIdenticalToInpPtsList(false)); in testReconfigure() [all …]
|
D | CodecEncoderTest.java | 269 OutputManager ref = new OutputManager(); in testSimpleEncode() local 295 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode() 316 assertTrue(log + "encoder output is flaky", ref.equals(test)); in testSimpleEncode() 320 ref.isPtsStrictlyIncreasing(mPrevOutputPts)); in testSimpleEncode() 324 ref.isOutPtsListIdenticalToInpPtsList((mMaxBFrames != 0))); in testSimpleEncode() 494 OutputManager ref = mOutputBuff; in testReconfigure() local 497 ref.isPtsStrictlyIncreasing(mPrevOutputPts)); in testReconfigure() 500 ref.isOutPtsListIdenticalToInpPtsList((mMaxBFrames != 0))); in testReconfigure() 540 assertTrue(log + "encoder output is flaky", ref.equals(test)); in testReconfigure() 559 assertTrue(log + "encoder output is flaky", ref.equals(test)); in testReconfigure() [all …]
|
D | CodecDecoderExtTest.java | 111 OutputManager ref = mOutputBuff; in testDecodeAndValidate() local 112 assertTrue(log + "decoder outputs are not identical", ref.equals(test)); in testDecodeAndValidate()
|
D | CodecEncoderSurfaceTest.java | 475 OutputManager ref = new OutputManager(); in testSimpleEncodeFromSurface() local 481 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncodeFromSurface() 547 ref.isPtsStrictlyIncreasing(Long.MIN_VALUE)); in testSimpleEncodeFromSurface()
|
/cts/tests/media/jni/ |
D | NativeCodecDecoderTest.cpp | 53 OutputManager* ref, int64_t pts, SeekMode mode); 265 OutputManager* ref, int64_t pts, SeekMode mode) { in decodeToMemory() argument 267 mOutputBuff = ref; in decodeToMemory() 291 auto ref = &mRefBuff; in testSimpleDecode() local 304 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleDecode() 344 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode() 346 loopCounter == 0 && mIsAudio && (!ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testSimpleDecode() 349 (!ref->isOutPtsListIdenticalToInpPtsList(false)), in testSimpleDecode() 368 float error = ref->getRmsError(mRefData, mRefLength); in testSimpleDecode() 392 auto ref = &mRefBuff; in testFlush() local [all …]
|
D | NativeCodecEncoderTest.cpp | 64 OutputManager* ref); 350 AMediaFormat* format, OutputManager* ref) { in encodeToMemory() argument 354 mOutputBuff = ref; in encodeToMemory() 395 auto ref = &mRefBuff; in testSimpleEncode() local 412 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode() 448 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode() 450 !ref->isPtsStrictlyIncreasing(mPrevOutputPts)), in testSimpleEncode() 453 !ref->isOutPtsListIdenticalToInpPtsList(mMaxBFrames != 0)), in testSimpleEncode() 565 auto ref = &mRefBuff; in testReconfigure() local 566 if (!encodeToMemory(srcPath, encoder, INT32_MAX, format, ref)) { in testReconfigure() [all …]
|
D | NativeCodecEncoderSurfaceTest.cpp | 469 auto ref = &mRefBuff; in testSimpleEncode() local 476 mOutputBuff = loopCounter == 0 ? ref : test; in testSimpleEncode() 540 CHECK_ERR(loopCounter == 0 && (!ref->isPtsStrictlyIncreasing(INT32_MIN)), log, in testSimpleEncode()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | BlankActivityTest.java | 110 final AtomicReference<ComponentName> ref = new AtomicReference<>(); in testGetServiceComponentName_onUiThread() local 112 () -> ref.set(activity.getContentCaptureManager().getServiceComponentName())); in testGetServiceComponentName_onUiThread() 117 assertThat(ref.get()).isEqualTo(CONTENT_CAPTURE_SERVICE_COMPONENT_NAME); in testGetServiceComponentName_onUiThread() 130 final AtomicBoolean ref = new AtomicBoolean(); in testIsContentCaptureFeatureEnabled_onUiThread() local 131 activity.syncRunOnUiThread(() -> ref in testIsContentCaptureFeatureEnabled_onUiThread() 137 assertThat(ref.get()).isTrue(); in testIsContentCaptureFeatureEnabled_onUiThread()
|
D | ChildlessActivityTest.java | 1233 final AtomicReference<ContentCaptureManager> ref = new AtomicReference<>(); in getContentCaptureManagerHack() local 1235 (activity, rootView) -> ref.set(activity.getContentCaptureManager())); in getContentCaptureManagerHack() 1245 final ContentCaptureManager mgr = ref.get(); in getContentCaptureManagerHack()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | IntrinsicHistogram.java | 70 int ref[] = new int[256 * outvs2]; in testNorm() local 93 ref[(t * outvs2) + c] ++; in testNorm() 108 assertTrue(res[ct] == ref[ct]); in testNorm() 192 int ref[] = new int[256]; in testDot() local 221 ref[(v + 0x7f) >> 8] ++; in testDot() 235 assertTrue(res[ct] == ref[ct]); in testDot()
|
D | InitTest.java | 35 float[] ref = new float[INPUTSIZE]; in testInitTest() local 41 ref[i] = 2.0f; in testInitTest() 52 checkArray(ref, out, INPUTSIZE, 1, 1, 0); in testInitTest()
|
D | RSBaseCompute.java | 45 public void checkArray(float[] ref, float[] out, int height, int refStride, in checkArray() argument 52 float ulp = Math.ulp(ref[refIdx]) * ulpCount; in checkArray() 54 ref[refIdx], in checkArray() 61 public void checkArray(int[] ref, int[] out, int height, int refStride, in checkArray() argument 69 ref[refIdx], in checkArray()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | AutoFinishSessionTest.java | 123 final AtomicReference<Exception> ref = new AtomicReference<>(); 126 () -> assertSaveNotShowing(ref), 129 final Exception e = ref.get(); 135 private void assertSaveNotShowing(AtomicReference<Exception> ref) { 139 ref.set(e);
|
/cts/tests/accessibility/common/src/android/accessibility/cts/common/ |
D | InstrumentedAccessibilityService.java | 39 import java.lang.ref.WeakReference; 212 final WeakReference<InstrumentedAccessibilityService> ref = sInstances.get(clazz); in getInstanceForClass() local 213 if (ref != null) { in getInstanceForClass() 214 final T instance = (T) ref.get(); in getInstanceForClass()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | ParcelFileDescriptor_AutoCloseOutputStreamTest.java | 21 import java.lang.ref.Reference;
|
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/ |
D | ToastReceiver.java | 33 import java.lang.ref.WeakReference;
|
/cts/hostsidetests/securitybulletin/src/android/security/cts/ |
D | HostsideOomCatcher.java | 42 import java.lang.ref.WeakReference;
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | LoaderTest.java | 41 import java.lang.ref.WeakReference;
|
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/ |
D | JvmtiRedefineClassesTest.java | 22 import java.lang.ref.WeakReference;
|
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/ |
D | JvmtiTaggingTest.java | 19 import java.lang.ref.WeakReference;
|
/cts/hostsidetests/hdmicec/ |
D | cec_adapter.md | 10 * [Pulse-Eight USB CEC adapter on Amazon](https://www.amazon.com/s/ref=nb_sb_ss_i_1_22?url=search…
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | GLSurfaceViewCustom.java | 26 import java.lang.ref.WeakReference;
|
/cts/tests/app/src/android/app/cts/ |
D | DialogTest.java | 75 import java.lang.ref.WeakReference;
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | ExtendedCameraCharacteristicsTest.java | 1693 int ref = poseReference; in verifyLensCalibration() local 1695 switch (ref) { in verifyLensCalibration()
|