[Miscellaneous Android Development] grandmagoblin:
I am willing to do that. I have a basic understanding of coding. I have most of my background in Networking. When I try to build, it is getting issues with FMRadio and APN conf. I just synced my repo btw. I see that you recently made some changes.

[ 27% 10/36] build out/target/product/Atom_XL_TEE/gen/ETC/apns-conf.xml_intermediates/apns-conf.xml
FAILED: out/target/product/Atom_XL_TEE/gen/ETC/apns-conf.xml_intermediates/apns-conf.xml
/bin/bash -c "(rm -f out/target/product/Atom_XL_TEE/gen/ETC/apns-conf.xml_intermediates/apns-conf.xml ) && (python vendor/lineage/tools/custom_apns.py out/target/product/Atom_XL_TEE/gen/ETC/apns-conf.xml_interme
diates/apns-conf.xml device/sample/etc/apns-full-conf.xml device/Unihertz/Atom_LXL/etc/apns-conf-keep.xml device/Unihertz/Atom_LXL/etc/apns-conf.xml device/Unihertz/Atom_LXL/etc/apns-conf-additional.xml )"
Traceback (most recent call last):
File "vendor/lineage/tools/custom_apns.py", line 62, in <module>
main(sys.argv)
File "vendor/lineage/tools/custom_apns.py", line 30, in main
raise ValueError("Wrong number of arguments %s" % len(argv))
ValueError: Wrong number of arguments 6
[ 30% 11/36] target C++: libfmjni <= packages/apps/FMRadio/jni/fmr/libfm_jni.cpp
FAILED: out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/libfm_jni.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -I libnativehelper/include_jni -I frameworks/base/include/media -I packages/apps/FMRadio/jni/fmr -I out
/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates -I out/target/product/Atom_XL_TEE/gen/SHARED_LIBRARIES/libfmjni_intermediates -I libnativehelper/include_jni -Isystem/core/libcutils/includ
e -Isystem/core/libprocessgroup/include -D__LIBANDROIDICU_API__=1 -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libstagefright/include -Iframeworks/av/media/
ndk/include -Iframeworks/native/libs/binder/ndk/include_ndk -Iframeworks/native/libs/binder/ndk/include_platform -Ilibnativehelper/include_jni -Iout/soong/.intermediates/frameworks/av/media/libmedia/resourcemana
ger_aidl_interface-ndk_platform-source/gen/include -Iframeworks/native/libs/binder/include -Isystem/core/base/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/inc
lude -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/core/libprocessgroup/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm64_armv8-a_shared/gen/aidl -I
external/icu/libandroidicu/include -Iframeworks/av/media/libaudioclient/include -Iframeworks/av/media/libaudiofoundation/include -Isystem/media/audio/include -Iframeworks/av/media/libmediahelper/include -Iout/so
ong/.intermediates/frameworks/av/media/libaudioclient/libaudioclient/android_arm64_armv8-a_shared_cfi/gen/aidl -Iframeworks/av/media/libmedia/aidl -Iframeworks/native/headers/media_plugin -Iframeworks/native/hea
ders/media_plugin/media/openmax -Iframeworks/av/media/libstagefright/foundation/include -Isystem/libhidl/transport/token/1.0/utils/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Isyste
m/libhwbinder/include -Iexternal/fmtlib/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/man
ager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transpor
t/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/
interfaces/media/1.0/android.hardware.media@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/1.0/android.hardware.graphics.bufferqueue@1.0_genc++_headers/gen -Iout/soong
/.intermediates/hardware/interfaces/media/omx/1.0/android.hardware.media.omx@1.0_genc++_headers/gen -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/ui/include_private -Iframeworks/native/libs/native
base/include -Iframeworks/native/libs/nativewindow/include -Ihardware/libhardware/include -Isystem/bt/types -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/math/include -Iout/soong/.intermediates
/hardware/interfaces/common/aidl/android.hardware.common-ndk_platform-source/gen/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common-ndk_platform-source/g
en/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.ha
rdware.graphics.common@1.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/mapper/4.0/android.hardware.graphics.mapper@4.0_genc++_headers/gen -Iframeworks/native/libs/gralloc/types/inc
lude -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia_omx/android_arm64_armv8-a_shared_cfi/gen/aidl -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia/android_arm64_armv8-a_static_c
fi/gen/aidl -Isystem/core/liblog/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -D__LIBC_API__=10000 -Ibionic/libc/include -D__LIBM_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iextern
al/libcxxabi/include -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I frameworks/native/include -I framewor
ks/native/opengl/include -I frameworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic
/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-mult
ichar -O2 -g -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Werror=int-co
nversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99
-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa
,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -march=armv8-a -Bprebuilts/gcc/lin
ux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17
-fno-rtti -Wall -Werror -fPIC -DANDROID_STRICT -target aarch64-linux-android10000 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-ty
pe -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compa
re -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare
-Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -MD -MF out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/libfm_jni.d -o out/target/product/Atom_XL_TEE/obj/S
HARED_LIBRARIES/libfmjni_intermediates/libfm_jni.o packages/apps/FMRadio/jni/fmr/libfm_jni.cpp"
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:28:26: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jboolean openDev(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:28:39: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jboolean openDev(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:38:27: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jboolean closeDev(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:38:40: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jboolean closeDev(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:48:26: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jboolean powerUp(JNIEnv *env, jobject thiz, jfloat freq)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:48:39: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jboolean powerUp(JNIEnv *env, jobject thiz, jfloat freq)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:61:28: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jboolean powerDown(JNIEnv *env, jobject thiz, jint type)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:61:41: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jboolean powerDown(JNIEnv *env, jobject thiz, jint type)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:71:23: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jboolean tune(JNIEnv *env, jobject thiz, jfloat freq)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:71:36: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jboolean tune(JNIEnv *env, jobject thiz, jfloat freq)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:83:21: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jfloat seek(JNIEnv *env, jobject thiz, jfloat freq, jboolean isUp) //jboolean isUp;
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:83:34: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jfloat seek(JNIEnv *env, jobject thiz, jfloat freq, jboolean isUp) //jboolean isUp;
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:109:43: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jshortArray autoScan(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:146:24: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jshort readRds(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:146:37: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jshort readRds(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:161:39: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jbyteArray getPs(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:179:43: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jbyteArray getLrText(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:197:25: error: unused parameter 'env' [-Werror,-Wunused-parameter]
jshort activeAf(JNIEnv *env, jobject thiz)
^
packages/apps/FMRadio/jni/fmr/libfm_jni.cpp:197:38: error: unused parameter 'thiz' [-Werror,-Wunused-parameter]
jshort activeAf(JNIEnv *env, jobject thiz)
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[ 33% 12/36] target C++: libfmjni <= packages/apps/FMRadio/jni/fmr/common.cpp
FAILED: out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/common.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -I libnativehelper/include_jni -I frameworks/base/include/media -I packages/apps/FMRadio/jni/fmr -I out
/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates -I out/target/product/Atom_XL_TEE/gen/SHARED_LIBRARIES/libfmjni_intermediates -I libnativehelper/include_jni -Isystem/core/libcutils/includ
e -Isystem/core/libprocessgroup/include -D__LIBANDROIDICU_API__=1 -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libstagefright/include -Iframeworks/av/media/
ndk/include -Iframeworks/native/libs/binder/ndk/include_ndk -Iframeworks/native/libs/binder/ndk/include_platform -Ilibnativehelper/include_jni -Iout/soong/.intermediates/frameworks/av/media/libmedia/resourcemana
ger_aidl_interface-ndk_platform-source/gen/include -Iframeworks/native/libs/binder/include -Isystem/core/base/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/inc
lude -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/core/libprocessgroup/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm64_armv8-a_shared/gen/aidl -I
external/icu/libandroidicu/include -Iframeworks/av/media/libaudioclient/include -Iframeworks/av/media/libaudiofoundation/include -Isystem/media/audio/include -Iframeworks/av/media/libmediahelper/include -Iout/so
ong/.intermediates/frameworks/av/media/libaudioclient/libaudioclient/android_arm64_armv8-a_shared_cfi/gen/aidl -Iframeworks/av/media/libmedia/aidl -Iframeworks/native/headers/media_plugin -Iframeworks/native/hea
ders/media_plugin/media/openmax -Iframeworks/av/media/libstagefright/foundation/include -Isystem/libhidl/transport/token/1.0/utils/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Isyste
m/libhwbinder/include -Iexternal/fmtlib/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/man
ager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transpor
t/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/
interfaces/media/1.0/android.hardware.media@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/1.0/android.hardware.graphics.bufferqueue@1.0_genc++_headers/gen -Iout/soong
/.intermediates/hardware/interfaces/media/omx/1.0/android.hardware.media.omx@1.0_genc++_headers/gen -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/ui/include_private -Iframeworks/native/libs/native
base/include -Iframeworks/native/libs/nativewindow/include -Ihardware/libhardware/include -Isystem/bt/types -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/math/include -Iout/soong/.intermediates
/hardware/interfaces/common/aidl/android.hardware.common-ndk_platform-source/gen/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common-ndk_platform-source/g
en/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.ha
rdware.graphics.common@1.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/mapper/4.0/android.hardware.graphics.mapper@4.0_genc++_headers/gen -Iframeworks/native/libs/gralloc/types/inc
lude -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia_omx/android_arm64_armv8-a_shared_cfi/gen/aidl -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia/android_arm64_armv8-a_static_c
fi/gen/aidl -Isystem/core/liblog/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -D__LIBC_API__=10000 -Ibionic/libc/include -D__LIBM_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iextern
al/libcxxabi/include -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I frameworks/native/include -I framewor
ks/native/opengl/include -I frameworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic
/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-mult
ichar -O2 -g -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Werror=int-co
nversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99
-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa
,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -march=armv8-a -Bprebuilts/gcc/lin
ux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17
-fno-rtti -Wall -Werror -fPIC -DANDROID_STRICT -target aarch64-linux-android10000 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-ty
pe -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compa
re -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare
-Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -MD -MF out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/common.d -o out/target/product/Atom_XL_TEE/obj/SHAR
ED_LIBRARIES/libfmjni_intermediates/common.o packages/apps/FMRadio/jni/fmr/common.cpp"
packages/apps/FMRadio/jni/fmr/common.cpp:104:20: error: unused parameter 'fd' [-Werror,-Wunused-parameter]
int COM_get_ps(int fd, RDSData_Struct *rds, uint8_t **ps, int *ps_len)
^
packages/apps/FMRadio/jni/fmr/common.cpp:131:20: error: unused parameter 'fd' [-Werror,-Wunused-parameter]
int COM_get_rt(int fd, RDSData_Struct *rds, uint8_t **rt, int *rt_len)
^
packages/apps/FMRadio/jni/fmr/common.cpp:157:20: error: unused parameter 'fd' [-Werror,-Wunused-parameter]
int COM_get_pi(int fd, RDSData_Struct *rds, uint16_t *pi)
^
3 errors generated.
[ 36% 13/36] target C++: libfmjni <= packages/apps/FMRadio/jni/fmr/fmr_core.cpp
FAILED: out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/fmr_core.o
/bin/bash -c "PWD=/proc/self/cwd /usr/bin/ccache prebuilts/clang/host/linux-x86/clang-r383902b1/bin/clang++ -I libnativehelper/include_jni -I frameworks/base/include/media -I packages/apps/FMRadio/jni/fmr -I out
/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates -I out/target/product/Atom_XL_TEE/gen/SHARED_LIBRARIES/libfmjni_intermediates -I libnativehelper/include_jni -Isystem/core/libcutils/includ
e -Isystem/core/libprocessgroup/include -D__LIBANDROIDICU_API__=1 -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libmedia/include -Iframeworks/av/media/libstagefright/include -Iframeworks/av/media/
ndk/include -Iframeworks/native/libs/binder/ndk/include_ndk -Iframeworks/native/libs/binder/ndk/include_platform -Ilibnativehelper/include_jni -Iout/soong/.intermediates/frameworks/av/media/libmedia/resourcemana
ger_aidl_interface-ndk_platform-source/gen/include -Iframeworks/native/libs/binder/include -Isystem/core/base/include -Isystem/core/libcutils/include -Isystem/core/libutils/include -Isystem/core/libbacktrace/inc
lude -Isystem/core/liblog/include -Isystem/core/libsystem/include -Isystem/core/libprocessgroup/include -Iout/soong/.intermediates/frameworks/native/libs/binder/libbinder/android_arm64_armv8-a_shared/gen/aidl -I
external/icu/libandroidicu/include -Iframeworks/av/media/libaudioclient/include -Iframeworks/av/media/libaudiofoundation/include -Isystem/media/audio/include -Iframeworks/av/media/libmediahelper/include -Iout/so
ong/.intermediates/frameworks/av/media/libaudioclient/libaudioclient/android_arm64_armv8-a_shared_cfi/gen/aidl -Iframeworks/av/media/libmedia/aidl -Iframeworks/native/headers/media_plugin -Iframeworks/native/hea
ders/media_plugin/media/openmax -Iframeworks/av/media/libstagefright/foundation/include -Isystem/libhidl/transport/token/1.0/utils/include -Isystem/libhidl/base/include -Isystem/libhidl/transport/include -Isyste
m/libhwbinder/include -Iexternal/fmtlib/include -Iout/soong/.intermediates/system/libhidl/transport/manager/1.0/android.hidl.manager@1.0_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/man
ager/1.1/android.hidl.manager@1.1_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transport/manager/1.2/android.hidl.manager@1.2_genc++_headers/gen -Iout/soong/.intermediates/system/libhidl/transpor
t/base/1.0/android.hidl.base@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.0/android.hardware.graphics.common@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/
interfaces/media/1.0/android.hardware.media@1.0_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/bufferqueue/1.0/android.hardware.graphics.bufferqueue@1.0_genc++_headers/gen -Iout/soong
/.intermediates/hardware/interfaces/media/omx/1.0/android.hardware.media.omx@1.0_genc++_headers/gen -Iframeworks/native/libs/ui/include -Iframeworks/native/libs/ui/include_private -Iframeworks/native/libs/native
base/include -Iframeworks/native/libs/nativewindow/include -Ihardware/libhardware/include -Isystem/bt/types -Iframeworks/native/libs/arect/include -Iframeworks/native/libs/math/include -Iout/soong/.intermediates
/hardware/interfaces/common/aidl/android.hardware.common-ndk_platform-source/gen/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/aidl/android.hardware.graphics.common-ndk_platform-source/g
en/include -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.1/android.hardware.graphics.common@1.1_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/common/1.2/android.ha
rdware.graphics.common@1.2_genc++_headers/gen -Iout/soong/.intermediates/hardware/interfaces/graphics/mapper/4.0/android.hardware.graphics.mapper@4.0_genc++_headers/gen -Iframeworks/native/libs/gralloc/types/inc
lude -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia_omx/android_arm64_armv8-a_shared_cfi/gen/aidl -Iout/soong/.intermediates/frameworks/av/media/libmedia/libmedia/android_arm64_armv8-a_static_c
fi/gen/aidl -Isystem/core/liblog/include -Iexternal/libcxx/include -Iexternal/libcxxabi/include -D__LIBC_API__=10000 -Ibionic/libc/include -D__LIBM_API__=10000 -D__LIBM_API__=10000 -D__LIBDL_API__=10000 -Iextern
al/libcxxabi/include -I system/core/include -I system/media/audio/include -I hardware/libhardware/include -I hardware/libhardware_legacy/include -I hardware/ril/include -I frameworks/native/include -I framewor
ks/native/opengl/include -I frameworks/av/include -isystem bionic/libc/include -isystem bionic/libc/kernel/uapi -isystem bionic/libc/kernel/uapi/asm-arm64 -isystem bionic/libc/kernel/android/scsi -isystem bionic
/libc/kernel/android/uapi -c -Werror=implicit-function-declaration -DANDROID -fmessage-length=0 -W -Wall -Wno-unused -Winit-self -Wpointer-arith -no-canonical-prefixes -DNDEBUG -UDEBUG -fno-exceptions -Wno-mult
ichar -O2 -g -fno-strict-aliasing -Werror=date-time -Werror=pragma-pack -Werror=pragma-pack-suspicious-include -fdebug-prefix-map=/proc/self/cwd= -D__compiler_offsetof=__builtin_offsetof -faddrsig -Werror=int-co
nversion -fexperimental-new-pass-manager -Wno-reserved-id-macro -Wno-unused-command-line-argument -fcolor-diagnostics -Wno-sign-compare -Wno-defaulted-function-deleted -Wno-inconsistent-missing-override -Wno-c99
-designator -ftrivial-auto-var-init=zero -enable-trivial-auto-var-init-zero-knowing-it-will-be-removed-from-clang -ffunction-sections -fdata-sections -fno-short-enums -funwind-tables -fstack-protector-strong -Wa
,--noexecstack -D_FORTIFY_SOURCE=2 -Wstrict-aliasing=2 -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Werror=format-security -nostdlibinc -march=armv8-a -Bprebuilts/gcc/lin
ux-x86/aarch64/aarch64-linux-android-4.9/aarch64-linux-android/bin -Wsign-promo -Wimplicit-fallthrough -D_LIBCPP_ENABLE_THREAD_SAFETY_ANNOTATIONS -Wno-gnu-include-next -fvisibility-inlines-hidden -std=gnu++17
-fno-rtti -Wall -Werror -fPIC -DANDROID_STRICT -target aarch64-linux-android10000 -Werror=int-to-pointer-cast -Werror=pointer-to-int-cast -Werror=fortify-source -Werror=address-of-temporary -Werror=return-ty
pe -Wno-tautological-constant-compare -Wno-tautological-type-limit-compare -Wno-reorder-init-list -Wno-implicit-int-float-conversion -Wno-int-in-bool-context -Wno-sizeof-array-div -Wno-tautological-overlap-compa
re -Wno-deprecated-copy -Wno-range-loop-construct -Wno-misleading-indentation -Wno-zero-as-null-pointer-constant -Wno-deprecated-anon-enum-enum-conversion -Wno-deprecated-enum-enum-conversion -Wno-string-compare
-Wno-enum-enum-conversion -Wno-enum-float-conversion -Wno-pessimizing-move -MD -MF out/target/product/Atom_XL_TEE/obj/SHARED_LIBRARIES/libfmjni_intermediates/fmr_core.d -o out/target/product/Atom_XL_TEE/obj/SH
ARED_LIBRARIES/libfmjni_intermediates/fmr_core.o packages/apps/FMRadio/jni/fmr/fmr_core.cpp"
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:83:26: error: unused parameter 'idx' [-Werror,-Wunused-parameter]
int FMR_chk_cfg_data(int idx)
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:282:19: error: unused variable 'j' [-Werror,-Wunused-variable]
fm_s32 i = 0, j = 0;
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:490:24: error: unused variable 'cur_freq' [-Werror,-Wunused-variable]
fm_softmute_tune_t cur_freq;
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:489:24: error: unused variable 'j' [-Werror,-Wunused-variable]
fm_s32 ret = 0, i, j;
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:489:21: error: unused variable 'i' [-Werror,-Wunused-variable]
fm_s32 ret = 0, i, j;
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:581:133: error: unused parameter 'NF_Space' [-Werror,-Wunused-parameter]
int FMR_scan_Channels(int idx, uint16_t *scan_tbl, int *max_cnt, fm_s32 band_channel_no, fm_u16 Start_Freq, fm_u8 seek_space, fm_u8 NF_Space)
^
packages/apps/FMRadio/jni/fmr/fmr_core.cpp:771:23: error: unused parameter 'idx' [-Werror,-Wunused-parameter]
int FMR_stop_scan(int idx)
^
7 errors generated.
17:47:43 ninja failed with: exit status 1

#### failed to build some targets (8 seconds) ####