summaryrefslogtreecommitdiffstats
path: root/libcutils/tests
Commit message (Collapse)AuthorAgeFilesLines
* Revert "cutils: add OS-independent endian.h"Greg Hackmann2015-04-162-61/+0
| | | | This reverts commit c3bac8b6719332f31140b2a034b70cf7f9eb3e51.
* cutils: add OS-independent endian.hGreg Hackmann2015-04-162-0/+61
| | | | | | | | | cutils/endian.h provides the helpers defined in endian(3), either by pulling in the OS's built-in endian.h (where available) or recreating them using GCC builtins. Change-Id: Ic8965f67e1efdc03f884dbe6b7fe0276f840e4fc Signed-off-by: Greg Hackmann <ghackmann@google.com>
* Move all libcutils tests into the gtests.Elliott Hughes2015-04-022-14/+94
| | | | | | | | | | | This also fixes the bug where we were always testing against the fake strlcpy we provide for glibc/Windows rather than the Android one. This also removes some unnecessary library dependencies. This also builds all the cutils tests for the host (static and dynamic). Change-Id: Icd129d5b025c0ca801be5acf31a54ecd88608df9
* Revert "Disable the static libcutils tests."Dan Albert2015-04-011-17/+15
| | | | | | | | | | Also move them to libc++ since stlport is dead. Bug: 18389856 This reverts commit bb28776db0f5a107ef2b90ff1322f4c06b6cc7de. Change-Id: Icdf9be3bc5cc40433727ff71a121b145002dda72
* Disable the static libcutils tests.Dan Albert2014-11-141-15/+17
| | | | | | | | The static libcutils tests cannot be built when using libc++ because there are multiple symbol definition errors between libc++ and libgcc. Bug: 18389856 Change-Id: I6f41c561f97b3a37477f844e9abf6551524a0fa3
* Revert "Move some tests to libc++."Dan Albert2014-11-111-3/+1
| | | | | | | | The build system is still linking both libgcc and libcompiler-rt, which is causing duplicate symbol errors on some architectures. This requires a fix in the build system, so reverting for now. This reverts commit e3cccbfd4776644c7cb705d52f51ca948df34f9a.
* Move some tests to libc++.Dan Albert2014-11-111-1/+3
| | | | Bug: 15193147 Change-Id: I93244e4a5d0c751056910ec8005a92401d305716
* Don't manually link stlport.Dan Albert2014-09-261-1/+1
| | | | Change-Id: I60d2bc868fb9052f120103e9675046ef54f510d0
* Remove makefile cruft.Dan Albert2014-09-121-0/+2
| | | | | | Don't manually include stlport, and don't use private bionic headers. Change-Id: I0fc4e8b34ab449e9ef07c26f71e472fca5640590
* Add android_memset16/android_memset32 for aarch64.Christopher Ferris2014-06-232-8/+205
| | | | | | | | Included new unit tests for these functions. Bug: 15456369 Change-Id: I3fac02f61c62d15d54d0df51957680d7155e98ae
* libcutils: Fix warnings in properties.c when verbose logging is enabledIgor Murashkin2014-06-201-1/+2
| | | | Change-Id: I07c5eb59b9395734ad3fc25eba753564c0f096a0
* cutils: Add property_get_bool, _get_int32, _get_int64Igor Murashkin2014-06-202-0/+340
| | | | | | | | | * 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
* Remove dead code.Elliott Hughes2014-02-207-764/+0
| | | | | | | We have benchmarking for memset in bionic itself, and a benchmarking framework for other native benchmarking. Change-Id: I241a288a96d3b2d37f3d51b04a519ac23f18a989
* [MIPS] Benchmark test for MIPS memset16/memset32Duane Sand2012-12-277-0/+764
Author: Chris Dearman <chris@mips.com> AuthorDate: 2011-07-26 19:24:40 Change-Id: I0a7b3360aaf45de8ee47744f7031b84f15f37611