Merge "Add test mapping for hdmi service code."
This commit is contained in:
34
services/core/java/com/android/server/hdmi/TEST_MAPPING
Normal file
34
services/core/java/com/android/server/hdmi/TEST_MAPPING
Normal file
@@ -0,0 +1,34 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user