audio: get rid of legacy audio HAL.

Change-Id: Iab96f1cdae507976fff6073ac2c1905d8381e62f
Add unified fstab.goldfish, needed for the sdk

Change-Id: Idd0f26bd189536bc8f24dcddce0403b2db26678b
move goldfish specific stuffs from system/core/rootdir/etc

- these files should be pulled as PRODUCT_COPY_FILES from full emulator targets

Change-Id: Ia9858737d02f2b2039ee5c9f0969ae6ddb9f39ff
migrate opengl and system from  development/tools

- components under system are moved one directory up like all other HALs

Change-Id: I03b870b870d83b247ac398cadfb155f03c9adfa0
rootdir: goldfish: mount debugfs on boot time

goldfish is ported to linux-3.4 and have capability to run atrace.
But can't run atrace yet because debugfs is not mounted on boot time.

Change-Id: I0ce23bde3b8d1b2a88d4238272123e3ab8cb6970
Signed-off-by: Young-Ho Cha <ganadist@gmail.com>
introduce camera.goldfish.jpeg to allow building emulator camera HAL in PDK

- it only do JPEG encoding, but separated due to dependency on libskia and
  libandroid_runtime, which are not in PDK
- camera.goldfish.jpeg will be included to platform.zip

Change-Id: I71758c8bb3e05831094ccb268bfc20c5a160f0c9
Bump apns version to 8

apns*.xml files must all match the version in
frameworks/base/core/res/res/xml/apns.xml
which is now 8.

Bug: 8415842
Change-Id: I69f7d1f6bcbd0202481a5e50c9912e4efffbce2f
Bump apns version to 8

apns*.xml files must all match the version in
frameworks/base/core/res/res/xml/apns.xml
which is now 8.

Bug: 8415842
Change-Id: I69f7d1f6bcbd0202481a5e50c9912e4efffbce2f
Camera: Hotplug support as if it was sysfs

Like sysfs, echo 1 or 0 into /data/misc/media/emulator.camera.hotplug.#
where # is the camera ID. This will toggle plugged/not plugged in state

Change-Id: I3bcc770e036648e53458b1f72080bd24fdab206b
merge in jb-mr2-release history after reset to jb-mr2-dev
Bare-bones emulated fake camera for HAL version 3

- Uses same backend as HAL version 2 fake camera.
- No fake 3A yet
- No reprocessing support
- No JPEG support

Change-Id: I9b55b05fbeac9d42340eb988021e65491d13a2f9
Camera3: Support for still capture

- Basic 3A routine with AE precapture support
- JPEG compression

Change-Id: I329bb6d2c5315e13ed657b096b8bb573c14a3738
Camera2/3: Improve fake handshake

Change-Id: I4310ac8c078a9ca2052cf0d0c283ded6bb06b6df
Camera3: Trigger IDs now received from framework

Before: Trigger IDs would increment internally in the HAL

After: Trigger IDs are read from the framework when the accompanying trigger
       is explicitly set in the request.

Rationale:
Since the framework tracks its trigger completion based on the IDs it sends to
the HAL, we need the HAL to use the framework IDs instead of generating its own.

Change-Id: I0a4343c1f12b62c9432478a3bb8e0921a2da93c2
Camera3: Allow register_stream_buffers while requests are in flight

Change-Id: I6dba0d282887c20ee683d8eaafd8bf81241f4767
Camera: Handle AF state transitions

Change-Id: Iac1f08ed9e0d0f4fc3e5a1c8974576f5f1febb74
merge in jb-mr2-release history after reset to jb-mr2-dev
Add liblog

Bug: 8580410
Change-Id: I2c07b8ce85aff341575ee8c3f509f64e252b8ed4
merge in jb-mr2-release history after reset to jb-mr2-dev
Enforce READ_EXTERNAL_STORAGE on emulator.

Bug: 7203378
Change-Id: I2f34dd44ad97f9eb5b147904758ebb0ac61c0866