platform_system_core/liblog/liblog.map.txt
Tom Cherry d6699b6b81 liblog: correct new APIs per the API review
1) Rename __android_logger_data to __android_log_message and rename
   __android_log_write_logger_data to
   __android_log_write_log_message. Move the const char* message
   argument into __android_log_message.
2) Add @param, @return, and "Available since API level 30." to the
   documentation of new functions.
3) Document that the user defined aborter should but may not abort.
4) Document the line separation is the responsibility of the log
   function provided to __android_log_set_logger().

Bug: 150898477
Test: build, liblog and libbase unit tests
Change-Id: I07c41011ef25b3e7cc4943f3f1e240a2f6aa2802
2020-03-16 15:31:52 -07:00

96 lines
2.6 KiB
Text

LIBLOG {
global:
android_name_to_log_id; # llndk
android_log_id_to_name; # llndk
__android_log_assert;
__android_log_buf_print;
__android_log_buf_write;
__android_log_print;
__android_log_vprint;
__android_log_write;
local:
*;
};
LIBLOG_L {
global:
android_logger_clear; # llndk
android_logger_get_id; # llndk
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; # llndk
android_logger_list_read; # apex llndk
android_logger_open; # apex llndk
android_logger_set_log_size; # llndk
};
LIBLOG_M {
global:
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_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
};
LIBLOG_O {
global:
__android_log_is_loggable_len;
__android_log_is_debuggable; # apex 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_reset; # llndk
android_log_parser_reset; # llndk
};
LIBLOG_R { # introduced=30
global:
__android_log_call_aborter;
__android_log_default_aborter;
__android_log_get_minimum_priority;
__android_log_logd_logger;
__android_log_security_bswrite; # apex
__android_log_set_aborter;
__android_log_set_default_tag;
__android_log_set_logger;
__android_log_set_minimum_priority;
__android_log_stderr_logger;
__android_log_write_log_message;
};
LIBLOG_PRIVATE {
global:
__android_log_pmsg_file_read;
__android_log_pmsg_file_write;
__android_logger_get_buffer_size;
__android_logger_property_get_bool;
android_openEventTagMap;
android_log_processBinaryLogBuffer;
android_log_processLogBuffer;
android_log_read_next;
android_log_write_list_buffer;
android_lookupEventTagNum;
create_android_log_parser;
};