Home
last modified time | relevance | path

Searched refs:Fixture (Results 1 – 25 of 622) sorted by relevance

12345678910>>...25

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
DQSPipelineRepositoryKosmos.kt24 var Kosmos.fakeMinimumTilesRepository by Kosmos.Fixture { MinimumTilesFixedRepository(0) } in <lambda>()
26 Kosmos.Fixture { fakeMinimumTilesRepository } in <lambda>()
28 var Kosmos.fakeDefaultTilesRepository by Kosmos.Fixture { FakeDefaultTilesRepository() } in <lambda>()
30 Kosmos.Fixture { fakeDefaultTilesRepository } in <lambda>()
33 Kosmos.Fixture { FakeTileSpecRepository(defaultTilesRepository) } in <lambda>()
34 var Kosmos.tileSpecRepository: TileSpecRepository by Kosmos.Fixture { fakeTileSpecRepository } in <lambda>()
36 val Kosmos.fakeAutoAddRepository by Kosmos.Fixture { FakeAutoAddRepository() } in <lambda>()
37 var Kosmos.autoAddRepository: AutoAddRepository by Kosmos.Fixture { fakeAutoAddRepository } in <lambda>()
39 val Kosmos.fakeRestoreRepository by Kosmos.Fixture { FakeQSSettingsRestoredRepository() } in <lambda>()
41 Kosmos.Fixture { fakeRestoreRepository } in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/flags/
DFeatureFlagsClassicKosmos.kt27 var Kosmos.featureFlagsClassic: FeatureFlagsClassic by Kosmos.Fixture { fakeFeatureFlagsClassic } in <lambda>()
34 Kosmos.Fixture { in <lambda>()
55 Kosmos.Fixture { in <lambda>()
65 val Kosmos.systemPropertiesHelper by Kosmos.Fixture { SystemPropertiesHelper() } in <lambda>()
66 val Kosmos.fakeSystemPropertiesHelper by Kosmos.Fixture { FakeSystemPropertiesHelper() } in <lambda>()
67 var Kosmos.serverFlagReader: ServerFlagReader by Kosmos.Fixture { serverFlagReaderFake } in <lambda>()
68 val Kosmos.serverFlagReaderFake by Kosmos.Fixture { ServerFlagReaderFake() } in <lambda>()
69 var Kosmos.restarter: Restarter by Kosmos.Fixture { mock() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DGeneralKosmos.kt4 import com.android.systemui.kosmos.Kosmos.Fixture
9 var Kosmos.testDispatcher by Fixture { StandardTestDispatcher() } in <lambda>()
10 var Kosmos.testScope by Fixture { TestScope(testDispatcher) } in <lambda>()
11 var Kosmos.applicationCoroutineScope by Fixture { testScope.backgroundScope } in <lambda>()
12 var Kosmos.testCase: SysuiTestCase by Fixture()
13 var Kosmos.backgroundCoroutineContext: CoroutineContext by Fixture { in <lambda>()
16 var Kosmos.mainCoroutineContext: CoroutineContext by Fixture { testScope.coroutineContext } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/tiles/impl/custom/
DCustomTileKosmos.kt42 var Kosmos.customTileSpec: TileSpec.CustomTileSpec by Kosmos.Fixture()
45 Kosmos.Fixture { QSTileConfigTestBuilder.build { tileSpec = this@Fixture.customTileSpec } } in <lambda>()
46 val Kosmos.qsTileLogger: QSTileLogger by Kosmos.Fixture { mock {} } in <lambda>()
49 Kosmos.Fixture { FakeCustomTileStatePersister() } in <lambda>()
52 Kosmos.Fixture { in <lambda>()
63 Kosmos.Fixture { in <lambda>()
73 Kosmos.Fixture { FakeCustomTileDefaultsRepository() } in <lambda>()
76 Kosmos.Fixture { FakeCustomTilePackageUpdatesRepository() } in <lambda>()
79 Kosmos.Fixture { FakePackageManagerAdapterFacade(customTileSpec.componentName) } in <lambda>()
82 Kosmos.Fixture { in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/external/
DTilesExternalKosmos.kt22 var Kosmos.componentName: ComponentName by Kosmos.Fixture()
24 val Kosmos.iQSTileService: FakeIQSTileService by Kosmos.Fixture { FakeIQSTileService() } in <lambda>()
26 Kosmos.Fixture { FakeTileServiceManagerFacade(iQSTileService) } in <lambda>()
29 Kosmos.Fixture { tileServiceManagerFacade.tileServiceManager } in <lambda>()
32 Kosmos.Fixture { (FakeTileServicesFacade(tileServiceManager)) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/
DQuickSettingsKosmos.kt31 import com.android.systemui.kosmos.Kosmos.Fixture
47 val Kosmos.instanceIdSequenceFake: InstanceIdSequenceFake by Fixture { InstanceIdSequenceFake(0) } in <lambda>()
48 val Kosmos.qsEventLogger: QsEventLoggerFake by Fixture { in <lambda>()
52 var Kosmos.qsTileFactory by Fixture<QSFactory> { FakeQSFactory(::tileCreator) } in <lambda>()
54 val Kosmos.fgsManagerController by Fixture { FakeFgsManagerController() } in <lambda>()
56 val Kosmos.footerActionsController by Fixture { in <lambda>()
62 val Kosmos.qsSecurityFooterUtils by Fixture { in <lambda>()
75 val Kosmos.footerActionsInteractor by Fixture { in <lambda>()
92 val Kosmos.footerActionsViewModelFactory by Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/
DSceneKosmos.kt4 import com.android.systemui.kosmos.Kosmos.Fixture in <lambda>()
10 var Kosmos.sceneKeys by Fixture { in <lambda>()
21 val Kosmos.fakeScenes by Fixture { in <lambda>()
32 val Kosmos.scenes by Fixture { fakeScenes } in <lambda>()
34 val Kosmos.initialSceneKey by Fixture { Scenes.Lockscreen } in <lambda>()
35 var Kosmos.sceneContainerConfig by Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/shortcut/
DKeyboardShortcutHelperKosmos.kt35 Kosmos.Fixture { ShortcutHelperRepository(fakeCommandQueue, broadcastDispatcher) } in <lambda>()
38 Kosmos.Fixture { in <lambda>()
48 Kosmos.Fixture { in <lambda>()
53 Kosmos.Fixture { ShortcutHelperViewModel(testDispatcher, shortcutHelperInteractor) } in <lambda>()
55 val Kosmos.fakeShortcutHelperStartActivity by Kosmos.Fixture { FakeShortcutHelperStartActivity() } in <lambda>()
58 Kosmos.Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/internal/logging/
DMetricsLoggerKosmos.kt22 import com.android.systemui.kosmos.Kosmos.Fixture
25 val Kosmos.fakeMetricsLogger by Fixture { FakeMetricsLogger() } in <lambda>()
26 val Kosmos.metricsLogger by Fixture<MetricsLogger> { fakeMetricsLogger } in <lambda>()
27 val Kosmos.latencyTracker by Fixture { mock<LatencyTracker>() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/mediaprojection/taskswitcher/
DTaskSwitcherKosmos.kt29 val Kosmos.fakeActivityTaskManager by Kosmos.Fixture { FakeActivityTaskManager() } in <lambda>()
31 val Kosmos.fakeMediaProjectionManager by Kosmos.Fixture { FakeMediaProjectionManager() } in <lambda>()
34 Kosmos.Fixture { in <lambda>()
43 Kosmos.Fixture { in <lambda>()
48 Kosmos.Fixture { TaskSwitcherNotificationViewModel(taskSwitcherInteractor, testDispatcher) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithmKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
24 var Kosmos.stackScrollAlgorithmSectionProvider by Fixture { in <lambda>()
28 var Kosmos.stackScrollAlgorithmBypassController by Fixture { in <lambda>()
32 var Kosmos.avalancheController by Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/
DMediaOutputKosmos.kt35 val Kosmos.localMediaRepository by Kosmos.Fixture { FakeLocalMediaRepository() } in <lambda>()
37 Kosmos.Fixture { FakeLocalMediaRepositoryFactory { localMediaRepository } } in <lambda>()
40 Kosmos.Fixture { MediaOutputActionsInteractor(mediaOutputDialogManager) } in <lambda>()
41 val Kosmos.mediaControllerRepository by Kosmos.Fixture { FakeMediaControllerRepository() } in <lambda>()
43 Kosmos.Fixture { in <lambda>()
60 Kosmos.Fixture { in <lambda>()
DMediaControllerKosmos.kt34 Kosmos.Fixture { in <lambda>()
44 var Kosmos.localPlaybackStateBuilder by Kosmos.Fixture { PlaybackState.Builder() } in <lambda>()
46 Kosmos.Fixture { in <lambda>()
64 Kosmos.Fixture { in <lambda>()
74 var Kosmos.remotePlaybackStateBuilder by Kosmos.Fixture { PlaybackState.Builder() } in <lambda>()
76 Kosmos.Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/scene/shared/model/
DSceneDataSourceKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
25 val Kosmos.fakeSceneDataSource by Fixture { in <lambda>()
31 val Kosmos.sceneDataSourceDelegator by Fixture { in <lambda>()
39 val Kosmos.sceneDataSource by Fixture { sceneDataSourceDelegator } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ui/
DSystemBarUtilsProxyKosmos.kt22 import com.android.systemui.kosmos.Kosmos.Fixture
30 var Kosmos.systemBarUtilsProxy: SystemBarUtilsProxy by Fixture { fakeSystemBarUtilsProxy } in <lambda>()
44 val Kosmos.systemBarUtilsProxyImpl by Fixture { SystemBarUtilsProxyImpl(applicationContext) } in <lambda>()
50 var Kosmos.fakeSystemBarUtilsProxy by Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bluetooth/qsdialog/
DDeviceItemActionInteractorKosmos.kt26 val Kosmos.bluetoothTileDialogLogger: BluetoothTileDialogLogger by Kosmos.Fixture { mock {} } in <lambda>()
28 val Kosmos.localBluetoothManager: LocalBluetoothManager by Kosmos.Fixture { mock {} } in <lambda>()
30 val Kosmos.dialogTransitionAnimator: DialogTransitionAnimator by Kosmos.Fixture { mock {} } in <lambda>()
33 Kosmos.Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/volume/panel/ui/layout/
DComponentsLayoutManagerKosmos.kt24 Kosmos.Fixture { VolumePanelComponents.BOTTOM_BAR } in <lambda>()
26 Kosmos.Fixture { listOf(VolumePanelComponents.MEDIA_OUTPUT) } in <lambda>()
28 Kosmos.Fixture { in <lambda>()
37 Kosmos.Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DBiometricSettingsRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeBiometricSettingsRepository by Fixture { FakeBiometricSettingsRepository() } in <lambda>()
23 val Kosmos.biometricSettingsRepository by Fixture { fakeBiometricSettingsRepository } in <lambda>()
DDeviceEntryFingerprintAuthRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeDeviceEntryFingerprintAuthRepository by Fixture { in <lambda>()
26 val Kosmos.deviceEntryFingerprintAuthRepository by Fixture { in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/
DFingerprintPropertyRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fingerprintPropertyRepository by Fixture { fakeFingerprintPropertyRepository } in <lambda>()
24 val Kosmos.fakeFingerprintPropertyRepository by Fixture { FakeFingerprintPropertyRepository() } in <lambda>()
DFacePropertyRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeFacePropertyRepository by Fixture { FakeFacePropertyRepository() } in <lambda>()
23 val Kosmos.facePropertyRepository by Fixture { fakeFacePropertyRepository } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/unfold/
DUnfoldTransitionProgressProviderKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeUnfoldTransitionProgressProvider by Fixture { FakeUnfoldTransitionProvider() } in <lambda>()
25 Fixture<UnfoldTransitionProgressProvider> { fakeUnfoldTransitionProgressProvider } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/accessibility/data/repository/
DAccessibilityRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeAccessibilityRepository by Fixture { FakeAccessibilityRepository() } in <lambda>()
23 val Kosmos.accessibilityRepository by Fixture { fakeAccessibilityRepository } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/policy/data/repository/
DZenModeRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.zenModeRepository by Fixture { fakeZenModeRepository } in <lambda>()
23 val Kosmos.fakeZenModeRepository by Fixture { FakeZenModeRepository() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/data/repository/
DSimBouncerRepositoryKosmos.kt20 import com.android.systemui.kosmos.Kosmos.Fixture
22 val Kosmos.fakeSimBouncerRepository by Fixture { FakeSimBouncerRepository() } in <lambda>()
24 val Kosmos.simBouncerRepository by Fixture<SimBouncerRepository> { fakeSimBouncerRepository } in <lambda>()

12345678910>>...25