Home
last modified time | relevance | path

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

123

/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.cc141 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in Apply()
185 const auto& orig_param_types = ir_method->decl->prototype->param_types->types; in GenerateShiftParamsCode()
227 …auto param_types = param_types_list != nullptr ? param_types_list->types : std::vector<ir::Type*>(… in InjectArrayParamsHook()
273 std::vector<ir::Type*> types; in InjectArrayParamsHook() local
274 types.push_back(builder.GetType("Ljava/lang/String;")); // method signature string in InjectArrayParamsHook()
276 types.push_back(ir_method->decl->parent); // "this" object in InjectArrayParamsHook()
279 types.insert(types.end(), param_types.begin(), param_types.end()); // parameters in InjectArrayParamsHook()
286 for (auto type: types) { in InjectArrayParamsHook()
552 const auto& orig_param_types = orig_method->prototype->param_types->types; in Apply()
Ddex_ir.cc102 for (const auto& type : param_types->types) { in Signature()
135 for (Type* interfaceType : irClass->interfaces->types) { in TopSortClassIndex()
203 IndexItems(types, [](const own<Type>& a, const own<Type>& b) { in Normalize()
216 const auto& aParamTypes = a->param_types ? a->param_types->types : empty; in Normalize()
217 const auto& bParamTypes = b->param_types ? b->param_types->types : empty; in Normalize()
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/metalava/src/main/java/com/android/tools/metalava/model/
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>()
DClassItem.kt698 types: LinkedHashSet<TypeItem>, in <lambda>()
708 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
710 types.add(superClassType) in <lambda>()
712 … superClass.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
724 types.add(mapped) in <lambda>()
728 types.add(type) in <lambda>()
730 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
733 cls.filteredInterfaceTypes(predicate, types, true, includeParents, target) in <lambda>()
736 return types in <lambda>()
/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/security/remote_provisioning/attestation_testing/java/com/google/attestationexample/
DAuthorizationList.java319 List<String> types = Lists.newArrayList(); in userAuthTypeToString() local
321 types.add("Fingerprint"); in userAuthTypeToString()
323 types.add("Password"); in userAuthTypeToString()
324 return joinStrings(types); in userAuthTypeToString()
/tools/metalava/src/test/java/com/android/tools/metalava/
DKeepFileTest.kt88 fun `Primitive types`() { in Primitive types()
119 fun `Primitive array types`() { in Primitive array types()
DApiLintTest.kt1761 fun `Check boxed types`() { in Check boxed types()
2416 fun `Check ICU types for minSdkVersion 24`() { in Check ICU types for minSdkVersion 24()
2449 fun `Do not check ICU types for minSdkVersion less than 24`() { in Do not check ICU types for minSdkVersion less than 24()
2748 fun `Check ICU types`() { in Check ICU types()
DApiFileTest.kt693 fun `Propagate Platform types in Kotlin`() { in Propagate Platform types in Kotlin()
1717 fun `Extract fields with types and initial values`() { in Extract fields with types and initial values()
3359 fun `v3 format for qualified references in types`() { in v3 format for qualified references in types()
/tools/dexter/dexter/
Ddexter.cc206 printf(" types : %zu\n", dex_ir->types.size()); in PrintDexIrStats()
251 auto types = reader.TypeIds(); in ListClasses() local
253 auto typeId = types[classes[i].class_idx]; in ListClasses()
/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/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/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
480 within types.
/tools/carrier_settings/proto/
Dcarrier_settings.proto67 // APN types as defined in Android code PhoneConstants.java
86 // Network types that this APN applies to, separated by "|". A network type
88 // Default value "0" means all network types.
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt52 fun `Test class reference types`() { in <lambda>()
129 fun `Test class reference types without Kotlin style nulls`() { in <lambda>()
505 fun `Test ellipsis types`() { in <lambda>()
/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/dexter/testdata/expected/
Dlarge.stats17 types : 7621
Dentry_hooks.stats17 types : 16
Dinvoke-polymorphic.stats17 types : 17
Dexit_hooks.stats17 types : 14
Dhello.stats17 types : 22
Dtry_catch.stats17 types : 13

123