History log of /bionic/libc/system_properties/include/system_properties/contexts.h
Revision Date Author Comments
cbc80ba9d839675a0c4891e2ab33f39ba51b04b2 13-Feb-2018 Elliott Hughes <enh@google.com> Switch the rest of our internal headers to #pragma once.

We've been using #pragma once for new internal files, but let's be more bold.

Bug: N/A
Test: builds
Change-Id: I7e2ee2730043bd884f9571cdbd8b524043030c07
e275d6d72db1868056a204e8483a7346a28cb8d6 12-Dec-2017 Tom Cherry <tomcherry@google.com> Split properties into their own class to make testing better

Reinitializing system properties can result in crashes later in the
program, and is generally not recommended or even supported. This
change moves the actual logic for system properties into a class that
can be tested in isolation, without reinitializing the actual system
property area used in libc.

Bug: 62197783
Test: boot devices, ensure properties work
Test: system property unit tests and benchmarks
Change-Id: I9ae6e1b56c62f51a4d3fdb5b62b8926cef545649