From: huweiguo Date: Tue, 20 Dec 2016 06:40:46 +0000 (+0800) Subject: add realtek bt part X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f6abe6dcef2da72e86922f72c5ab90fe1f6a84b7;p=GitHub%2FLineageOS%2FG12%2Fandroid_hardware_realtek.git add realtek bt part Change-Id: Ib7a34d1538bb6dc537ba0c575cd827775c3f1ac4 --- diff --git a/rtkbt/Android.mk b/rtkbt/Android.mk new file mode 100755 index 0000000..720e5e4 --- /dev/null +++ b/rtkbt/Android.mk @@ -0,0 +1,4 @@ +ifeq ($(BOARD_HAVE_BLUETOOTH_RTK),true) +LOCAL_PATH := $(call my-dir) +include $(call all-subdir-makefiles) +endif diff --git a/rtkbt/addon/Android.mk b/rtkbt/addon/Android.mk new file mode 100755 index 0000000..295b94e --- /dev/null +++ b/rtkbt/addon/Android.mk @@ -0,0 +1,4 @@ +ifneq ($(BOARD_HAVE_BLUETOOTH_RTK_ADDON),) +LOCAL_PATH := $(call my-dir) +include $(foreach item,$(BOARD_HAVE_BLUETOOTH_RTK_ADDON),$(LOCAL_PATH)/$(item)/Android.mk) +endif diff --git a/rtkbt/addon/AudioRecordWav/Android.mk b/rtkbt/addon/AudioRecordWav/Android.mk new file mode 100755 index 0000000..bd30b5b --- /dev/null +++ b/rtkbt/addon/AudioRecordWav/Android.mk @@ -0,0 +1,4 @@ +LOCAL_PATH := $(call my-dir) + +include $(call all-subdir-makefiles) + diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/Android.mk b/rtkbt/addon/AudioRecordWav/AudioRecordWav/Android.mk new file mode 100755 index 0000000..c88b671 --- /dev/null +++ b/rtkbt/addon/AudioRecordWav/AudioRecordWav/Android.mk @@ -0,0 +1,10 @@ +LOCAL_PATH := $(call my-dir) +include $(CLEAR_VARS) +# Build all java files in the java subdirectory +LOCAL_MODULE_TAGS := optional +LOCAL_SRC_FILES := $(call all-subdir-java-files) +# Name of the APK to build +LOCAL_PACKAGE_NAME := rtkbtAudioRecordWav +#LOCAL_CERTIFICATE := platform +# Tell it to build an APK +include $(BUILD_PACKAGE) diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/AndroidManifest.xml b/rtkbt/addon/AudioRecordWav/AudioRecordWav/AndroidManifest.xml new file mode 100755 index 0000000..187bef6 --- /dev/null +++ b/rtkbt/addon/AudioRecordWav/AudioRecordWav/AndroidManifest.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_launcher.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_launcher.png new file mode 100755 index 0000000..288b665 Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_launcher.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search.png new file mode 100755 index 0000000..66d14ae Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search_api_holo_light.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search_api_holo_light.png new file mode 100755 index 0000000..d2b2d21 Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-hdpi/ic_voice_search_api_holo_light.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-mdpi/ic_launcher.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-mdpi/ic_launcher.png new file mode 100755 index 0000000..6ae570b Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-mdpi/ic_launcher.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xhdpi/ic_launcher.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xhdpi/ic_launcher.png new file mode 100755 index 0000000..d4fb7cd Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xhdpi/ic_launcher.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xxhdpi/ic_launcher.png b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xxhdpi/ic_launcher.png new file mode 100755 index 0000000..85a6081 Binary files /dev/null and b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/drawable-xxhdpi/ic_launcher.png differ diff --git a/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/layout/activity_main.xml b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/layout/activity_main.xml new file mode 100755 index 0000000..4245fe8 --- /dev/null +++ b/rtkbt/addon/AudioRecordWav/AudioRecordWav/res/layout/activity_main.xml @@ -0,0 +1,42 @@ + + + + + + +