Home
last modified time | relevance | path

Searched refs:bounds (Results 1 – 9 of 9) sorted by relevance

/tools/metalava/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParameterItemTest.kt20 import com.android.tools.metalava.model.text.TextTypeParameterItem.Companion.bounds
28 assertThat(bounds(null).toString()).isEqualTo("[]") in testTypeParameterNames()
29 assertThat(bounds("").toString()).isEqualTo("[]") in testTypeParameterNames()
30 assertThat(bounds("X").toString()).isEqualTo("[]") in testTypeParameterNames()
31 assertThat(bounds("DEF extends T").toString()).isEqualTo("[T]") in testTypeParameterNames()
32 assertThat(bounds("T extends java.lang.Comparable<? super T>").toString()) in testTypeParameterNames()
34 assertThat(bounds("T extends java.util.List<Number> & java.util.RandomAccess").toString()) in testTypeParameterNames()
55 assertThat(bounds("D", method).toString()).isEqualTo("[androidx.navigation.NavDestination]") in testTypeParameterNames()
DTextTypeItemTest.kt86 TextTypeParameterItem.bounds( in check erasure()
/tools/metalava/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParameterItem.kt30 private var bounds: List<ClassItem>? = null variable
40 override fun bounds(): List<ClassItem> { in bounds() method
41 if (bounds == null) { in bounds()
42 val boundsString = bounds(typeParameterString, owner) in bounds()
43 bounds = if (boundsString.isEmpty()) { in bounds()
58 return bounds!! in bounds()
70 bounds: List<ClassItem>? = null in create()
87 bounds = bounds in create()
91 fun bounds(typeString: String?, owner: TypeParameterListOwner? = null): List<String> { in bounds() method
100 … return p.bounds().filter { !it.isJavaLangObject() }.map { it.qualifiedName() } in bounds()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeParameterItem.kt42 override fun bounds(): List<ClassItem> = bounds in bounds() method
48 private lateinit var bounds: List<ClassItem> variable
54 bounds = if (refs != null && refs.isNotEmpty()) { in finishInitialization()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DTypeParameterItem.kt20 fun bounds(): List<ClassItem> method
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Daudio_analysis.py352 bounds = []
355 return bounds
364 bounds.append((start, end))
366 bounds.append((start, end))
367 return bounds
/tools/tradefederation/contrib/src/com/android/media/tests/
DAudioLoopbackImageAnalyzer.java473 private static boolean boundsWithinRange(Pair<Integer, Integer> bounds, int low, int high) { in boundsWithinRange() argument
474 return low <= bounds.first.intValue() in boundsWithinRange()
475 && bounds.first.intValue() < high in boundsWithinRange()
476 && low <= bounds.second.intValue() in boundsWithinRange()
477 && bounds.second.intValue() < high; in boundsWithinRange()
/tools/metalava/
DFORMAT.md504 * Don't add spaces in type bounds lists (e.g. Map<X,Y>, not Map<X, Y>.)
/tools/tradefederation/core/tests/res/testdata/
Dtradefed-prebuilt-cts-8.0_r21.jarMETA-INF/ META-INF/MANIFEST.MF jline/ jline/CompletionHandler.class CompletionHandler ...