/packages/modules/Connectivity/staticlibs/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>()
|
/packages/modules/Connectivity/staticlibs/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 273 return getOrNull(index) in newReadHead() 306 fun peek(): E? = checkThread { getOrNull(readHead) } in newReadHead()
|
/packages/providers/MediaProvider/photopicker/tests/src/com/android/photopicker/data/paging/ |
D | FakeInMemoryAlbumPagingSource.kt | 88 if (DATA.getOrNull(startIndex) == null) { in <lambda>() 95 val nextRow = DATA.getOrNull(endIndex + 1) in <lambda>() 107 val prevPageRow = DATA.getOrNull((startIndex) - params.loadSize) in <lambda>()
|
D | FakeInMemoryMediaPagingSource.kt | 91 if (DATA.getOrNull(startIndex) == null) { in <lambda>() 98 val nextRow = DATA.getOrNull(endIndex + 1) in <lambda>() 108 val prevPageRow = DATA.getOrNull((startIndex) - params.loadSize) in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/ |
D | CachingImagePreviewImageLoader.kt | 100 .getOrNull() in <lambda>() 106 runCatching { cache[uri].await() }.getOrNull() in <lambda>() 110 kotlin.runCatching { cache[uri].getCompleted() }.getOrNull() in <lambda>()
|
D | UriMetadataHelpers.kt | 87 .getOrNull() 104 .getOrNull() in Cursor()
|
D | IsHttpUri.kt | 30 .getOrNull() != null
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/ |
D | DataTypeDescriptorSet.kt | 28 requireNotNull(getOrNull(name)) { "Could not find a DataTypeDescriptor for name: \"$name\"" } in get() 31 fun getOrNull(name: String): DataTypeDescriptor? method
|
/packages/modules/OnDevicePersonalization/src/com/android/libraries/pcc/chronicle/api/integration/ |
D | DefaultDataTypeDescriptorSet.kt | 39 override fun getOrNull(name: String): DataTypeDescriptor? = dtdsByName[name] in <lambda>() method in com.android.libraries.pcc.chronicle.api.integration.DefaultDataTypeDescriptorSet 62 is FieldType.Nested -> getOrNull(fieldType.name) in <lambda>() 63 is FieldType.Reference -> getOrNull(fieldType.name) in <lambda>()
|
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/ |
D | TestContentProvider.kt | 34 runCatching { uri.getQueryParameter(PARAM_MIME_TYPE) }.getOrNull() in query() 48 .getOrNull() in getStreamTypes()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/cursor/ |
D | PayloadToggleCursorResolver.kt | 57 .getOrNull() in <lambda>() 67 .getOrNull() in <lambda>()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icon/ |
D | ComposeIcon.kt | 73 .getOrNull() in PackageManager() 86 .getOrNull() in Icon()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageList.kt | 43 import kotlin.jvm.optionals.getOrNull in <lambda>() 154 ) ?: DataUsageUtils.getMobileNetworkTemplateFromSubId(context, intent).getOrNull() in <lambda>()
|
D | AppDataUsageCycleController.kt | 100 usageDetailsDataList.getOrNull(position)?.let(onUsageDataUpdated) in onItemSelected()
|
D | DataUsageListHeaderController.kt | 115 cycles.getOrNull(position)?.let(updateSelectedCycle) in setSelectedCycle()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarInsetsController.kt | 58 import kotlin.jvm.optionals.getOrNull in <lambda>() 163 .getOrNull() in <lambda>() 417 controllers.bubbleControllers.getOrNull()?.let { bubbleControllers -> in <lambda>()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/util/ |
D | LazyStringResource.kt | 54 fun valueOrNull(context: Context): String? = runCatching { value(context) }.getOrNull() in <lambda>()
|
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/ |
D | NetworkStatsIntegrationTest.kt | 177 it.lp.stackedLinks.getOrNull(0)?.linkAddresses?.getOrNull(0) != null in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/app/ |
D | AllAppList.kt | 118 when (SpinnerItem.entries.getOrNull(option)) { in transform()
|
/packages/apps/Settings/src/com/android/settings/spa/app/battery/ |
D | BatteryOptimizationModeAppListPageProvider.kt | 111 when (OptimizationModeSpinnerItem.entries.getOrNull(option)) { in transform()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | CollapsableIssuesCardHelper.kt | 415 issueCardPreferences.getOrNull(indexOfFirstHiddenIssue) in <lambda>()
|
/packages/apps/Settings/src/com/android/settings/spa/app/appcompat/ |
D | UserAspectRatioAppsPageProvider.kt | 194 when (SpinnerItem.entries.getOrNull(option)) { in filter()
|
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/ |
D | ScrollableImagePreviewView.kt | 497 .getOrNull() in <lambda>()
|