[coastguard skipped] Merge sparse cherrypicks from sparse-11963768-L37300030004576966 into 24Q2-release.

COASTGUARD_SKIP: Ibfa47f6e519bb1da2c663f85e22ee043704c72a1
COASTGUARD_SKIP: I384699d478e5abcee3a165afc45211b9ed96334a

Change-Id: I6df10a3a5d121da454ceebee946c8705ab6d6fa1
diff --git a/packages/SystemUI/tests/utils/src/com/android/systemui/qs/QuickSettingsKosmos.kt b/packages/SystemUI/tests/utils/src/com/android/systemui/qs/QuickSettingsKosmos.kt
index 3f91122..89bb16c 100644
--- a/packages/SystemUI/tests/utils/src/com/android/systemui/qs/QuickSettingsKosmos.kt
+++ b/packages/SystemUI/tests/utils/src/com/android/systemui/qs/QuickSettingsKosmos.kt
@@ -16,37 +16,16 @@
 
 package com.android.systemui.qs
 
-import android.app.admin.devicePolicyManager
-import android.content.applicationContext
-import android.os.fakeExecutorHandler
-import android.os.looper
-import com.android.internal.logging.metricsLogger
-import com.android.internal.logging.uiEventLogger
 import com.android.internal.logging.uiEventLoggerFake
 import com.android.systemui.InstanceIdSequenceFake
-import com.android.systemui.animation.dialogTransitionAnimator
-import com.android.systemui.broadcast.broadcastDispatcher
-import com.android.systemui.classifier.falsingManager
 import com.android.systemui.kosmos.Kosmos
-import com.android.systemui.kosmos.Kosmos.Fixture
-import com.android.systemui.kosmos.testDispatcher
-import com.android.systemui.plugins.activityStarter
 import com.android.systemui.plugins.qs.QSFactory
-import com.android.systemui.qs.footer.domain.interactor.FooterActionsInteractorImpl
-import com.android.systemui.qs.footer.foregroundServicesRepository
-import com.android.systemui.qs.footer.ui.viewmodel.FooterActionsViewModel
-import com.android.systemui.security.data.repository.securityRepository
-import com.android.systemui.settings.userTracker
-import com.android.systemui.statusbar.policy.deviceProvisionedController
-import com.android.systemui.statusbar.policy.securityController
-import com.android.systemui.user.data.repository.userSwitcherRepository
-import com.android.systemui.user.domain.interactor.userSwitcherInteractor
-import com.android.systemui.util.mockito.mock
+import com.android.systemui.qs.tiles.di.NewQSTileFactory
 
-val Kosmos.instanceIdSequenceFake: InstanceIdSequenceFake by Fixture { InstanceIdSequenceFake(0) }
-val Kosmos.qsEventLogger: QsEventLoggerFake by Fixture {
-    QsEventLoggerFake(uiEventLoggerFake, instanceIdSequenceFake)
-}
+val Kosmos.instanceIdSequenceFake: InstanceIdSequenceFake by
+    Kosmos.Fixture { InstanceIdSequenceFake(0) }
+val Kosmos.qsEventLogger: QsEventLoggerFake by
+    Kosmos.Fixture { QsEventLoggerFake(uiEventLoggerFake, instanceIdSequenceFake) }
 
 var Kosmos.qsTileFactory by Fixture<QSFactory>()