summaryrefslogtreecommitdiffstats
path: root/libcutils/properties.c
Commit message (Collapse)AuthorAgeFilesLines
* libcutils: Fix warnings in properties.c when verbose logging is enabledIgor Murashkin2014-06-201-3/+4
| | | | Change-Id: I07c5eb59b9395734ad3fc25eba753564c0f096a0
* cutils: Add property_get_bool, _get_int32, _get_int64Igor Murashkin2014-06-201-2/+82
| | | | | | | | | * Read out system properties with same syntax as SystemProperties.java * Also adds unit test suite to validate correctness of properties * Also fixes buffer overrun in property_get (cherry picked from commit d4507e9246e4855c5431cac5c3d1a9155caebc87) Change-Id: Ifd42911f93e17da09e6ff1298e8875e02f3b6608
* libcutils: reimplement property_list() using __system_property_foreach()Greg Hackmann2013-06-181-10/+19
| | | | | | | | Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit e7bb159d16f9e60850a3c79cc388587959015a65) Change-Id: I0f66144eb8a4a48e04e4fcd125ad37f19ad94b8e
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-081-1/+1
| | | | | Bug: 5449033 Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
* Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGESteve Block2012-01-051-3/+3
| | | | | Bug: 5449033 Change-Id: I1e070511b6a538e9f1c94657356437a457d58882
* Rename (IF_)LOGV(_IF) to (IF_)ALOGV(_IF) DO NOT MERGESteve Block2011-10-261-5/+5
| | | | | Bug: 5449033 Change-Id: Ib453f869977a6e909095a578bbf0420851f887d2
* Fix a race in system properties.Brad Fitzpatrick2011-03-101-39/+1
| | | | | | | | | | | | | | | This now passes: $ adb shell am instrument -w -e class android.os.SystemPropertiesTest \ com.android.frameworks.coretests.systemproperties/android.test.InstrumentationTestRunner (which tests setting and re-reading back system properties in a loop) This patch depends on I110b653a which moves property setting from libcutils into bionic. Bug: 3511230 Change-Id: Iee1ca9b7defd6060510a01f40fbe63ba4c96eb8d
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+368
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-368/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+368