Disable the speakerphone-off tests for watches

Two tests verify that the audio is not routed to speaker, but this is
impossible if the only audio route is speakerphone, which happens on
watches. In this case, disable the verification.

Change-Id: I843beb692712699a28814280653449da377fc92c
Fix: 30874234
diff --git a/tests/tests/telecom/src/android/telecom/cts/OutgoingCallTest.java b/tests/tests/telecom/src/android/telecom/cts/OutgoingCallTest.java
index fa19751..38a6709 100644
--- a/tests/tests/telecom/src/android/telecom/cts/OutgoingCallTest.java
+++ b/tests/tests/telecom/src/android/telecom/cts/OutgoingCallTest.java
@@ -72,6 +72,10 @@
         extras.putBoolean(TelecomManager.EXTRA_START_CALL_WITH_SPEAKERPHONE, false);
         placeAndVerifyCall(extras);
         verifyConnectionForOutgoingCall();
+        if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() ==
+                CallAudioState.ROUTE_SPEAKER) {
+            return; // Do not verify if the only available route is speaker.
+        }
         assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER);
     }
 
@@ -84,6 +88,10 @@
 
         placeAndVerifyCall();
         verifyConnectionForOutgoingCall();
+        if (mInCallCallbacks.getService().getCallAudioState().getSupportedRouteMask() ==
+                CallAudioState.ROUTE_SPEAKER) {
+            return; // Do not verify if the only available route is speaker.
+        }
         assertNotAudioRoute(mInCallCallbacks.getService(), CallAudioState.ROUTE_SPEAKER);
     }
 }