OSDN Git Service

Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE
authorIgor Murashkin <iam@google.com>
Tue, 18 Dec 2012 21:38:40 +0000 (13:38 -0800)
committerIgor Murashkin <iam@google.com>
Thu, 10 Jan 2013 19:46:06 +0000 (11:46 -0800)
commitd887503095926eadfefefdc07fcedaff51e4f07d
tree5ffe7dd482591ee0575f9f0facac973e1cc0910f
parent2a5c0e2a466fe5252cd12c0199d4868efcc83264
Camera2: Tests: Release streams after HAL is unloaded: DO NOT MERGE

This fixes a segfault in the HAL where it was trying to write to a locked buffer
that disappeared from underneath it.

Any users of CameraModuleFixture should now call SetUp/TearDown explicitly.
Other classes remain unchanged until we need a custom TearDown order for them.

Change-Id: Ia2dc3ac3e2497d9ede9b580f6e10cf9ec646bdab
tests/camera2/CameraModuleFixture.h
tests/camera2/CameraModuleTests.cpp
tests/camera2/CameraStreamFixture.h