6d1f85dcdcf32117332b48563357d311a2886c30 |
|
15-Aug-2013 |
Christopher Ferris <cferris@google.com> |
Change hard-coded temporary directory. The properties tests creates a temporary directory in /data/nativetest, but this directory might not exist in all circumstances. Change this to create the temporary directory in /data/local/tmp. (cherry picked from commit bd6dc6a8864a1997eb8608030ac816740169c463) Change-Id: I15144ece7ffb5c29eded9a1ef399db630f6af5ab
|
be30c7a78a1cf4adc8ec9bbdf17e85186fdb05b2 |
|
19-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: revert to a single (larger) property area d329697 is too complicated. Change the multiple property pages back to a single 128K property area that's mapped in entirely at initialization (the memory will not get allocated until the pages are touched). d329697 has other changes useful for testing (moving property area initialization inside bionic and adding __system_property_set_filename) so undo the change manually rather than with git revert. Change-Id: Icd137669a4f8bc248e9dd2c1e8cc54e9193c9a6d Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
d5276422ca9f1f4d45e91c189a1655521e91962d |
|
17-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: add hierarchical properties test Deliberately put items several levels deep in the trie hierarchy to test the trie traversal Change-Id: I995a1cdd3b5e74162fb5d25bc0f65140bdf2f719 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
890aa0d937ae72473c84cc773e77d45e9288b0bc |
|
25-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
Revert "bionic: add hierarchical properties test" This reverts commit 0f76e2340ca53ce458a01f91627651dfe0112969.
|
fa8cc0629f6227b507434245d237d44d7e119b16 |
|
25-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
Revert "bionic: revert to a single (larger) property area" This reverts commit 5f05348c18286a2cea46eae8acf94ed5b7932fac.
|
1540f601be32bdd4af8e8c13bdf2bc06bdaa76f1 |
|
19-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: revert to a single (larger) property area d329697 is too complicated. Change the multiple property pages back to a single 128K property area that's mapped in entirely at initialization (the memory will not get allocated until the pages are touched). d329697 has other changes useful for testing (moving property area initialization inside bionic and adding __system_property_set_filename) so undo the change manually rather than with git revert. Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit 5f05348c18286a2cea46eae8acf94ed5b7932fac) Change-Id: I690704552afc07a4dd410277893ca9c40bc13e5f
|
cb215a7e9ecec9feb5aae9d9a5b1c89f392208e7 |
|
13-Feb-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: make property area expandable The property area is initially one 4K region, automatically expanding as needed up to 64 regions. To avoid duplicating code, __system_property_area_init() now allocates and initializes the first region (previously it was allocated in init's init_property_area() and initialized in bionic). For testing purposes, __system_property_set_filename() may be used to override the file used to map in regions. Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit d32969701be070c0161c2643ee3c3df16066bbb8) Change-Id: I038d451fe8849b0c4863663eec6f57f6521bf4a7
|
5f05348c18286a2cea46eae8acf94ed5b7932fac |
|
19-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: revert to a single (larger) property area d329697 is too complicated. Change the multiple property pages back to a single 128K property area that's mapped in entirely at initialization (the memory will not get allocated until the pages are touched). d329697 has other changes useful for testing (moving property area initialization inside bionic and adding __system_property_set_filename) so undo the change manually rather than with git revert. Change-Id: I0ecb27843404f93af5489f15bfe657d65175e4f0 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
0f76e2340ca53ce458a01f91627651dfe0112969 |
|
17-Jun-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: add hierarchical properties test Deliberately put items several levels deep in the trie hierarchy to test the trie traversal Change-Id: Id3cbd2e7d3500216b1ac8025eac70c0939622903 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
d32969701be070c0161c2643ee3c3df16066bbb8 |
|
13-Feb-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: make property area expandable The property area is initially one 4K region, automatically expanding as needed up to 64 regions. To avoid duplicating code, __system_property_area_init() now allocates and initializes the first region (previously it was allocated in init's init_property_area() and initialized in bionic). For testing purposes, __system_property_set_filename() may be used to override the file used to map in regions. Change-Id: Ibe00ef52464bfa590953c4699a6d98383b0142b1 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
c6ff844d75dddfb19fc804b8add2d6a79947b101 |
|
13-Feb-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: add __system_property_foreach find_nth() will be inefficient on a trie. Since find_nth() is only used internally and only for enumerating properties, we can add a foreach() function to do this directly. Signed-off-by: Greg Hackmann <ghackmann@google.com> (cherry picked from commit 577418403d68e663fb33c7b0c8a90d862d9c00cf) Change-Id: Iaca97d1182ce2c28863ba85241cbb5cf6185eb2f
|
577418403d68e663fb33c7b0c8a90d862d9c00cf |
|
13-Feb-2013 |
Greg Hackmann <ghackmann@google.com> |
bionic: add __system_property_foreach find_nth() will be inefficient on a trie. Since find_nth() is only used internally and only for enumerating properties, we can add a foreach() function to do this directly. Change-Id: I66bde9926c193073d74b244cce9fffd52108fff8 Signed-off-by: Greg Hackmann <ghackmann@google.com>
|
b27e200ad6170ba3163f5ae6ba581bdaabb2e696 |
|
29-Jan-2013 |
Colin Cross <ccross@android.com> |
bionic: add tests for properties (cherry picked from commit 37d9f75dde881a0ba1c1b3253b1be19d4096963d) Change-Id: Iac00ce10a4272032a1cbdbc4204277d6876e3365
|
37d9f75dde881a0ba1c1b3253b1be19d4096963d |
|
29-Jan-2013 |
Colin Cross <ccross@android.com> |
bionic: add tests for properties Change-Id: I09b212966f1c9624631653ef2c7a71de78bbbec1
|