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
Merged-In: Ib84216b3137f307e2a931b0e8f8609dd546d7952
Change-Id: Ib84216b3137f307e2a931b0e8f8609dd546d7952
4 files changed
tree: 06291e94dea3cdb96e826bdf401313f42105aa69
  1. base/
  2. benchmarks/
  3. include/
  4. tests/
  5. Android.bp
  6. EventFlag.cpp
  7. FmqInternal.cpp
  8. OWNERS
  9. PREUPLOAD.cfg
  10. TEST_MAPPING