Found the solution??

On Jul 30, 12:57 pm, xhy <xhyg...@gmail.com> wrote:
> Hi all,
>
> The error occurs when excute CTS case
> "android.hardware.cts.CametaTest#testPreviewPictureSizesCombination",it fail
> in the method "takePicture()" of  the code.But it is normal when take a
> photograph. And the parameters are both same.The follow log info:
>
> V/QualcommCameraHardware( 312): initRaw: initializing mRawHeap.
> I/QualcommCameraHardware( 312): constructing MemPool snapshot camera backed
> by pmem pool /dev/pmem_adsp: 1 frames @ 7589376 bytes, buffer size 7589376
> E/QualcommCameraHardware( 312): mName snapshot camera
> E/QualcommCameraHardware( 312): pmem_pool /dev/pmem_adsp
> E/QualcommCameraHardware( 312): num_buffers 1
> E/QualcommCameraHardware( 312): frame_size 7589376
> E/QualcommCameraHardware( 312): buffer_size 7589376
> E/MemoryHeapBase( 312): mmap(fd=49, size=7589888) failed (Out of memory)
> E/QualcommCameraHardware( 312): failed to construct master heap for pmem
> pool /dev/pmem_adsp
> E/QualcommCameraHardware( 312): initRaw X failed
> I/QualcommCameraHardware( 312): ~PmemPool: snapshot camera E
> I/QualcommCameraHardware( 312): ~PmemPool: snapshot camera X
> V/QualcommCameraHardware( 312): destroying MemPool snapshot camera
> V/QualcommCameraHardware( 312): destroying MemPool snapshot camera completed
> E/QualcommCameraHardware( 312): initRaw X: error initializing mRawHeap
> E/QualcommCameraHardware( 312): initRaw failed. Not taking picture.
> V/Camera ( 846): setPreviewCallbackFlags
> V/Camera ( 846): disconnect
> V/QualcommCameraHardware( 312): stopPreview: E
> I/QualcommCameraHardware( 312): stopPreviewInternal E: 0
> I/QualcommCameraHardware( 312): stopPreviewInternal X: 0
> V/QualcommCameraHardware( 312): stopPreview: X
> V/QualcommCameraHardware( 312): cancelPicture: E
>
> --
> -------------------------------------------------------------------------
> Best Regards
> Hongyue Xu

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to