0724132c3263145f2a667f453a199d313a5b3d9f |
|
21-Oct-2014 |
Christopher Ferris <cferris@google.com> |
Fix race condition in timer disarm/delete. When setting a repeat timer using the SIGEV_THREAD mechanism, it's possible that the callback can be called after the timer is disarmed or deleted. This happens because the kernel can generate signals that the timer thread will continue to handle even after the timer is supposed to be off. Add two new tests to verify that disarming/deleting doesn't continue to call the callback. Modify the repeat test to finish more quickly than before. Refactor the Counter implementation a bit. Bug: 18039727 Change-Id: I73192c915cdacf608521b1792c54e5af14a34907
|
708c11205443cda14cfb21138d441106aa77a5f9 |
|
25-Jul-2014 |
Elliott Hughes <enh@google.com> |
Start hiding "private/bionic_time.h". Bug: 15765976 (cherry picked from commit 905e6d58aaf515bf237e62078f8a321920fe4c6b) Change-Id: Ic7435308e8b521886f42ac7bf59531924921ea67
|
3002131da33401cf1b45abbdbec58b7c751fc43a |
|
16-Jul-2014 |
Elliott Hughes <enh@google.com> |
Use VDSO for clock_gettime(2) and gettimeofday(2). Bug: 15387103 (cherry picked from commit 625993dfbb085a3cde7492eda8ec1cdc1ee39a78) Change-Id: I0e156d7049ba1495902259071a96936592e74025
|
7a39094465bbd01a22565fce1f1155c762f8d145 |
|
20-May-2014 |
Dan Albert <danalbert@google.com> |
Revert "Removes bionic's dependence on stlport" This reverts commit 4d35da1df8b74c1965b2201f6089e7d7bb352def. Change-Id: Ie9a2620441edb55dbc5949e13a4b913ea4e66797
|
4d35da1df8b74c1965b2201f6089e7d7bb352def |
|
19-May-2014 |
Dan Albert <danalbert@google.com> |
Removes bionic's dependence on stlport Only affects tests/benchmarks. Confirmed passing on arm. Change-Id: If158e23e8cd06e7597ef6f3c9376f6799b467e62
|
329103d3e2f42d3e35a060c3e0d326d6476eb2ef |
|
26-Apr-2014 |
Elliott Hughes <enh@google.com> |
Don't use so much stack in tzcode. Bug: 14313703 Bug: https://code.google.com/p/android/issues/detail?id=61130 Change-Id: Id9b240fce20d4a6f2660792070e02b2b5f287655
|
efbdb53f84f4e1faf38f3c1a4cb60a83b9885ef4 |
|
08-Apr-2014 |
Elliott Hughes <enh@google.com> |
Remove a non-standard turd: strtotimeval. Change-Id: I1b1e40746cb573e3fb73a5276969b40c5da36d15
|
4bfaf462f0c864473faaca63cc4ba9e1a1b103a8 |
|
26-Mar-2014 |
Calin Juravle <calin@google.com> |
Added strtotimeval tests. Change-Id: I3dfd3647a8494490a2d549bdb915968063a7fb99
|
753ad778bc1c3aecc4cd82b8387a7dc8a9b44d34 |
|
21-Mar-2014 |
Christopher Ferris <cferris@google.com> |
Fix deadlock in timer_delete. If the callback function for a timer did a timer_delete, the function would never return. The problem was that the timer_delete function would try to wait until the timer thread has finished. Waiting for yourself to finish doesn't work very well. Bug: 13397340 Change-Id: Ica123a5bafbc8660c8a4a909e5c2dead55ca429d
|
3e3409af0faa8843078a9e6e7110e69a88210da4 |
|
11-Mar-2014 |
Elliott Hughes <enh@google.com> |
Add system/extras strftime and strptime tests. Change-Id: I889c58f6e2e27b99cf6328a8671858d2e5feaa4e
|
be1d91dedcfb346ced5ac496cd454f5b2e9bc4a9 |
|
09-Mar-2014 |
Brian Carlstrom <bdc@google.com> |
Add includes for waitpid (cherry picked from commit f07c5dd9ab63f2e8ba736107bd4b69bbd8829c9f) Change-Id: I7a765fd7a3a5f8f29a703f6a591c4fd8df4ebf1c
|
4b558f50a42c97d461f1dede5aaaae490ea99e2e |
|
05-Mar-2014 |
Elliott Hughes <enh@google.com> |
Rewrite the POSIX timer functions. This is a much simpler implementation that lets the kernel do as much as possible. Co-authored-by: Jörgen Strand <jorgen.strand@sonymobile.com> Co-authored-by: Snild Dolkow <snild.dolkow@sonymobile.com> Change-Id: Iad19f155de977667aea09410266d54e63e8a26bf
|
f04935c85e0b466f0d30d2cd4c0fa2fff62e7d6d |
|
21-Dec-2013 |
Christopher Ferris <cferris@google.com> |
Make sure that the same tests are on all platforms. In order to be able to generate a list of tests for cts, the same set of tests must exist across all platforms. This CL adds empty tests where a test was conditionally compiled out. This CL creates a single library libBionicTests that includes all of the tests found in bionic-unit-tests-static. Also fix a few missing include files in some test files. Tested by running and compiling the tests for every platform and verifying the same number of tests are on each platform. Change-Id: I9989d4bfebb0f9c409a0ce7e87169299eac605a2
|
0c40152767188dc718a46e5b4e7e32e937c85bd8 |
|
19-Oct-2013 |
Elliott Hughes <enh@google.com> |
Fix the time unit tests for systems with 64-bit time_t. Change-Id: I29df50b25d022c1c00906e71b612defa58e46e81
|
f0c10a4a16c74f5099cf6b272c0a2f11f454e63c |
|
22-Aug-2013 |
Elliott Hughes <enh@google.com> |
Work around tzcode's reliance on signed overflow. I've mailed the tz list about this, and will switch to whatever upstream fix comes along as soon as it's available. Bug: 10310929 (cherry picked from commit 7843d44a594270bcb56e98b130603c054f8a9d38) Change-Id: I205e2440703444c50cecd91d3458d33613ddbc59
|
7843d44a594270bcb56e98b130603c054f8a9d38 |
|
22-Aug-2013 |
Elliott Hughes <enh@google.com> |
Work around tzcode's reliance on signed overflow. I've mailed the tz list about this, and will switch to whatever upstream fix comes along as soon as it's available. Bug: 10310929 Change-Id: I36bf3fcf11f5ac9b88137597bac3487a7bb81b0f
|
ee178bfb794d16d6c5a35f424b28c8ebb83e1581 |
|
12-Jul-2013 |
Elliott Hughes <enh@google.com> |
Add a trivial gmtime(3) test. Change-Id: I849f200a455cd6971646fa45766ab22ba19fb866
|
744df77d4730cff99ac36f9761153620105dd9d7 |
|
14-Mar-2013 |
Elliott Hughes <enh@google.com> |
am 2e7b8d63: am f861bc5c: Merge "Don\'t search off the end of the index for bad Olson ids." * commit '2e7b8d6399fdea6e43dd07f353346324d2bf4ec4': Don't search off the end of the index for bad Olson ids.
|
e0175ca7e440a87e9d03f249fc8f210063df7908 |
|
14-Mar-2013 |
Elliott Hughes <enh@google.com> |
Don't search off the end of the index for bad Olson ids. In the old code, the index was a file to itself, so it made sense to read until you hit the end of the file. In the new code, the index is followed by hundreds of KiB of data, so we need to just search the index. Bug: 8368791 Change-Id: Icf5f8b5516cf3a93679fa849c9f6cd1cb100e0f1
|