Home
last modified time | relevance | path

Searched refs:method_id (Results 26 – 46 of 46) sorted by relevance

12

/art/tools/jvmti-agents/ti-alloc-sample/
Dti_alloc_sample.cc295 static std::string formatMethod(jvmtiEnv* jvmti, JNIEnv* jni, jmethodID method_id) { in formatMethod() argument
296 ScopedMethodInfo smi(jvmti, jni, method_id); in formatMethod()
/art/libdexfile/dex/
Ddex_file_verifier.cc179 const dex::MethodId* method_id = in GetMethodDescription() local
183 std::string class_name = GetClass(begin, header, method_id->class_idx_); in GetMethodDescription()
184 std::string method_name = GetString(begin, header, method_id->name_idx_); in GetMethodDescription()
870 const dex::MethodId& method_id = in CheckClassDataItemMethod() local
874 dex::TypeIndex my_class_index = method_id.class_idx_; in CheckClassDataItemMethod()
885 uint32_t string_idx = method_id.name_idx_.index_; in CheckClassDataItemMethod()
1281 const dex::MethodId* method_id = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckIntraMethodIdItem() local
1282 if (!CheckIndex(method_id->class_idx_.index_, header_->type_ids_size_, "method_id.class") || in CheckIntraMethodIdItem()
1283 !CheckIndex(method_id->proto_idx_.index_, header_->proto_ids_size_, "method_id.proto") || in CheckIntraMethodIdItem()
1284 !CheckIndex(method_id->name_idx_.index_, header_->string_ids_size_, "method_id.name")) { in CheckIntraMethodIdItem()
[all …]
Ddex_file_verifier_test.cc158 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() local
159 method_id->class_idx_ = dex::TypeIndex(0xFF); in TEST_F()
168 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() local
169 method_id->proto_idx_ = dex::ProtoIndex(0xFF); in TEST_F()
178 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() local
179 method_id->name_idx_ = dex::StringIndex(0xFF); in TEST_F()
/art/test/004-JniTest/
Djni_test.cc716 jmethodID method_id = env_->GetMethodID(decl_class, method, "()V"); in TestCalls() local
719 env_->CallVoidMethod(obj, method_id); in TestCalls()
748 jmethodID method_id = env->GetMethodID(lambda_class, method, "()V"); in InvokeSpecificMethod() local
750 env->CallVoidMethod(obj, method_id); in InvokeSpecificMethod()
/art/dex2oat/
Dverifier_deps_test.cc391 const dex::MethodId& method_id = dex_dep.first->GetMethodId(entry.GetDexMethodIndex()); in HasMethod() local
393 std::string actual_klass = dex_dep.first->StringByTypeIdx(method_id.class_idx_); in HasMethod()
398 std::string actual_name = dex_dep.first->StringDataByIdx(method_id.name_idx_); in HasMethod()
403 std::string actual_signature = dex_dep.first->GetMethodSignature(method_id).ToString(); in HasMethod()
/art/runtime/interpreter/
Dinterpreter_common.h1015 const dex::MethodId& method_id = dex_file->GetMethodId(method_idx); in IsStringInit() local
1016 const char* class_name = dex_file->StringByTypeIdx(method_id.class_idx_); in IsStringInit()
1017 const char* method_name = dex_file->GetMethodName(method_id); in IsStringInit()
/art/tools/veridex/
Dflow_analysis.cc134 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetReturnType() local
135 const dex::ProtoId& proto_id = dex_file.GetMethodPrototype(method_id); in GetReturnType()
/art/compiler/dex/
Dinline_method_analyser.cc514 const dex::MethodId& method_id = ref.dex_file->GetMethodId(ref.index); in IsSyntheticAccessor() local
515 const char* method_name = ref.dex_file->GetMethodName(method_id); in IsSyntheticAccessor()
/art/runtime/
Dart_method.cc514 const auto& method_id = dex_file->GetMethodId(GetDexMethodIndex()); in EqualParameters() local
515 const auto& proto_id = dex_file->GetMethodPrototype(method_id); in EqualParameters()
Dhidden_api_test.cc72 jmethodID method_id = env->GetMethodID(klass, name, signature); in getArtMethod() local
73 ArtMethod* art_method = jni::DecodeArtMethod(method_id); in getArtMethod()
Dclass_linker.cc3974 const dex::MethodId& method_id = dex_file.GetMethodId(dex_method_idx); in LoadMethod() local
3975 const char* method_name = dex_file.StringDataByIdx(method_id.name_idx_); in LoadMethod()
3987 if (strcmp("V", dex_file.GetShorty(method_id.proto_idx_)) == 0) { in LoadMethod()
5787 const dex::MethodId& method_id = dex_file->GetMethodId(m->GetDexMethodIndex()); in ThrowSignatureCheckResolveReturnTypeException() local
5788 const dex::ProtoId& proto_id = dex_file->GetMethodPrototype(method_id); in ThrowSignatureCheckResolveReturnTypeException()
8879 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in ResolveMethod() local
8884 klass = LookupResolvedType(method_id.class_idx_, dex_cache.Get(), class_loader.Get()); in ResolveMethod()
8888 klass = ResolveType(method_id.class_idx_, dex_cache, class_loader); in ResolveMethod()
8899 klass = ResolveType(method_id.class_idx_, dex_cache, class_loader); in ResolveMethod()
8947 const char* name = dex_file.StringDataByIdx(method_id.name_idx_); in ResolveMethod()
[all …]
/art/dexdump/
Ddexdump.cc1677 const dex::MethodId& method_id = pDexFile->GetMethodId(mh.field_or_method_idx_); in dumpMethodHandle() local
1678 declaring_class = pDexFile->GetMethodDeclaringClassDescriptor(method_id); in dumpMethodHandle()
1679 member = pDexFile->GetMethodName(method_id); in dumpMethodHandle()
1680 member_type = pDexFile->GetMethodSignature(method_id).ToString(); in dumpMethodHandle()
/art/runtime/native/
Ddalvik_system_VMRuntime.cc466 const dex::MethodId& method_id = dex_file->GetMethodId(method_idx); in PreloadDexCachesResolveMethod() local
470 method_id.class_idx_, dex_cache, /* class_loader= */ nullptr); in PreloadDexCachesResolveMethod()
/art/profman/
Dprofman.cc981 const dex::MethodId* method_id = dex_file->FindMethodId( in FindMethodIndex() local
983 if (method_id == nullptr) { in FindMethodIndex()
988 return dex_file->GetIndexForMethodId(*method_id); in FindMethodIndex()
/art/libprofile/profile/
Dprofile_compilation_info.cc1139 size_t method_id = (size_t)(method_it.first); in VerifyProfileData() local
1140 if (method_id >= dex_file->NumMethodIds()) { in VerifyProfileData()
1142 << dex_location << " method_id=" << method_id << " NumMethodIds=" in VerifyProfileData()
1175 << dex_location << " method_id=" << method_id in VerifyProfileData()
/art/openjdkjvmti/
Dti_method.cc97 jmethodID method_id = art::jni::EncodeArtMethod(method); in RegisterNativeMethod() local
103 method_id, in RegisterNativeMethod()
Dti_redefine.cc2579 const art::dex::MethodId* method_id = dex_file_->FindMethodId(declaring_class_id, in UpdateMethods() local
2582 CHECK(method_id != nullptr); in UpdateMethods()
2583 uint32_t dex_method_idx = dex_file_->GetIndexForMethodId(*method_id); in UpdateMethods()
/art/runtime/dex/
Ddex_file_annotations.cc1331 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in MethodIsReachabilitySensitive() local
1332 dex::TypeIndex class_index = method_id.class_idx_; in MethodIsReachabilitySensitive()
/art/dex2oat/linker/
Dimage_writer.cc1304 const dex::MethodId& method_id = dex_file.GetMethodId(i); in PreloadDexCache() local
1305 if (method_id.class_idx_ != last_class_idx) { in PreloadDexCache()
1306 last_class_idx = method_id.class_idx_; in PreloadDexCache()
/art/compiler/optimizing/
Dnodes.cc693 const dex::MethodId& method_id = dex_file_.GetMethodId(method_idx_); in GetMethodName() local
694 return dex_file_.GetMethodName(method_id); in GetMethodName()
Dinstruction_builder.cc3443 const dex::MethodId& method_id = in LookupReferrerClass() local
3445 return LookupResolvedType(method_id.class_idx_, *dex_compilation_unit_); in LookupReferrerClass()

12