No description
Find a file
Kevin Rocard 62588b69f6 Audio V4: Make effect default wrapper device independent
What was done in this patch:
 # move headers in all-versions/default folder for qualified inclusion
mkdir -p audio/effect/all-versions/include/effect/all-versions/default/
mv audio/effect/all-versions/*[hp] $_
 # Go in the all-versions header folder
cd $_
 # Use a macro for the version
sed -i '/^#/!s/V2_0/AUDIO_HAL_VERSION/g' *
 #Remove 2.0 includes
sed -i "/include.*2.0/d" *
 # Add include guard to make sure AUDIO_HAL_VERSION is set
sed -i '/limitations under the License/!b;N;a\n#include <common/all-versions/IncludeGuard.h>' *
 # Remove guard include macro
sed -i '/^#.*[H_]$/d' *
 # Remove LOG_TAG
sed -i '/LOG_TAG/d' *
 # Remove local include (include "XXX")
sed -i '/include.*"/{N;/\n$/d;D}' *
 # Replace implementation with inclusion
cd audio/effect/2.0/
git checkout HEAD^^
ls *h *cpp| sed -r 's/.*h$/\0 \0/;s/(.*)cpp/\1impl.h \0/' |xargs -L1 printf '1h;2,$H;$!d;g;s$namespace.*}[^\\n]*$#define AUDIO_HAL_VERSION V2_0\\\n#include <effect/all-versions/default/%s>\\\n#undef AUDIO_HAL_VERSION$\000%s\000'|xargs -0 -n2 sed -i
+ manual update of Android.bp and removal of duplicate include

Bug: 38184704
Test: compile
Change-Id: If99871516f3069fcb9e699ab670a665d7d507e7d
2018-01-20 10:49:57 -08:00
audio Audio V4: Make effect default wrapper device independent 2018-01-20 10:49:57 -08:00
authsecret/1.0 AuthSecret HAL 2018-01-10 18:06:51 +00:00
automotive Removes deprecated audio property in vehicle hal 2018-01-18 21:01:24 +00:00
biometrics/fingerprint/2.1 Merge "Remove subdirs" into stage-aosp-master 2017-11-29 01:16:32 +00:00
bluetooth/1.0 Bluetooth: Sleep instead of dying on EOF am: 0d63f8af7c am: e63d6a08ce 2018-01-10 01:44:13 +00:00
boot/1.0 Merge "Convert boot, memtrack and power hal to use service name aware testing." am: b9515d9d3f am: a713584847 2017-12-05 01:16:53 +00:00
broadcastradio Merge "Rename getConfigFlag to isConfigFlagSet." 2018-01-20 02:22:21 +00:00
camera Merge "camera: Add external flash mode key" 2018-01-19 04:19:24 +00:00
cas Merge "cas: manually clear strong ref before callback" 2017-12-14 08:46:11 +00:00
compatibility_matrices add powerhal 1.2 to compatibility_matrix 2018-01-16 18:37:58 -08:00
configstore Disable seccomp policy for configstore hal on coverage builds. am: 207e97c735 am: 23b5ae4553 2018-01-09 21:43:19 +00:00
contexthub/1.0 Handles transactions started immediately after completion 2017-12-11 18:05:02 +00:00
drm/1.0 Fix potential memory leak in default drm crypto plugin 2018-01-05 11:18:00 -08:00
dumpstate/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
gatekeeper/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
gnss GNSS Satellite Use Blacklist HAL 2018-01-05 17:03:23 -08:00
graphics graphics: add graphics common 1.1 HAL with new pixel formats and usages. 2018-01-19 10:16:22 -08:00
health Merge "Modify IHealthInfoCallback interface to return V2.0 HealthInfo" 2018-01-19 01:55:28 +00:00
ir/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
keymaster Merge "Add VerificationToken tests." 2018-01-20 03:25:18 +00:00
light/2.0 Add interface specification for lights hal. 2018-01-05 10:16:34 -08:00
media Move media configuration to its own directory. 2017-12-18 14:09:14 -08:00
memtrack/1.0 Merge "Convert boot, memtrack and power hal to use service name aware testing." am: b9515d9d3f am: a713584847 2017-12-05 01:16:53 +00:00
neuralnetworks/1.0 Updating makefiles for hidl_interface. 2017-12-03 10:31:49 -08:00
nfc/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
oemlock/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
power Merge "power hal: Add power HAL API 1.2" 2017-12-06 00:13:17 +00:00
radio Merge "Add cellInfoList_1_2 in 1.2/IRadioIndication.hal." am: ab6101db50 am: 04369bf047 2018-01-11 17:59:52 +00:00
renderscript/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
sensors/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
soundtrigger soundtrigger: Add VTS tests for v2.1 2018-01-17 17:24:21 -08:00
tests Update makefiles. 2018-01-17 11:20:17 -08:00
tetheroffload Remove subdirs 2017-11-28 14:23:43 -08:00
thermal Updating makefiles for hidl_interface. 2017-12-03 10:31:49 -08:00
tv Remove subdirs 2017-11-28 14:23:43 -08:00
usb Merge "usb: Add owner file" am: 75b87347aa am: 576cd45e62 2017-11-29 17:49:05 +00:00
vibrator Remove subdirs 2017-11-28 14:23:43 -08:00
vr/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
weaver/1.0 Remove subdirs 2017-11-28 14:23:43 -08:00
wifi [AWARE] Add global NAN RTT enable/disable flag 2018-01-18 19:51:22 +00:00
.clang-format .clang-format: 100 lines 2017-05-02 16:45:27 -07:00
Android.bp Remove subdirs 2017-11-28 14:23:43 -08:00
CleanSpec.mk Configstore HAL is down-revisioned to 1.0 2018-01-04 16:15:56 +09:00
current.txt [AWARE] Update HAL 1.0 documentation for Match Filter 2018-01-18 19:51:10 +00:00
MODULE_LICENSE_APACHE2 Apache2 module license. 2016-08-30 11:28:36 -07:00
NOTICE Apache2 module license. 2016-08-30 11:28:36 -07:00
OWNERS Add OWNERS in hardware/interfaces 2017-06-12 13:20:12 -07:00
PREUPLOAD.cfg Enable the clang-format pre-submit hook 2017-03-30 13:26:49 -07:00
update-base-files.sh graphics: add graphics common 1.1 HAL with new pixel formats and usages. 2018-01-19 10:16:22 -08:00
update-makefiles.sh Update makefiles from anywhere. 2017-05-11 15:42:32 -07:00