Home
last modified time | relevance | path

Searched refs:withIndex (Results 1 – 24 of 24) sorted by relevance

/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/utils/
DTestConstants.kt266 for ((index, element) in actual.withIndex()) { in verifySleepSessionListsEqual()
281 for ((index, element) in actual.withIndex()) { in verifyOxygenSaturationListsEqual()
293 for ((index, element) in actual.withIndex()) { in verifyHydrationListsEqual()
306 for ((index, element) in actual.withIndex()) { in verifyBodyWaterMassListsEqual()
DViewMatchers.kt36 fun withIndex(matcher: Matcher<View?>, index: Int): Matcher<View?> { in withIndex() method
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/data/entries/
DAppEntriesFragmentTest.kt46 import com.android.healthconnect.controller.tests.utils.withIndex
140 onView(withIndex(withId(R.id.item_data_entry_delete), 0)) in appEntries_withData_notShowingDeleteAction()
DAllEntriesFragmentTest.kt49 import com.android.healthconnect.controller.tests.utils.withIndex in <lambda>()
173 onView(withIndex(withId(R.id.item_data_entry_delete), 0)) in <lambda>()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/data/repository/
DFakeColorPickerRepository.kt63 for ((index, colorOption) in wallpaperOptions.withIndex()) { in <lambda>()
81 for ((index, colorOption) in presetOptions.withIndex()) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/
DDataEntriesFragmentTest.kt43 import com.android.healthconnect.controller.tests.utils.withIndex
175 onView(withIndex(withId(R.id.item_data_entry_delete), 0)).check(matches(isDisplayed())) in dataEntries_withData_showsDeleteAction()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/util/
DWidgetPreviewContainerSize.kt38 for ((index, containerSize) in sizes.withIndex()) { in forItem()
/packages/modules/Permission/tests/cts/permissionui/CreateNotificationChannelsApp31/src/android/permissionui/cts/usepermission/
DCreateNotificationChannelsActivity.kt169 for ((i, permName) in permissions.withIndex()) { in onRequestPermissionsResult()
/packages/apps/DeskClock/src/com/android/deskclock/data/
DCityDAO.kt73 for ((count, city) in cities.withIndex()) { in setSelectedCities()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
DPermStateLiveData.kt90 for ((index, permissionName) in packageInfo.requestedPermissions.withIndex()) { in <lambda>()
DAutoRevokedPackagesLiveData.kt64 for ((idx, requestedPerm) in pkg.requestedPermissions.withIndex()) { in <lambda>()
DPermGroupsPackagesUiInfoLiveData.kt189 for ((idx, groupName) in groupNames.withIndex()) { in <lambda>()
DLightPackageInfoLiveData.kt235 for ((idx, permName) in requestedPermissions.withIndex()) { in <lambda>()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/datasources/
DAppOrderDataSource.kt160 val appOrderMap = appOrderInfoList.withIndex().associateBy({it.value}, {it.index}) in getSavedAppOrderComparator()
/packages/modules/Connectivity/staticlibs/testutils/hostdevice/com/android/testutils/
DPacketFilter.kt48 bytes.withIndex().all { it.value == packet[offset + it.index] } in test()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/util/
DWidgetPreviewContainerSizesTest.kt68 for ((index, widgetSize) in testSizes.keys.withIndex()) { in widgetPreviewContainerSize_forItem_returnsCorrectContainerSize()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/mdns/util/
DMdnsUtilsTest.kt185 for ((index, packet) in packets.withIndex()) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/
DWearPermissionAppsScreen.kt82 for ((index, category) in categoryOrder.withIndex()) { in WearPermissionAppsContent()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivityservice/
DCSSatelliteNetworkTest.kt195 for ((index, range) in ranges.withIndex()) { in toUidRangeStableParcels()
/packages/apps/ThemePicker/src/com/android/customization/model/color/
DColorProvider.kt190 for ((i, colorInt) in seedColors.drop(1).take(maxColors - 1).withIndex()) { in buildColorSeeds()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarInsetsController.kt469 for ((i, overrideSize) in provider.insetsSizeOverrides.withIndex()) { in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/v31/
DReviewOngoingUsageViewModel.kt543 for ((idx, opAccess) in chain.withIndex()) { in <lambda>()
/packages/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/permissiontypes/
DHealthPermissionTypesFragmentTest.kt444 for ((index, expectedItem) in expectedAppsOrder.withIndex()) { in permissionTypesFragment_priorityListDialog_priorityListChanged_appsAreArrangedCorrectly()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
DKotlinUtils.kt1247 for ((idx, permName) in packageInfo.requestedPermissions.withIndex()) { in <lambda>()