Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 28) sorted by relevance

12

/cts/tests/signature/tests/src/android/signature/cts/tests/
DByteBufferLineSpliteratorTest.java45 int c1 = 0, c2 = 0; in testSplitMostlyMiddle() local
52 c2++; in testSplitMostlyMiddle()
54 assertEquals(c1 + " + " + c2 + " != 100", 100, c1 + c2); in testSplitMostlyMiddle()
55 assertTrue("c1=" + c1 + ", c2=" + c2, Math.abs(c1 - c2) < 10); in testSplitMostlyMiddle()
/cts/tests/mediapc/
DREADME.md39 Example: To limit the tests to run for c2.android.avc.decoder and c2.android.hevc.encoder
42 …aPerformanceClassTestCases:instrumentation-arg:codec-filter:="c2\.android\.avc\.decoder\|c2\.andro…
48 Example: To limit the tests to run for codecs whose names start with c2.android.
51 …ses -- --module-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:codec-prefix:=c2.android.
54 Example: To limit the tests to run for c2.android.hevc.decoder
57 …ule-arg CtsMediaPerformanceClassTestCases:instrumentation-arg:codec-prefix:=c2.android.hevc.decoder
/cts/tools/cts-media/
Dget_achievable_rates.py202 c2 = ''
204 c2 += ' N=%d' % N
206 c2 += ' v%d%%=%.1f' % (round(100 - 2 * P), var)
208 c2 += ' E=%s' % (str(quality))
209 if c2:
210 c2 = ' <!--%s -->' % c2
214 if A and A.dbg: yield '<!-- --> %s%s' % (comment, c2)
215c2 = ' <Limit name="measured-frame-rate-%s" range="%d-%d" />%s' % (size, pub_lo, pub_hi…
216 final = Final(comment, c2, var, quality)
224 comment, c2, var, quality = lastFinal
[all …]
/cts/tests/media/
DREADME.md28 Example: To limit the tests to run for codecs whose names start with c2.android.
31 atest CtsMediaV2TestCases -- --module-arg CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.…
34 Example: To limit the tests to run for c2.android.hevc.decoder
37 atest CtsMediaV2TestCases -- --module-arg CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.…
43 Example: To limit the tests to run for c2.android.avc.encoder and c2.exynos.hevc.encoder
46 …le-arg CtsMediaV2TestCases:instrumentation-arg:codec-filter:="c2\.android\.avc\.encoder\|c2\.exyno…
/cts/tests/tests/systemui/src/android/systemui/cts/
DLightBarTestBase.java136 private static boolean isColorSame(int c1, int c2) { in isColorSame() argument
137 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
138 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
139 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_DIFF_THESHOLDS in isColorSame()
140 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_DIFF_THESHOLDS; in isColorSame()
DLightBarTests.java494 private boolean isColorSame(int c1, int c2){ in isColorSame() argument
495 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
496 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
497 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame()
498 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_COMPONENT_ERROR_MARGIN; in isColorSame()
/cts/tests/controls/src/android/controls/cts/
DCtsControlsServiceTest.java364 private void assertControlEquals(Control c1, Control c2) { in assertControlEquals() argument
365 assertEquals(c1.getTitle(), c2.getTitle()); in assertControlEquals()
366 assertEquals(c1.getSubtitle(), c2.getSubtitle()); in assertControlEquals()
367 assertEquals(c1.getStructure(), c2.getStructure()); in assertControlEquals()
368 assertEquals(c1.getZone(), c2.getZone()); in assertControlEquals()
369 assertEquals(c1.getDeviceType(), c2.getDeviceType()); in assertControlEquals()
370 assertEquals(c1.getStatus(), c2.getStatus()); in assertControlEquals()
371 assertEquals(c1.getControlId(), c2.getControlId()); in assertControlEquals()
372 assertEquals(c1.getCustomIcon(), c2.getCustomIcon()); in assertControlEquals()
373 assertEquals(c1.getCustomColor(), c2.getCustomColor()); in assertControlEquals()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DCameraTest.java160 Canvas c2 = new Canvas(); in testApplyToCanvas() local
163 c2.concat(m); in testApplyToCanvas()
165 assertEquals(c1.getMatrix(), c2.getMatrix()); in testApplyToCanvas()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9466/
Dpoc-CVE-2017-9048.c32 content.c2 = NULL; in main()
Dpoc-CVE-2017-9047.c34 content.c2 = NULL; in main()
/cts/tests/tests/widget/src/android/widget/cts/
DAlphabetIndexerTest.java91 Cursor c2 = createCursor("Name", NAMES_LIST); in testAlphabetIndexer() local
93 indexer.setCursor(c2); in testAlphabetIndexer()
/cts/tests/tests/apache-http/src/android/net/http/cts/
DHttpResponseCacheTest.java148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() local
149 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
/cts/tests/tests/renderscript/src/android/renderscript/cts/
Dstructs.rsh28 ConstComplex_s *c2;
DScriptGroupTest.java581 ScriptGroup.Closure c2 = in testBuilder2InvokeToKernelDependency() local
586 ScriptGroup group = builder.create("Multiply", c2.getReturn()); in testBuilder2InvokeToKernelDependency()
/cts/tests/tests/database/src/android/database/sqlite/cts/
DSQLiteStatementTest.java315 char c2 = src.charAt(i*2+1); in parseBlob() local
317 int val2 = Character.digit(c2, 16); in parseBlob()
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/
DCustomViewActivityTest.java325 final ViewStructure c2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_multipleLevels()
326 c2.setText("c2"); in testVirtualView_multipleLevels()
327 final AutofillId c2Id = c2.getAutofillId(); in testVirtualView_multipleLevels()
330 session.notifyViewAppeared(c2); in testVirtualView_multipleLevels()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableContainerTest.java812 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testOpacityChange() local
814 addAndSelectDrawable(c2); in testOpacityChange()
827 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testStatefulnessChange() local
829 addAndSelectDrawable(c2); in testStatefulnessChange()
DLayerDrawableTest.java1857 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testOpacityChange() local
1858 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testOpacityChange()
1863 c2.setTint(0x800000FF); in testOpacityChange()
1864 c2.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange()
1871 ColorDrawable c2 = new ColorDrawable(Color.BLUE); in testStatefulnessChange() local
1872 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testStatefulnessChange()
/cts/tests/rollback/src/com/android/cts/rollback/
DRollbackManagerTest.java461 Install c2 = Install.single(TestApp.C2) in testRollbackDataPolicy() local
463 Install.multi(a2, b2, c2).setEnableRollback().commit(); in testRollbackDataPolicy()
493 Install c2 = Install.single(TestApp.CRollbackRetain2).setEnableRollback(); in testRollbackDataPolicy_Manifest() local
494 Install.multi(a2, b2, c2).setEnableRollback().commit(); in testRollbackDataPolicy_Manifest()
/cts/tests/tests/webkit/src/android/webkit/cts/
DCookieManagerTest.java122 CookieManager c2 = CookieManager.getInstance(); in testGetInstance() local
124 assertSame(c1, c2); in testGetInstance()
/cts/tests/tests/content/src/android/content/res/cts/
DConfigurationTest.java290 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument
291 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare()
293 assertEquals(expectedFlags, tmpc1.updateFrom(c2)); in doConfigCompare()
294 assertEquals(0, tmpc1.diff(c2)); in doConfigCompare()
/cts/tests/tests/security/res/raw/
Dopenssl_heartbleed_test_cert.pem77 c2:fa:9c:be:c3:da:76:2b:cb:4e:65:4d:b6:98:80:5d:66:d7:
/cts/tests/app/src/android/app/cts/
DInstrumentationTest.java291 Context c2 = mInstrumentation.getTargetContext(); in testContext() local
292 assertNotSame(c1.getPackageName(), c2.getPackageName()); in testContext()
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/
DT_a5_1.dfh9 // parsed: offset 12, len 20: signature : 60c2...28af
/cts/tests/tests/database/src/android/database/cts/
DDatabaseUtilsTest.java766 char c2 = src.charAt(i*2+1); in parseBlob() local
768 int val2 = Character.digit(c2, 16); in parseBlob()

12