Home
last modified time | relevance | path

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

/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/preference/
H A DPreferenceTest.java34 import static com.android.car.ui.matchers.ViewMatchers.withIndex;
289 onView(withIndex(withId(android.R.id.title), 0)).check(matches( in testCheckboxPreference()
291 onView(withIndex(withId(android.R.id.summary), 0)).check(matches( in testCheckboxPreference()
336 onView(withIndex(withId(android.R.id.title), 0)).check(matches( in testSwitchPreference()
338 onView(withIndex(withId(android.R.id.summary), 0)).check(matches( in testSwitchPreference()
383 onView(withIndex(withId(android.R.id.title), 0)).check(matches( in testSwitchPreference_uxRestricted()
385 onView(withIndex(withId(android.R.id.summary), 0)).check(matches( in testSwitchPreference_uxRestricted()
416 onView(withIndex(withId(android.R.id.title), 0)).check(matches( in testSwitchPreference_clickableWhileDisabled()
418 onView(withIndex(withId(android.R.id.summary), 0)).check(matches( in testSwitchPreference_clickableWhileDisabled()
447 onView(withIndex(withId(android.R.id.title), 0)).check(matches( in testRadioPreference()
[all …]
/aosp12/frameworks/base/services/tests/PackageManagerServiceTests/unit/src/com/android/server/pm/test/verify/domain/
H A DDomainVerificationCoreApiTest.kt78 massiveSet.withIndex().associate {
104 massiveSet.withIndex()
/aosp12/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/
H A DViewMatchers.java52 public static Matcher<View> withIndex(Matcher<View> matcher, int index) { in withIndex() method in ViewMatchers
/aosp12/frameworks/libs/net/common/testutils/hostdevice/com/android/testutils/
H A DPacketFilter.kt47 bytes.withIndex().all { it.value == packet[offset + it.index] }
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/data/
H A DPermStateLiveData.kt83 for ((index, permissionName) in packageInfo.requestedPermissions.withIndex()) {
H A DAutoRevokedPackagesLiveData.kt66 for ((idx, requestedPerm) in pkg.requestedPermissions.withIndex()) {
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/data/
H A DCityDAO.kt73 for ((count, city) in cities.withIndex()) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/log/
H A DLogBuffer.kt188 for ((i, message) in buffer.withIndex()) {
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
H A DMediaCarouselControllerTest.kt162 for ((index, key) in MediaPlayerData.playerKeys().withIndex()) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/render/
H A DShadeViewDiffer.kt129 for ((index, childSpec) in parentSpec.children.withIndex()) {
/aosp12/frameworks/base/tests/SurfaceViewBufferTests/src/com/android/test/
H A DGeometryTests.kt112 val transforms = arrayOf(Transform.FLIP_H, Transform.FLIP_V, Transform.ROT_180).withIndex()
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/model/
H A DReviewOngoingUsageViewModel.kt490 for ((idx, opAccess) in chain.withIndex()) {
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
H A DMediaDataManager.kt608 for ((index, action) in actions.withIndex()) {
/aosp12/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/utils/
H A DKotlinUtils.kt736 for ((idx, permName) in packageInfo.requestedPermissions.withIndex()) {