Home
last modified time | relevance | path

Searched refs:isCurrentUserTrustManaged (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/data/repository/
DTrustRepositoryTest.kt59 private lateinit var isCurrentUserTrustManaged: FlowValue<Boolean?> variable in com.android.systemui.keyguard.data.repository.TrustRepositoryTest
78 isCurrentUserTrustManaged = collectLastValue(underTest.isCurrentUserTrustManaged) in init()
91 assertThat(isCurrentUserTrustManaged()).isTrue() in isCurrentUserTrustManaged_whenItChanges_emitsLatestValue()
95 assertThat(isCurrentUserTrustManaged()).isFalse() in isCurrentUserTrustManaged_whenItChanges_emitsLatestValue()
103 assertThat(collectLastValue(underTest.isCurrentUserTrustManaged)()).isFalse() in isCurrentUserTrustManaged_isFalse_byDefault()
117 assertThat(isCurrentUserTrustManaged()).isTrue() in isCurrentUserTrustManaged_whenItChangesForDifferentUser_noops()
130 assertThat(isCurrentUserTrustManaged()).isFalse() in isCurrentUserTrustManaged_whenUserChangesWithoutRecentTrustChange_defaultsToFalse()
140 assertThat(isCurrentUserTrustManaged()).isFalse() in isCurrentUserTrustManaged_itChangesFirstBeforeUserInfoChanges_emitsCorrectValue()
144 assertThat(isCurrentUserTrustManaged()).isTrue() in isCurrentUserTrustManaged_itChangesFirstBeforeUserInfoChanges_emitsCorrectValue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
DTrustRepository.kt62 val isCurrentUserTrustManaged: StateFlow<Boolean> constant
162 override val isCurrentUserTrustManaged: StateFlow<Boolean> constant in com.android.systemui.keyguard.data.repository.TrustRepositoryImpl
167 .onEach { logger.isCurrentUserTrustManaged(it) } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DTrustInteractor.kt39 val isTrustAgentCurrentlyAllowed: StateFlow<Boolean> = repository.isCurrentUserTrustManaged
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
DFakeTrustRepository.kt45 override val isCurrentUserTrustManaged: StateFlow<Boolean> constant in com.android.systemui.keyguard.data.repository.FakeTrustRepository
/frameworks/base/packages/SystemUI/src/com/android/keyguard/logging/
DTrustRepositoryLogger.kt110 fun isCurrentUserTrustManaged(isTrustManaged: Boolean) { in isCurrentUserTrustManaged() method