Home
last modified time | relevance | path

Searched refs:Iterable (Results 1 – 25 of 61) sorted by relevance

123

/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/util/
DCollections.kt27 suspend inline fun <T> Iterable<T>.asyncForEach(crossinline action: (T) -> Unit) { in <lambda>()
39 suspend inline fun <R, T> Iterable<T>.asyncMap(crossinline transform: (T) -> R): List<R> = in asyncMap()
51 suspend inline fun <T> Iterable<T>.asyncFilter(crossinline predicate: (T) -> Boolean): List<T> = in asyncFilter()
/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java348 String message, Iterable<?> actual, Object... expected) { in assertContentsInOrder()
361 Iterable<?> actual, Object... expected) { in assertContentsInOrder()
369 public static void assertContentsInAnyOrder(String message, Iterable<?> actual, in assertContentsInAnyOrder()
391 public static void assertContentsInAnyOrder(Iterable<?> actual, Object... expected) { in assertContentsInAnyOrder()
398 public static void assertEmpty(String message, Iterable<?> iterable) { in assertEmpty()
408 public static void assertEmpty(Iterable<?> iterable) { in assertEmpty()
432 public static void assertNotEmpty(String message, Iterable<?> iterable) { in assertNotEmpty()
442 public static void assertNotEmpty(Iterable<?> iterable) { in assertNotEmpty()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/listbuilder/
DShadeListBuilderHelper.kt22 fun getSectionSubLists(entries: List<ListEntry>): Iterable<List<ListEntry>> = in getSectionSubLists()
29 ): Iterable<List<T>> { in getContiguousSubLists()
DSemiStableSort.kt61 items: Iterable<T>, in <lambda>()
87 sortedItems: Iterable<T>, in <lambda>()
128 sortedItems: Iterable<T>, in <lambda>()
149 preSortedAdditions: Iterable<T>, in <lambda>()
/frameworks/rs/tests/java_api/RsMinimalTest/src/com/android/rs/minimaltest/
DRsMinimalTest.java48 public static Iterable<?> getParams() throws Exception { in getParams()
53 Iterable<Class<? extends UnitTest>> testClasses = in getParams()
DUnitTest.java192 public static void checkDuplicateNames(Iterable<UnitTest> tests) { in checkDuplicateNames()
207 public static Iterable<Class<? extends UnitTest>> getProperSubclasses(Context ctx) in getProperSubclasses()
213 private static <T> Iterable<Class<? extends T>> getProperSubclasses(Class<T> klass, Context ctx) in getProperSubclasses()
/frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
DRSTest.java50 public static Iterable<?> getParams() throws Exception { in getParams()
55 Iterable<Class<? extends UnitTest>> testClasses = in getParams()
DRSTestListActivity.java30 protected Iterable<Class<? extends UnitTest>> getUnitTests() throws Exception { in getUnitTests()
/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUnitTest.java192 public static void checkDuplicateNames(Iterable<UnitTest> tests) { in checkDuplicateNames()
207 public static Iterable<Class<? extends UnitTest>> getProperSubclasses(Context ctx) in getProperSubclasses()
213 private static <T> Iterable<Class<? extends T>> getProperSubclasses(Class<T> klass, Context ctx) in getProperSubclasses()
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUnitTest.java195 public static void checkDuplicateNames(Iterable<UnitTest> tests) { in checkDuplicateNames()
210 public static Iterable<Class<? extends UnitTest>> getProperSubclasses(Context ctx) in getProperSubclasses()
216 private static <T> Iterable<Class<? extends T>> getProperSubclasses(Class<T> klass, Context ctx) in getProperSubclasses()
/frameworks/rs/tests/java_api/RSUnitTests/gui/com/android/rs/unittest/
DRSListActivity.java20 protected abstract Iterable<Class<? extends UnitTest>> getUnitTests() throws Exception; in getUnitTests()
32 Iterable<Class<? extends UnitTest>> testClasses = getUnitTests(); in onCreate()
/frameworks/base/tools/codegen/src/com/android/codegen/
DUtils.kt19 inline fun <T> Iterable<T>.forEachApply(block: T.() -> Unit) = forEach(block) in <lambda>()
22 inline fun <T> Iterable<T>.trim(f: T.() -> Boolean) = dropWhile(f).dropLastWhile(f) in <lambda>()
45 fun Iterable<Pair<String, String>>.columnize(separator: String = " | "): String { in Iterable() method
DPrinter.kt177 fun Iterable<FieldInfo>.forEachTrimmingTrailingComma(b: FieldInfo.() -> Unit) { in <lambda>() method
/frameworks/base/location/java/android/location/
DGpsStatus.java80 private Iterable<GpsSatellite> mSatelliteList = SatelliteIterator::new;
231 public Iterable<GpsSatellite> getSatellites() { in getSatellites()
/frameworks/base/location/lib/java/com/android/location/provider/
DActivityChangedEvent.java41 public Iterable<ActivityRecognitionEvent> getActivityRecognitionEvents() { in getActivityRecognitionEvents()
/frameworks/base/packages/StatementService/src/com/android/statementservice/domain/
DDomainVerifier.kt66 fun collectHosts(packageNames: Iterable<String>): Iterable<Triple<UUID, String, String>> { in <lambda>()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DUtils.java42 public static <T> Iterable<T> oneTimeIterable(Iterator<T> iterator) { in oneTimeIterable()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DAutoAddableSettingList.kt31 ): Iterable<AutoAddable> { in parseSettingsResource()
/frameworks/base/packages/SystemUI/common/src/com/android/systemui/common/buffer/
DRingBuffer.kt37 class RingBuffer<T>(private val maxSize: Int, private val factory: () -> T) : Iterable<T> {
/frameworks/base/core/java/android/hardware/location/
DActivityChangedEvent.java45 public Iterable<ActivityRecognitionEvent> getActivityRecognitionEvents() { in getActivityRecognitionEvents()
/frameworks/base/services/core/java/com/android/server/timedetector/
DServerFlags.java241 Iterable<String> modifiedKeys = properties.getKeyset(); in handlePropertiesChanged()
254 @NonNull Set<String> haystack, @NonNull Iterable<String> needles) { in containsAny()
/frameworks/base/test-runner/api/
Dcurrent.txt121 …method @Deprecated public static void assertContentsInAnyOrder(String, Iterable<?>, java.lang.Obje…
122 … method @Deprecated public static void assertContentsInAnyOrder(Iterable<?>, java.lang.Object...);
123 …method @Deprecated public static void assertContentsInOrder(String, Iterable<?>, java.lang.Object.…
124 method @Deprecated public static void assertContentsInOrder(Iterable<?>, java.lang.Object...);
125 method @Deprecated public static void assertEmpty(String, Iterable<?>);
126 method @Deprecated public static void assertEmpty(Iterable<?>);
143 method @Deprecated public static void assertNotEmpty(String, Iterable<?>);
144 method @Deprecated public static void assertNotEmpty(Iterable<?>);
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemLayoutTest.java45 public static Iterable<Object[]> data() { in data()
/frameworks/base/core/tests/coretests/src/android/widget/espresso/
DMouseUiController.java85 public boolean injectMotionEventSequence(Iterable<MotionEvent> events) in injectMotionEventSequence()
/frameworks/base/core/java/android/net/
DInterfaceConfiguration.java55 public Iterable<String> getFlags() { in getFlags()

123