Change __assert calls to check

This way it will fail on device and on host.
Added new check() function that takes a message to display.
Left the old check function in to prevent breaking prebuilts.

Test: atest fmq_unit_tests fmq_test
Change-Id: Ib84216b3137f307e2a931b0e8f8609dd546d7952
4 files changed
tree: 9c9ed4218450022ebabca4f7e34e2abd6f295d9e
  1. base/
  2. benchmarks/
  3. fuzzer/
  4. include/
  5. tests/
  6. Android.bp
  7. EventFlag.cpp
  8. FmqInternal.cpp
  9. OWNERS
  10. PREUPLOAD.cfg
  11. TEST_MAPPING