diff options
author | David Ng <dng@quicinc.com> | 2010-03-02 14:40:18 -0800 |
---|---|---|
committer | Jessica Gonzalez <c_jgaona@quicinc.com> | 2010-04-13 12:17:46 -0700 |
commit | f6af0af50dbdbd938d2c6769c69ff63db2ca0066 (patch) | |
tree | a73d342a181d71819fc37e85e24495925c2aa87a | |
parent | 536e726490d05964fe4b114ded873d5168619276 (diff) | |
download | bionic-M76XXTSNCJNLYA53303007.zip bionic-M76XXTSNCJNLYA53303007.tar.gz bionic-M76XXTSNCJNLYA53303007.tar.bz2 |
system_property: Trade off 21 property entries for +12 value lengthQ8650BSDCANLYA40771001Q8650BSDCANLYA407710Q8650BSDCANLYA407705Q8650BSDCANLYA4077Q8650BSDCANLYA4076M76XXTSNCJNLYA53404004M76XXTSNCJNLYA53404003M76XXTSNCJNLYA53404002M76XXTSNCJNLYA53404001M76XXTSNCJNLYA5340M76XXTSNCJNLYA53303009M76XXTSNCJNLYA53303007M76XXTSNCJNLYA53303006M76XXTSNCJNLYA53303004M76XXTSNCJNLYA53303003M76XXTSNCJNLYA53303002M76XXTSNCJNLYA5330M76XXTSNCJNLGM53303007
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: I1ed9dec96c25c8922c432f8d7c56b86ed9201752
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 |