libutils clean-up

Change-Id: I3bf32d72aa8eec627249a675c130c91a8aff6710
merge in jb-mr2-release history after reset to jb-mr2-dev
camera3: Manage fences properly when buffers are returned with an error

Bug: 8622089
Change-Id: I4df0258d6803d460d4dd98f0a80829eb844ca30d
camera3: Manage fences properly when buffers are returned with an error

Bug: 8622089
Change-Id: I4df0258d6803d460d4dd98f0a80829eb844ca30d
am a790258a: am a5751c3a: Merge "Camera: Hotplug - conditionally transition to PRESENT when clients disconnect" into jb-mr2-dev

* commit 'a790258aa5061a18ef455061de914c025fa86ded':
  Camera: Hotplug - conditionally transition to PRESENT when clients disconnect
Merge "Camera3: Support flexible YUV for preview callbacks" into jb-mr2-dev
Merge "Camera3: Support flexible YUV for preview callbacks" into jb-mr2-dev
am 19cb41fb: Merge "Camera3: Support flexible YUV for preview callbacks" into jb-mr2-dev

* commit '19cb41fbee0218c51345844a59437ee8c087c970':
  Camera3: Support flexible YUV for preview callbacks
am 19cb41fb: Merge "Camera3: Support flexible YUV for preview callbacks" into jb-mr2-dev

* commit '19cb41fbee0218c51345844a59437ee8c087c970':
  Camera3: Support flexible YUV for preview callbacks
Merge "camera2: Add height to the crop region metadata property" into jb-mr2-dev
Merge "camera2: Add height to the crop region metadata property" into jb-mr2-dev
Merge "camera3: Manage fences properly when buffers are returned with an error" into jb-mr2-dev
Merge "camera3: Manage fences properly when buffers are returned with an error" into jb-mr2-dev
am 7fe6ac0d: Merge "camera2: Add height to the crop region metadata property" into jb-mr2-dev

* commit '7fe6ac0de4b36f89a7f20dafb693e814344f9b4d':
  camera2: Add height to the crop region metadata property
am 7fe6ac0d: Merge "camera2: Add height to the crop region metadata property" into jb-mr2-dev

* commit '7fe6ac0de4b36f89a7f20dafb693e814344f9b4d':
  camera2: Add height to the crop region metadata property
am e464e15a: Merge "camera3: Manage fences properly when buffers are returned with an error" into jb-mr2-dev

* commit 'e464e15a31bb57754a227f5058299160e6d47ebb':
  camera3: Manage fences properly when buffers are returned with an error
am e464e15a: Merge "camera3: Manage fences properly when buffers are returned with an error" into jb-mr2-dev

* commit 'e464e15a31bb57754a227f5058299160e6d47ebb':
  camera3: Manage fences properly when buffers are returned with an error
Camera2/3: Optimize a few YCbCr_420_888 copy paths

Covers cases where the HAL format and the API format have the same
chroma layout.

Bug: 8734880
Change-Id: Ia735082c260b5914fc14f12551f91917c4e53b01
Camera2/3: Optimize a few YCbCr_420_888 copy paths

Covers cases where the HAL format and the API format have the same
chroma layout.

Bug: 8734880
Change-Id: Ia735082c260b5914fc14f12551f91917c4e53b01
resolved conflicts for merge of c077fc5d to master

Change-Id: Ic636aaf49ac81c070551f3ba9fc48cfa4932bec0