Home
last modified time | relevance | path

Searched refs:rawImage (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java225 byte[] rawImage; in getImage()
227 rawImage = nativeGetImage(mNativeContext, id); in getImage()
229 if (rawImage == null || rawImage.length == 0) { in getImage()
233 return BitmapFactory.decodeByteArray(rawImage, 0, rawImage.length); in getImage()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DRadioModule.java402 byte[] rawImage;
405 rawImage = new byte[rawList.size()];
407 rawImage[i] = rawList.get(i);
411 if (rawImage == null || rawImage.length == 0) return null;
413 return BitmapFactory.decodeByteArray(rawImage, 0, rawImage.length);
/frameworks/base/services/core/jni/BroadcastRadio/
DTuner.cpp381 auto hidlResult = halModule->getImage(id, [&](hidl_vec<uint8_t> rawImage) { in nativeGetImage() argument
382 auto len = rawImage.size(); in nativeGetImage()
392 reinterpret_cast<const jbyte*>(rawImage.data())); in nativeGetImage()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp522 AImage* rawImage; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local
523 result = AImageReader_acquireNextImage(rawReader, &rawImage); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
524 std::unique_ptr<AImage, decltype(&AImage_delete)> image(rawImage, AImage_delete); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
531 result = AImage_getHardwareBuffer(rawImage, &buffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/stress/
DCamera2StillCaptureTest.java440 Image rawImage = rawListener.getImage(CAPTURE_IMAGE_TIMEOUT_MS); in fullRawCaptureTestByCamera() local
441 validateRaw16Image(rawImage, size); in fullRawCaptureTestByCamera()
447 dngCreator.writeImage(outputStream, rawImage); in fullRawCaptureTestByCamera()