platform_bionic/libc/system_properties
Elliott Hughes 31fc69f67f Fix tzalloc(nullptr) and add a test.
This works (by reading /etc/localtime) on NetBSD, but not on Android
since we have no such file. Fix that by using our equivalent system
property instead.

Also s/time zone/timezone/ in documentation and comments. We've always
been inconsistent about this (as is upstream in code comments and
documentation) but it seems especially odd now we expose a _type_ that
spells it "timezone" to talk of "time zone" even as we're describing
that type and its associated functions.

Bug: https://github.com/chronotope/chrono/issues/499
Test: treehugger
Change-Id: I142995a3ab4deff1073a0aa9e63ce8eac850b93d
2023-06-22 09:51:01 -07:00
..
include/system_properties Revert "Adding system property tracing" 2021-07-15 20:55:55 +08:00
Android.bp Revert "Adding system property tracing" 2021-07-15 20:55:55 +08:00
context_lookup_benchmark.cpp Add benchmark for property mapping 2020-09-02 16:12:21 +00:00
context_lookup_benchmark_data.h Fix tzalloc(nullptr) and add a test. 2023-06-22 09:51:01 -07:00
context_node.cpp Fix PROP_FILENAME_MAX overflow handling 2018-05-01 18:19:21 -07:00
contexts_serialized.cpp Add PR_SET_VMA and PR_SET_VMA_ANON_NAME to <sys/prctl.h>. 2018-08-22 10:36:23 -07:00
contexts_split.cpp Remove references to nonplat sepolicy 2021-11-05 09:30:25 +01:00
prop_area.cpp Split properties into their own class to make testing better 2017-12-18 15:17:55 -08:00
prop_info.cpp Split properties into their own class to make testing better 2017-12-18 15:17:55 -08:00
system_properties.cpp Revert "Adding system property tracing" 2021-07-15 20:55:55 +08:00