Home
last modified time | relevance | path

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

1234567

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scene/
H A DSceneFrameworkIntegrationTest.kt46 import kotlinx.coroutines.test.TestScope
331 private fun TestScope.assertCurrentScene(expected: SceneKey) { regex
352 private fun TestScope.setAuthMethod( regex
382 private fun TestScope.emulateUiSceneTransition( regex
427 private fun TestScope.emulateUserDrivenTransition( regex
447 private suspend fun TestScope.lockDevice() {
458 private fun TestScope.unlockDevice() { regex
481 private fun TestScope.enterPin() { regex
499 private fun TestScope.wakeUpDevice() { regex
516 private suspend fun TestScope.putDeviceToSleep(
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/coroutines/
H A DFlow.kt29 import kotlinx.coroutines.test.TestScope
43 fun <T> TestScope.collectLastValue(
68 fun <T> TestScope.collectValues(
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
H A DTestScopeProvider.kt19 import kotlinx.coroutines.test.TestScope
23 @JvmStatic fun getTestScope() = TestScope()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/data/repository/
H A DDisplayRepositoryTest.kt35 import kotlinx.coroutines.test.TestScope
57 private val testScope = TestScope(UnconfinedTestDispatcher())
68 TestScope(UnconfinedTestDispatcher()),
105 val innerScope = TestScope()
171 private fun TestScope.latestDisplayFlowValue(): FlowValue<Set<Display>?> { regex
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/
H A DPromptSelectorInteractorImplTest.kt37 import kotlinx.coroutines.test.TestScope
64 private val testScope = TestScope()
84 private fun TestScope.useBiometricsAndReset(allowCredentialFallback: Boolean) { regex
149 private fun TestScope.useCredentialAndReset(@Utils.CredentialType kind: Int) { regex
180 private fun TestScope.verifyUnset() { regex
H A DSideFpsOverlayInteractorTest.kt28 import kotlinx.coroutines.test.TestScope
42 private lateinit var testScope: TestScope
50 testScope = TestScope(StandardTestDispatcher())
H A DUdfpsOverlayInteractorTest.kt29 import kotlinx.coroutines.test.TestScope
51 private lateinit var testScope: TestScope
63 testScope = TestScope(StandardTestDispatcher())
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
H A DDevicePostureRepositoryTest.kt29 import kotlinx.coroutines.test.TestScope
46 private lateinit var testScope: TestScope
53 testScope = TestScope()
H A DKeyguardSurfaceBehindRepositoryImplTest.kt25 import kotlinx.coroutines.test.TestScope
36 private val testScope = TestScope()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/
H A DFacePropertyRepositoryImplTest.kt30 import kotlinx.coroutines.test.TestScope
52 private lateinit var testScope: TestScope
58 testScope = TestScope()
H A DFingerprintRepositoryImplTest.kt34 import kotlinx.coroutines.test.TestScope
54 private lateinit var testScope: TestScope
66 testScope = TestScope(dispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/bluetooth/
H A DFakeBluetoothRepository.kt22 import kotlinx.coroutines.test.TestScope
36 private val testScope = TestScope(dispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/
H A DKeyguardRootViewModelTest.kt30 import kotlinx.coroutines.test.TestScope
45 private lateinit var testScope: TestScope
54 testScope = TestScope(testDispatcher)
H A DUdfpsAodViewModelTest.kt38 import kotlinx.coroutines.test.TestScope
55 private lateinit var testScope: TestScope
70 testScope = TestScope()
H A DUdfpsFingerprintViewModelTest.kt40 import kotlinx.coroutines.test.TestScope
57 private lateinit var testScope: TestScope
73 testScope = TestScope()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/events/
H A DSystemEventCoordinatorTest.kt32 import kotlinx.coroutines.test.TestScope
52 private val testScope = TestScope(UnconfinedTestDispatcher())
70 TestScope(UnconfinedTestDispatcher()),
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
H A DBurnInInteractorTest.kt30 import kotlinx.coroutines.test.TestScope
52 private lateinit var testScope: TestScope
66 testScope = TestScope()
H A DKeyguardTransitionInteractorTestCase.kt25 import kotlinx.coroutines.test.TestScope
29 val testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/quickaffordance/
H A DCameraQuickAffordanceConfigTest.kt34 import kotlinx.coroutines.test.TestScope
57 private lateinit var testScope: TestScope
65 testScope = TestScope(testDispatcher)
H A DVideoCameraQuickAffordanceConfigTest.kt36 import kotlinx.coroutines.test.TestScope
57 private lateinit var testScope: TestScope
64 testScope = TestScope(testDispatcher)
H A DMuteQuickAffordanceConfigTest.kt35 import kotlinx.coroutines.test.TestScope
64 private lateinit var testScope: TestScope
71 testScope = TestScope(testDispatcher)
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/shared/ui/viewmodel/
H A DCollapsedStatusBarViewModelImplTest.kt30 import kotlinx.coroutines.test.TestScope
43 private lateinit var testScope: TestScope
47 testScope = TestScope(UnconfinedTestDispatcher())
52 scope = TestScope().backgroundScope,
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/display/domain/interactor/
H A DConnectedDisplayInteractorTest.kt36 import kotlinx.coroutines.test.TestScope
51 private val testScope = TestScope(UnconfinedTestDispatcher())
132 private fun TestScope.lastValue(): FlowValue<State?> = regex
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bouncer/data/factory/
H A DBouncerMessageFactoryTest.kt33 import kotlinx.coroutines.test.TestScope
50 private lateinit var testScope: TestScope
55 testScope = TestScope()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyboard/backlight/ui/
H A DKeyboardBacklightDialogCoordinatorTest.kt33 import kotlinx.coroutines.test.TestScope
58 private val testScope = TestScope(StandardTestDispatcher())
150 private fun TestScope.setBacklightValue(value: Int, maxValue: Int = MAX_BACKLIGHT) { regex

1234567