Commit graph

4 commits

Author SHA1 Message Date
Florian Mayer
4dd9529e2b Promote HWASan tests to presubmit.
They have been passing and do not show significant slowdown.

Change-Id: I130335423a2e111fb8cede493ce5c7449d4907ef
2022-05-09 22:42:47 +00:00
Florian Mayer
f7be3cc3ac Add socket_lazy to hwasan-postsubmit
Test: Run tests under HWASan.
Bug: 193568145
Change-Id: I395ebdecd5c98d1b669fc34270d5081a12076fef
2022-03-18 21:31:30 +00:00
Bob Badour
576104304d [LSC] Add LOCAL_LICENSE_KINDS to system/core
Added SPDX-license-identifier-Apache-2.0 to:
  libstats/pull_lazy/Android.bp
  libstats/socket_lazy/Android.bp
  trusty/utils/acvp/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I33005150521238b61d1a8c923749b17d36bba693
2021-03-17 12:59:19 -07:00
Tej Singh
f9d87bd36f Create libstatssocket_lazy
Add lazy loading support to libstatssocket.

There are many clients of libstatssocket (lmkd, surfaceflinger,
bootanimation dependencies) that run before the statsd apex is mounted
and cannot link libstatssocket.so when the process starts. Lazy loading
will load the library when the logging apis get called.

This change is modeled heavily off of aosp/1570701, which added
libnativehelper_lazy.

Bug: 178480419
Test: atest libstatssocket_lazy_test
Change-Id: I57e6f698ad43dddc98dc787ba2fe888030c8a282
2021-03-15 20:27:56 -07:00