am 925efa11: Merge "Remove include <linux/android_pmem.h>"

* commit '925efa11c8bc56f3d824666538fc69605b0aa7aa':
  Remove include <linux/android_pmem.h>
am e36e9363: Merge "Add missing include path for system/camera_vendor_tags.h based on HAL3 to fix hammerhead checkbuild"

* commit 'e36e9363b63580e09a3a88abc9d95e3bd894e189':
  Add missing include path for system/camera_vendor_tags.h based on HAL3 to fix hammerhead checkbuild
Camera3: Only use Plain Old Data for global variable

When a shared library is loaded, the order in which its global
variables is not defined. For example, for case like below:

A a;
int *ptr = NULL;

Class A {
A() {
  if (ptr == NULL) {
      //do this;
  } else {
      // do that;
  }
}
};

ptr could be initialized before or after A, which causes the
behavior of A's constructor to be different.

The fix is to use Plain Old Data (integer, float, char, or pointer)
as global variable, and defer instantiation of class instance to
runtime.

Bug: 11822202
Change-Id: I806c527f06e19fc44e880d9a536ee7a060b4fa4f
am c0200268: Camera3: Only use Plain Old Data for global variable

* commit 'c02002680eb7bc95a9ba7d6af5111cca6191aacb':
  Camera3: Only use Plain Old Data for global variable
Camera3: Increase retry count when opening camera

This takes care of cases where mm-qcamera-daemon takes a long
time to launch. get_camera_info depends on mm-qcamera-daemon
being up and running to work.

In the worse case, get_camera_info will be held up by HAL for
200ms.

Bug: 10577806
Change-Id: I7068b0f60bf75c407b603f4e0a0bbb19b8f51f0c
Camera3: Clean up ALOGE calls in non-error conditions [DO NOT MERGE]

Use ALOGI/ALOGD instead.

Bug: 12489802
Change-Id: Id7fc9147395af3a9a0fe135d1017a155aad174fb
am 1858b84d: Camera3: Increase retry count when opening camera

* commit '1858b84d31d6cc4205d40309b798cc92b0f4b457':
  Camera3: Increase retry count when opening camera
am 742f0987: Camera3: Clean up ALOGE calls in non-error conditions [DO NOT MERGE]

* commit '742f098783e5ecd6370dcf9ef7648e82f64181bb':
  Camera3: Clean up ALOGE calls in non-error conditions [DO NOT MERGE]
Add -Wno-unused-parameter

GCC 4.8 emits more warnings.

BUG: 10726440

(cherry picked from commit ff68988ec79b42c6673008b968f0ae89036c38ef)

Change-Id: I68c7aad6c07c2c440122e54791ea82eb07a2163b
auto-merger: merge in from aosp/master