/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ByteBufferLineSpliteratorTest.java | 45 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/tools/cts-media/ |
D | get_achievable_rates.py | 202 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) 215 …c2 = ' <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/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 143 private static boolean isColorSame(int c1, int c2) { in isColorSame() argument 144 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_DIFF_THESHOLDS in isColorSame() 145 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_DIFF_THESHOLDS in isColorSame() 146 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_DIFF_THESHOLDS in isColorSame() 147 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_DIFF_THESHOLDS; in isColorSame()
|
D | LightBarTests.java | 445 private boolean isColorSame(int c1, int c2){ in isColorSame() argument 446 return Math.abs(Color.alpha(c1) - Color.alpha(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame() 447 && Math.abs(Color.red(c1) - Color.red(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame() 448 && Math.abs(Color.green(c1) - Color.green(c2)) < COLOR_COMPONENT_ERROR_MARGIN in isColorSame() 449 && Math.abs(Color.blue(c1) - Color.blue(c2)) < COLOR_COMPONENT_ERROR_MARGIN; in isColorSame()
|
/cts/tests/controls/src/android/controls/cts/ |
D | CtsControlsServiceTest.java | 364 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/ |
D | CameraTest.java | 160 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/ |
D | poc-CVE-2017-9047.c | 32 content.c2 = NULL; in main()
|
D | poc-CVE-2017-9048.c | 30 content.c2 = NULL; in main()
|
/cts/tests/media/ |
D | README.md | 24 Example: To limit the tests to run for codecs whose names start with c2.android. 27 atest CtsMediaV2TestCases -- --module-arg CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.… 30 Example: To limit the tests to run for c2.android.hevc.decoder 33 atest CtsMediaV2TestCases -- --module-arg CtsMediaV2TestCases:instrumentation-arg:codec-prefix:=c2.…
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AlphabetIndexerTest.java | 91 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/ |
D | HttpResponseCacheTest.java | 148 URLConnection c2 = server.getUrl("/").openConnection(); in testStatisticsTracking() local 149 assertEquals('A', c2.getInputStream().read()); in testStatisticsTracking()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | structs.rsh | 28 ConstComplex_s *c2;
|
D | ScriptGroupTest.java | 581 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/ |
D | SQLiteStatementTest.java | 315 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/ |
D | CustomViewActivityTest.java | 330 final ViewStructure c2 = session.newVirtualViewStructure(customViewId, 2); in testVirtualView_multipleLevels() 331 c2.setText("c2"); in testVirtualView_multipleLevels() 332 final AutofillId c2Id = c2.getAutofillId(); in testVirtualView_multipleLevels() 335 session.notifyViewAppeared(c2); in testVirtualView_multipleLevels()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 85 CookieManager c2 = CookieManager.getInstance(); in testGetInstance() local 87 assertSame(c1, c2); in testGetInstance()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerTest.java | 812 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()
|
D | LayerDrawableTest.java | 1857 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/tests/content/src/android/content/res/cts/ |
D | ConfigurationTest.java | 188 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument 189 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare() 191 assertEquals(expectedFlags, tmpc1.updateFrom(c2)); in doConfigCompare() 192 assertEquals(0, tmpc1.diff(c2)); in doConfigCompare()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 229 final char c2 = 'i'; in testGetChar2() local 232 mBundle.putChar(KEY, c2); in testGetChar2() 233 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2() 235 assertEquals(c2, mBundle.getChar(KEY, c1)); in testGetChar2()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 77 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/ |
D | InstrumentationTest.java | 227 Context c2 = mInstrumentation.getTargetContext(); in testContext() local 228 assertNotSame(c1.getPackageName(), c2.getPackageName()); in testContext()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtilsTest.java | 637 char c2 = src.charAt(i*2+1); in parseBlob() local 639 int val2 = Character.digit(c2, 16); in parseBlob()
|
/cts/tools/vm-tests-tf/src/dot/junit/verify/a5/d/ |
D | T_a5_1.dfh | 9 // parsed: offset 12, len 20: signature : 60c2...28af
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 658 Configuration c2 = new Configuration(mContext.getResources().getConfiguration()); in testGetResources_withConfig() local 659 c2.orientation = Configuration.ORIENTATION_LANDSCAPE; in testGetResources_withConfig() 661 appInfo, c2).getString(resourceId)); in testGetResources_withConfig()
|