Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/broadcastradio/hal1/
DTuner.java250 byte[] rawImage; in getImage()
252 rawImage = nativeGetImage(mNativeContext, id); in getImage()
254 if (rawImage == null || rawImage.length == 0) { in getImage()
258 return BitmapFactory.decodeByteArray(rawImage, 0, rawImage.length); in getImage()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DRadioModule.java443 byte[] rawImage;
445 rawImage = new byte[rawList.size()];
447 rawImage[i] = rawList.get(i);
450 if (rawImage.length == 0) {
454 return BitmapFactory.decodeByteArray(rawImage, 0, rawImage.length);
/frameworks/base/services/core/java/com/android/server/broadcastradio/aidl/
DRadioModule.java516 byte[] rawImage;
518 rawImage = mService.getImage(id);
523 if (rawImage == null || rawImage.length == 0) return null;
525 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/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()
/frameworks/base/libs/hwui/jni/
Dandroid_graphics_HardwareRenderer.cpp780 AImage* rawImage; in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode() local
781 result = AImageReader_acquireNextImage(rawReader, &rawImage); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
782 std::unique_ptr<AImage, decltype(&AImage_delete)> image(rawImage, AImage_delete); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()
789 result = AImage_getHardwareBuffer(rawImage, &buffer); in android_view_ThreadedRenderer_createHardwareBitmapFromRenderNode()