hog: Move code from android to profiles

This is a place holder until the code is ported to use shared API so it
can be shared by android and D-Bus daemon.
This commit is contained in:
Luiz Augusto von Dentz 2015-11-11 13:39:51 +02:00
parent fadcbdcc39
commit 714daa5589
7 changed files with 7 additions and 6 deletions

View File

@ -400,7 +400,7 @@ unit_tests += unit/test-hog
unit_test_hog_SOURCES = unit/test-hog.c \
$(btio_sources) \
android/hog.h android/hog.c \
profiles/input/hog-lib.h profiles/input/hog-lib.c \
profiles/scanparam/scpp.h profiles/scanparam/scpp.c \
profiles/battery/bas.h profiles/battery/bas.c \
profiles/deviceinfo/dis.h profiles/deviceinfo/dis.c \

View File

@ -42,7 +42,7 @@ LOCAL_SRC_FILES := \
bluez/profiles/scanparam/scpp.c \
bluez/profiles/deviceinfo/dis.c \
bluez/profiles/battery/bas.c \
bluez/android/hog.c \
bluez/profiles/input/hog-lib.c \
bluez/android/hidhost.c \
bluez/android/socket.c \
bluez/android/ipc.c \

View File

@ -33,7 +33,8 @@ android_bluetoothd_SOURCES = android/main.c \
profiles/deviceinfo/dis.h \
profiles/deviceinfo/dis.c \
profiles/battery/bas.h profiles/battery/bas.c \
android/hog.h android/hog.c \
profiles/input/hog-lib.h \
profiles/input/hog-lib.c \
android/ipc-common.h \
android/ipc.h android/ipc.c \
android/avdtp.h android/avdtp.c \

View File

@ -44,13 +44,13 @@
#include "src/sdp-client.h"
#include "src/uuid-helper.h"
#include "src/log.h"
#include "profiles/input/hog-lib.h"
#include "hal-msg.h"
#include "ipc-common.h"
#include "ipc.h"
#include "bluetooth.h"
#include "gatt.h"
#include "hog.h"
#include "hidhost.h"
#include "utils.h"

View File

@ -56,7 +56,7 @@
#include "profiles/scanparam/scpp.h"
#include "profiles/deviceinfo/dis.h"
#include "profiles/battery/bas.h"
#include "android/hog.h"
#include "profiles/input/hog-lib.h"
#define HOG_UUID "00001812-0000-1000-8000-00805f9b34fb"

View File

@ -37,7 +37,7 @@
#include "attrib/gattrib.h"
#include "android/hog.h"
#include "profiles/input/hog-lib.h"
struct test_pdu {
bool valid;