Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 30) sorted by relevance

12

/cts/tests/media/src/android/mediav2/cts/
DCodecDecoderTest.java246 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 …]
DCodecDecoderSurfaceTest.java198 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 …]
DCodecEncoderTest.java269 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 …]
DCodecDecoderExtTest.java111 OutputManager ref = mOutputBuff; in testDecodeAndValidate() local
112 assertTrue(log + "decoder outputs are not identical", ref.equals(test)); in testDecodeAndValidate()
DCodecEncoderSurfaceTest.java475 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/
DNativeCodecDecoderTest.cpp53 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 …]
DNativeCodecEncoderTest.cpp64 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 …]
DNativeCodecEncoderSurfaceTest.cpp469 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/
DBlankActivityTest.java110 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()
DChildlessActivityTest.java1233 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/
DIntrinsicHistogram.java70 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()
DInitTest.java35 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()
DRSBaseCompute.java45 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/
DAutoFinishSessionTest.java123 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/
DInstrumentedAccessibilityService.java39 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/
DParcelFileDescriptor_AutoCloseOutputStreamTest.java21 import java.lang.ref.Reference;
/cts/tests/framework/base/windowmanager/app/src/android/server/wm/app/
DToastReceiver.java33 import java.lang.ref.WeakReference;
/cts/hostsidetests/securitybulletin/src/android/security/cts/
DHostsideOomCatcher.java42 import java.lang.ref.WeakReference;
/cts/tests/fragment/src/android/fragment/cts/
DLoaderTest.java41 import java.lang.ref.WeakReference;
/cts/hostsidetests/jvmti/redefining/app/src/android/jvmti/cts/
DJvmtiRedefineClassesTest.java22 import java.lang.ref.WeakReference;
/cts/hostsidetests/jvmti/tagging/app/src/android/jvmti/cts/
DJvmtiTaggingTest.java19 import java.lang.ref.WeakReference;
/cts/hostsidetests/hdmicec/
Dcec_adapter.md10 * [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/
DGLSurfaceViewCustom.java26 import java.lang.ref.WeakReference;
/cts/tests/app/src/android/app/cts/
DDialogTest.java75 import java.lang.ref.WeakReference;
/cts/tests/camera/src/android/hardware/camera2/cts/
DExtendedCameraCharacteristicsTest.java1693 int ref = poseReference; in verifyLensCalibration() local
1695 switch (ref) { in verifyLensCalibration()

12