Statsd CTS: remove BluetoothActivityInfo
Not a valid CTS test requirement, as not all devices are expected to
report BluetoothActivityInfo. This test was already removed from Q; it
should also not be required in P.
Bug: 80077839
Bug: 110626671
Test: removed
Change-Id: Iafdb98a5921457c137af7bf915174b3021804aba
Merged-In: Ie1c482ac5077e4be3c2eee6db47a3738b94f3685
diff --git a/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java b/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java
index c4e47bb..9f186f5 100644
--- a/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java
+++ b/hostsidetests/statsd/src/android/cts/statsd/atom/HostAtomTests.java
@@ -574,34 +574,6 @@
}
}
- public void testBluetoothActivityInfo() throws Exception {
- if (statsdDisabled()) {
- return;
- }
- if (!hasFeature(FEATURE_BLUETOOTH, true)) return;
- StatsdConfig.Builder config = getPulledConfig();
- addGaugeAtom(config, Atom.BLUETOOTH_ACTIVITY_INFO_FIELD_NUMBER, null);
-
- turnScreenOff();
-
- uploadConfig(config);
-
- Thread.sleep(WAIT_TIME_LONG);
- turnScreenOn();
- Thread.sleep(WAIT_TIME_LONG);
-
- List<Atom> dataList = getGaugeMetricDataList();
-
- for (Atom atom: dataList) {
- assertTrue(atom.getBluetoothActivityInfo().getTimestampMillis() > 0);
- assertTrue(atom.getBluetoothActivityInfo().getBluetoothStackState() >= 0);
- assertTrue(atom.getBluetoothActivityInfo().getControllerIdleTimeMillis() > 0);
- assertTrue(atom.getBluetoothActivityInfo().getControllerTxTimeMillis() >= 0);
- assertTrue(atom.getBluetoothActivityInfo().getControllerRxTimeMillis() >= 0);
- assertTrue(atom.getBluetoothActivityInfo().getEnergyUsed() >= 0);
- }
- }
-
// Explicitly tests if the adb command to log a breadcrumb is working.
public void testBreadcrumbAdb() throws Exception {
if (statsdDisabled()) {