Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dc6fbe5d authored by Nick Chalko's avatar Nick Chalko
Browse files

Add test mapping for hdmi service code.

Turn off currently failing tests.

Bug: 120845532
Change-Id: I88ee832db299c6ced258c07c48b98f3d7affccd1
Test: atest --test-mapping services/core/java/com/android/server/hdmi:postsubmit
parent f5b1460c
Loading
Loading
Loading
Loading
+34 −0
Original line number Diff line number Diff line
{
  "postsubmit": [
    {
      "name": "FrameworksServicesTests",
      "options": [
        {
          "include-filter": "com.android.server.hdmi"
        },
        {
          "include-annotation": "android.platform.test.annotations.Presubmit"
        },
        {
          "exclude-annotation": "androidx.test.filters.FlakyTest"
        },
        {
          "exclude-annotation": "org.junit.Ignore"
        }
      ]
    }
  ],
  "postsubmit": [
    {
      "name": "FrameworksServicesTests",
      "options": [
        {
          "include-filter": "com.android.server.hdmi"
        },
        {
          "exclude-annotation": "org.junit.Ignore"
        }
      ]
    }
  ]
}
 No newline at end of file
+2 −0
Original line number Diff line number Diff line
@@ -538,6 +538,7 @@ public class HdmiCecLocalDeviceAudioSystemTest {
    }

    @Test
    @Ignore("b/151150320")
    public void handleSystemAudioModeRequest_fromNonTV_tVNotSupport() {
        HdmiCecMessage message =
                HdmiCecMessageBuilder.buildSystemAudioModeRequest(
@@ -587,6 +588,7 @@ public class HdmiCecLocalDeviceAudioSystemTest {
    }

    @Test
    @Ignore("b/151150320")
    public void handleRoutingChange_currentActivePortIsHome() {
        HdmiCecMessage message =
                HdmiCecMessageBuilder.buildRoutingChange(ADDR_TV, 0x3000, SELF_PHYSICAL_ADDRESS);
+2 −0
Original line number Diff line number Diff line
@@ -139,6 +139,7 @@ public class HdmiCecLocalDevicePlaybackTest {
    }

    @Test
    @Ignore("b/151147315")
    public void doNotWakeUpOnHotPlug_PlugIn() {
        mWokenUp = false;
        mHdmiCecLocalDevicePlayback.onHotplug(0, true);
@@ -146,6 +147,7 @@ public class HdmiCecLocalDevicePlaybackTest {
    }

    @Test
    @Ignore("b/151147315")
    public void doNotWakeUpOnHotPlug_PlugOut() {
        mWokenUp = false;
        mHdmiCecLocalDevicePlayback.onHotplug(0, false);