Use strong pointers and scope

Rely on strong pointers and scope rather than the more error prone
 incStrong / decStrong approach which can cause object leaks.
No change in functionality.

Change-Id: I1bfc7f0cdeeac022e4120482cd3521e52ffea94e
Merge "Use strong pointers and scope"
modules: camera: Defer documenting API

Avoid duplicating the api docs in the example HAL, instead point to
canonical source for them.

Change-Id: If3f5acb7a73260248bd00ce01cb1c80f230f7188
modules: camera: Add tracing

Change-Id: I00ee447e6b57bc57fd09b6e7d8c62cb07cb37cf0
Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

Change-Id: If5c922a0c0139b90c4781f022d80f7b9a0932e9e
Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

Use CAMERA2_TEST_FORKING_DISABLED=1 environment variable to override this
behavior (e.g. when wanting to attach gdb to the test app).

Change-Id: I3696243825901e5c7a7e4d0515831e76ae47ef4f
Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

Change-Id: I4010311d32a9c57790653b6c4ef0f51bfe24f853
Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

Change-Id: Ib7c706a0d1f2d917d01397efe55b7e45035cb252
Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

Change-Id: I3c9133f74ef88dfdf10eb2c28760fc4acba8eb2f
Camera2: Tests: Skip stream tests /w formats that are not available.: DO NOT MERGE

Change-Id: I0c0d6c639ee3b0fe625d0888cca4486da9e2bb98
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
Camera2: Tests: Fix CameraFrameTests to pass instead of failing and hanging.: DO NOT MERGE

Producer would wait for buffers to be released so it could dequeue into them.
Since the test never acquired/released buffers, it would run out, and then
the HAL would deadlock when trying to shutdown since the producing thread
would never finish.

Change-Id: I123f36d87a2e72a2c42d942c975c02b8bd3f9f1a
Camera2: Tests: Ignore V1 device initialization failures.: DO NOT MERGE

This allows CameraModuleTests.LoadModule and GetCameraInfo to pass.

Change-Id: I0489ef996b5caf3e97bb71ef8c2502b0ee4d7ec3
Camera2: Tests: Fix Camera2Test to be correct: DO NOT MERGE

- Requests were missing control type (capture vs reprocess)
- Not waiting for streams to be drained before disconnecting (sporadic fails)

Change-Id: Icaf88287344e98138b22afcd14b9f1878cdffa47
Camera2: Tests: ModuleTests should not return OK for bad indices: DO NOT MERGE

Change-Id: Ie2a0558104c13fe881d90ababf66a54f810f12aa
am 7e38f5fa: Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE

* commit '7e38f5faac9a8404bd13ea02cf136f1a69443715':
  Camera2: Automated tests for testing HAL2.0 interface: DO NOT MERGE
am 919cf643: Camera2: Tests -- Fork each test before executing it: DO NOT MERGE

* commit '919cf643730fe7aacbbbaf014f2dfbf47521ecfa':
  Camera2: Tests -- Fork each test before executing it: DO NOT MERGE
am 4ac84a42: Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE

* commit '4ac84a428d05ce7963f201df7ca308acb88fd8d8':
  Camera2: Tests: Future-alias select metadata symbols: DO NOT MERGE
am afdd2b62: Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE

* commit 'afdd2b621140f90c2df1a161ed36e42caa2d26da':
  Camera2: Add a test for bursting 10 frames at a time /w manual exp controls: DO NOT MERGE
am ff4d762c: Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE

* commit 'ff4d762c34e2f785a01f7d2253d746d0bcdc7aa4':
  Camera2: Tests: Add CLI arguments for disabling forking and changing camera ID: DO NOT MERGE