Home
last modified time | relevance | path

Searched refs:filterNotNull (Results 1 – 25 of 29) sorted by relevance

12

/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyboard/data/repository/
H A DFakeKeyboardRepository.kt24 import kotlinx.coroutines.flow.filterNotNull
33 override val backlight: Flow<BacklightModel> = _backlightState.filterNotNull()
36 override val newlyConnectedKeyboard: Flow<Keyboard> = _newlyConnectedKeyboard.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/
H A DFakeDeviceEntryFaceAuthRepository.kt26 import kotlinx.coroutines.flow.filterNotNull
39 _authenticationStatus.filterNotNull()
45 get() = _detectionStatus.filterNotNull()
H A DFakeDeviceEntryFingerprintAuthRepository.kt25 import kotlinx.coroutines.flow.filterNotNull
50 get() = _authenticationStatus.filterNotNull()
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
H A DStateFlowBridge.kt23 import kotlinx.coroutines.flow.filterNotNull
28 val flow = stateFlow.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/domain/interactor/
H A DPrimaryBouncerInteractor.kt54 import kotlinx.coroutines.flow.filterNotNull
89 val keyguardAuthenticated: Flow<Boolean> = repository.keyguardAuthenticated.filterNotNull()
92 val isBackButtonEnabled: Flow<Boolean> = repository.isBackButtonEnabled.filterNotNull()
93 val showMessage: Flow<BouncerShowMessageModel> = repository.showMessage.filterNotNull()
95 repository.primaryBouncerStartingDisappearAnimation.filterNotNull()
97 val keyguardPosition: Flow<Float> = repository.keyguardPosition.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/backlight/ui/viewmodel/
H A DBacklightDialogViewModel.kt27 import kotlinx.coroutines.flow.filterNotNull
55 .filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DFakeAutoAddable.kt27 import kotlinx.coroutines.flow.filterNotNull
39 return getFlow(userId).asStateFlow().filterNotNull()
/aosp14/frameworks/base/packages/SettingsLib/SpaPrivileged/src/com/android/settingslib/spaprivileged/model/app/
H A DAppListViewModel.kt37 import kotlinx.coroutines.flow.filterNotNull
98 .flatMapLatest { it.transform(userIdFlow, appsStateFlow.filterNotNull()) }
108 val listModelFilteredFlow = optionFlow.filterNotNull().flatMapLatest { option ->
146 optionFlow.filterNotNull(),
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/ui/dialog/
H A DUserSwitcherDialogCoordinator.kt43 import kotlinx.coroutines.flow.filterNotNull
73 interactor.get().dialogShowRequests.filterNotNull().collect { request ->
160 interactor.get().dialogDismissRequests.filterNotNull().collect {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/ui/viewmodel/
H A DKeyguardBouncerViewModel.kt26 import kotlinx.coroutines.flow.filterNotNull
72 interactor.startingDisappearAnimation.filterNotNull().map {}
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/
H A DKeyguardTransitionAnimationFlow.kt30 import kotlinx.coroutines.flow.filterNotNull
106 .filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/bouncer/data/repository/
H A DKeyguardBouncerRepository.kt34 import kotlinx.coroutines.flow.filterNotNull
247 .filterNotNull()
252 .filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/wifi/data/repository/demo/
H A DDemoWifiRepository.kt31 import kotlinx.coroutines.flow.filterNotNull
66 dataSource.wifiEvents.filterNotNull().collect { event -> processEvent(event) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/demo/
H A DDemoMobileConnectionsRepository.kt47 import kotlinx.coroutines.flow.filterNotNull
201 mobileDataSource.mobileEvents.filterNotNull().collect { event ->
207 wifiDataSource.wifiEvents.filterNotNull().collect { event ->
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/worker/
H A DRetryRequestWorker.kt62 .filterNotNull() // TODO(b/159952358): Fast fail packages which can't be retrieved.
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
H A DSystemUIKeyguardFaceAuthInteractor.kt46 import kotlinx.coroutines.flow.filterNotNull
206 merge(faceAuthenticationStatusOverride.filterNotNull(), repository.authenticationStatus)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/user/data/repository/
H A DUserRepository.kt51 import kotlinx.coroutines.flow.filterNotNull
152 override val userInfos: Flow<List<UserInfo>> = _userInfos.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DDeviceEntryFaceAuthRepository.kt72 import kotlinx.coroutines.flow.filterNotNull
175 get() = _authenticationStatus.filterNotNull()
179 get() = _detectionStatus.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
H A DCombinedCondition.kt122 values.filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
H A DNotificationMemoryDumper.kt172 .filterNotNull()
H A DNotificationMemoryViewWalker.kt80 .filterNotNull()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/animation/
H A DPhysicsAnimator.kt429 this.endActions.addAll(endActions.filterNotNull())
438 this.endActions.addAll(endActions.filterNotNull().map { it::run })
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/parsing/parcelling/
H A DParcelableComponentTest.kt320 val params = baseParams.mapNotNull(::buildParams) + extraParams().filterNotNull()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DMobileConnectionsRepositoryTest.kt71 import kotlinx.coroutines.flow.filterNotNull
375 underTest.activeMobileDataSubscriptionId.filterNotNull().onEach {
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DActivityStartController.java401 intents = ArrayUtils.filterNotNull(intents, Intent[]::new); in startActivities()

12