Skip to content

Commit

Permalink
resolve merge conflicts of 7c451a9 to oc-dev-plus-aosp
Browse files Browse the repository at this point in the history
am: 1ae7379

Change-Id: Id715cb96a71fc9e48e14ff2e6f9e4883402aa6f6
  • Loading branch information
Mark Salyzyn authored and android-build-merger committed Apr 12, 2017
2 parents 4e93404 + 1ae7379 commit 8774152
Show file tree
Hide file tree
Showing 34 changed files with 171 additions and 128 deletions.
3 changes: 2 additions & 1 deletion include/hardware/audio_alsaops.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
#ifndef ANDROID_AUDIO_ALSAOPS_H
#define ANDROID_AUDIO_ALSAOPS_H

#include <cutils/log.h>
#include <log/log.h>

#include <system/audio.h>
#include <tinyalsa/asoundlib.h>

Expand Down
2 changes: 1 addition & 1 deletion include/hardware/fingerprint.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
#ifndef ANDROID_INCLUDE_HARDWARE_FINGERPRINT_H
#define ANDROID_INCLUDE_HARDWARE_FINGERPRINT_H

#include <hardware/hw_auth_token.h>
#include <hardware/hardware.h>
#include <hardware/hw_auth_token.h>

#define FINGERPRINT_MODULE_API_VERSION_1_0 HARDWARE_MODULE_API_VERSION(1, 0)
#define FINGERPRINT_MODULE_API_VERSION_2_0 HARDWARE_MODULE_API_VERSION(2, 0)
Expand Down
7 changes: 5 additions & 2 deletions modules/audio/audio_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,16 @@
#include <malloc.h>
#include <pthread.h>
#include <stdint.h>
#include <sys/time.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <unistd.h>

#include <log/log.h>

#include <hardware/audio.h>
#include <hardware/hardware.h>
#include <system/audio.h>
#include <hardware/audio.h>

