/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/ |
D | NotificationTargetsHelper.kt | 53 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/ |
D | SysUIUnfoldModule.kt | 26 import com.android.systemui.util.kotlin.getOrNull 62 val p1 = provider.getOrNull() in provideSysUIUnfoldComponent() 63 val p2 = rotationProvider.getOrNull() in provideSysUIUnfoldComponent() 64 val p3 = scopedProvider.getOrNull() in provideSysUIUnfoldComponent()
|
D | UnfoldKeyguardVisibilityListener.kt | 7 import com.android.systemui.util.kotlin.getOrNull 28 unfoldComponent.getOrNull()?.getUnfoldKeyguardVisibilityManager()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/mediator/ |
D | ScreenOnCoordinator.kt | 26 import com.android.systemui.util.kotlin.getOrNull 43 SysUIUnfoldComponent::getUnfoldLightRevealOverlayAnimation).getOrNull() 45 SysUIUnfoldComponent::getFoldAodAnimationController).getOrNull()
|
/frameworks/libs/net/common/tests/unit/src/com/android/net/module/util/ |
D | TrackRecordTest.kt | 65 assertEquals(11, record.getOrNull(9)) in <lambda>() 67 assertEquals(2, record.getOrNull(record.size - 1)) in <lambda>() 72 assertNull(record.getOrNull(800)) in <lambda>() 73 assertNull(record.getOrNull(-1)) in <lambda>() 74 assertNull(record.getOrNull(repeats + 1)) in <lambda>() 75 assertNull(record.getOrNull(800) { true }) in <lambda>() 76 assertNull(record.getOrNull(-1) { true }) in <lambda>() 77 assertNull(record.getOrNull(repeats + 1) { true }) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/quickaffordance/ |
D | HomeControlsKeyguardQuickAffordanceConfig.kt | 39 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/libs/net/common/testutils/hostdevice/com/android/net/module/util/ |
D | TrackRecord.kt | 104 elements.getOrNull(pollForIndexReadLocked(timeoutMs, pos, predicate)) in <lambda>() 108 fun getOrNull(pos: Int, predicate: (E) -> Boolean) = lock.withLock { in <lambda>() method 268 return getOrNull(index) in newReadHead() 282 fun peek(): E? = checkThread { getOrNull(readHead) } in newReadHead()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/ |
D | RecentTaskListProvider.kt | 22 import com.android.systemui.util.kotlin.getOrNull in <lambda>() 47 private val recents by lazy { recentTasks.getOrNull() } in <lambda>()
|
/frameworks/base/tools/xmlpersistence/src/main/kotlin/ |
D | Parser.kt | 97 val name = typeDeclaration.fullyQualifiedName.getOrNull() ?: continue in parse() 114 val annotation = classDeclaration.getAnnotationByName("XmlPersistence").getOrNull() in parsePersistenceInfo() 119 val rootXmlName = classDeclaration.getAnnotationByName("XmlName").getOrNull() in parsePersistenceInfo() 199 private fun <T> Optional<T>.getOrNull(): T? = orElse(null) in getOrNull() method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | nullability.kt | 30 inline fun <T> Optional<T>.getOrNull(): T? = orElse(null) method
|
/frameworks/base/services/flags/java/com/android/server/flags/ |
D | DynamicFlagBinderDelegate.java | 80 DynamicFlagData data = mDynamicFlags.getOrNull(namespace, name); 135 DynamicFlagData data = mDynamicFlags.getOrNull(ns, name); in syncDynamicFlag() 189 DynamicFlagData data = mDynamicFlags.getOrNull(namespace, name); in getFlagValue()
|
D | FeatureFlagsBinder.java | 91 String value = mFlagCache.getOrNull(ns, name); in syncFlags() 131 value = mFlagCache.getOrNull(ns, name); in queryFlags()
|
D | FlagCache.java | 94 V getOrNull(String namespace, String name) { in getOrNull() method in FlagCache
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | PhoneStatusBarViewController.kt | 41 import com.android.systemui.util.kotlin.getOrNull in <lambda>() 258 unfoldComponent.getOrNull()?.getStatusBarMoveFromCenterAnimationController() in <lambda>() 265 progressProvider.getOrNull(), in <lambda>()
|
/frameworks/base/tools/codegen/src/com/android/codegen/ |
D | ClassInfo.kt | 14 val superClass = classAst.extendedTypes.getOrNull(0) in <lambda>()
|
D | Utils.kt | 114 action(t, getOrNull(index + 1)) in forEachSequentialPair()
|
D | FileInfo.kt | 217 nextNestedClass = classBounds.nestedDataClasses.getOrNull(0)))) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/common/coroutine/ |
D | CoroutineResultTest.kt | 38 assertThat(actual.getOrNull()).isEqualTo("Placeholder") in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/view/layout/ |
D | KeyguardBlueprintCommandListener.kt | 42 val arg = args.getOrNull(0) in execute()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/flags/ |
D | FlagCacheTest.java | 34 assertThat(mFlagCache.getOrNull(NS, NAME)).isNull(); in testGetOrNull_unset()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/notetask/ |
D | NoteTaskRoleManagerExt.kt | 86 .getOrNull() in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/commandline/ |
D | Parameters.kt | 148 wrapped.getValue(thisRef, property).getOrNull(0) in getValue()
|
/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/animation/scene/ |
D | SceneTransitionLayoutImpl.kt | 123 val newKey = channel.tryReceive().getOrNull() ?: newKey in <lambda>()
|
/frameworks/base/tools/lint/framework/checks/src/main/java/com/google/android/lint/parcel/ |
D | CallMigrators.kt | 67 val itemType = containerType.parameters.getOrNull(0) ?: return null in <lambda>()
|
/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/getflow/ |
D | GetModel.kt | 252 remoteEntry = remoteEntryList.getOrNull(0), in toProviderDisplayInfo()
|