/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayout_MetricsTest.java | 33 BoringLayout.Metrics bm = new BoringLayout.Metrics(); in testMetrics() local 34 assertNotNull(bm.toString()); in testMetrics()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 300 Bitmap bm = ImageDecoder.decodeBitmap(src); in testDecodeBitmap() local 301 assertNotNull(bm); in testDecodeBitmap() 302 assertEquals(record.width, bm.getWidth()); in testDecodeBitmap() 303 assertEquals(record.height, bm.getHeight()); in testDecodeBitmap() 304 assertFalse(bm.isMutable()); in testDecodeBitmap() 306 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testDecodeBitmap() 381 Bitmap bm = null; in testSetAllocatorDecodeBitmap() local 383 bm = ImageDecoder.decodeBitmap(src, l); in testSetAllocatorDecodeBitmap() 388 assertNotNull(bm); in testSetAllocatorDecodeBitmap() 396 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap() [all …]
|
/cts/tests/pdf/src/android/graphics/pdf/cts/ |
D | PdfRendererTest.java | 225 private @NonNull int[] getColorProbes(@NonNull Bitmap bm) { in getColorProbes() argument 230 probes[row * 4 + column] = bm.getPixel((int) (bm.getWidth() * (column + 0.5) / 4), in getColorProbes() 231 (int) (bm.getHeight() * (row + 0.5) / 4)); in getColorProbes() 247 Bitmap bm = renderWithTransform(A4_WIDTH_PTS, A4_HEIGHT_PTS, A4_PORTRAIT, null, null, in renderNoTransformationAndComparePoints() local 249 int[] probes = getColorProbes(bm); in renderNoTransformationAndComparePoints()
|
D | Utils.java | 123 Bitmap bm = Bitmap.createBitmap(bmWidth, bmHeight, Bitmap.Config.ARGB_8888); in renderWithTransform() local 125 page.render(bm, clipping, transformation, renderMode); in renderWithTransform() 127 return bm; in renderWithTransform()
|
/cts/hostsidetests/incident/src/com/android/server/cts/ |
D | BatteryStatsIncidentTest.java | 346 UidProto.BluetoothMisc bm = u.getBluetoothMisc(); in testUidProto() local 347 testTimerProto(bm.getApportionedBleScan()); in testUidProto() 348 testTimerProto(bm.getBackgroundBleScan()); in testUidProto() 349 testTimerProto(bm.getUnoptimizedBleScan()); in testUidProto() 350 testTimerProto(bm.getBackgroundUnoptimizedBleScan()); in testUidProto() 351 assertTrue(0 <= bm.getBleScanResultCount()); in testUidProto() 352 assertTrue(0 <= bm.getBackgroundBleScanResultCount()); in testUidProto()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/ |
D | ChargingConstraintTestActivity.java | 115 BatteryManager bm = (BatteryManager) getSystemService(BATTERY_SERVICE); in startTestImpl() local 116 if (bm.isCharging()) { in startTestImpl()
|
/cts/tests/AlarmManager/src/android/alarmmanager/cts/ |
D | AppStandbyTests.java | 300 final BatteryManager bm = mContext.getSystemService(BatteryManager.class); in setBatteryCharging() local 304 assertTrue("Battery could not be unplugged", waitUntil(() -> !bm.isCharging(), 5_000)); in setBatteryCharging()
|
/cts/tests/tests/print/src/android/print/cts/ |
D | PrintServicesTest.java | 427 Bitmap bm = BitmapFactory.decodeResource(getActivity().getResources(), 430 mIcon = Icon.createWithBitmap(bm);
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 283 Bitmap bm = Bitmap.createBitmap(drawable.getIntrinsicWidth(), drawable.getIntrinsicHeight(), in testLifeCycleSoftware() local 285 Canvas canvas = new Canvas(bm); in testLifeCycleSoftware()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | StillCaptureTest.java | 853 Bitmap bm[] = new Bitmap[MAX_ALLOCATED_BITMAPS]; in takePictureTestByCamera() local 855 bm[i] = Bitmap.createBitmap( in takePictureTestByCamera() 857 assertNotNull("Created bitmap #" + i + " shouldn't be null", bm[i]); in takePictureTestByCamera()
|
/cts/tests/tests/media/assets/ |
D | fileSequence1.ts | 3028 c�N�q�eW l�sG�-�� N>����bm��V�0i0�/� �M$� A��f�!wA"h�����`���\��]B���
|