Home
last modified time | relevance | path

Searched refs:Any (Results 1 – 25 of 89) sorted by relevance

1234

/tools/asuite/atest/integration_tests/
Dsplit_build_test_script.py42 from typing import Any, Callable, Iterator
105 def get_obj(self, name: str) -> Any:
121 self._snapshot_objs: dict[str, Any] = {}
147 def add_snapshot_obj(self, name: str, obj: Any): argument
447 cls, func: Callable[[Any], Any], decorator_name: str argument
448 ) -> Callable[[Any], Any]:
501 def run_in_parallel(cls, func: Callable[[Any], Any]) -> Callable[[Any], Any]: argument
507 cls, func: Callable[[Any], Any] argument
508 ) -> Callable[[Any], Any]:
514 cls, func: Callable[[Any], Any] argument
[all …]
/tools/metalava/metalava-model/src/main/java/com/android/tools/metalava/model/
DModelOptions.kt32 private val settings: Map<Key<*>, Any>,
35 operator fun <T : Any> get(key: Key<T>): T { in get()
50 internal val settings = mutableMapOf<Key<*>, Any>()
59 operator fun <T : Any> set(key: Key<T>, value: T) { in set()
82 class Key<T : Any>
102 inline fun <reified T : Any> of(name: String, default: T): Key<T> { in toString()
DAnnotationItem.kt273 inline fun <reified T : Any> AnnotationItem.getAttributeValue(name: String): T? { in getAttributeValue()
283 internal fun AnnotationItem.nonInlineGetAttributeValue(kClass: KClass<*>, name: String): Any? { in nonInlineGetAttributeValue()
305 inline fun <reified T : Any> AnnotationItem.getAttributeValues(name: String): List<T>? { in getAttributeValues()
314 internal fun <T : Any> AnnotationItem.nonInlineGetAttributeValues( in nonInlineGetAttributeValues()
317 caster: (Any) -> T in nonInlineGetAttributeValues()
336 private fun convertValue(codebase: Codebase, kClass: KClass<*>, value: Any): Any { in convertValue()
450 override fun equals(other: Any?): Boolean { in isShowAnnotation()
559 fun value(): Any? in toSource()
584 val value: Any?
688 override fun equals(other: Any?): Boolean { in equals()
[all …]
DTypeParameterList.kt34 override fun equals(other: Any?): Boolean in <lambda>()
47 override fun equals(other: Any?) = emptyListDelegate == other in <lambda>()
78 override fun equals(other: Any?) = typeParameters == other in equals()
/tools/asuite/atest/
Dmodule_info.py32 from typing import Any, Callable, Dict, List, Set, Tuple
55 Module = Dict[str, Any]
77 def load_from_dict(name_to_module_info: Dict[str, Any]) -> ModuleInfo: argument
259 name_to_module_info: Dict[str, Any], argument
260 path_to_module_info: Dict[str, Any],
273 def _load_from_db(self) -> Tuple[Dict[str, Any], Dict[str, Any]]:
282 def _save_json_async(self, name_to_module_info: Dict[str, Any], _): argument
324 name_to_module_info: Dict[str, Any], argument
325 path_to_module_info: Dict[str, Any],
472 name_to_module_info: Dict[str, Any] = None, argument
[all …]
Dbazel_mode.py47 from typing import Any, Callable, Dict, IO, List, Set, Tuple
532 self, info: Dict[str, Any], is_host_driven: bool argument
548 def _add_deviceless_test_target(self, info: Dict[str, Any]) -> Target: argument
562 self, info: Dict[str, Any] argument
575 def _add_prebuilt_target(self, info: Dict[str, Any]) -> Target: argument
608 def _get_module_info(self, module_name: str) -> Dict[str, Any]:
618 def _get_module_path(self, info: Dict[str, Any]) -> str: argument
1007 name: str, package_name: str, info: Dict[str, Any] argument
1023 name: str, package_name: str, info: Dict[str, Any], is_host_driven: bool argument
1051 name: str, package_name: str, info: Dict[str, Any], jdk_label: str argument
[all …]
Dtest_runner_handler.py22 from typing import Any, Dict, List
106 extra_args: Dict[str, Any], argument
Dtest_runner_invocation.py22 from typing import Any, Dict, List, Set
51 extra_args: Dict[str, Any], argument
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/junit4/
DCustomizableParameterizedRunner.kt71 argumentsProvider: (TestClass, List<Array<Any>>?) -> TestArguments,
90 val argumentSets: List<Any>,
141 private fun getAdditionalArguments(testClass: TestClass): List<Array<Any>>? { in getAdditionalArguments()
164 it as Array<Any> in getAdditionalArguments()
245 var allParameters: List<Any> by allParametersField
275 fun fakeArguments(): List<Any> = throw AssumptionViolatedException("fake arguments") in fakeArguments()
301 private val runnersFactoryConstructor: Constructor<out Any> = in fakeArguments()
/tools/metalava/metalava-model/src/testFixtures/java/com/android/tools/metalava/model/testing/
DBaseModelProviderRunner.kt76 open class BaseModelProviderRunner<C : FilterableCodebaseCreator, I : Any>( in <lambda>()
110 val additionalArgumentSet: List<Any> = emptyList(),
112 fun withAdditionalArgumentSet(argumentSet: List<Any>) = in withAdditionalArgumentSet()
115 fun injectModelProviderInto(testInstance: Any) { in withAdditionalArgumentSet()
198 override fun createTest(): Any { in createTest()
216 override fun methodInvoker(method: FrameworkMethod, test: Any): Statement { in methodInvoker()
243 additionalArguments: List<Array<Any>>?, in createTestArguments()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/collections/
DSparseArray.kt24 private var mValues: Array<Any?>
34 mValues = arrayOfNulls<Any>(idealSize)
159 val nvalues = arrayOfNulls<Any>(n) in put()
301 val nvalues = arrayOfNulls<Any>(n) in append()
349 private val DELETED = Any()
352 val EMPTY_OBJECTS = arrayOfNulls<Any>(0)
/tools/metalava/metalava-model-text/src/main/java/com/android/tools/metalava/model/text/
DTextFieldItem.kt31 private val constantValue: Any?,
35 override fun equals(other: Any?): Boolean { in equals()
50 override fun initialValue(requireConstant: Boolean): Any? = constantValue in hashCode()
/tools/test/connectivity/acts/framework/acts/controllers/fuchsia_lib/
Dbase_lib.py20 from typing import Any, Mapping
47 args: Mapping[str, Any], argument
49 ) -> Mapping[str, Any]:
/tools/metalava/metalava-model-turbine/src/main/java/com/android/tools/metalava/model/turbine/
DTurbineFieldItem.kt43 override fun equals(other: Any?): Boolean { in name()
92 private var initialValueWithRequiredConstant: Any?, in initialValue()
93 private var initialValueWithoutRequiredConstant: Any?, in initialValue()
/tools/test/mobly_extensions/tools/
Ddevice_flags.py21 from typing import Any
108 def _get_aconfig_flags(self) -> dict[str, Any]:
114 def _load_aconfig_flags(self) -> dict[str, Any]:
/tools/test/connectivity/acts/framework/acts/controllers/amarisoft_lib/
Damarisoft_client.py20 from typing import Any, Mapping, Optional, Tuple
79 body: str) -> Tuple[Mapping[str, Any], Mapping[str, Any]]:
Dims.py19 from typing import Any, Mapping, Optional, Union
106 def users_get(self, registered_only: bool = True) -> Mapping[str, Any]:
/tools/repohooks/tools/
Dandroid_test_mapping_format.py30 from typing import Any, Dict
80 def _validate_import(entry: Dict[str, Any], test_mapping_file: str): argument
100 def _validate_test(test: Dict[str, Any], test_mapping_file: str) -> bool: argument
/tools/treble/split/
Dxml_diff.py16 from typing import Any, Callable, Dict, Set
45 modified: Dict[str, Any] = dataclasses.field(default_factory=dict)
108 diff_fn: Callable[[Element, Element, Set[str]], Any]) -> ChangeMap: argument
/tools/metalava/metalava-model-psi/src/main/java/com/android/tools/metalava/model/psi/
DPsiFieldItem.kt59 override fun initialValue(requireConstant: Boolean): Any? { in type()
93 override fun equals(other: Any?): Boolean { in equals()
185 fun initialValue(requireConstant: Boolean): Any? { in initialValue()
/tools/asuite/atest/test_runners/
Dvts_tf_test_runner.py19 from typing import Any, Dict, List
41 def __init__(self, results_dir: str, extra_args: Dict[str, Any], **kwargs): argument
Datest_tf_test_runner.py35 from typing import Any, Dict, List, Set, Tuple
153 extra_args: Dict[str, Any], argument
206 extra_args: Dict[str, Any], argument
1310 def is_log_upload_enabled(extra_args: Dict[str, Any]) -> bool: argument
1320 arg_value: Any, argument
1355 extra_args: Dict[str, Any], mod_info: module_info.ModuleInfo = None argument
1356 ) -> Tuple[Dict[str, Any], Dict[str, Any]]:
1602 self, info: Dict[str, Any], variant: Variant, mainline_modules: Set[str] argument
1668 def __init__(self, info: Dict[str, Any], variant: Variant): argument
1696 def _get_libs_deps(info: Dict[str, Any], variant: Variant) -> Set[Target]: argument
[all …]
/tools/asuite/atest/tf_proto/
Dtest_record.proto56 // Any artifact files associated with this test.
57 map<string, google.protobuf.Any> artifacts = 9;
59 // Any metrics or measurements associated with this test.
63 google.protobuf.Any description = 11;
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java43 import com.google.protobuf.Any;
181 mInvocationRecordBuilder.setDescription(Any.pack(context.toProto())); in invocationStarted()
231 mInvocationRecordBuilder.setDescription(Any.pack(mContext.toProto())); in invocationEnded()
268 moduleBuilder.setDescription(Any.pack(moduleContext.toProto())); in testModuleStarted()
289 moduleBuilder.setDescription(Any.pack(mModuleContext.toProto())); in testModuleEnded()
558 Map<String, Any> fullmap = new HashMap<>(); in logAssociation()
560 Any any = Any.pack(createFileProto(logFile)); in logAssociation()
/tools/tradefederation/core/proto/
Dtest_record.proto56 // Any artifact files associated with this test.
57 map<string, google.protobuf.Any> artifacts = 9;
59 // Any metrics or measurements associated with this test.
63 google.protobuf.Any description = 11;

1234