libstagefright: Use LOG_BASIC when use chromium http stack

When using chromium http stack, the LogLevel is LOG_ALL, and
in chromium_net, LOG_ALL will HexEncode all received data. thus
playing a 10Mbps 1080P video stream  will generate 20Mbps Hex Buffer
for event logging. This is a heavy operation for logging.

Change-Id: I28e8173e1aa806dd23014378d530d30187360060
Author: Xuefeng Deng <xuefeng.deng@intel.com>
Singed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 35737
libstagefright: fix the duration "00:00" for some httplive link

if the playlist does not end by '\n', player can not show
the correction duration

Change-Id: I6dd9abfce32a1ef7b7d6ed157c966fce3c190389
Author: Yi Wang <yi.a.wang@intel.com>
Signed-off-by: Yi Wang <yi.a.wang@intel.com>
Signed-off-by: Shuo Gao <shuo.gao@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 48555
fix a race condition of MediaPlayerServce::Client::mClient

there will be race condition between mClient.clear in MediaPlayerServce::Client::disconnect method
and c=client->mClient in in MediaPlayerServce::Client::notify method

Change-Id: I767294c4cb864c08e9c0e9f23d6d304a39016205
Signed-off-by: beanz <beanz@marvell.com>
Typo in CameraParameters::set

Typo: 'key' --> 'value'

Change-Id: Idd0426263cf2125a796406abaf6f29f04f425fe4
Update tee sink

Implement rotation to reduce long-term storage use.
Implement optional per-track tee.
Dynamically enable at runtime based on property, instead of at compile-time.
Dynamic frame count not yet implemented.

Bug: 8223560
Change-Id: I3706443c6ec0cb0c6656dc288715a02ad5fea63a
merge in jb-mr2-release history after reset to master
merge in jb-mr2-release history after reset to jb-mr2-dev
merge in jb-mr2-release history after reset to jb-mr2-dev
merge in jb-mr2-release history after reset to jb-mr2-dev
Reconcile with jb-mr2-release - do not merge

Change-Id: I306093279fb3d696c367ecc9b2d485dae175d3ff
am 8602e550: Modified udptest to sync time across devices.

* commit '8602e5501a653a00e2f82d6fd3f7558382fea1dd':
  Modified udptest to sync time across devices.
am d573622d: Merge "Miscellaneous cleanup" into jb-mr2-dev

* commit 'd573622dc001c23223cb26b1f55fb75be189e77d':
  Miscellaneous cleanup
merge in jb-mr2-release history after reset to jb-mr2-dev
Reconcile with jb-mr2-release - do not merge

Change-Id: Ic8833bf7bc1880c2e6fa3c2c45ae4e55a0be434c
am e51d8b3b: Merge "Implement Surface input to MediaCodec." into jb-mr2-dev

* commit 'e51d8b3ba4533b7f94345a97e3cc633dc7b31f12':
  Implement Surface input to MediaCodec.
am 0695ea9f: Merge "Squashed commit of the following:" into jb-mr2-dev

* commit '0695ea9ff78bd1ef6e0bc2b05d1f6332c7214621':
  Squashed commit of the following:
am 2217a404: Merge "Add template class SingleStateQueue" into jb-mr2-dev

* commit '2217a40453b4b13232be77121bde76d6f31be012':
  Add template class SingleStateQueue
merge in jb-mr2-release history after reset to jb-mr2-dev
am 0ab4d866: Merge "Correct MediaCodec + Surface behavior" into jb-mr2-dev

* commit '0ab4d86643dfb668a583c13b8bd61b589dbe8602':
  Correct MediaCodec + Surface behavior
merge in jb-mr2-release history after reset to jb-mr2-dev