Home
last modified time | relevance | path

Searched refs:TestScope (Results 1 – 25 of 268) sorted by relevance

1234567891011

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/
DCoroutineTestScopeModule.kt30 import kotlinx.coroutines.test.TestScope
35 @get:Provides val scope: TestScope,
40 constructor() : this(TestScope())
43 scope: TestScope
46 constructor(context: CoroutineContext) : this(TestScope(context))
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DSceneContainerOcclusionInteractorTest.kt42 import kotlinx.coroutines.test.TestScope
130 private fun TestScope.showOccludingActivity() { in TestScope() method
139 private fun TestScope.hideOccludingActivity() { in hideOccludingActivity() method
147 private fun TestScope.expandShade( in TestScope() method
174 private fun TestScope.collapseShade( in collapseShade() method
201 private suspend fun TestScope.transitionIntoAod( in transitionIntoAod()
238 private suspend fun TestScope.transitionOutOfAod( in transitionOutOfAod()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DTestScopeProvider.kt17 import kotlinx.coroutines.test.TestScope
20 @JvmStatic fun getTestScope() = TestScope()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/coroutines/
DFlow.kt29 import kotlinx.coroutines.test.TestScope
43 fun <T> TestScope.collectLastValue( in collectLastValue()
68 fun <T> TestScope.collectValues( in collectValues()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/data/repository/
DRemoteInputRepositoryImplTest.kt29 import kotlinx.coroutines.test.TestScope
45 private lateinit var testScope: TestScope
52 testScope = TestScope() in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DScreenIdleConditionTest.kt26 import kotlinx.coroutines.test.TestScope
45 private val testScope: TestScope = TestScope(testDispatcher)
DNotOccludedConditionTest.kt28 import kotlinx.coroutines.test.TestScope
49 private val testScope: TestScope = TestScope(testDispatcher)
DPluggedInConditionTest.kt25 import kotlinx.coroutines.test.TestScope
44 private val testScope: TestScope = TestScope(testDispatcher)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/notifications/data/repository/
DNotificationSettingsRepositoryTest.kt26 import kotlinx.coroutines.test.TestScope
39 private lateinit var testScope: TestScope
45 testScope = TestScope(testDispatcher) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyEventRepositoryTest.kt29 import kotlinx.coroutines.test.TestScope
49 private lateinit var testScope: TestScope
54 testScope = TestScope() in setUp()
DKeyguardSmartspaceRepositoryImplTest.kt31 import kotlinx.coroutines.test.TestScope
43 private lateinit var scope: TestScope
57 scope = TestScope(dispatcher) in setup()
DKeyguardClockRepositoryTest.kt36 import kotlinx.coroutines.test.TestScope
49 private lateinit var scope: TestScope
63 scope = TestScope(dispatcher) in setup()
DKeyguardSurfaceBehindRepositoryImplTest.kt25 import kotlinx.coroutines.test.TestScope
36 private val testScope = TestScope()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/
DSceneFrameworkIntegrationTest.kt89 import kotlinx.coroutines.test.TestScope in <lambda>()
486 private fun TestScope.assertCurrentScene(expected: SceneKey) { in <lambda>() method
507 private fun TestScope.setAuthMethod( in <lambda>() method
525 private fun TestScope.startPhoneCall() { in <lambda>() method
542 private fun TestScope.emulatePendingTransitionProgress( in <lambda>() method
610 private fun TestScope.emulateUserDrivenTransition( in <lambda>() method
630 private suspend fun TestScope.lockDevice() { in <lambda>()
640 private fun TestScope.unlockDevice() { in <lambda>() method
662 private fun TestScope.enterPin() { in <lambda>() method
687 private fun TestScope.enterSimPin( in <lambda>() method
[all …]
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/kosmos/
DGeneralKosmos.kt7 import kotlinx.coroutines.test.TestScope
10 var Kosmos.testScope by Fixture { TestScope(testDispatcher) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
DFakeBluetoothRepository.kt22 import kotlinx.coroutines.test.TestScope
36 private val testScope = TestScope(dispatcher)
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DDevicePostureRepositoryTest.kt28 import kotlinx.coroutines.test.TestScope
46 private lateinit var testScope: TestScope
53 testScope = TestScope() in setup()
/frameworks/base/packages/SystemUI/compose/scene/tests/src/com/android/compose/test/
DRunMonotonicClockTest.kt8 import kotlinx.coroutines.test.TestScope
23 val testScope: TestScope = this in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
DDeviceStateRepositoryTest.kt36 import kotlinx.coroutines.test.TestScope
54 private val testScope = TestScope(UnconfinedTestDispatcher())
75 TestScope(UnconfinedTestDispatcher()), in setup()
155 private fun TestScope.displayState(): FlowValue<DeviceState?> { in displayState() method
DDisplayRepositoryTest.kt37 import kotlinx.coroutines.test.TestScope in <lambda>()
60 private val testScope = TestScope(UnconfinedTestDispatcher()) in <lambda>()
72 TestScope(UnconfinedTestDispatcher()), in <lambda>()
110 val innerScope = TestScope() in <lambda>()
463 private fun TestScope.latestDisplayFlowValue(): FlowValue<Set<Display>?> { in <lambda>() method
470 private fun TestScope.latestDefaultDisplayOffFlowValue(): FlowValue<Boolean?> { in <lambda>() method
476 private fun TestScope.lastPendingDisplay(): FlowValue<DisplayRepository.PendingDisplay?> { in <lambda>() method
488 private fun TestScope.lastDisplayAdditionEvent(): FlowValue<Display?> { in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
DSystemEventCoordinatorTest.kt31 import kotlinx.coroutines.test.TestScope
50 private val testScope = TestScope(UnconfinedTestDispatcher())
67 TestScope(UnconfinedTestDispatcher()), in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldLightRevealOverlayAnimationTest.kt40 import kotlinx.coroutines.test.TestScope
57 private val testScope: TestScope = kosmos.testScope
165 private suspend fun TestScope.foldDeviceToScreenOff() { in foldDeviceToScreenOff()
175 private fun TestScope.turnScreenOn() { in TestScope() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/preview/
DKeyguardRemotePreviewManagerTest.kt9 import kotlinx.coroutines.test.TestScope
20 private val testScope = TestScope(testDispatcher)
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/quickaffordance/
DCameraQuickAffordanceConfigTest.kt33 import kotlinx.coroutines.test.TestScope
56 private lateinit var testScope: TestScope
64 testScope = TestScope(testDispatcher) in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/binder/
DInWindowLauncherUnlockAnimationManagerTest.kt31 import kotlinx.coroutines.test.TestScope
51 private lateinit var testScope: TestScope
129 val testScope: TestScope

1234567891011