/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/ |
D | PrimaryBouncerInteractor.kt | 29 import com.android.systemui.bouncer.data.repository.KeyguardBouncerRepository in <lambda>() 41 import com.android.systemui.keyguard.data.repository.TrustRepository in <lambda>() 66 private val repository: KeyguardBouncerRepository, in <lambda>() constant in com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractor 86 repository.setPrimaryShow(true) in <lambda>() 87 repository.setPrimaryShowingSoon(false) in <lambda>() 90 val keyguardAuthenticatedPrimaryAuth: Flow<Int> = repository.keyguardAuthenticatedPrimaryAuth in <lambda>() 92 repository.keyguardAuthenticatedBiometrics.filterNotNull() in <lambda>() 94 repository.keyguardAuthenticatedBiometrics.filter { it == null }.map {} in <lambda>() 96 repository.userRequestedBouncerWhenAlreadyAuthenticated.filterNotNull() in <lambda>() 97 val isShowing: StateFlow<Boolean> = repository.primaryBouncerShow in <lambda>() [all …]
|
D | SimBouncerInteractor.kt | 32 import com.android.systemui.bouncer.data.repository.SimBouncerRepository 33 import com.android.systemui.bouncer.data.repository.SimBouncerRepositoryImpl 34 import com.android.systemui.bouncer.data.repository.SimBouncerRepositoryImpl.Companion.ACTION_DISAB… 40 import com.android.systemui.statusbar.pipeline.mobile.data.repository.MobileConnectionsRepository 62 private val repository: SimBouncerRepository, constant in com.android.systemui.bouncer.domain.interactor.SimBouncerInteractor 70 val subId: StateFlow<Int> = repository.subscriptionId 72 val isLockedEsim: StateFlow<Boolean?> = repository.isLockedEsim 73 val errorDialogMessage: StateFlow<String?> = repository.errorDialogMessage 80 val isEsimLocked = repository.isLockedEsim.value ?: false in getDefaultMessage() 81 val isPuk: Boolean = repository.isSimPukLocked.value in getDefaultMessage() [all …]
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/ |
D | BubbleVolatileRepositoryTest.kt | 62 private lateinit var repository: BubbleVolatileRepository variable in com.android.wm.shell.bubbles.storage.BubbleVolatileRepositoryTest 68 repository = BubbleVolatileRepository(launcherApps) in setup() 73 repository.addBubbles(user0.identifier, user0bubbles) in testAddBubbles() 74 repository.addBubbles(user11.identifier, user11bubbles) in testAddBubbles() 76 assertEquals(user0bubbles, repository.getEntities(user0.identifier).toList()) in testAddBubbles() 77 assertEquals(user11bubbles, repository.getEntities(user11.identifier).toList()) in testAddBubbles() 93 repository.addBubbles(user0.identifier, listOf(bubble1)) in testAddBubbles() 94 assertEquals(listOf(bubble2, bubble3, bubble1), repository.getEntities(user0.identifier)) in testAddBubbles() 96 repository.addBubbles(user11.identifier, listOf(bubble12)) in testAddBubbles() 97 assertEquals(listOf(bubble11, bubble12), repository.getEntities(user11.identifier)) in testAddBubbles() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/bouncer/domain/interactor/ |
D | PrimaryBouncerInteractorTest.kt | 28 import com.android.systemui.bouncer.data.repository.KeyguardBouncerRepository 37 import com.android.systemui.keyguard.data.repository.FakeTrustRepository 64 private lateinit var repository: KeyguardBouncerRepository variable in com.android.systemui.bouncer.domain.interactor.PrimaryBouncerInteractorTest 93 repository, in setUp() 108 whenever(repository.primaryBouncerStartingDisappearAnimation.value).thenReturn(null) in setUp() 109 whenever(repository.primaryBouncerShow.value).thenReturn(false) in setUp() 127 verify(repository, never()).setPrimaryShow(true) in show_nullDelegate() 128 verify(repository, never()).setPrimaryShowingSoon(false) in show_nullDelegate() 138 verify(repository).setKeyguardAuthenticatedBiometrics(null) in testShow_isScrimmed() 139 verify(repository).setPrimaryStartingToHide(false) in testShow_isScrimmed() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/domain/interactor/ |
D | PowerInteractorTest.kt | 25 import com.android.systemui.keyguard.data.repository.FakeKeyguardRepository 29 import com.android.systemui.power.data.repository.FakePowerRepository 52 private lateinit var repository: FakePowerRepository variable in com.android.systemui.power.domain.interactor.PowerInteractorTest 62 repository = FakePowerRepository() in setUp() 65 repository, in setUp() 75 repository.setInteractive(true) in isInteractive_screenTurnsOff() 79 repository.setInteractive(false) in isInteractive_screenTurnsOff() 88 repository.setInteractive(false) in isInteractive_becomesInteractive() 92 repository.setInteractive(true) in isInteractive_becomesInteractive() 105 assertThat(repository.lastWakeWhy).isNull() in wakeUpIfDozing_notDozing_notWoken() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
D | PromptRepositoryImplTest.kt | 17 package com.android.systemui.biometrics.data.repository 65 private lateinit var repository: PromptRepositoryImpl variable in com.android.systemui.biometrics.data.repository.PromptRepositoryImplTest 69 repository = PromptRepositoryImpl(faceSettings, authController) in setup() 78 val job = launch { repository.isShowing.toList(values) } in isShowing() 104 val isConfirmationRequired by collectLastValue(repository.isConfirmationRequired) in isConfirmationRequired_whenNotForced() 107 repository.setPrompt( in isConfirmationRequired_whenNotForced() 124 val isConfirmationRequired by collectLastValue(repository.isConfirmationRequired) in isConfirmationRequired_whenForced() 127 repository.setPrompt( in isConfirmationRequired_whenForced() 146 repository.setPrompt(promptInfo, USER_ID, REQUEST_ID, CHALLENGE, kind, OP_PACKAGE_NAME) in setsAndUnsetsPrompt_whenRequestIdMatches() 148 assertThat(repository.promptKind.value).isEqualTo(kind) in setsAndUnsetsPrompt_whenRequestIdMatches() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | GoneToAodTransitionViewModelTest.kt | 22 import com.android.systemui.biometrics.data.repository.fingerprintPropertyRepository 24 import com.android.systemui.keyguard.data.repository.biometricSettingsRepository 25 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 46 private val repository = kosmos.fakeKeyguardTransitionRepository constant in com.android.systemui.keyguard.ui.viewmodel.GoneToAodTransitionViewModelTest 60 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in enterFromTopTranslationY() 71 repository.sendTransitionStep(step(.55f)) in enterFromTopTranslationY() 74 repository.sendTransitionStep(step(.85f)) in enterFromTopTranslationY() 78 repository.sendTransitionStep(step(1f)) in enterFromTopTranslationY() 97 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in enterFromTopAnimationAlpha() 100 repository.sendTransitionStep(step(0.4f)) in enterFromTopAnimationAlpha() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | AodToLockscreenTransitionViewModelTest.kt | 22 import com.android.systemui.biometrics.data.repository.fingerprintPropertyRepository 26 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 49 val repository = kosmos.fakeKeyguardTransitionRepository constant 75 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in deviceEntryParentViewShows() 76 repository.sendTransitionStep(step(0.1f)) in deviceEntryParentViewShows() 77 repository.sendTransitionStep(step(0.3f)) in deviceEntryParentViewShows() 78 repository.sendTransitionStep(step(0.5f)) in deviceEntryParentViewShows() 79 repository.sendTransitionStep(step(0.6f)) in deviceEntryParentViewShows() 80 repository.sendTransitionStep(step(1f)) in deviceEntryParentViewShows() 92 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in notificationAlpha_whenShadeIsExpanded_equalsOne() [all …]
|
D | LockscreenToGoneTransitionViewModelTest.kt | 24 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 43 private val repository = kosmos.fakeKeyguardTransitionRepository constant 51 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in deviceEntryParentViewHides() 52 repository.sendTransitionStep(step(0.1f)) in deviceEntryParentViewHides() 53 repository.sendTransitionStep(step(0.3f)) in deviceEntryParentViewHides() 54 repository.sendTransitionStep(step(0.4f)) in deviceEntryParentViewHides() 55 repository.sendTransitionStep(step(0.5f)) in deviceEntryParentViewHides() 56 repository.sendTransitionStep(step(0.6f)) in deviceEntryParentViewHides() 57 repository.sendTransitionStep(step(0.8f)) in deviceEntryParentViewHides() 58 repository.sendTransitionStep(step(1f)) in deviceEntryParentViewHides() [all …]
|
D | DozingToLockscreenTransitionViewModelTest.kt | 23 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 41 val repository = kosmos.fakeKeyguardTransitionRepository constant 48 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in deviceEntryParentViewShows() 49 repository.sendTransitionStep(step(0.1f)) in deviceEntryParentViewShows() 50 repository.sendTransitionStep(step(0.3f)) in deviceEntryParentViewShows() 51 repository.sendTransitionStep(step(0.5f)) in deviceEntryParentViewShows() 52 repository.sendTransitionStep(step(0.6f)) in deviceEntryParentViewShows() 53 repository.sendTransitionStep(step(1f)) in deviceEntryParentViewShows() 61 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in deviceEntryBackgroundViewShows() 62 repository.sendTransitionStep(step(0.1f)) in deviceEntryBackgroundViewShows() [all …]
|
D | LockscreenToAodTransitionViewModelTest.kt | 22 import com.android.systemui.biometrics.data.repository.fingerprintPropertyRepository 28 import com.android.systemui.keyguard.data.repository.biometricSettingsRepository 29 import com.android.systemui.keyguard.data.repository.fakeKeyguardRepository 30 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 58 private val repository = kosmos.fakeKeyguardTransitionRepository constant 92 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in backgroundViewAlpha_shadeNotExpanded() 95 repository.sendTransitionStep(step(.3f)) in backgroundViewAlpha_shadeNotExpanded() 99 repository.sendTransitionStep(step(.7f)) in backgroundViewAlpha_shadeNotExpanded() 102 repository.sendTransitionStep(step(1f, TransitionState.FINISHED)) in backgroundViewAlpha_shadeNotExpanded() 114 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in backgroundViewAlpha_shadeExpanded() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/ |
D | PowerInteractor.kt | 25 import com.android.systemui.power.data.repository.PowerRepository in <lambda>() 40 private val repository: PowerRepository, in <lambda>() constant in com.android.systemui.power.domain.interactor.PowerInteractor 46 val isInteractive: Flow<Boolean> = repository.isInteractive in <lambda>() 56 val detailedWakefulness = repository.wakefulness in <lambda>() 63 repository.wakefulness in <lambda>() 70 val screenPowerState = repository.screenPowerState in <lambda>() 81 repository.userTouch(noChangeLights = noChangeLights) in <lambda>() 94 repository.wakeUp(why, wakeReason) in <lambda>() 104 if (repository.wakefulness.value.isAsleep() || statusBarStateController.isDozing) { in <lambda>() 105 repository.wakeUp(why = FSI_WAKE_WHY, wakeReason = PowerManager.WAKE_REASON_APPLICATION) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/user/domain/interactor/ |
D | UserActionsUtil.kt | 22 import com.android.systemui.user.data.repository.UserRepository 33 repository: UserRepository, in canCreateGuest() 39 repository, in canCreateGuest() 52 repository: UserRepository, in canCreateUser() 58 repository, in canCreateUser() 71 repository: UserRepository, in canCreateSupervisedUser() 82 repository, in canCreateSupervisedUser() 88 fun canManageUsers(repository: UserRepository, isUserSwitcherEnabled: Boolean): Boolean { in canManageUsers() 89 return isUserSwitcherEnabled && repository.getSelectedUserInfo().isAdmin in canManageUsers() 98 repository: UserRepository, in canAddMoreUsers() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/domain/interactor/ |
D | ShadeInteractorLegacyImpl.kt | 21 import com.android.systemui.keyguard.data.repository.KeyguardRepository in <lambda>() 23 import com.android.systemui.shade.data.repository.ShadeRepository in <lambda>() 47 repository: ShadeRepository, in <lambda>() 55 repository.lockscreenShadeExpansion, in <lambda>() 57 repository.legacyShadeExpansion, in <lambda>() 58 repository.qsExpansion, in <lambda>() 80 override val qsExpansion: StateFlow<Float> = repository.qsExpansion in <lambda>() 82 override val isQsExpanded: StateFlow<Boolean> = repository.legacyIsQsExpanded in <lambda>() 84 override val isQsBypassingShade: Flow<Boolean> = repository.legacyExpandImmediate in <lambda>() 85 override val isQsFullscreen: Flow<Boolean> = repository.legacyQsFullscreen in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/user/domain/interactor/ |
D | RefreshUsersSchedulerTest.kt | 22 import com.android.systemui.user.data.repository.FakeUserRepository 38 private lateinit var repository: FakeUserRepository variable in com.android.systemui.user.domain.interactor.RefreshUsersSchedulerTest 44 repository = FakeUserRepository() in setUp() 54 repository = repository, in pause_preventsTheNextRefreshFromHappening() 59 assertThat(repository.refreshUsersCallCount).isEqualTo(0) in pause_preventsTheNextRefreshFromHappening() 69 repository = repository, in unpauseAndRefresh_forcesTheRefreshEvenWhenPaused() 75 assertThat(repository.refreshUsersCallCount).isEqualTo(1) in unpauseAndRefresh_forcesTheRefreshEvenWhenPaused() 85 repository = repository, in refreshIfNotPaused_refreshesWhenNotPaused() 89 assertThat(repository.refreshUsersCallCount).isEqualTo(1) in refreshIfNotPaused_refreshesWhenNotPaused()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/ui/ |
D | KeyguardTransitionAnimationFlowTest.kt | 25 import com.android.systemui.keyguard.data.repository.fakeKeyguardTransitionRepository 48 val repository = kosmos.fakeKeyguardTransitionRepository constant 94 repository.sendTransitionStep(step(1f, TransitionState.FINISHED), validateStep = false) in onFinishRunsWhenSpecified() 110 repository.sendTransitionStep(step(0.5f, TransitionState.CANCELED)) in onCancelRunsWhenSpecified() 126 repository.sendTransitionStep(step(0f, TransitionState.STARTED)) in usesStartTime() 130 repository.sendTransitionStep(step(0.1f, TransitionState.RUNNING)) in usesStartTime() 132 repository.sendTransitionStep(step(0.5f, TransitionState.RUNNING)) in usesStartTime() 134 repository.sendTransitionStep(step(0.6f, TransitionState.RUNNING)) in usesStartTime() 136 repository.sendTransitionStep(step(0.8f, TransitionState.RUNNING)) in usesStartTime() 138 repository.sendTransitionStep(step(1f, TransitionState.RUNNING)) in usesStartTime() [all …]
|
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/v2/viewmodel/ |
D | InstallViewModel.kt | 30 class InstallViewModel(application: Application, val repository: InstallRepository) : in <lambda>() constant 46 repository.installResult.distinctUntilChanged() in <lambda>() 55 val stage = repository.performPreInstallChecks(intent, callerInfo) in <lambda>() 63 repository.stageForInstall() in <lambda>() 64 _currentInstallStage.addSource(repository.stagingResult) { installStage: InstallStage -> in <lambda>() 75 get() = repository.stagingProgress in <lambda>() 78 val stage = repository.requestUserConfirmation() in <lambda>() 85 val stage = repository.forcedSkipSourceCheck() in <lambda>() 92 repository.cleanupInstall() in <lambda>() 96 val stage = repository.reattemptInstall() in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/ui/viewmodel/ |
D | MobileIconViewModelTest.kt | 40 import com.android.systemui.statusbar.pipeline.airplane.data.repository.FakeAirplaneModeRepository 43 import com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionRepository 44 import com.android.systemui.statusbar.pipeline.mobile.data.repository.FakeMobileConnectionsReposito… 52 import com.android.systemui.statusbar.pipeline.shared.data.repository.FakeConnectivityRepository 53 import com.android.systemui.statusbar.policy.data.repository.FakeUserSetupRepository 82 private lateinit var repository: FakeMobileConnectionRepository variable in com.android.systemui.statusbar.pipeline.mobile.ui.viewmodel.MobileIconViewModelTest 106 repository = in setUp() 113 connectionsRepository.activeMobileDataRepository.value = repository in setUp() 148 repository, in setUp() 190 repository.isAllowedDuringAirplaneMode.value = false in isVisible_airplaneAndNotAllowed_false() [all …]
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/media/domain/interactor/ |
D | SpatializerInteractor.kt | 20 import com.android.settingslib.media.data.repository.SpatializerRepository 22 class SpatializerInteractor(private val repository: SpatializerRepository) { constant in com.android.settingslib.media.domain.interactor.SpatializerInteractor 26 repository.isSpatialAudioAvailableForDevice(audioDeviceAttributes) in isSpatialAudioAvailable() 30 repository.isHeadTrackingAvailableForDevice(audioDeviceAttributes) in isSpatialAudioAvailable() 34 repository.getSpatialAudioCompatibleDevices().contains(audioDeviceAttributes) in isSpatialAudioAvailable() 42 repository.addSpatialAudioCompatibleDevice(audioDeviceAttributes) in isSpatialAudioAvailable() 44 repository.removeSpatialAudioCompatibleDevice(audioDeviceAttributes) in isSpatialAudioAvailable() 50 repository.isHeadTrackingEnabled(audioDeviceAttributes) 56 ) = repository.setHeadTrackingEnabled(audioDeviceAttributes, isEnabled)
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/deviceentry/data/ |
D | FakeDeviceEntryDataLayerModule.kt | 18 import com.android.systemui.biometrics.data.repository.FakeDisplayStateRepositoryModule 19 import com.android.systemui.biometrics.data.repository.FakeFacePropertyRepositoryModule 20 import com.android.systemui.biometrics.data.repository.FakeFingerprintPropertyRepositoryModule 21 import com.android.systemui.deviceentry.data.repository.FakeDeviceEntryRepositoryModule 22 import com.android.systemui.display.data.repository.FakeDisplayRepositoryModule 23 import com.android.systemui.keyguard.data.repository.FakeBiometricSettingsRepositoryModule 24 import com.android.systemui.keyguard.data.repository.FakeDeviceEntryFaceAuthRepositoryModule 25 import com.android.systemui.keyguard.data.repository.FakeDeviceEntryFingerprintAuthRepositoryModule 26 import com.android.systemui.keyguard.data.repository.FakeTrustRepositoryModule
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/ |
D | KeyguardInteractor.kt | 26 import com.android.systemui.bouncer.data.repository.KeyguardBouncerRepository in <lambda>() 34 import com.android.systemui.keyguard.data.repository.KeyguardRepository in <lambda>() 49 import com.android.systemui.shade.data.repository.ShadeRepository in <lambda>() 90 private val repository: KeyguardRepository, in <lambda>() constant in com.android.systemui.keyguard.domain.interactor.KeyguardInteractor 172 val dozeAmount: Flow<Float> = repository.linearDozeAmount in <lambda>() 175 val isDozing: StateFlow<Boolean> = repository.isDozing in <lambda>() 178 val dozeTimeTick: Flow<Long> = repository.dozeTimeTick in <lambda>() 181 val isAodAvailable: StateFlow<Boolean> = repository.isAodAvailable in <lambda>() 184 val dozeTransitionModel: Flow<DozeTransitionModel> = repository.dozeTransitionModel in <lambda>() 192 val isDreaming: Flow<Boolean> = repository.isDreaming in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/authentication/domain/interactor/ |
D | AuthenticationInteractor.kt | 24 import com.android.systemui.authentication.data.repository.AuthenticationRepository in <lambda>() 68 private val repository: AuthenticationRepository, in <lambda>() constant in com.android.systemui.authentication.domain.interactor.AuthenticationInteractor 89 val authenticationMethod: Flow<AuthenticationMethodModel> = repository.authenticationMethod in <lambda>() 98 combine(repository.isAutoConfirmFeatureEnabled, repository.hasLockoutOccurred) { in <lambda>() 115 repository.getPinLength().takeIf { in <lambda>() 116 isAutoConfirmEnabled && it == repository.hintedPinLength in <lambda>() 128 val isPatternVisible: StateFlow<Boolean> = repository.isPatternVisible in <lambda>() 138 val isPinEnhancedPrivacyEnabled: StateFlow<Boolean> = repository.isPinEnhancedPrivacyEnabled in <lambda>() 144 val failedAuthenticationAttempts: StateFlow<Int> = repository.failedAuthenticationAttempts in <lambda>() 158 get() = repository.lockoutEndTimestamp in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/domain/interactor/ |
D | ActiveNotificationsInteractor.kt | 20 import com.android.systemui.statusbar.notification.data.repository.ActiveNotificationListRepository in <lambda>() 33 private val repository: ActiveNotificationListRepository, in <lambda>() constant in com.android.systemui.statusbar.notification.domain.interactor.ActiveNotificationsInteractor 41 repository.activeNotifications in <lambda>() 62 repository.activeNotifications.map { store -> store.individuals } in <lambda>() 66 repository.activeNotifications.map { store -> store.individuals.size } in <lambda>() 72 get() = repository.activeNotifications.value.individuals.size in <lambda>() 76 repository.activeNotifications in <lambda>() 86 get() = repository.activeNotifications.value.renderList.isNotEmpty() in <lambda>() 96 repository.activeNotifications.map { store -> store.rankingsMap } in <lambda>() 100 repository.notifStats in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/ |
D | DeviceEntryBiometricSettingsInteractor.kt | 20 import com.android.systemui.keyguard.data.repository.BiometricSettingsRepository in <lambda>() 33 repository: BiometricSettingsRepository, in <lambda>() 41 val authenticationFlags: Flow<AuthenticationFlags> = repository.authenticationFlags in <lambda>() 45 repository.isFingerprintEnrolledAndEnabled in <lambda>() 48 repository.isFingerprintAuthCurrentlyAllowed in <lambda>() 50 val isFaceAuthEnrolledAndEnabled: Flow<Boolean> = repository.isFaceAuthEnrolledAndEnabled in <lambda>() 51 val faceAuthCurrentlyAllowed: Flow<Boolean> = repository.isFaceAuthCurrentlyAllowed in <lambda>() 56 repository.isFingerprintEnrolledAndEnabled, in <lambda>() 57 repository.isFaceAuthEnrolledAndEnabled, in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/panels/ |
D | SelectedComponentRepositoryTest.kt | 76 private lateinit var repository: SelectedComponentRepository variable in com.android.systemui.controls.panels.SelectedComponentRepositoryTest 93 repository = in setUp() 103 assertThat(repository.getSelectedComponent()).isNull() in testUnsetIsNull() 108 repository.setSelectedComponent(COMPONENT_A) in testGetReturnsSet() 110 assertThat(repository.getSelectedComponent()).isEqualTo(COMPONENT_A) in testGetReturnsSet() 115 repository.setSelectedComponent(COMPONENT_A) in testSetOverrides() 116 repository.setSelectedComponent(COMPONENT_B) in testSetOverrides() 118 assertThat(repository.getSelectedComponent()).isEqualTo(COMPONENT_B) in testSetOverrides() 123 repository.setSelectedComponent(COMPONENT_A) in testRemove() 125 repository.removeSelectedComponent() in testRemove() [all …]
|