Home
last modified time | relevance | path

Searched refs:types (Results 1 – 25 of 54) 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.java219 List<RetryType> types = new ArrayList<>(); in updateRunner() local
221 types.add(RetryType.FAILED); in updateRunner()
222 types.add(RetryType.NOT_EXECUTED); in updateRunner()
224 types.add(mRetryType); in updateRunner()
248 && RetryResultHelper.shouldRunModule(moduleResult, types)) { in updateRunner()
249 if (types.contains(RetryType.NOT_EXECUTED)) { in updateRunner()
263 if (!RetryResultHelper.shouldRunTest(result.getValue(), types)) { in updateRunner()
282 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()
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()
Dwriter.cc256 offset += dex_->type_ids.Init(offset, dex_ir_->types.size()); in CreateImage()
478 offset = WriteTypeList(ir_type_list->types); in CreateTypeListsSection()
557 const auto& types = dex_ir_->types; in FillTypes() local
558 for (size_t i = 0; i < types.size(); ++i) { in FillTypes()
559 const auto& ir_type = types[i]; in FillTypes()
624 dex::u4 Writer::WriteTypeList(const std::vector<ir::Type*>& types) { in WriteTypeList() argument
625 if (types.empty()) { in WriteTypeList()
631 data.Push<dex::u4>(types.size()); in WriteTypeList()
632 for (auto ir_type : types) { in WriteTypeList()
Dinstrumentation.cc50 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply()
205 const auto& orig_param_types = orig_method->prototype->param_types->types; in Apply()
348 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in ShiftParams()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DCodebase.kt188 val types = Type.getArgumentTypes(node.desc) in <lambda>() constant
189 val parameters = if (types.isNotEmpty()) { in <lambda>()
191 for (type in types) { in <lambda>()
212 val types = Type.getArgumentTypes(node.desc) in <lambda>() constant
213 val parameters = if (types.isNotEmpty()) { in <lambda>()
215 for (type in types) { in <lambda>()
DClassItem.kt661 types: LinkedHashSet<TypeItem>, in <lambda>()
671 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
682 return types in <lambda>()
685 types.add(superClassType) in <lambda>()
687 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
699 types.add(mapped) in <lambda>()
703 types.add(type) in <lambda>()
705 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
708 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
711 return 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/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()
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt428 types: Array<PsiType>, in <lambda>()
431 if (types.isEmpty()) return in <lambda>()
434 for (i in types.indices) { in <lambda>()
439 val type = types[i] in <lambda>()
/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/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.
/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/metalava/src/test/java/com/android/tools/metalava/
DApiFileTest.kt653 fun `Propagate Platform types in Kotlin`() { in Propagate Platform types in Kotlin()
1491 fun `Extract fields with types and initial values`() { in Extract fields with types and initial values()
3494 fun `v3 format for qualified references in types`() { in v3 format for qualified references in types()
DApiLintTest.kt1130 fun `Check boxed types`() { in Check boxed types()
1931 fun `Check ICU types`() { in Check ICU types()
/tools/dexter/testdata/expected/
Dhello_nodebug.stats17 types : 20
Dmin.stats17 types : 3
Dlarge.am_stats17 types : 72
Dmi.stats17 types : 9
Dhello.hello_stats17 types : 16
Dexit_hooks.stats17 types : 14
Dentry_hooks.stats17 types : 16
Dtry_catch.stats17 types : 13
Dmedium.stats17 types : 1236

123