S666LN: aee: Add libaedv
Co-authored-by: Onelots <onelots@onelots.fr> Signed-off-by: KimelaZX <mmikailrei@gmail.com>
This commit is contained in:
@@ -459,9 +459,9 @@ PRODUCT_PACKAGES += \
|
||||
# Soong namespaces
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
$(LOCAL_PATH) \
|
||||
device/itel/S666LN/libaedv \
|
||||
hardware/mediatek \
|
||||
hardware/mediatek/libmtkperf_client \
|
||||
hardware/mediatek/libaedv \
|
||||
hardware/google/interfaces \
|
||||
hardware/google/pixel \
|
||||
hardware/millennium
|
||||
|
||||
@@ -21,9 +21,9 @@ from extract_utils.main import (
|
||||
|
||||
namespace_imports = [
|
||||
'device/itel/S666LN',
|
||||
'device/itel/S666LN/libaedv'
|
||||
'hardware/mediatek',
|
||||
'hardware/mediatek/libmtkperf_client',
|
||||
'hardware/mediatek/libaedv',
|
||||
'hardware/millennium',
|
||||
]
|
||||
|
||||
@@ -120,4 +120,4 @@ module = ExtractUtilsModule(
|
||||
|
||||
if __name__ == '__main__':
|
||||
utils = ExtractUtils.device(module)
|
||||
utils.run()
|
||||
utils.run()
|
||||
|
||||
14
libaedv/Android.bp
Normal file
14
libaedv/Android.bp
Normal file
@@ -0,0 +1,14 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
soong_namespace {
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
name: "libaedv",
|
||||
vendor: true,
|
||||
srcs: ["aee.c"],
|
||||
shared_libs: ["liblog"],
|
||||
}
|
||||
33
libaedv/aee.c
Normal file
33
libaedv/aee.c
Normal file
@@ -0,0 +1,33 @@
|
||||
//
|
||||
// SPDX-FileCopyrightText: The LineageOS Project
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
//
|
||||
|
||||
#define LOG_TAG "libaedv"
|
||||
|
||||
#include <log/log.h>
|
||||
|
||||
int aee_switch_ftrace(int status) {
|
||||
ALOGD("[%s]: status: %d", __func__, status);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int aee_system_exception(const char *lib, const char *path, unsigned int options, const char *log_msg) {
|
||||
ALOGD("[%s]: lib: %s, path: %s, options: %u, log_msg: %s", __func__, lib, path, options, log_msg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int aee_system_warning(const char *lib, const char *path, unsigned int options, const char *log_msg) {
|
||||
ALOGD("[%s]: lib: %s, path: %s, options: %u, log_msg: %s", __func__, lib, path, options, log_msg);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int aee_modem_warning(const char *lib,const char* path,unsigned int options, const char *log_msg, const char *ver) {
|
||||
ALOGD("[%s]: lib: %s, path: %s, options: %u, log_msg: %s, ver: %s", __func__, lib, path, options, log_msg, ver);
|
||||
return 0;
|
||||
}
|
||||
|
||||
int aee_log_msg(const char *lib, const char *path, unsigned int options, const char *log_msg, const char *ver) {
|
||||
ALOGD("[%s]: lib: %s, path: %s, options: %u, log_msg: %s, ver: %s", __func__, lib, path, options, log_msg, ver);
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user