Test that Weaver recovers after the Secure Element Service restarts

Adds a unit test to verify that Weaver can gracefully recover when
the Secure Element Service dies and restarts.

The test repeats the following 5 times:
  1. Kill SE service and verify that it recovers
  2. Verify that the Weaver still responds, which is tested through
     getConfig(), which utilizes the SE service through the transport
     layer.

Written with Gemini

Bug: 346416142
Bug: 363165985
Test: atest weaver_kill_secureelement_test
Test: Fails when a custom deadlock is added to the linkToDeath callback
Change-Id: I043b4cd33672aade2db5d54414df6d8f23ccfb4d
2 files changed