Re: [RFC 1/8] android: Import Android HAL headers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Oct 17, 2013 at 10:47:02AM +0200, Szymon Janc wrote:
> From: Szymon Janc <szymon.janc@xxxxxxxxx>
> 
> This imports BT HAL headers as of tag android-4.3_r3.1 from
> https://android.googlesource.com/platform/hardware/libhardware
> 
> Only changes made compared to original files are trailing whitespace
> cleanup to keep git happy and commenting out includes of
> cutils/native_handle.h and system/graphics.h from hardware.h which are
> not present on Linux.
> 
> Those files are needed for building HAL library and haltester tool on
> Linux.
> ---
>  android/hardware/bluetooth.h      | 468 ++++++++++++++++++++++++++++++++++++++
>  android/hardware/bt_av.h          |  90 ++++++++
>  android/hardware/bt_gatt.h        |  61 +++++
>  android/hardware/bt_gatt_client.h | 275 ++++++++++++++++++++++
>  android/hardware/bt_gatt_server.h | 175 ++++++++++++++
>  android/hardware/bt_gatt_types.h  |  48 ++++
>  android/hardware/bt_hf.h          | 284 +++++++++++++++++++++++
>  android/hardware/bt_hh.h          | 179 +++++++++++++++
>  android/hardware/bt_hl.h          | 123 ++++++++++
>  android/hardware/bt_pan.h         |  87 +++++++
>  android/hardware/bt_rc.h          | 234 +++++++++++++++++++
>  android/hardware/bt_sock.h        |  58 +++++
>  android/hardware/hardware.h       | 232 +++++++++++++++++++
>  13 files changed, 2314 insertions(+)
>  create mode 100644 android/hardware/bluetooth.h
>  create mode 100644 android/hardware/bt_av.h
>  create mode 100644 android/hardware/bt_gatt.h
>  create mode 100644 android/hardware/bt_gatt_client.h
>  create mode 100644 android/hardware/bt_gatt_server.h
>  create mode 100644 android/hardware/bt_gatt_types.h
>  create mode 100644 android/hardware/bt_hf.h
>  create mode 100644 android/hardware/bt_hh.h
>  create mode 100644 android/hardware/bt_hl.h
>  create mode 100644 android/hardware/bt_pan.h
>  create mode 100644 android/hardware/bt_rc.h
>  create mode 100644 android/hardware/bt_sock.h
>  create mode 100644 android/hardware/hardware.h

That android/hardware does not sound good to me maybe 
android/include/hardware ? It might be so that we would need to import
some other library; then we put it also to android/include.

But let's maintainers decide this.

Best regards 
Andrei Emeltchenko 

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux