Skip some CtsContentTestCases for non-handheld devices

On TV devices, TvSettings is unable to handle these intents:
  Settings.ACTION_VOICE_INPUT_SETTINGS
  Settings.ACTION_PROCESS_WIFI_EASY_CONNECT_URI

TV devices do not allow more than one VoiceInteractionService.
Skip these test cases for non-handheld devices.

Bug: 141960635
Bug: 159557103
Test: atest AvailableIntentsTest#testVoiceInputSettingsIntent
Test: atest AvailableIntentsTest#testEasyConnectIntent
Change-Id: I692cb4f6c82a807dce98850e15465c711b3f989d
diff --git a/tests/tests/content/src/android/content/cts/AvailableIntentsTest.java b/tests/tests/content/src/android/content/cts/AvailableIntentsTest.java
index 29a860e..609bd29 100644
--- a/tests/tests/content/src/android/content/cts/AvailableIntentsTest.java
+++ b/tests/tests/content/src/android/content/cts/AvailableIntentsTest.java
@@ -496,6 +496,12 @@
 
     @CddTest(requirement = "7.4.2.6/C-1-1")
     public void testEasyConnectIntent() {
+        // Android only supports Initiator-... modes right now, which require the device to
+        // have a QR-code capture mechanism. Therefore this feature does not make sense on
+        // non-handheld devices.
+        if (!isHandheld()) {
+            return;
+        }
         WifiManager manager = mContext.getSystemService(WifiManager.class);
 
         if (manager.isEasyConnectSupported()) {
@@ -529,6 +535,11 @@
     }
 
     public void testVoiceInputSettingsIntent() {
+        // Non-handheld devices do not allow more than one VoiceInteractionService, and therefore do
+        // not have to support this Intent.
+        if (!isHandheld()) {
+            return;
+        }
         Intent intent = new Intent(Settings.ACTION_VOICE_INPUT_SETTINGS);
         assertCanBeHandled(intent);
     }