struct stub_audio_device {
struct audio_hw_device device;
Expand Down
5 changes: 2 additions & 3 deletions modules/audio_remote_submix/audio_hw.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
#include <sys/limits.h>

#include <cutils/compiler.h>
#include <cutils/log.h>
#include <cutils/properties.h>
#include <cutils/str_parms.h>
#include <log/log.h>
#include <utils/String8.h>

#include <hardware/audio.h>
#include <hardware/hardware.h>
Expand All @@ -39,8 +40,6 @@
#include <media/nbaio/MonoPipe.h>
#include <media/nbaio/MonoPipeReader.h>

#include <utils/String8.h>

#define LOG_STREAMS_TO_FILES 0
#if LOG_STREAMS_TO_FILES
#include <fcntl.h>
Expand Down
23 changes: 14 additions & 9 deletions modules/camera/3_0/Camera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,25 +13,30 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//#define LOG_NDEBUG 0
#define LOG_TAG "Camera"

#include <cstdlib>
#include <errno.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>

#include <cstdlib>

#include <log/log.h>
#include <utils/Mutex.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>

#include <hardware/camera3.h>
#include <sync/sync.h>
#include <system/camera_metadata.h>
#include <system/graphics.h>
#include <utils/Mutex.h>
#include "CameraHAL.h"
#include "Metadata.h"
#include "Stream.h"

//#define LOG_NDEBUG 0
#define LOG_TAG "Camera"
#include <cutils/log.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>

#include "Camera.h"

#define CAMERA_SYNC_TIMEOUT 5000 // in msecs
Expand Down
14 changes: 7 additions & 7 deletions modules/camera/3_0/CameraHAL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//#define LOG_NDEBUG 0
#define LOG_TAG "DefaultCameraHAL"

#include <cstdlib>

#include <log/log.h>
#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <cutils/trace.h>

#include <hardware/camera_common.h>
#include <hardware/hardware.h>
#include "ExampleCamera.h"
#include "VendorTags.h"

//#define LOG_NDEBUG 0
#define LOG_TAG "DefaultCameraHAL"
#include <cutils/log.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <cutils/trace.h>

#include "CameraHAL.h"

/*
Expand Down
11 changes: 6 additions & 5 deletions modules/camera/3_0/ExampleCamera.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,18 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <system/camera_metadata.h>
#include "Camera.h"

//#define LOG_NDEBUG 0
#define LOG_TAG "ExampleCamera"
#include <cutils/log.h>

#include <stdint.h>

#include <log/log.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>

#include <system/camera_metadata.h>
#include "Camera.h"
#include "ExampleCamera.h"

#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))
Expand Down
6 changes: 3 additions & 3 deletions modules/camera/3_0/Metadata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//#define LOG_NDEBUG 0
#define LOG_TAG "Metadata"

#include <system/camera_metadata.h>

//#define LOG_NDEBUG 0
#define LOG_TAG "Metadata"
#include <cutils/log.h>
#include <log/log.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>
Expand Down
15 changes: 8 additions & 7 deletions modules/camera/3_0/Stream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,21 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
//#define LOG_NDEBUG 0
#define LOG_TAG "Stream"

#include <stdio.h>
#include <hardware/camera3.h>
#include <hardware/gralloc.h>
#include <system/graphics.h>
#include <utils/Mutex.h>

//#define LOG_NDEBUG 0
#define LOG_TAG "Stream"
#include <cutils/log.h>
#include <log/log.h>
#include <utils/Mutex.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>

#include <hardware/camera3.h>
#include <hardware/gralloc.h>
#include <system/graphics.h>

#include "Stream.h"

namespace default_camera_hal {
Expand Down
12 changes: 7 additions & 5 deletions modules/camera/3_0/VendorTags.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

#include <system/camera_metadata.h>
#include "Metadata.h"

//#define LOG_NDEBUG 0
#define LOG_TAG "VendorTags"
#include <cutils/log.h>

#include <stdint.h>

#include <log/log.h>

#define ATRACE_TAG (ATRACE_TAG_CAMERA | ATRACE_TAG_HAL)
#include <utils/Trace.h>

#include <system/camera_metadata.h>
#include "Metadata.h"

#include "VendorTags.h"

namespace default_camera_hal {
Expand Down
6 changes: 5 additions & 1 deletion modules/consumerir/consumerir.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@

#include <errno.h>
#include <malloc.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>

#include <log/log.h>
#include <hardware/hardware.h>

#include <hardware/consumerir.h>
#include <hardware/hardware.h>

#define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0]))

Expand Down
7 changes: 5 additions & 2 deletions modules/fingerprint/fingerprint.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@

#include <errno.h>
#include <malloc.h>
#include <stdint.h>
#include <string.h>
#include <cutils/log.h>
#include <hardware/hardware.h>

#include <log/log.h>

#include <hardware/fingerprint.h>
#include <hardware/hardware.h>

static int fingerprint_close(hw_device_t *dev)
{
Expand Down
22 changes: 9 additions & 13 deletions modules/gralloc/framebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,20 @@
* limitations under the License.
*/

#include <sys/mman.h>

#include <dlfcn.h>

#include <cutils/ashmem.h>
#include <cutils/log.h>

#include <hardware/hardware.h>
#include <hardware/gralloc.h>

#include <fcntl.h>
#include <errno.h>
#include <sys/ioctl.h>
#include <string.h>
#include <fcntl.h>
#include <stdlib.h>
#include <string.h>
#include <sys/ioctl.h>
#include <sys/mman.h>

#include <cutils/log.h>
#include <cutils/ashmem.h>
#include <cutils/atomic.h>
#include <log/log.h>

#include <hardware/gralloc.h>
#include <hardware/hardware.h>

#ifdef __ANDROID__
#include <linux/fb.h>
Expand Down
13 changes: 6 additions & 7 deletions modules/gralloc/gralloc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,24 @@
* limitations under the License.
*/

#include <limits.h>
#include <unistd.h>
#include <fcntl.h>
#include <errno.h>
#include <fcntl.h>
#include <limits.h>
#include <pthread.h>
#include <stdlib.h>
#include <string.h>

#include <sys/ioctl.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <sys/ioctl.h>
#include <unistd.h>

#include <cutils/ashmem.h>
#include <cutils/log.h>
#include <cutils/atomic.h>
#include <log/log.h>

#include <hardware/hardware.h>
#include <hardware/gralloc.h>
#include <hardware/hardware.h>

#include "gralloc_priv.h"
#include "gr.h"
Expand Down
7 changes: 3 additions & 4 deletions modules/gralloc/mapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@
* limitations under the License.
*/

#include <limits.h>
#include <errno.h>
#include <limits.h>
#include <pthread.h>
#include <unistd.h>
#include <string.h>

#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>

#include <cutils/log.h>
#include <cutils/atomic.h>
#include <log/log.h>

#include <hardware/hardware.h>
#include <hardware/gralloc.h>
Expand Down
5 changes: 2 additions & 3 deletions modules/hwcomposer/hwcomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@
* limitations under the License.
*/

#include <hardware/hardware.h>

#include <errno.h>
#include <fcntl.h>
#include <malloc.h>

#include <cutils/log.h>
#include <cutils/atomic.h>
#include <log/log.h>

#include <hardware/hardware.h>
#include <hardware/hwcomposer.h>

#include <EGL/egl.h>
Expand Down
2 changes: 1 addition & 1 deletion modules/local_time/local_time_hw.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
#include <string.h>
#include <sys/time.h>

#include <cutils/log.h>
#include <log/log.h>

#include <hardware/hardware.h>
#include <hardware/local_time_hal.h>
Expand Down
4 changes: 2 additions & 2 deletions modules/nfc-nci/nfc_nci_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
#include <malloc.h>
#include <string.h>

#include <cutils/log.h>
#include <log/log.h>

#include <hardware/hardware.h>
#include <hardware/nfc.h>


/*
* We want to silence the "unused argument" that gcc and clang give.
* Other compilers generating this warning will need to provide their
Expand Down
Loading

0 comments on commit 8774152

Please sign in to comment.