Home
last modified time | relevance | path

Searched refs:f2 (Results 1 – 22 of 22) sorted by relevance

/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DNativeMuxerTest.java238 private Boolean compareByteBufferInFormats(MediaFormat f1, MediaFormat f2, String key) { in compareByteBufferInFormats() argument
240 ByteBuffer bufF2 = f2.containsKey(key) ? f2.getByteBuffer(key) : null; in compareByteBufferInFormats()
252 private boolean compareFormats(MediaFormat f1, MediaFormat f2, long maxDurationDiffUs) { in compareFormats() argument
257 && f1.containsKey(KEY_DURATION) && f2.containsKey(KEY_DURATION) in compareFormats()
259 - f2.getLong(KEY_DURATION)) <= maxDurationDiffUs) { in compareFormats()
260 f2.setLong(KEY_DURATION, f1.getLong(KEY_DURATION)); in compareFormats()
264 if (Boolean.FALSE.equals(compareByteBufferInFormats(f1, f2, "hdr-static-info"))) { in compareFormats()
271 Boolean match = compareByteBufferInFormats(f1, f2, key); in compareFormats()
283 && f2.containsKey(MediaFormat.KEY_PIXEL_ASPECT_RATIO_HEIGHT)) { in compareFormats()
284 f2.setInteger(MediaFormat.KEY_PIXEL_ASPECT_RATIO_HEIGHT, in compareFormats()
[all …]
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/
DInstallConstraintsTest.kt176 val f2 = CompletableFuture<PackageInstaller.InstallConstraintsResult>() in <lambda>() constant
181 ) { result -> f2.complete(result) } in <lambda>()
182 assertThat(f2.join().areAllConstraintsSatisfied()).isTrue() in <lambda>()
208 val f2 = CompletableFuture<PackageInstaller.InstallConstraintsResult>() in <lambda>() constant
213 ) { result -> f2.complete(result) } in <lambda>()
214 assertThat(f2.join().areAllConstraintsSatisfied()).isTrue() in <lambda>()
238 val f2 = CompletableFuture<PackageInstaller.InstallConstraintsResult>() in <lambda>() constant
243 ) { result -> f2.complete(result) } in <lambda>()
244 assertThat(f2.join().areAllConstraintsSatisfied()).isTrue() in <lambda>()
270 val f2 = CompletableFuture<PackageInstaller.InstallConstraintsResult>() in <lambda>() constant
[all …]
/cts/tests/tests/assist/src/android/assist/cts/classification/unittests/
DFieldClassificationResponseTest.java51 FieldClassification f2 = new FieldClassification(sAutofillId2, hints2, groupHints2); in testGetters() local
53 Set<FieldClassification> fcSet = Set.of(f1, f2); in testGetters()
68 FieldClassification f2 = new FieldClassification(sAutofillId2, hints2, groupHints2); in testParcelingAndUnparceling() local
70 Set<FieldClassification> fcSet = new ArraySet<>(Set.of(f1, f2)); in testParcelingAndUnparceling()
/cts/tests/fragment/src/android/fragment/cts/
DFragmentLifecycleTest.java106 final StrictFragment f2 = new StrictFragment(); in detachment() local
108 fm.beginTransaction().add(f1, "1").add(f2, "2").commit(); in detachment()
112 assertTrue("fragment 2 is not added", f2.isAdded()); in detachment()
115 fm.beginTransaction().detach(f1).detach(f2).commit(); in detachment()
119 assertTrue("fragment 2 is not detached", f2.isDetached()); in detachment()
121 assertFalse("fragment 2 is added", f2.isAdded()); in detachment()
129 assertTrue("fragment 2 is not detached", f2.isDetached()); in detachment()
132 fm.beginTransaction().remove(f1).remove(f2).commit(); in detachment()
136 assertFalse("fragment 2 is added", f2.isAdded()); in detachment()
138 assertFalse("fragment 2 is detached", f2.isDetached()); in detachment()
[all …]
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem45 86:ce:6f:f2:28:9d:8a:e7:36:c4:70:a8:16:b0:18:
50 7f:dd:5f:7b:eb:7c:a1:39:a2:8b:43:2e:f4:f2:71:
57 65:c1:31:ba:a9:09:e8:b8:8d:a2:4b:99:40:f2:98:
73 70:0a:9a:b5:c9:3b:48:12:13:0b:a6:ed:08:6d:5b:0d:7e:f2:
Dcve_2019_2245.ts777 …�e�уT�WR(�͓r[��E)�F0(�UI�i���e%�%1B��u$G�1��l;]M�^Z���*D>k��XmZ�ɑ �_ F�f2�S���?��kC=��1�…
Dcve_2018_13925.ts778 …�e�уT�WR(�͓r[��E)�F0(�UI�i���e%�%1B��u$G�1��l;]M�^Z���*D>k��XmZ�ɑ �_ F�f2�S���?��kC=��1�…
Dcve_2019_2244.ts777 …�e�уT�WR(�͓r[��E)�F0(�UI�i���e%�%1B��u$G�1��l;]M�^Z���*D>k��XmZ�ɑ �_ F�f2�S���?��kC=��1�…
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dvector.rscript4 float2 f2 = { 1.0f, 2.0f };
48 _RS_ASSERT(f2.x == 2.99f);
49 _RS_ASSERT(f2.y == 3.99f);
DComputeTest.java104 Float2 f2 = new Float2(); in testJavaVectorTypes() local
105 f2.x = 1.0f; in testJavaVectorTypes()
106 f2.y = 2.0f; in testJavaVectorTypes()
107 f2 = new Float2(1.0f, 2.0f); in testJavaVectorTypes()
108 assertTrue(f2.x == 1.0f); in testJavaVectorTypes()
109 assertTrue(f2.y == 2.0f); in testJavaVectorTypes()
295 avtItem.f2.x = 1.0f; in initializeGlobals()
296 avtItem.f2.y = 2.0f; in initializeGlobals()
Dprimitives.rscript103 _RS_ASSERT(avt->f2.x == 1.0f);
104 _RS_ASSERT(avt->f2.y == 2.0f);
Dstructs.rsh52 float2 f2;
Dverify.rscript24 static bool compare_float(float f1, float f2) {
25 if (fabs(f1-f2) > gAllowedFloatError) {
DMatrixTest.rscript264 const float2 f2 = {-2.f, 3.f};
268 const float2 f2r = rsMatrixMultiply(&m2, f2);
/cts/tools/mcts/
Ddownload_mcts.sh95 … url_link_last_modified_string=$(curl -sI ${url} | grep -i "last-modified" | cut -d: -f2- | xargs)
/cts/tools/vm-tests-tf/etc/
Dstarthosttests140 deps=`echo $myline | cut -d";" -f2`
Dstarttests150 deps=`echo $myline | cut -d";" -f2`
/cts/tests/tests/rscpp/src/android/cts/rscpp/
Dverify.rscript29 static bool compare_float(float f1, float f2) {
30 if (fabs(f1-f2) > image_tolerance) {
/cts/tests/signature/api-check/shared-libs-api/
DAndroid.bp75 cmd: "grep 'uses-library' $(in) | cut -f2 -d\\\" | sort > $(out)",
/cts/tests/tests/os/src/android/os/cts/
DBundleTest.java417 final float f2 = 10.07f; in testGetFloat2() local
420 mBundle.putFloat(KEY1, f2); in testGetFloat2()
421 assertEquals(f2, mBundle.getFloat(KEY1, f1), 0.0f); in testGetFloat2()
423 assertEquals(f2, mBundle.getFloat(KEY1, f1), 0.0f); in testGetFloat2()
/cts/tests/tests/car/lib/CarIntegrationTestUtilsLib/src/android/car/cts/utils/
DVehiclePropertyVerifier.java2559 private static boolean floatEquals(float f1, float f2) { in floatEquals() argument
2560 return Math.abs(f1 - f2) < FLOAT_INEQUALITY_THRESHOLD; in floatEquals()
2563 private static boolean floatArrayEquals(Float[] f1, Float[] f2) { in floatArrayEquals() argument
2564 return Arrays.equals(f1, f2); in floatArrayEquals()
/cts/tests/tests/text/src/android/text/cts/
DStaticLayoutTest.java1516 int f2 = frequencies[(fi + 1) % frequencies.length];
1523 new LayoutParam(b2, f2, p2, dir2));