Replace #apex with #systemapi
Currently, for an API symbol to be accessible to APEXes, it needs to be
marked as either # systemapi or # apex. It was originally just # apex,
but we added # systemapi to clearly identify the origin of the APIs.
The intended use is
* #apex is for APEX-visible symbols that are defined in an APEX
* #systemapi is for APEX-visible symbols that are defined in the
platform (the non-updatable part)
This intention is documented build/soong/docs/map_files.md, but isn't
enforced at all.
With b/239274367, this is now enforced and therefore the #apex tags in
the platform library are replaced with `#systemapi`
This change does not alter any functionality.
Bug: 239274367
Test: m
Change-Id: I2aca12a4caba61975a612e6e749fc58e496030dd
diff --git a/liblog/liblog.map.txt b/liblog/liblog.map.txt
index f8d5ef0..440e7df 100644
--- a/liblog/liblog.map.txt
+++ b/liblog/liblog.map.txt
@@ -1,6 +1,6 @@
LIBLOG {
global:
- android_name_to_log_id; # apex llndk
+ android_name_to_log_id; # systemapi llndk
android_log_id_to_name; # llndk
__android_log_assert;
__android_log_buf_print;
@@ -19,12 +19,12 @@
android_logger_get_log_readable_size; # llndk
android_logger_get_log_version; # llndk
android_logger_get_log_size; # llndk
- android_logger_list_alloc; # apex llndk
- android_logger_list_alloc_time; # apex llndk
- android_logger_list_free; # apex llndk
- android_logger_list_open; # apex llndk
- android_logger_list_read; # apex llndk
- android_logger_open; # apex llndk
+ android_logger_list_alloc; # systemapi llndk
+ android_logger_list_alloc_time; # systemapi llndk
+ android_logger_list_free; # systemapi llndk
+ android_logger_list_open; # systemapi llndk
+ android_logger_list_read; # systemapi llndk
+ android_logger_open; # systemapi llndk
android_logger_set_log_size; # llndk
};
@@ -33,34 +33,34 @@
android_logger_get_prune_list; # llndk
android_logger_set_prune_list; # llndk
android_logger_get_statistics; # llndk
- __android_log_error_write; # apex llndk
+ __android_log_error_write; # systemapi llndk
__android_log_is_loggable;
- create_android_logger; # apex llndk
- android_log_destroy; # apex llndk
- android_log_write_list_begin; # apex llndk
- android_log_write_list_end; # apex llndk
- android_log_write_int32; # apex llndk
- android_log_write_int64; # apex llndk
- android_log_write_string8; # apex llndk
- android_log_write_string8_len; # apex llndk
- android_log_write_float32; # apex llndk
- android_log_write_list; # apex llndk
+ create_android_logger; # systemapi llndk
+ android_log_destroy; # systemapi llndk
+ android_log_write_list_begin; # systemapi llndk
+ android_log_write_list_end; # systemapi llndk
+ android_log_write_int32; # systemapi llndk
+ android_log_write_int64; # systemapi llndk
+ android_log_write_string8; # systemapi llndk
+ android_log_write_string8_len; # systemapi llndk
+ android_log_write_float32; # systemapi llndk
+ android_log_write_list; # systemapi llndk
};
LIBLOG_O {
global:
__android_log_is_loggable_len;
- __android_log_is_debuggable; # apex llndk
+ __android_log_is_debuggable; # systemapi llndk
};
LIBLOG_Q { # introduced=29
global:
- __android_log_bswrite; # apex
- __android_log_btwrite; # apex
- __android_log_bwrite; # apex
- __android_log_close; # apex
- __android_log_security; # apex
+ __android_log_bswrite; # systemapi
+ __android_log_btwrite; # systemapi
+ __android_log_bwrite; # systemapi
+ __android_log_close; # systemapi
+ __android_log_security; # systemapi
android_log_reset; # llndk
android_log_parser_reset; # llndk
};
@@ -71,7 +71,7 @@
__android_log_default_aborter;
__android_log_get_minimum_priority;
__android_log_logd_logger;
- __android_log_security_bswrite; # apex
+ __android_log_security_bswrite; # systemapi
__android_log_set_aborter;
__android_log_set_default_tag;
__android_log_set_logger;