Home
last modified time | relevance | path

Searched refs:getOrNull (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DNotificationTargetsHelper.kt53 visibleGroupChildren.getOrNull(indexOfParentSwipedView - 1) in findRoundableTargets()
57 visibleGroupChildren.getOrNull(indexOfParentSwipedView + 1) in findRoundableTargets()
59 visibleStackChildren.getOrNull(it + 1) in findRoundableTargets()
67 visibleStackChildren.getOrNull(indexOfSwipedView - 1)?.takeIf { in findRoundableTargets()
72 visibleStackChildren.getOrNull(indexOfSwipedView + 1)?.takeIf { in findRoundableTargets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DSysUIUnfoldModule.kt29 import com.android.systemui.util.kotlin.getOrNull
77 val p1 = provider.getOrNull() in provideSysUIUnfoldComponent()
78 val p2 = rotationProvider.getOrNull() in provideSysUIUnfoldComponent()
79 val p3 = scopedProvider.getOrNull() in provideSysUIUnfoldComponent()
80 val p4 = bgProvider.getOrNull() in provideSysUIUnfoldComponent()
DUnfoldKeyguardVisibilityListener.kt7 import com.android.systemui.util.kotlin.getOrNull
28 unfoldComponent.getOrNull()?.getUnfoldKeyguardVisibilityManager()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/mediator/
DScreenOnCoordinator.kt27 import com.android.systemui.util.kotlin.getOrNull
46 unfoldComponent.map(SysUIUnfoldComponent::getFoldAodAnimationController).getOrNull()
48 unfoldComponent.map(SysUIUnfoldComponent::getFullScreenLightRevealAnimations).getOrNull()
/frameworks/base/packages/SettingsLib/Spa/testutils/src/com/android/settingslib/spa/testutils/
DSemanticsMatcher.kt21 import androidx.compose.ui.semantics.getOrNull
25 it.config.getOrNull(SemanticsProperties.Role) == role in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/
DHomeControlsKeyguardQuickAffordanceConfig.kt39 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
66 stateInternal(component.getControlsListingController().getOrNull()) in <lambda>()
78 component.getControlsListingController().getOrNull()?.getCurrentServices() in <lambda>()
80 component.getControlsController().getOrNull()?.getFavorites()?.isNotEmpty() == true in <lambda>()
152 component.getControlsController().getOrNull()?.getFavorites() in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/dagger/
DKeyguardDisplayModule.kt7 import com.android.systemui.util.kotlin.getOrNull
28 val display = optionalDisplay.getOrNull() ?: return context in optionalDisplay()
/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/data/repository/
DUnfoldTransitionRepository.kt24 import com.android.systemui.util.kotlin.getOrNull
66 val provider = unfoldProgressProvider.getOrNull() ?: return emptyFlow()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/dagger/
DNotificationStatsLoggerModule.kt38 import com.android.systemui.util.kotlin.getOrNull
127 return legacyLoggerOptional.getOrNull() ?: newProvider.get() in bindsStatsLoggerImpl()
145 return legacyLoggerOptional.getOrNull() ?: NoOpCoreStartable() in bindsStatsLoggerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ui/viewbinder/
DNotificationListViewBinder.kt51 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
139 viewModel.footer.getOrNull()?.let { footerViewModel -> in <lambda>()
263 viewModel.logger.getOrNull()?.let { viewModel -> in <lambda>()
264 loggerOptional.getOrNull()?.let { logger -> in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt24 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
50 private val recents by lazy { recentTasks.getOrNull() } in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/
Dnullability.kt30 inline fun <T> Optional<T>.getOrNull(): T? = orElse(null) method
DDagger.kt46 operator fun <T> Optional<T>.getValue(thisRef: Any?, property: KProperty<*>): T? = getOrNull()
/frameworks/base/services/flags/java/com/android/server/flags/
DDynamicFlagBinderDelegate.java80 DynamicFlagData data = mDynamicFlags.getOrNull(namespace, name);
135 DynamicFlagData data = mDynamicFlags.getOrNull(ns, name); in syncDynamicFlag()
189 DynamicFlagData data = mDynamicFlags.getOrNull(namespace, name); in getFlagValue()
DFeatureFlagsBinder.java91 String value = mFlagCache.getOrNull(ns, name); in syncFlags()
131 value = mFlagCache.getOrNull(ns, name); in queryFlags()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/blueprints/
DSplitShadeKeyguardBlueprint.kt39 import com.android.systemui.util.kotlin.getOrNull
78 defaultAmbientIndicationAreaSection.getOrNull(),
DShortcutsBesideUdfpsKeyguardBlueprint.kt39 import com.android.systemui.util.kotlin.getOrNull
76 defaultAmbientIndicationAreaSection.getOrNull(),
DDefaultKeyguardBlueprint.kt42 import kotlin.jvm.optionals.getOrNull
81 defaultAmbientIndicationAreaSection.getOrNull(),
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/domain/interactor/
DNotificationIconsInteractor.kt31 import kotlin.jvm.optionals.getOrNull in <lambda>()
99 bubbles.getOrNull()?.isBubbleExpanded(model.key) == true -> false in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DPhoneStatusBarViewController.kt44 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
284 unfoldComponent.getOrNull()?.getStatusBarMoveFromCenterAnimationController() in <lambda>()
291 progressProvider.getOrNull(), in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/communal/widgets/
DCommunalWidgetHost.kt34 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
129 return appWidgetManager.getOrNull()?.getAppWidgetInfo(widgetId) in <lambda>()
/frameworks/base/tools/codegen/src/com/android/codegen/
DClassInfo.kt14 val superClass = classAst.extendedTypes.getOrNull(0) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/coroutine/
DCoroutineResultTest.kt38 assertThat(actual.getOrNull()).isEqualTo("Placeholder") in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/
DKeyguardBlueprintCommandListener.kt44 val arg = args.getOrNull(0) in execute()
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/homecontrols/domain/interactor/
DHomeControlsComponentInteractor.kt34 import com.android.systemui.util.kotlin.getOrNull in <lambda>()
75 controlsComponent.getControlsListingController().getOrNull() in <lambda>()

12