android_system_core/liblog/include_vndk/log
Jiyong Park 0d047642eb Hide implementation details of log_time struct
In the future, the sizes of tv_sec and tv_nsec (or even the size of
log_time struct itself) can change due to the 32-bit overflow expected
to happen in the year 2138. In order to hide such implementation details
to the clients of liblog, the two macros LOG_TIME_SEC and LOG_TIME_NSEC
are introduced.

Furthermore, vendors are provided with a simplified version of log_time.h
without C++ APIs. In doing so, log_time.h no longer includes time.h.
This breaks several modules that implicitly relied on the hidden
dependency, which should be fixed.

Bug: 37629934
Test: build with BOARD_VNDK_VERSION=current

Merged-In: If213fc291395554fd8de5f5d1fb005ceaaa5ca57
Change-Id: I01b36078c1d8f3f44824be20ae769ba1465b6feb
(cherry picked from commit 98c0d030c9)
2017-10-03 17:45:17 +00:00
..
log.h Allow SLOG* to vendors 2017-06-29 10:25:25 +09:00
log_id.h liblog: add log/log_id.h 2017-01-25 15:41:43 -08:00
log_main.h ndk: reverse course on android/log.h 2017-01-25 15:41:43 -08:00
log_properties.h libcutils: compile with BOARD_VNDK_VERSION current 2017-04-17 14:44:17 -07:00
log_radio.h liblog: add log/log_radio.h 2017-01-25 15:41:43 -08:00
log_read.h liblog: export log/log_read.h to vndk 2017-01-26 16:10:59 -08:00
log_safetynet.h liblog: __android_log_error_write in vndk 2017-05-01 14:40:55 +00:00
log_system.h Allow SLOG* to vendors 2017-06-29 10:25:25 +09:00
log_time.h Hide implementation details of log_time struct 2017-10-03 17:45:17 +00:00