diff options
author | David Ng <dng@quicinc.com> | 2010-03-02 14:40:18 -0800 |
---|---|---|
committer | Mansoor Aftab <c_maftab@quicinc.com> | 2010-05-11 16:38:22 -0700 |
commit | 368b2a76a697cbe65dbac72cb19b140a07f6c5b6 (patch) | |
tree | 4f27f9d8ea006a79a3df5aa7306e3479cab52966 | |
parent | 242b3db098ea464b3a5c68d2e1b890a99b80bfe6 (diff) | |
download | bionic-M7630AABBQMLZA1260.zip bionic-M7630AABBQMLZA1260.tar.gz bionic-M7630AABBQMLZA1260.tar.bz2 |
system_property: Trade off 21 property entries for +12 value lengthM7630AABBQMLZA12901080M7630AABBQMLZA12900208M7630AABBQMLZA129001M7630AABBQMLZA1290M7630AABBQMLZA1280M7630AABBQMLZA1270M7630AABBQMLZA12600113M7630AABBQMLZA12600106M7630AABBQMLZA1260M7630AABBQMLZA1250M7630AABBQMLZA1240
Increase the maximum property value length by 12 characters (92
to 104 characters maximum) at the expense of 21 property entries
(247 to 226).
Change-Id: Ic232ca4ebeccf6459fa0ae41e8f5aa9adc4f34a2
CRs-Fixed: 228730
-rw-r--r-- | libc/include/sys/_system_properties.h | 4 | ||||
-rw-r--r-- | libc/include/sys/system_properties.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/libc/include/sys/_system_properties.h b/libc/include/sys/_system_properties.h index 42a7f6c..a21a561 100644 --- a/libc/include/sys/_system_properties.h +++ b/libc/include/sys/_system_properties.h @@ -42,8 +42,8 @@ typedef struct prop_msg prop_msg; #define PROP_SERVICE_NAME "property_service" -/* #define PROP_MAX_ENTRIES 247 */ -/* 247 -> 32620 bytes (<32768) */ +/* #define PROP_MAX_ENTRIES 226 */ +/* 226 -> 32664 bytes (<32768) */ #define TOC_NAME_LEN(toc) ((toc) >> 24) #define TOC_TO_INFO(area, toc) ((prop_info*) (((char*) area) + ((toc) & 0xFFFFFF))) diff --git a/libc/include/sys/system_properties.h b/libc/include/sys/system_properties.h index 2eb00cd..1b14570 100644 --- a/libc/include/sys/system_properties.h +++ b/libc/include/sys/system_properties.h @@ -32,7 +32,7 @@ typedef struct prop_info prop_info; #define PROP_NAME_MAX 32 -#define PROP_VALUE_MAX 92 +#define PROP_VALUE_MAX 104 /* Look up a system property by name, copying its value and a ** \0 terminator to the provided pointer. The total bytes |