Home
last modified time | relevance | path

Searched refs:Primitive (Results 1 – 12 of 12) sorted by relevance

/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineTypeItemFactory.kt83 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.BOOLEAN) in <lambda>()
85 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.BYTE) in <lambda>()
87 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.CHAR) in <lambda>()
89 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.DOUBLE) in <lambda>()
91 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.FLOAT) in <lambda>()
93 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.INT) in <lambda>()
95 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.LONG) in <lambda>()
97 DefaultPrimitiveTypeItem(modifiers, PrimitiveTypeItem.Primitive.SHORT) in <lambda>()
168 PrimitiveTypeItem.Primitive.VOID in <lambda>()
174 PrimitiveTypeItem.Primitive.VOID in <lambda>()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItemFactory.kt260 private fun getKind(type: PsiPrimitiveType): PrimitiveTypeItem.Primitive { in <lambda>()
262 PsiTypes.booleanType() -> PrimitiveTypeItem.Primitive.BOOLEAN in <lambda>()
263 PsiTypes.byteType() -> PrimitiveTypeItem.Primitive.BYTE in <lambda>()
264 PsiTypes.charType() -> PrimitiveTypeItem.Primitive.CHAR in <lambda>()
265 PsiTypes.doubleType() -> PrimitiveTypeItem.Primitive.DOUBLE in <lambda>()
266 PsiTypes.floatType() -> PrimitiveTypeItem.Primitive.FLOAT in <lambda>()
267 PsiTypes.intType() -> PrimitiveTypeItem.Primitive.INT in <lambda>()
268 PsiTypes.longType() -> PrimitiveTypeItem.Primitive.LONG in <lambda>()
269 PsiTypes.shortType() -> PrimitiveTypeItem.Primitive.SHORT in <lambda>()
270 PsiTypes.voidType() -> PrimitiveTypeItem.Primitive.VOID in <lambda>()
DPsiTypeItem.kt58 override val kind: PrimitiveTypeItem.Primitive,
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultPrimitiveTypeItem.kt21 import com.android.tools.metalava.model.PrimitiveTypeItem.Primitive
26 override val kind: Primitive,
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextTypeParser.kt180 "byte" -> PrimitiveTypeItem.Primitive.BYTE in <lambda>()
181 "char" -> PrimitiveTypeItem.Primitive.CHAR in <lambda>()
182 "double" -> PrimitiveTypeItem.Primitive.DOUBLE in <lambda>()
183 "float" -> PrimitiveTypeItem.Primitive.FLOAT in <lambda>()
184 "int" -> PrimitiveTypeItem.Primitive.INT in <lambda>()
185 "long" -> PrimitiveTypeItem.Primitive.LONG in <lambda>()
186 "short" -> PrimitiveTypeItem.Primitive.SHORT in <lambda>()
187 "boolean" -> PrimitiveTypeItem.Primitive.BOOLEAN in <lambda>()
188 "void" -> PrimitiveTypeItem.Primitive.VOID in <lambda>()
DApiFile.kt38 import com.android.tools.metalava.model.PrimitiveTypeItem.Primitive in <lambda>()
1342 Primitive.BOOLEAN -> in parsePrimitiveValue()
1344 Primitive.BYTE, in parsePrimitiveValue()
1345 Primitive.SHORT, in parsePrimitiveValue()
1346 Primitive.INT -> Integer.valueOf(value) in parsePrimitiveValue()
1347 Primitive.LONG -> java.lang.Long.valueOf(value.substring(0, value.length - 1)) in parsePrimitiveValue()
1348 Primitive.FLOAT -> in parsePrimitiveValue()
1358 Primitive.DOUBLE -> in parsePrimitiveValue()
1368 Primitive.CHAR -> value.toInt().toChar() in parsePrimitiveValue()
1369 Primitive.VOID -> in parsePrimitiveValue()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeItemTest.kt90 .isEqualTo(PrimitiveTypeItem.Primitive.VOID) in Test primitive types()
94 PrimitiveTypeItem.Primitive.BOOLEAN, in Test primitive types()
95 PrimitiveTypeItem.Primitive.BYTE, in Test primitive types()
96 PrimitiveTypeItem.Primitive.CHAR, in Test primitive types()
97 PrimitiveTypeItem.Primitive.DOUBLE, in Test primitive types()
98 PrimitiveTypeItem.Primitive.FLOAT, in Test primitive types()
99 PrimitiveTypeItem.Primitive.INT, in Test primitive types()
100 PrimitiveTypeItem.Primitive.LONG, in Test primitive types()
101 PrimitiveTypeItem.Primitive.SHORT in Test primitive types()
151 assertThat((int as PrimitiveTypeItem).kind).isEqualTo(PrimitiveTypeItem.Primitive.INT) in Test primitive array types()
[all …]
DCommonTypeStringTest.kt215 PrimitiveTypeItem.Primitive.values() in <lambda>()
216 .filter { it != PrimitiveTypeItem.Primitive.VOID } in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt205 .isEqualTo(PrimitiveTypeItem.Primitive.VOID) in <lambda>()
233 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
261 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
285 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
313 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
368 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
418 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
460 .isEqualTo(PrimitiveTypeItem.Primitive.INT) in <lambda>()
DKeepFileTest.kt92 fun `Primitive types`() { in Primitive types()
125 fun `Primitive array types`() { in Primitive array types()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt790 val kind: Primitive
793 enum class Primitive( class
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt580 assertEquals(PrimitiveTypeItem.Primitive.INT, (fieldTypeItem as PrimitiveTypeItem).kind) in 160 - check field type()