OSDN Git Service

Get gd os tests running on host
authorZach Johnson <zachoverflow@google.com>
Thu, 28 Mar 2019 02:15:38 +0000 (19:15 -0700)
committerZach Johnson <zachoverflow@google.com>
Thu, 28 Mar 2019 21:50:07 +0000 (14:50 -0700)
commit3a77003e28d17b644484bf0a54ff86525e78874d
treeec6894f81dba59b6f17cd1d3cc0626ff1a7f0c3a
parent8b3df83108eca9b2e465f45688abeeed0b5b01bc
Get gd os tests running on host

* Run os tests on host
* Fix flaky hander clear test
* Move to linux_generic
* Remove dependency on libchrome
* Allow alarms to run on linux host where we can't get CAP_WAKE_ALARM

Test: atest bluetooth_gd_test_os
Change-Id: Ia95ce39169ac8c963052e3252e7b39ef32bd5bb1
16 files changed:
TEST_MAPPING
gd/Android.bp
gd/AndroidTestTemplate.xml [new file with mode: 0644]
gd/TEST_MAPPING [new file with mode: 0644]
gd/os/Android.bp [new file with mode: 0644]
gd/os/linux_generic/alarm.cc [moved from gd/os/alarm.cc with 76% similarity]
gd/os/linux_generic/alarm_unittest.cc [moved from gd/os/alarm_unittest.cc with 99% similarity]
gd/os/linux_generic/handler.cc [moved from gd/os/handler.cc with 83% similarity]
gd/os/linux_generic/handler_unittest.cc [moved from gd/os/handler_unittest.cc with 95% similarity]
gd/os/linux_generic/reactor.cc [moved from gd/os/reactor.cc with 80% similarity]
gd/os/linux_generic/reactor_unittest.cc [moved from gd/os/reactor_unittest.cc with 99% similarity]
gd/os/linux_generic/repeating_alarm.cc [moved from gd/os/repeating_alarm.cc with 78% similarity]
gd/os/linux_generic/repeating_alarm_unittest.cc [moved from gd/os/repeating_alarm_unittest.cc with 91% similarity]
gd/os/linux_generic/thread.cc [moved from gd/os/thread.cc with 91% similarity]
gd/os/linux_generic/thread_unittest.cc [moved from gd/os/thread_unittest.cc with 98% similarity]
gd/os/log.h [new file with mode: 0644]