Splitting power manager statsdatom tests ownership Currently all the tests in android.cts.statsdatom.powermanager are owned by the thermal team. SInce we intent to add more tests, splitting up the owership so that the new tests can be owned by the power manager team Bug: 367948827 Test: NA Flag: EXEMPT ownership changes Change-Id: I76bd6f6585140aa51ed8af3cd874ef19c0a52cc5
diff --git a/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/OWNERS b/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/OWNERS index c021dd4..2a53dac 100644 --- a/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/OWNERS +++ b/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/OWNERS
@@ -1 +1 @@ -per-file PowerManagerTests* = file:platform/frameworks/base:/THERMAL_OWNERS +per-file ThermalPowerManagerTests* = file:platform/frameworks/base:/THERMAL_OWNERS
diff --git a/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/PowerManagerTests.java b/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ThermalPowerManagerTests.java similarity index 97% rename from hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/PowerManagerTests.java rename to hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ThermalPowerManagerTests.java index 3f9a22e..74f350b 100644 --- a/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/PowerManagerTests.java +++ b/hostsidetests/statsdatom/apps/statsdapp/src/com/android/server/cts/device/statsdatom/ThermalPowerManagerTests.java
@@ -25,7 +25,7 @@ import org.junit.Test; -public class PowerManagerTests { +public class ThermalPowerManagerTests { @Test public void testGetCurrentThermalStatus() { Context context = InstrumentationRegistry.getContext();
diff --git a/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/OWNERS b/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/OWNERS index 6d19c0b..b80ca90 100644 --- a/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/OWNERS +++ b/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/OWNERS
@@ -1 +1,3 @@ -file:platform/frameworks/base:/THERMAL_OWNERS +include platform/frameworks/base:/services/core/java/com/android/server/power/OWNERS + +per-file ThermalPowerManagerStatsTests* = file:platform/frameworks/base:/THERMAL_OWNERS
diff --git a/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/PowerManagerStatsTests.java b/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/ThermalPowerManagerStatsTests.java similarity index 97% rename from hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/PowerManagerStatsTests.java rename to hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/ThermalPowerManagerStatsTests.java index ec83d3c..dca1f92 100644 --- a/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/PowerManagerStatsTests.java +++ b/hostsidetests/statsdatom/src/android/cts/statsdatom/powermanager/ThermalPowerManagerStatsTests.java
@@ -61,9 +61,9 @@ * atest CtsStatsdAtomHostTestCases:PowerManagerStatsTests */ @RunWith(DeviceJUnit4ClassRunner.class) -public class PowerManagerStatsTests extends BaseHostJUnit4Test implements IBuildReceiver { +public class ThermalPowerManagerStatsTests extends BaseHostJUnit4Test implements IBuildReceiver { private static final String DEVICE_TEST_PKG = "com.android.server.cts.device.statsdatom"; - private static final String DEVICE_TEST_CLASS = ".PowerManagerTests"; + private static final String DEVICE_TEST_CLASS = ".ThermalPowerManagerTests"; private static final String ADPF_ATOM_APP_PKG = "com.android.server.cts.device.statsdatom"; private static final String ADPF_ATOM_APP_APK = "CtsStatsdAdpfApp.apk";