Changyeon Jo fae91b1bb9 Fix a resource clean-up routine
When a test case is being terminated, VTS framework calls TearDown() to
clean up all resources.  VtsHalEvsV1_1TargetTest stores weak references
to opened hardware cameras for this and tries to close them explicitly
when it can promote them.  However, it was observed that VirtualCamera's
destructor is not called yet even it fails to promote.

Therefore, this change modifies a container to hold a strong pointer and
explictly removes it after a test case calls closeCamera().

Also, this change corrects a bug in checking setExtendedInfo_1_1()
results.

Bug: 150893461
Test: vts-trafed VtsHalEvsV1_1_TargetTest
Change-Id: I23b55b2f2282834fb5a9d364f4eb176060027de1
2020-03-05 17:52:16 -08:00
2020-02-25 09:08:26 -08:00
2020-01-06 23:25:20 +00:00
2020-01-31 22:07:01 -08:00
2019-11-14 21:25:37 -08:00
2019-04-23 12:51:21 -07:00
2020-02-27 18:09:42 +00:00
2020-01-06 14:08:01 -08:00
2019-12-13 14:24:23 -08:00
2020-02-27 18:09:42 +00:00
2016-08-30 11:28:36 -07:00
2016-08-30 11:28:36 -07:00
2019-12-10 09:51:58 -08:00
Description
No description provided
134 MiB
Languages
C++ 56.3%
AIDL 41.2%
C 1.5%
Rust 0.4%
Java 0.4%
Other 0.1%