Migrate /systemui/smartspace tests to bivalent.
Bivalent: runs both without a device and with a device.
Currently these tests require a device to run.
Updated these tests to bivalent, and added them to SystemUiRoboTests,
which run deviceless. Without the SystemUiRoboTests: prefix, the tests
run on a device.
Fix: 297941881
Test: atest SystemUiRoboTests:BcSmartspaceConfigProviderTest SystemUiRoboTests:DreamSmartspaceControllerTest SystemUiRoboTests:LockscreenAndDreamTargetFilterTest SystemUiRoboTests:LockscreenPreconditionTest
Test: atest BcSmartspaceConfigProviderTest DreamSmartspaceControllerTest LockscreenAndDreamTargetFilterTest LockscreenPreconditionTest
Change-Id: I59a5274561cbb1693ebf948cbc73fa47871bb847
diff --git a/packages/SystemUI/Android.bp b/packages/SystemUI/Android.bp
index 089ddbe..7bbb466 100644
--- a/packages/SystemUI/Android.bp
+++ b/packages/SystemUI/Android.bp
@@ -348,6 +348,12 @@
"tests/src/com/android/systemui/dreams/DreamOverlayStateControllerTest.java",
"tests/src/com/android/systemui/dreams/DreamOverlayStatusBarItemsProviderTest.java",
"tests/src/com/android/systemui/dreams/DreamOverlayStatusBarViewControllerTest.java",
+
+ /* Smartspace tests */
+ "tests/src/com/android/systemui/smartspace/BcSmartspaceConfigProviderTest.kt",
+ "tests/src/com/android/systemui/smartspace/DreamSmartspaceControllerTest.kt",
+ "tests/src/com/android/systemui/smartspace/LockscreenAndDreamTargetFilterTest.kt",
+ "tests/src/com/android/systemui/smartspace/LockscreenPreconditionTest.kt",
],
path: "tests/src",
}