/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | WidgetTestUtils.java | 59 public static void assertEquals(Bitmap b1, Bitmap b2) { in assertEquals() argument 60 if (b1 == b2) { in assertEquals() 64 if (b1 == null || b2 == null) { in assertEquals() 69 if (b1.getWidth() != b2.getWidth() || b1.getHeight() != b2.getHeight() in assertEquals() 70 || b1.getConfig() != b2.getConfig()) { in assertEquals() 74 int w = b1.getWidth(); in assertEquals() 75 int h = b1.getHeight(); in assertEquals() 80 b1.getPixels(pixels1, 0, w, 0, 0, w, h); in assertEquals()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | PorterDuffXfermodeTest.java | 44 Bitmap b1 = Bitmap.createBitmap(WIDTH / 2, HEIGHT, Config.ARGB_8888); in testPorterDuffXfermode() local 45 b1.eraseColor(Color.RED); in testPorterDuffXfermode() 51 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode() 60 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode() 69 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffXfermode()
|
D | PorterDuffColorFilterTest.java | 43 Bitmap b1 = Bitmap.createBitmap(width / 2, height, Config.ARGB_8888); in testPorterDuffColorFilter() local 44 b1.eraseColor(Color.RED); in testPorterDuffColorFilter() 55 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter() 68 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter() 78 canvas.drawBitmap(b1, 0, 0, p); in testPorterDuffColorFilter()
|
/cts/tests/app/src/android/app/cts/ |
D | TimePickerDialogTest.java | 152 Bundle b1 = new Bundle(); in testOnRestoreInstanceState() local 153 b1.putInt(HOUR, TARGET_HOUR); in testOnRestoreInstanceState() 154 b1.putInt(MINUTE, minute); in testOnRestoreInstanceState() 155 b1.putBoolean(IS_24_HOUR, false); in testOnRestoreInstanceState() 158 timePickerDialog.onRestoreInstanceState(b1); in testOnRestoreInstanceState()
|
/cts/hostsidetests/shortcuts/deviceside/upgrade/src/android/content/pm/cts/shortcut/upgrade/ |
D | ShortcutManagerPreUpgradeTest.java | 41 final PersistableBundle b1 = new PersistableBundle(); in testPreUpgrade() local 42 b1.putInt(Consts.EXTRA_ICON_RES_ID, R.drawable.black_32x32); in testPreUpgrade() 47 .setExtras(b1) in testPreUpgrade()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | BlendModeColorFilterTest.java | 63 final Bitmap b1 = Bitmap.createBitmap(TEST_WIDTH / 2, in BlendModeColorFilterClient() local 65 b1.eraseColor(Color.RED); in BlendModeColorFilterClient() 69 mB1 = b1; in BlendModeColorFilterClient()
|
/cts/tests/tests/binder_ndk/libbinder_ndk_test/ |
D | test_ibinder.cpp | 183 AIBinder* b1 = SampleData::newBinder(); in TEST_F() local 186 EXPECT_NE(AIBinder_lt(b1, b2), AIBinder_lt(b2, b1)); in TEST_F() 189 AIBinder_decStrong(b1); in TEST_F() 212 AIBinder* b1 = SampleData::newBinder(); in TEST_F() local 213 AIBinder_Weak* w1 = AIBinder_Weak_new(b1); in TEST_F() 217 bool b1ltb2 = AIBinder_lt(b1, b2); in TEST_F() 221 AIBinder_decStrong(b1); in TEST_F()
|
/cts/tests/tests/slice/src/android/slice/cts/ |
D | SliceProvider.java | 110 Bundle b1 = new Bundle(); in onBindSlice() local 111 b1.putParcelable("a", new TestParcel()); in onBindSlice() 112 return new Slice.Builder(sliceUri, SPEC).addBundle(b1, "bundle", in onBindSlice()
|
/cts/tests/tests/media/common/src/android/media/cts/ |
D | StreamUtils.java | 319 int b1 = buffered_test.read(); in compareStreams() local 321 if (b1 != b2) { in compareStreams() 322 Log.e(TAG, "streams differ at " + numread + ": " + b1 + "/" + b2); in compareStreams() 325 if (b1 == -1) { in compareStreams()
|
/cts/tests/sensor/src/android/hardware/cts/ |
D | SensorManagerStaticTest.java | 475 int b1, b2, b3; // AXIS_X/Y/Z w/ or w/o MINUS in testRemapCoordinateSystem() local 496 b1 = a1 | (((k & 2) != 0) ? 0x80 : 0); in testRemapCoordinateSystem() 500 ( (((a2 + 3 - a1) % 3 == 2) ? 0x80 : 0) ^ (b1 & 0x80) ^ (b2 & 0x80)); in testRemapCoordinateSystem() 504 assertTrue(SensorManager.remapCoordinateSystem(R, b1, b2, Rout)); in testRemapCoordinateSystem() 506 assertTrue(SensorManager.remapCoordinateSystem(mat9to16(R), b1, b2, Rout2)); in testRemapCoordinateSystem() local 514 i, b1, b2, b3, mat9ToStr(R), mat9ToStr(Rout)); in testRemapCoordinateSystem() 517 v2 = mat9Axis(Rout, b1); in testRemapCoordinateSystem()
|
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/ |
D | VirtualCameraUtils.java | 151 float b1 = (colorA & 0xff) / 255f; in areColorsAlmostIdentical() local 161 + (b1 - b2) * (b1 - b2)) / 4; in areColorsAlmostIdentical()
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | CardPresenter.java | 87 Target<GlideDrawable> target, boolean b, boolean b1) { in onBindViewHolder()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | TypeTest.java | 192 Type.Builder b1 = new Type.Builder(mRS, Element.F32(mRS)); in testEquals() local 193 Type t1 = b1.setX(5).setY(5).create(); in testEquals()
|
D | ScriptGroupTest.java | 438 ScriptGroup.Binding b1 = new ScriptGroup.Binding(s.getFieldID_reduction_stride(), in testBuilder2GatherScatterAcrossKernelsViaGlobals() local 442 b1, b2); in testBuilder2GatherScatterAcrossKernelsViaGlobals() 498 ScriptGroup.Binding b1 = new ScriptGroup.Binding(s.getFieldID_reduction_stride(), in testBuilder2KernelOutputToGlobal() local 502 b1, b2); in testBuilder2KernelOutputToGlobal()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | BundleTest.java | 99 final Bundle b1 = new Bundle(); in testBundle() local 100 assertTrue(b1.isEmpty()); in testBundle() 101 b1.putBoolean(KEY1, true); in testBundle() 102 assertFalse(b1.isEmpty()); in testBundle() 104 final Bundle b2 = new Bundle(b1); in testBundle() 229 final byte b1 = 6; in testGetByte2() 232 assertEquals((Byte)b1, mBundle.getByte(KEY1, b1)); in testGetByte2() 234 assertEquals((Byte)b2, mBundle.getByte(KEY1, b1)); in testGetByte2() 236 assertEquals((Byte)b2, mBundle.getByte(KEY1, b1)); in testGetByte2()
|
D | ParcelTest.java | 4785 IBinder b1 = new Binder(); in testObjectResize() local 4789 p.writeStrongBinder(b1); in testObjectResize() 4799 p.writeStrongBinder(b1); in testObjectResize() 4801 p.writeStrongBinder(b1); in testObjectResize() 4806 assertEquals("Object at the start of the parcel parcel should match the first binder", b1, in testObjectResize()
|
/cts/tests/tests/security/res/raw/ |
D | openssl_heartbleed_test_cert.pem | 44 3d:ca:b1:a2:c4:06:cf:64:d4:bb:18:aa:05:46:7a:
|
/cts/tests/vr/jni/ |
D | VrExtensionsJni.cpp | 357 float b1 = ((color1 >> 16) & 0xff) / 255.0f; in LerpColor() local 361 uint32_t b8 = (b0 * (1.0f - t) + b1 * t) * 255.0f; in LerpColor()
|
/cts/tools/vm-tests-tf/src/dot/junit/format/f1/d/ |
D | T_f1_8.dfh | 9 // parsed: offset 12, len 20: signature : 1091...62b1
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/new_instance/d/ |
D | T_new_instance_6.dfh | 9 // parsed: offset 12, len 20: signature : 71b1...5136
|
/cts/tests/tests/text/src/android/text/cts/ |
D | StaticLayoutTest.java | 1512 int b1 = breaks[bi]; 1522 new LayoutParam(b1, f1, p1, dir1),
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 1952 int b1 = in1.read(); in verifyServer() local 1954 assertEquals("CtsTestServer fail", b1, b2); in verifyServer() 1955 if (b1 < 0) { in verifyServer()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RemoteViewsTest.java | 881 float b1 = (pix1 & 0xFF) >> 1; in compareImages() local 888 sqr_sum += (b1 - b2) * (b1 - b2); in compareImages()
|