/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/scene/ |
H A D | SceneFrameworkIntegrationTest.kt | 46 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 D | Flow.kt | 29 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 D | TestScopeProvider.kt | 19 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 D | DisplayRepositoryTest.kt | 35 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 D | PromptSelectorInteractorImplTest.kt | 37 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 D | SideFpsOverlayInteractorTest.kt | 28 import kotlinx.coroutines.test.TestScope 42 private lateinit var testScope: TestScope 50 testScope = TestScope(StandardTestDispatcher())
|
H A D | UdfpsOverlayInteractorTest.kt | 29 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 D | DevicePostureRepositoryTest.kt | 29 import kotlinx.coroutines.test.TestScope 46 private lateinit var testScope: TestScope 53 testScope = TestScope()
|
H A D | KeyguardSurfaceBehindRepositoryImplTest.kt | 25 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 D | FacePropertyRepositoryImplTest.kt | 30 import kotlinx.coroutines.test.TestScope 52 private lateinit var testScope: TestScope 58 testScope = TestScope()
|
H A D | FingerprintRepositoryImplTest.kt | 34 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 D | FakeBluetoothRepository.kt | 22 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 D | KeyguardRootViewModelTest.kt | 30 import kotlinx.coroutines.test.TestScope 45 private lateinit var testScope: TestScope 54 testScope = TestScope(testDispatcher)
|
H A D | UdfpsAodViewModelTest.kt | 38 import kotlinx.coroutines.test.TestScope 55 private lateinit var testScope: TestScope 70 testScope = TestScope()
|
H A D | UdfpsFingerprintViewModelTest.kt | 40 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 D | SystemEventCoordinatorTest.kt | 32 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 D | BurnInInteractorTest.kt | 30 import kotlinx.coroutines.test.TestScope 52 private lateinit var testScope: TestScope 66 testScope = TestScope()
|
H A D | KeyguardTransitionInteractorTestCase.kt | 25 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 D | CameraQuickAffordanceConfigTest.kt | 34 import kotlinx.coroutines.test.TestScope 57 private lateinit var testScope: TestScope 65 testScope = TestScope(testDispatcher)
|
H A D | VideoCameraQuickAffordanceConfigTest.kt | 36 import kotlinx.coroutines.test.TestScope 57 private lateinit var testScope: TestScope 64 testScope = TestScope(testDispatcher)
|
H A D | MuteQuickAffordanceConfigTest.kt | 35 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 D | CollapsedStatusBarViewModelImplTest.kt | 30 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 D | ConnectedDisplayInteractorTest.kt | 36 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 D | BouncerMessageFactoryTest.kt | 33 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 D | KeyboardBacklightDialogCoordinatorTest.kt | 33 import kotlinx.coroutines.test.TestScope 58 private val testScope = TestScope(StandardTestDispatcher()) 150 private fun TestScope.setBacklightValue(value: Int, maxValue: Int = MAX_BACKLIGHT) { regex
|