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
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
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
am 0ab4d866: Merge "Correct MediaCodec + Surface behavior" into jb-mr2-dev

* commit '0ab4d86643dfb668a583c13b8bd61b589dbe8602':
  Correct MediaCodec + Surface behavior
am bfd79f2a: The transport stream HDCP descriptor belongs in the program_info section

* commit 'bfd79f2a8e795f304062e22756c72d995af7a0e6':
  The transport stream HDCP descriptor belongs in the program_info section
am 6472c2af: Merge "Camera: Log warning on out-of-range face detect scores" into jb-mr2-dev

* commit '6472c2af1de21a65dc214751b0ef1d7564c28be1':
  Camera: Log warning on out-of-range face detect scores
am 2797b47f: Merge "Disable our fancy logic to respect both sink and source\'s native formats" into jb-mr2-dev

* commit '2797b47f8a74b902d445cd89755e2349136a8b6b':
  Disable our fancy logic to respect both sink and source's native formats
am 70369845: Merge "Clean up the native code to match Java update" into jb-mr2-dev

* commit '70369845f8250df4f6f22c336414b4df0a3ce53e':
  Clean up the native code to match Java update
am b4d92c5b: am c5604b08: am 0fe40641: am 72c7cf9d: am a1b1e2de: (-s ours) am 56f387a4: (-s ours) Reconcile with jb-mr1-release - do not merge

* commit 'b4d92c5b79be5557318e3636a31e9ff8249bec8e':
am 840b2613: Merge "Increase size of statistics buffer" into jb-mr2-dev

* commit '840b2613863218fe6198dca817cc33ce76cdbfb7':
  Increase size of statistics buffer
am 44cfcf00: CameraService: Refactor Camera2Client to share a base with ProCameraClient

* commit '44cfcf00b9008c1c04f4c8277c6c06af039fd976':
  CameraService: Refactor Camera2Client to share a base with ProCameraClient
am ce124da1: (Camera)FrameProcessor: Refactor to share code with ProFrameProcessor

* commit 'ce124da179775a81ad7dcc3f33315eca451e66f2':
  (Camera)FrameProcessor: Refactor to share code with ProFrameProcessor