Home
last modified time | relevance | path

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

12

/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()
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()
Dinstrumentation.cc132 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply()
165 …auto param_types = param_types_list != nullptr ? param_types_list->types : std::vector<ir::Type*>(… in InjectArrayParamsHook()
214 std::vector<ir::Type*> types; in InjectArrayParamsHook() local
216 types.push_back(ir_method->decl->parent); in InjectArrayParamsHook()
219 types.insert(types.end(), param_types.begin(), param_types.end()); in InjectArrayParamsHook()
226 for (auto type: types) { in InjectArrayParamsHook()
401 const auto& orig_param_types = orig_method->prototype->param_types->types; in Apply()
544 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in ShiftParams()
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()
/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/metalava/src/test/java/com/android/tools/metalava/
DKeepFileTest.kt86 fun `Primitive types`() { in Primitive types()
117 fun `Primitive array types`() { in Primitive array types()
DUnhideApisTest.kt183 fun `Including private interfaces from types`() { in Including private interfaces from types()
/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/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/testdata/expected/
Dlarge.am_stats17 types : 72
Dhello.stats17 types : 22
Dexit_hooks.stats17 types : 14
Dmin.stats17 types : 3
Dtry_catch.stats17 types : 13
Dhello.hello_stats17 types : 16
Dlarge.stats17 types : 7621
Dentry_hooks.stats17 types : 16
Dmedium.stats17 types : 1236
Dhello_nodebug.stats17 types : 20
Dmi.stats17 types : 9
/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/dexter/slicer/export/slicer/
Ddex_ir_builder.h62 TypeList* GetTypeList(const std::vector<Type*>& types);
/tools/carrier_settings/proto/
Dcarrier_settings.proto67 // APN types as defined in Android code PhoneConstants.java
85 // Network types that this APN applies to, separated by "|". A network type
87 // Default value "0" means all network types.

12