Searched refs:mediaAlbumArt (Results 1 – 2 of 2) sorted by relevance
351 MediaAlbumArt* mediaAlbumArt = mp->extractAlbumArt(fd); in android_media_MediaScanner_extractAlbumArt() local352 if (mediaAlbumArt == NULL) { in android_media_MediaScanner_extractAlbumArt()356 jbyteArray array = env->NewByteArray(mediaAlbumArt->size()); in android_media_MediaScanner_extractAlbumArt()359 reinterpret_cast<const jbyte*>(mediaAlbumArt->data()); in android_media_MediaScanner_extractAlbumArt()360 env->SetByteArrayRegion(array, 0, mediaAlbumArt->size(), data); in android_media_MediaScanner_extractAlbumArt()363 free(mediaAlbumArt); in android_media_MediaScanner_extractAlbumArt()
344 MediaAlbumArt* mediaAlbumArt = NULL; in android_media_MediaMetadataRetriever_getEmbeddedPicture() local351 mediaAlbumArt = static_cast<MediaAlbumArt *>(albumArtMemory->pointer()); in android_media_MediaMetadataRetriever_getEmbeddedPicture()353 if (mediaAlbumArt == NULL) { in android_media_MediaMetadataRetriever_getEmbeddedPicture()358 jbyteArray array = env->NewByteArray(mediaAlbumArt->size()); in android_media_MediaMetadataRetriever_getEmbeddedPicture()363 reinterpret_cast<const jbyte*>(mediaAlbumArt->data()); in android_media_MediaMetadataRetriever_getEmbeddedPicture()364 env->SetByteArrayRegion(array, 0, mediaAlbumArt->size(), data); in android_media_MediaMetadataRetriever_getEmbeddedPicture()