Improve the consistency of hanging up calls

Call hangups are neither immediate nor infallible. This change
standardizes the process of call hangups:
-All test cases use the hangup_call function that
 verifies both the telecom and telephony Layers.
-Fixes a few test cases had benign errors that hung up the
 call on the wrong devices during cleanup.
-Performs error checking that was missing for conference call
 hangups mid-test.
-Adds Airplane Mode toggling as part of the recovery when a
 call fails to hang up. This should reduce the chance of
 cascading failures in the event that a call is stuck and the
 modem does not provide the HANGUP response.
-These changes decrease the possibility of settings being
 modified before a call hangup process is completed.

Bug: 31756714
Test: None
Change-Id: I29c21d253aa6b74e05a8fde037757a01e3ef307c
4 files changed
tree: 4193b1cdfb932015b567c29578c500fd20856307
  1. acts/
  2. Android.mk