/cts/tests/signature/tests/src/android/signature/cts/tests/ |
D | ByteBufferLineSpliteratorTest.java | 45 int c1 = 0, c2 = 0; in testSplitMostlyMiddle() local 48 c1++; 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/tests/content/src/android/content/res/cts/ |
D | ColorStateListTest.java | 109 final ColorStateList c1 = c.withAlpha(alpha); in testWithAlpha() local 110 assertNotSame(Color.RED, c1.getDefaultColor()); in testWithAlpha() 111 assertEquals(alpha, c1.getDefaultColor() >>> 24); in testWithAlpha() 112 assertEquals(Color.RED & 0x00FF0000, c1.getDefaultColor() & 0x00FF0000); in testWithAlpha() 122 final ColorStateList c1 = c.withLStar((float) lStar); in testWithLStar() local 123 assertNotSame(Color.RED, c1.getDefaultColor()); in testWithLStar() 126 ColorUtils.colorToLAB(c1.getDefaultColor(), labColor); in testWithLStar()
|
D | ConfigurationTest.java | 290 private static void doConfigCompare(int expectedFlags, Configuration c1, Configuration c2) { in doConfigCompare() argument 291 assertEquals(expectedFlags, c1.diff(c2)); in doConfigCompare() 292 Configuration tmpc1 = new Configuration(c1); in doConfigCompare()
|
/cts/tests/tests/systemui/src/android/systemui/cts/ |
D | LightBarTestBase.java | 136 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()
|
D | LightBarTests.java | 494 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/ |
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 | 157 Canvas c1 = new Canvas(); in testApplyToCanvas() local 158 mCamera.applyToCanvas(c1); in testApplyToCanvas() 165 assertEquals(c1.getMatrix(), c2.getMatrix()); in testApplyToCanvas()
|
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2018-9466/ |
D | poc-CVE-2017-9048.c | 31 content.c1 = NULL; in main()
|
D | poc-CVE-2017-9047.c | 33 content.c1 = NULL; in main()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AlphabetIndexerTest.java | 52 Cursor c1 = createCursor("Country", COUNTRIES_LIST); in testAlphabetIndexer() local 54 AlphabetIndexer indexer = new AlphabetIndexer(c1, SORTED_COLUMN_INDEX, ALPHABET); in testAlphabetIndexer()
|
/cts/tests/tests/apache-http/src/android/net/http/cts/ |
D | HttpResponseCacheTest.java | 139 URLConnection c1 = server.getUrl("/").openConnection(); in testStatisticsTracking() local 140 InputStream inputStream1 = c1.getInputStream(); in testStatisticsTracking()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | structs.rsh | 18 ConstMatrix_s *c1;
|
D | ScriptGroupTest.java | 387 ScriptGroup.Closure c1 = in testBuilder2PointWiseKernelToKernelDependency() local 392 ScriptGroup group = builder.create("IncAndDbl", c1.getReturn()); in testBuilder2PointWiseKernelToKernelDependency() 578 ScriptGroup.Closure c1 = in testBuilder2InvokeToKernelDependency() local
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | DrawableContainerTest.java | 811 ColorDrawable c1 = new ColorDrawable(Color.RED); in testOpacityChange() local 813 addAndSelectDrawable(c1); in testOpacityChange() 818 c1.setTint(0x80FF0000); in testOpacityChange() 819 c1.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange() 826 ColorDrawable c1 = new ColorDrawable(Color.RED); in testStatefulnessChange() local 828 addAndSelectDrawable(c1); in testStatefulnessChange() 836 c1.setTintList(csl); in testStatefulnessChange()
|
D | LayerDrawableTest.java | 1856 ColorDrawable c1 = new ColorDrawable(Color.RED); in testOpacityChange() local 1858 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testOpacityChange() 1861 c1.setTint(0x80FF0000); in testOpacityChange() 1862 c1.setTintMode(PorterDuff.Mode.SRC); in testOpacityChange() 1870 ColorDrawable c1 = new ColorDrawable(Color.RED); in testStatefulnessChange() local 1872 LayerDrawable dr = new LayerDrawable(new ColorDrawable[] { c1, c2 }); in testStatefulnessChange() 1878 c1.setTintList(csl); in testStatefulnessChange()
|
/cts/tests/tests/database/src/android/database/sqlite/cts/ |
D | SQLiteStatementTest.java | 314 char c1 = src.charAt(i*2); in parseBlob() local 316 int val1 = Character.digit(c1, 16); in parseBlob()
|
/cts/tests/contentcaptureservice/src/android/contentcaptureservice/cts/ |
D | CustomViewActivityTest.java | 302 final ViewStructure c1 = session.newVirtualViewStructure(customViewId, 1); in testVirtualView_multipleLevels() 303 c1.setText("c1"); in testVirtualView_multipleLevels() 304 final AutofillId c1Id = c1.getAutofillId(); in testVirtualView_multipleLevels() 307 session.notifyViewAppeared(c1); in testVirtualView_multipleLevels()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | CookieManagerTest.java | 121 CookieManager c1 = CookieManager.getInstance(); in testGetInstance() local 124 assertSame(c1, c2); in testGetInstance()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 57 65:c1:31:ba:a9:09:e8:b8:8d:a2:4b:99:40:f2:98:
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 273 final char c1 = 'l'; in testGetChar2() local 276 assertEquals(c1, mBundle.getChar(KEY1, c1)); in testGetChar2() 278 assertEquals(c2, mBundle.getChar(KEY1, c1)); in testGetChar2() 280 assertEquals(c2, mBundle.getChar(KEY1, c1)); in testGetChar2()
|
/cts/tests/app/src/android/app/cts/ |
D | InstrumentationTest.java | 290 Context c1 = mInstrumentation.getContext(); in testContext() local 292 assertNotSame(c1.getPackageName(), c2.getPackageName()); in testContext()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | DatabaseUtilsTest.java | 765 char c1 = src.charAt(i*2); in parseBlob() local 767 int val1 = Character.digit(c1, 16); in parseBlob()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ltz/d/ |
D | T_if_ltz_8.dfh | 9 // parsed: offset 12, len 20: signature : 2cbc...44c1
|
/cts/tests/devicepolicy/telephony/src/android/devicepolicy/cts/telephony/ |
D | WorkProfileTelephonyTest.java | 214 RoleContext c1 = personalSmsApp.testApp().pkg().setAsRoleHolder(ROLE_SMS, in sendTextMessage_fromPersonalProfile_allManagedSubscriptions_errorUserNotAllowed()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageManagerTest.java | 898 Configuration c1 = new Configuration(mContext.getResources().getConfiguration()); in testGetResources_withConfig() local 899 c1.orientation = Configuration.ORIENTATION_PORTRAIT; in testGetResources_withConfig() 901 appInfo, c1).getString(resourceId)); in testGetResources_withConfig()
|