1.编译android.hardware.audio.core@all-versions-impl
# 编译之前必须删除,不然不会生成新的android.hardware.audio.core@all-versions-impl文件
# rm out/target/product/betel/obj_arm/HEADER_LIBRARIES/android.hardware.audio.core@all-versions-impl_intermediates/android.hardware.audio.core@all-versions-impl
# cd hardware/interfaces/audio/core/all-versions/default
# vim include/core/all-versions/default/StreamOut.impl.h //添加log
Return<void> StreamOut::updateSourceMetadata(const SourceMetadata& sourceMetadata) {
ALOGE("xxx----->%s, %s, %d",__FILE__,__FUNCTION__,__LINE__);
}
# mm -j32
# make vendorimage -j32
# fastboot flash vendor vendor.img