Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 74) sorted by relevance

123

/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/typeitem/
DCommonTypeModifiersTest.kt335 assertThat(arguments).hasSize(2) in <lambda>()
338 val string1 = arguments[0] in <lambda>()
343 val string2 = arguments[1] in <lambda>()
566 assertThat(arguments).hasSize(1) in <lambda>()
569 val innerTypeArgument = arguments.single() in <lambda>()
578 assertThat(arguments).hasSize(1) in <lambda>()
581 val outerClassArgument = arguments.single() in <lambda>()
694 assertThat(baz.arguments).hasSize(1) in <lambda>()
697 val bazTypeArgument = baz.arguments.single() in <lambda>()
814 val string = arguments.single() in <lambda>()
[all …]
DCommonTypeItemTest.kt389 assertThat((paramType as ClassTypeItem).arguments).hasSize(1) in Test wildcard types()
390 paramType.arguments.single() in Test wildcard types()
729 assertThat(stringType.arguments).isEmpty() in Test class types()
736 assertThat(stringListType.arguments).hasSize(1) in Test class types()
737 assertThat(stringListType.arguments.single().isString()).isTrue() in Test class types()
743 assertThat(arrayListType.arguments).hasSize(1) in Test class types()
744 val arrayType = arrayListType.arguments.single() in Test class types()
752 assertThat(mapType.arguments).hasSize(2) in Test class types()
753 val mapKeyType = mapType.arguments.first() in Test class types()
756 val mapValueType = mapType.arguments.last() in Test class types()
[all …]
DCommonTypeParameterItemTest.kt175 assertThat(classTypeParamBound.arguments).hasSize(1) in Test self-referential type parameter()
176 val classTypeParamBoundTypeArgument = classTypeParamBound.arguments.single() in Test self-referential type parameter()
185 assertThat(methodTypeParamBound.arguments).hasSize(1) in Test self-referential type parameter()
186 val methodTypeParamBoundTypeArgument = methodTypeParamBound.arguments.single() in Test self-referential type parameter()
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypeItem.kt86 final override val arguments: List<TypeArgumentTypeItem>, constant
99 arguments: List<TypeArgumentTypeItem> in asClass()
105 arguments = arguments, in asClass()
116 arguments: List<TypeArgumentTypeItem>, in asClass()
129 arguments = arguments, in asClass()
138 arguments: List<TypeArgumentTypeItem> in asClass()
144 arguments = arguments, in asClass()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/type/
DDefaultResolvedClassTypeItem.kt28 override val arguments: List<TypeArgumentTypeItem>, constant
41 arguments: List<TypeArgumentTypeItem> in asClass()
43 return DefaultResolvedClassTypeItem(modifiers.duplicate(), classItem, arguments) in asClass()
48 val arguments = classItem.typeParameterList.map { it.type() } in createForClass() constant
50 return DefaultResolvedClassTypeItem(modifiers, classItem, arguments) in createForClass()
DDefaultClassTypeItem.kt29 override val arguments: List<TypeArgumentTypeItem>, constant
41 arguments: List<TypeArgumentTypeItem> in asClass()
47 arguments, in asClass()
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DTypeItem.kt513 if (type.arguments.isNotEmpty()) { in hashCode()
515 type.arguments.forEachIndexed { index, parameter -> in hashCode()
517 if (index != type.arguments.size - 1) { in hashCode()
885 val arguments: List<TypeArgumentTypeItem> constant
912 fun hasTypeArguments() = arguments.isNotEmpty() in hasTypeArguments()
919 duplicate(outerClassType?.duplicate(), arguments.map { it.duplicate() }) in hasTypeArguments()
926 fun duplicate(outerClass: ClassTypeItem?, arguments: List<TypeArgumentTypeItem>): ClassTypeItem in duplicate()
931 arguments.map { it.convertType(typeParameterBindings) } in duplicate()
938 arguments.size == other.arguments.size && in equalToType()
939 arguments.zip(other.arguments).all { (p1, p2) -> p1.equalToType(p2) } && in equalToType()
[all …]
DTypeVisitor.kt49 classType.arguments.forEach { it.accept(this) } in visit()
110 classType.arguments.forEachIndexed { index, arg -> in visitType()
113 other.mapNotNull { (it as? ClassTypeItem)?.arguments?.getOrNull(index) } in visitType()
/tools/apksig/etc/
Dapksigner.bat76 REM Capture all arguments that are not -J options.
77 REM Note that when reading the input arguments with %1, the cmd.exe
78 REM automagically converts --name=value arguments into 2 arguments "--name"
Dapksigner-kms.bat77 REM Capture all arguments that are not -J options.
78 REM Note that when reading the input arguments with %1, the cmd.exe
79 REM automagically converts --name=value arguments into 2 arguments "--name"
/tools/test/connectivity/acts/framework/acts/controllers/ap_lib/
Dap_iwconfig.py39 def ap_iwconfig(self, interface, arguments=None): argument
46 arguments)
/tools/metalava/metalava-model-text/src/test/java/com/android/tools/metalava/model/text/
DTextTypeParserCacheTest.kt315 fun `Test caching of generic type arguments`() { in <lambda>()
320 assertThat(second.arguments[0]).isSameInstanceAs(first) in <lambda>()
331 assertThat((second.arguments[0] as WildcardTypeItem).extendsBound) in <lambda>()
343 assertThat((second.arguments[0] as WildcardTypeItem).superBound).isSameInstanceAs(first) in <lambda>()
/tools/metalava/metalava/src/test/java/com/android/tools/metalava/
DSignatureInputOutputTest.kt426 assertThat(mapType.arguments).hasSize(2) in <lambda>()
427 assertThat(mapType.arguments[0].isString()).isTrue() in <lambda>()
428 assertThat(mapType.arguments[1].isJavaLangObject()).isTrue() in <lambda>()
468 assertThat(mapType.arguments).hasSize(2) in <lambda>()
469 assertThat(mapType.arguments[0].isString()).isTrue() in <lambda>()
470 assertThat(mapType.arguments[1].isJavaLangObject()).isTrue() in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/
DAndroidJarsToSignaturesCommand.kt28 import com.github.ajalt.clikt.parameters.arguments.argument in <lambda>()
29 import com.github.ajalt.clikt.parameters.arguments.validate in <lambda>()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/common/
DEarlyOptions.kt21 import com.github.ajalt.clikt.parameters.arguments.argument
22 import com.github.ajalt.clikt.parameters.arguments.multiple
/tools/test/connectivity/acts/framework/acts/bin/
Dmonsoon.py111 arguments = parser.parse_args() variable
112 main(arguments)
/tools/tradefederation/core/util_apps/WifiUtil/src/com/android/tradefed/utils/wifi/
DWifiUtil.java57 public void onCreate(Bundle arguments) { in onCreate() argument
58 super.onCreate(arguments); in onCreate()
59 mArguments = arguments; in onCreate()
/tools/metalava/metalava/src/main/java/com/android/tools/metalava/cli/signature/
DMergeSignaturesCommand.kt31 import com.github.ajalt.clikt.parameters.arguments.argument
32 import com.github.ajalt.clikt.parameters.arguments.multiple
DUpdateSignatureHeaderCommand.kt25 import com.github.ajalt.clikt.parameters.arguments.argument in <lambda>()
26 import com.github.ajalt.clikt.parameters.arguments.multiple in <lambda>()
/tools/metalava/metalava-model-testsuite/src/main/java/com/android/tools/metalava/model/testsuite/
DBootstrapSourceModelProviderTest.kt664 assertEquals(0, testClassType.arguments.count()) in 180 - test classItem toType()
668 assertEquals(1, testClassType1.arguments.count()) in 180 - test classItem toType()
669 val typeArgument1 = testClassType1.arguments.single() in 180 - test classItem toType()
679 assertEquals(1, testClassType2.arguments.count()) in 180 - test classItem toType()
680 val typeArgument2 = testClassType2.arguments.single() in 180 - test classItem toType()
/tools/metalava/metalava-model-testsuite-cli/src/main/java/com/android/tools/metalava/model/testsuite/cli/
DUpdateBaselineCommand.kt24 import com.github.ajalt.clikt.parameters.arguments.argument in <lambda>()
25 import com.github.ajalt.clikt.parameters.arguments.multiple in <lambda>()
/tools/trebuchet/
Dgradlew.bat49 @rem Get command-line arguments, handling Windows variants
54 @rem Slurp the command line arguments.
/tools/metalava/
Dgradlew.bat49 @rem Get command-line arguments, handling Windows variants
54 @rem Slurp the command line arguments.
/tools/asuite/asuite_plugin/
Dgradlew.bat49 @rem Get command-line arguments, handling Windows variants
54 @rem Slurp the command line arguments.
/tools/netsim/rust/
DCMakeLists.txt44 # 3. MSVC uses environment variable "CL" to prepend arguments to the
45 # command-line arguments. However, we verified MSVC also supports CXXFLAGS,

123