Home
last modified time | relevance | path

Searched refs:mapNotNull (Results 1 – 25 of 51) sorted by relevance

123

/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/prod/
H A DMobileConnectionRepositoryImpl.kt78 import kotlinx.coroutines.flow.mapNotNull
193 .mapNotNull { it.onServiceStateChanged }
211 .mapNotNull { it.onServiceStateChanged }
217 .mapNotNull { it.onServiceStateChanged }
223 .mapNotNull { it.onSignalStrengthChanged }
229 .mapNotNull { it.onSignalStrengthChanged }
244 .mapNotNull { it.onSignalStrengthChanged }
256 .mapNotNull { it.onDataActivity }
266 .mapNotNull { it.onCarrierNetworkChange }
272 .mapNotNull { it.onDisplayInfoChanged }
[all …]
H A DMobileConnectionsRepositoryImpl.kt67 import kotlinx.coroutines.flow.mapNotNull
308 .mapNotNull { (prevVal: Int?, newVal: Int?) ->
309 if (prevVal == null || newVal == null) return@mapNotNull null
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
H A DConversationNotifications.kt118 .mapNotNull { view ->
153 .mapNotNull { notifCollection.getEntry(it) }
160 ?.mapNotNull { it as? ConversationLayout }
239 .mapNotNull { (key, _) ->
252 expanded.values.asSequence().mapNotNull { it.row }.forEach(::resetBadgeUi)
266 .mapNotNull { view -> view as? ConversationLayout }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
H A DSceneContainerStartable.kt45 import kotlinx.coroutines.flow.mapNotNull
81 .mapNotNull { state ->
110 .mapNotNull { isUnlocked ->
211 .mapNotNull { it as? ObservableTransitionState.Idle }
/aosp14/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
H A DDomainVerifier.kt67 return packageNames.mapNotNull { packageName ->
73 } ?: return@mapNotNull null
79 ?: return@mapNotNull null
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
H A DNotificationSectionsManager.kt184 val oldFirstChildren = sections.mapNotNull { it.firstVisibleChild }.toSet().toMutableSet()
185 val oldLastChildren = sections.mapNotNull { it.lastVisibleChild }.toSet().toMutableSet()
194 val newFirstChildren = sections.mapNotNull { it.firstVisibleChild }
195 val newLastChildren = sections.mapNotNull { it.lastVisibleChild }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/
H A DKeyguardClockRepository.kt34 import kotlinx.coroutines.flow.mapNotNull
72 .mapNotNull { it }
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleDataRepository.kt141 return bubbles.mapNotNull { b ->
145 b.metadataShortcutId ?: return@mapNotNull null,
248 val bubbles = entities.mapNotNull { entity ->
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
H A DNotifCollectionInconsistencyTracker.kt89 .mapNotNull { key ->
98 .mapNotNull { (key, entry) ->
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/pipeline/mobile/data/repository/
H A DCarrierConfigRepository.kt41 import kotlinx.coroutines.flow.mapNotNull
89 .mapNotNull { subId ->
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/data/repository/
H A DKeyboardRepository.kt46 import kotlinx.coroutines.flow.mapNotNull
125 .mapNotNull { deviceIdToKeyboard(it) }
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/hardware/
H A DInputManager.kt41 inputDeviceIds.asSequence().mapNotNull { getInputDevice(it) }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DAutoAddableSettingList.kt33 return autoAddList.mapNotNull {
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
H A DSystemStatusAnimationSchedulerLegacyImpl.kt253 listeners.mapNotNull {
268 val anims: List<Animator> = listeners.mapNotNull { it.onHidePersistentDot() }
H A DSystemStatusAnimationSchedulerImpl.kt351 listeners.mapNotNull {
368 val anims: List<Animator> = listeners.mapNotNull { it.onHidePersistentDot() }
/aosp14/frameworks/base/tools/codegen/src/com/android/codegen/
H A DUtils.kt21 inline fun String.mapLines(f: String.() -> String?) = lines().mapNotNull(f).joinToString("\n")
124 cause = parse.problems.mapNotNull { it.cause.orElse(null) }.firstOrNull())
/aosp14/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/
H A DCallMigrators.kt64 val supers = getParentTypes(type).mapNotNull { it as? PsiClassType }
106 return type.conjuncts.mapNotNull(this::filter).firstOrNull()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/stylus/
H A DStylusUsiPowerStartable.kt75 .mapNotNull { inputManager.getInputDevice(it) }
/aosp14/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/
H A DSystemPartitionParseTest.kt88 .mapNotNull { it.exceptionOrNull() }
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
H A DKeyguardAmbientIndicationAreaViewBinder.kt105 return listOf(ambientIndicationArea).mapNotNull { it?.animate() }
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/animation/
H A DUnfoldConstantTranslateAnimator.kt78 .mapNotNull {
/aosp14/frameworks/base/packages/SystemUI/checks/src/com/android/internal/systemui/lint/
H A DDumpableNotRegisteredDetector.kt70 val superTypeClassNames = declaration.superTypes.mapNotNull { it.resolve()?.qualifiedName }
/aosp14/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
H A DNekoControlsService.kt300 val sub = UglySubscription(controlKeys.mapNotNull { controls[it] }.iterator(),
316 controlKeys.mapNotNull { controls[it] }.forEach { control ->
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/flicker/src/com/android/wm/shell/flicker/splitscreen/
H A DUnlockKeyguardToSplitScreen.kt95 .mapNotNull { primaryApp -> primaryApp.layer.visibleRegion }
/aosp14/frameworks/base/tests/FlickerTests/src/com/android/server/wm/flicker/ime/
H A DCloseImeOnDismissPopupDialogTest.kt89 .mapNotNull { imeSnapshotLayer -> imeSnapshotLayer.layer.visibleRegion }

123