Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 67) sorted by relevance

123

/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/retry/
DRetryResultHelper.java31 public static boolean shouldRunModule(TestRunResult moduleResults, List<RetryType> types) { in shouldRunModule() argument
32 if (moduleResults.isRunFailure() && types.contains(RetryType.NOT_EXECUTED)) { in shouldRunModule()
37 for (TestStatus status : getStatusesToRun(types)) { in shouldRunModule()
46 public static boolean shouldRunTest(TestResult result, List<RetryType> types) { in shouldRunTest() argument
47 if (getStatusesToRun(types).contains(result.getStatus())) { in shouldRunTest()
53 private static Set<TestStatus> getStatusesToRun(List<RetryType> types) { in getStatusesToRun() argument
55 if (types.contains(RetryType.FAILED)) { in getStatusesToRun()
59 if (types.contains(RetryType.NOT_EXECUTED)) { in getStatusesToRun()
DRetryRescheduler.java240 List<RetryType> types = new ArrayList<>(); in updateRunner() local
242 types.add(RetryType.FAILED); in updateRunner()
243 types.add(RetryType.NOT_EXECUTED); in updateRunner()
245 types.add(mRetryType); in updateRunner()
287 && RetryResultHelper.shouldRunModule(moduleResult, types)) { in updateRunner()
288 if (types.contains(RetryType.NOT_EXECUTED)) { in updateRunner()
302 if (!RetryResultHelper.shouldRunTest(result.getValue(), types)) { in updateRunner()
321 v.getValue(), types) in updateRunner()
/tools/dexter/slicer/
Ddex_ir_builder.cc96 for (const auto& ir_type : dex_ir_->types) { in GetType()
116 TypeList* Builder::GetTypeList(const std::vector<Type*>& types) { in GetTypeList() argument
117 if (types.empty()) { in GetTypeList()
123 if (ir_type_list->types == types) { in GetTypeList()
130 ir_type_list->types = types; in GetTypeList()
139 for (auto param_type : param_types->types) { in CreateShorty()
Dinstrumentation.cc132 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply()
171 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in GenerateShiftParamsCode()
213 …auto param_types = param_types_list != nullptr ? param_types_list->types : std::vector<ir::Type*>(… in InjectArrayParamsHook()
262 std::vector<ir::Type*> types; in InjectArrayParamsHook() local
264 types.push_back(ir_method->decl->parent); in InjectArrayParamsHook()
267 types.insert(types.end(), param_types.begin(), param_types.end()); in InjectArrayParamsHook()
274 for (auto type: types) { in InjectArrayParamsHook()
465 const auto& orig_param_types = orig_method->prototype->param_types->types; in Apply()
Dwriter.cc263 offset += dex_->type_ids.Init(offset, dex_ir_->types.size()); in CreateImage()
485 offset = WriteTypeList(ir_type_list->types); in CreateTypeListsSection()
564 const auto& types = dex_ir_->types; in FillTypes() local
565 for (size_t i = 0; i < types.size(); ++i) { in FillTypes()
566 const auto& ir_type = types[i]; in FillTypes()
631 dex::u4 Writer::WriteTypeList(const std::vector<ir::Type*>& types) { in WriteTypeList() argument
632 if (types.empty()) { in WriteTypeList()
638 data.Push<dex::u4>(types.size()); in WriteTypeList()
639 for (auto ir_type : types) { in WriteTypeList()
Ddex_ir.cc103 for (const auto& type : param_types->types) { in Signature()
136 for (Type* interfaceType : irClass->interfaces->types) { in TopSortClassIndex()
204 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize()
217 const auto& aParamTypes = a->param_types ? a->param_types->types : empty; in Normalize()
218 const auto& bParamTypes = b->param_types ? b->param_types->types : empty; in Normalize()
Dreader.cc98 auto types = TypeIds(); in FindClassIndex() local
100 auto typeId = types[classes[i].class_idx]; in FindClassIndex()
839 ir_type_list->types.push_back(GetType(dex_type_list->list[i].type_idx)); in ExtractTypeList()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DClassItem.kt664 types: LinkedHashSet<TypeItem>, in <lambda>()
674 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
676 types.add(superClassType) in <lambda>()
678 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
690 types.add(mapped) in <lambda>()
694 types.add(type) in <lambda>()
696 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
699 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
702 return types in <lambda>()
DCodebase.kt191 val types = Type.getArgumentTypes(node.desc) in <lambda>() constant
192 val parameters = if (types.isNotEmpty()) { in <lambda>()
194 for (type in types) { in <lambda>()
215 val types = Type.getArgumentTypes(node.desc) in <lambda>() constant
216 val parameters = if (types.isNotEmpty()) { in <lambda>()
218 for (type in types) { in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py347 types = {}
362 types['mac_address'] = formatted_mac
363 types['flags'] = match.group('Flags').replace(' ', '')
364 types['link_key'] = match.group('Linkkey').replace(' ', '')
365 types['priority'] = int(mask[mask_idx], 16)
367 response.append(types)
/tools/metalava/
DFORMAT.md19 java.lang. prefixes on types, etc)
22 Kotlin-syntax, e.g. "?" for nullable types, "!" for unknown/platform types,
23 and no suffix for non-nullable types. The initial plan was to include this
89 The annotations to be included are annotations for annotation types that are not
180 The v1 signature files uses raw types in some places but not others. Note that
481 within types.
DREADME.md393 types in the codebase.
395 When computing the API, all types that are included in the API should be
/tools/platform-compat/java/android/processor/compat/unsupportedappusage/
DSignatureConverter.java67 String getSignature(Types types, TypeElement annotation, Element element) { in getSignature() argument
83 return verifyExpectedSignature(types, signature, element, annotation); in getSignature()
215 private String verifyExpectedSignature(Types types, String signature, Element element, in verifyExpectedSignature() argument
219 if (types.isSameType(annotation.asType(), mirror.getAnnotationType())) { in verifyExpectedSignature()
/tools/metalava/src/test/java/com/android/tools/metalava/
DApiLintTest.kt1665 fun `Check boxed types`() { in Check boxed types()
2359 fun `Check ICU types for minSdkVersion 24`() { in Check ICU types for minSdkVersion 24()
2393 fun `Do not check ICU types for minSdkVersion less than 24`() { in Do not check ICU types for minSdkVersion less than 24()
2707 fun `Check ICU types`() { in Check ICU types()
DApiFileTest.kt689 fun `Propagate Platform types in Kotlin`() { in Propagate Platform types in Kotlin()
1819 fun `Extract fields with types and initial values`() { in Extract fields with types and initial values()
3637 fun `v3 format for qualified references in types`() { in v3 format for qualified references in types()
DCompatibilityCheckTest.kt1339 fun `Incompatible method change -- return types`() { in Incompatible method change -- return types()
2333 fun `Referencing type parameters in types`() { in Referencing type parameters in types()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt425 types: Array<PsiType>, in <lambda>()
428 if (types.isEmpty()) return in <lambda>()
431 for (i in types.indices) { in <lambda>()
436 val type = types[i] in <lambda>()
/tools/tradefederation/core/test_framework/
DREADME.md9 * Related to tests (IRemoteTest types)
10 * Related to tests setup (ITargetPreparer types)
11 * Related to metrics collection during tests (IMetricCollector types)
/tools/platform-compat/java/android/processor/compat/
DSingleAnnotationProcessor.java64 protected Types types; field in SingleAnnotationProcessor
73 this.types = processingEnv.getTypeUtils(); in init()
138 if (types.isSameType(annotation.asType(), mirror.getAnnotationType())) { in getSupportedAnnotationMirror()
/tools/dexter/dexter/
Ddexter.cc204 printf(" types : %zu\n", dex_ir->types.size()); in PrintDexIrStats()
249 auto types = reader.TypeIds(); in ListClasses() local
251 auto typeId = types[classes[i].class_idx]; in ListClasses()
Dexperimental.cc93 const auto& orig_param_types = orig_method->prototype->param_types->types; in StressWrapInvoke()
154 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in StressEntryHook()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt49 fun `Test class reference types`() { in <lambda>()
126 fun `Test class reference types without Kotlin style nulls`() { in <lambda>()
502 fun `Test ellipsis types`() { in <lambda>()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/google/protobuf/
Ddescriptor.proto156 // For message and enum types, this is the name of the type. If the name
158 // rules are used to find the type (i.e. first the nested types within this
167 // For numeric types, contains the original text representation of the value.
282 // file. Thus, these types will *not* be nested inside the outer class
641 // ignore those that it doesn't understand, as more types of locations could
/tools/dexter/slicer/export/slicer/
Ddex_ir.h187 std::vector<Type*> types; member
363 std::vector<own<Type>> types; member
445 void Track(Type* p) { PushOwn(types, p); } in Track()
/tools/repohooks/tools/
Dcheckpatch.pl147 my @types = ();
150 push (@types, $_);
152 @types = sort(uniq(@types));
154 foreach my $type (@types) {

123