Fix SysUI crash when memory collection times out

runBlocking for coroutines will throw InterruptedException when its thread is interrupted. StatsD does that when wall clock time for collection exceeds the timeout.

Don't allow this exception to crash SysUI and correctly signal statsd to discard the result.

Bug: 267162163
Bug: 267355629
Test: wrote new unit test cases, verified them on raven-userdebug
Change-Id: I2e7a659ed5d33df7d543a935617b1a97213c08b6
4 files changed