init.shamu.rc: Set ro.telephony.default_cdma_sub to zero

This is an LTE device that uses the SIM card for subscription.

Change-Id: I4ce48a25ee03653a693dfb2858fe46bc3a801b89
Merge "init.shamu.rc: Set ro.telephony.default_cdma_sub to zero"
Set partition sizes to reflect reality

Partition sizes to match Bootloader 70.02
Cache: 256 MB
System: 1.5 GB

Change-Id: I01ea0adc2d31653d6cb3500af5ece5824ba55564
Update default network mode

Change-Id: I0bf9369be0b4325c25b34ae0e8ba83de47346f87
Camera3: Add support for tone map mode

Add tone map mode entry to metadata

Bug: 12099214

Change-Id: I8b994a34f0a4944ab3941ba376526c9f9307e991
Camera2: Add flash.available tag with new metadata spec

Bug: 12957430
Change-Id: I7c82a7821606dc95310000ea7ea4230454b69403
Camera3: Set focus distance calibration static metadata

Bug: 12957245
Change-Id: I5d3bbc4c8d108f9f396fbd041c9afee3f2faf955
Camera3: Upgrade Camera device version to 3.2

Bug: 13609405
Change-Id: I4443126b5fc191798750da73cb750e5b98766e97
Camera3: Report hotpixel and hotpixelmap modes

Report the hotpixel and hotpixel map modes in metadata
Fixes-bugs: 13528658, 13528519, 13528484, 13516530

Change-Id: Id02ffcf92a1fb88c68aab4a2e7754790d2bf9f52
Camera3: Add new static metadata

Add the new static metadata from the new 3_2 API
Fixes-bugs: 13653652, 13516241, 13528518, 13527179,
13527177, 12958238, 12958122, 12958122, 12957740, 12958062,
12957596, 12957732, 12957688, 12957685, 12958201, 12957788,
13527175
Change-Id: Idb2ed5e963683556a0066b77e30bd160b1eb0e29
Camera3: Use active array top/left from capability

Bug: 12035686
Change-Id: I13d83d5fcd2c43221ad6c3d60d20a4c4316ac159
Camera3: Remove redundant Buffer tracking structure

Simply the HAL logic by removing redundant buffer tracking
structure.

Change-Id: I972e0868d08384209fe413fd5398c2e113a3fab0
Camera3: Fix memory leak during frame reprocess

 The 'streamCbRoutine()' method of the reprocess
 channel receive a camera super frame that was
 previously allocated on heap and must release it
 after exit

Change-Id: Ie90f6b4f945f4b7fcc6c46d541871e44c3f6943b
ueventd: Add permissions for slimslave used by call services

Change-Id: I2c9c8cb66bc325acca139699410063c2df81a881
Camera: Consolidate param and metadata buffer structures

metadata_buffer_t is used as param_buffer_t structure as well.
This approach defines param_buffer_t as a structure instead of
union of param structures. This reduces the memory usage from
16mb to about 256kb per param buffer. Also this approach uses
"hash" table of valid entries providing faster way to access the
parameters without iterating through the list.

Change-Id: I51e5c5adffabbcd211cd59baa6b77e4a1d95a431
QCamera2: stack: Remove duplicate definition in metadata structure

Remove duplicate definition in metadata structure.

Change-Id: If17c989d3835979d8726ec3f8361df920cb9122d
QCamera2: Change all 1 byte param_data_t members to 4 bytes

Some modules in the backend read 4 bytes even for 1 byte parameters
leading to inconsistent behavior.

Change-Id: If5fbeda587e5b367b111cfc08f75d9e07c1349a6
mm-qcamera-app: Fix for take picture freeze

- When taking a picture the application locks a mutex and waits
  for valid AF callback to unlock the mutex and to continue
  with taking a picutre. If AF fails mutex is never unlocked
  and application freezes. This patch prevents this when
  handle CAM_AF_NOT_FOCUSED state from AF callback.

CRs-Fixed: 651672
Change-Id: I6ebee14f19e9d9393efe55afaa40e8e876ae853b
Camera3: HAL refactoring

1. Add vendor tag in preparation for using it
to store opaque metadata needed for ZSL
reprocessing
2. Generalize reprocessing to offline reprocessing
such that it doesn't depends on either metadata
buffer or the input buffer belonging to a particular
stream.
3. Remove mJpegSettings member variable so that jpeg
settings can be queued/dequeued the same way as
buffer/metadata during postprocessing.
4. Partial implmentation of Zero Shutter Lag: assuming
that a flush() call precedes reprocessing.

Change-Id: I4bbf91a510894ece2584d501546fb0551316fea9
Camera3: Add support for thumbnail quality

 Currently only the quality of the main image
 could be controlled by camera client. This
 change adds the necessary functionality to
 make thumbnail quality configurable as well.

Bug: 12036212
Change-Id: Iaa462231df2da61808f34ef626648b717cbadd15