/aosp12/art/dexlayout/ |
H A D | dex_ir.h | 57 class MethodId; variable 554 IndexedCollectionVector<MethodId> method_ids_; 697 class MethodId : public IndexedItem { 701 ~MethodId() override { } in ~MethodId() 716 DISALLOW_COPY_AND_ASSIGN(MethodId); 757 const MethodId* method_id_; 823 MethodId* method_val_; 1015 std::vector<MethodId*> method_ids, in CodeFixups() 1030 std::vector<MethodId*> method_ids_; 1183 MethodId* method_id_; [all …]
|
H A D | dex_ir_builder.cc | 186 std::vector<MethodId*>* method_ids, 192 std::vector<MethodId*>* method_ids, 210 MethodId* method_id, 469 const dex::MethodId& disk_method_id = dex_file.GetMethodId(i); in CreateMethodId() 756 MethodId* method_id = header_->MethodIds()[methods[i].method_idx_]; in CreateAnnotationsDirectoryItem() 772 MethodId* method_id = header_->MethodIds()[parameters[i].method_idx_]; in CreateAnnotationsDirectoryItem() 927 std::vector<MethodId*> method_ids; in DedupeOrCreateCodeItem() 1011 std::vector<MethodId*>* method_ids, in GetIdsFromByteCode() 1031 std::vector<MethodId*>* method_ids, in GetIdFromInstruction() 1227 MethodId* method_id = header_->MethodIds()[method.GetIndex()]; in GenerateMethodItem() [all …]
|
H A D | dex_verify.h | 41 bool VerifyId(dex_ir::MethodId* orig, dex_ir::MethodId* output, std::string* error_msg);
|
H A D | dexlayout.cc | 424 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString() 457 dex_ir::MethodId* method_id = header->MethodIds()[index]; in IndexString() 551 dex_ir::MethodId* method_id = data->GetMethodId(); in DumpEncodedValue() 741 const dex_ir::MethodId* method_id = method->GetMethodId(); in DumpClassAnnotations() 752 const dex_ir::MethodId* method_id = parameter->GetMethodId(); in DumpClassAnnotations() 1028 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpBytecodes() 1170 dex_ir::MethodId* method_id = header_->MethodIds()[idx]; in DumpMethod() 1647 const dex_ir::MethodId* method_id = method.GetMethodId(); in LayoutStringData() 1678 for (dex_ir::MethodId* id : fixups->MethodIds()) { in LayoutStringData() 1754 const dex_ir::MethodId *method_id = method.GetMethodId(); in LayoutCodeItems()
|
H A D | dex_visualize.cc | 163 void DumpMethodId(const dex_ir::MethodId* method_id, int class_index) { in DumpMethodId() 199 for (dex_ir::MethodId* method_id : fixups->MethodIds()) { in DumpMethodItem()
|
/aosp12/art/libdexfile/dex/ |
H A D | method_reference.h | 34 const dex::MethodId& GetMethodId() const { in GetMethodId() 53 const dex::MethodId& mid1 = mr1.GetMethodId(); in SlowCompare() 54 const dex::MethodId& mid2 = mr2.GetMethodId(); in SlowCompare()
|
H A D | dex_file.h | 368 const dex::MethodId& GetMethodId(uint32_t idx) const { in GetMethodId() 373 uint32_t GetIndexForMethodId(const dex::MethodId& method_id) const { in GetIndexForMethodId() 380 const dex::MethodId* FindMethodId(const dex::TypeId& declaring_klass, 384 const dex::MethodId* FindMethodIdByIndex(dex::TypeIndex declaring_klass, 389 const char* GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) const; 392 const dex::ProtoId& GetMethodPrototype(const dex::MethodId& method_id) const { in GetMethodPrototype() 397 const Signature GetMethodSignature(const dex::MethodId& method_id) const; 403 const char* GetMethodName(const dex::MethodId& method_id) const; 412 const char* GetMethodShorty(const dex::MethodId& method_id) const; 413 const char* GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) const; [all …]
|
H A D | dex_file-inl.h | 110 inline const char* DexFile::GetMethodDeclaringClassDescriptor(const dex::MethodId& method_id) in GetMethodDeclaringClassDescriptor() 116 inline const Signature DexFile::GetMethodSignature(const dex::MethodId& method_id) const { in GetMethodSignature() 124 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id) const { in GetMethodName() 128 inline const char* DexFile::GetMethodName(const dex::MethodId& method_id, uint32_t* utf_length) in GetMethodName() 145 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id) const { in GetMethodShorty() 149 inline const char* DexFile::GetMethodShorty(const dex::MethodId& method_id, uint32_t* length) in GetMethodShorty()
|
H A D | art_dex_file_loader_test.cc | 137 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() 211 const dex::MethodId& method_id = raw->GetMethodId(cur_method->GetIndex()); in TEST_F() 274 const dex::MethodId& to_find = java_lang_dex_file_->GetMethodId(i); in TEST_F() 278 const dex::MethodId* found = java_lang_dex_file_->FindMethodId(klass, name, signature); in TEST_F()
|
H A D | dex_file.cc | 52 using dex::MethodId; 116 method_ids_(reinterpret_cast<const MethodId*>(base + header_->method_ids_off_)), in DexFile() 282 const MethodId* DexFile::FindMethodId(const TypeId& declaring_klass, in FindMethodId() 292 const MethodId* DexFile::FindMethodIdByIndex(dex::TypeIndex class_idx, in FindMethodIdByIndex() 300 const MethodId& method = GetMethodId(mid); in FindMethodIdByIndex() 546 const MethodId& method_id = GetMethodId(method_idx); in AppendPrettyMethod()
|
H A D | dex_file_structs.h | 89 struct MethodId { struct 95 DISALLOW_COPY_AND_ASSIGN(MethodId); argument
|
H A D | dex_file_verifier.cc | 179 const dex::MethodId* method_id = in GetMethodDescription() 180 reinterpret_cast<const dex::MethodId*>(begin + header->method_ids_off_) + idx; in GetMethodDescription() 870 const dex::MethodId& method_id = in CheckClassDataItemMethod() 1277 if (!CheckListSize(ptr_, 1, sizeof(dex::MethodId), "method_ids")) { in CheckIntraMethodIdItem() 1281 const dex::MethodId* method_id = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckIntraMethodIdItem() 1288 ptr_ += sizeof(dex::MethodId); in CheckIntraMethodIdItem() 2658 const dex::MethodId* item = reinterpret_cast<const dex::MethodId*>(ptr_); in CheckInterMethodIdItem() 2682 const dex::MethodId* prev_item = reinterpret_cast<const dex::MethodId*>(previous_item_); in CheckInterMethodIdItem() 2699 ptr_ += sizeof(dex::MethodId); in CheckInterMethodIdItem() 3012 const dex::MethodId& method = dex_file_->GetMethodId(it->GetIndex()); in CheckInterClassDataItem() [all …]
|
H A D | dex_file_verifier_test.cc | 152 TEST_F(DexFileVerifierTest, MethodId) { in TEST_F() argument 158 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() 168 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F() 178 dex::MethodId* method_id = const_cast<dex::MethodId*>(&dex_file->GetMethodId(0)); in TEST_F()
|
/aosp12/art/tools/veridex/ |
H A D | resolver.cc | 50 const dex::MethodId& method_id, in HasSameNameAndSignature() 58 const dex::MethodId& method_id, in HasSameNameAndSignature() 143 const dex::MethodId& other_method_id = other_dex_file.GetMethodId(method.GetIndex()); in LookupMethodIn() 262 const dex::MethodId& method_id = dex_file_.GetMethodId(method_index); in GetMethod()
|
H A D | hidden_api.cc | 75 const dex::MethodId& method_id = dex_file.GetMethodId(method_index); in GetApiMethodName()
|
/aosp12/art/compiler/driver/ |
H A D | dex_compilation_unit.h | 74 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty() 79 const dex::MethodId& method_id = dex_file_->GetMethodId(dex_method_idx_); in GetShorty()
|
/aosp12/art/test/980-redefine-object/ |
H A D | redef_object.cc | 65 mi.AddTransformation<slicer::EntryHook>(ir::MethodId("Lart/test/TestWatcher;", in RedefineObjectHook() 68 if (!mi.InstrumentMethod(ir::MethodId("Ljava/lang/Object;", in RedefineObjectHook()
|
/aosp12/art/test/163-app-image-methods/ |
H A D | info.txt | 2 when the class from the corresponding MethodId is not in the app image, only the
|
/aosp12/art/test/164-resolution-trampoline-dex-cache/ |
H A D | info.txt | 2 ArtMethod to a DexCache for a MethodId referencing a class missing from the
|
/aosp12/art/runtime/ |
H A D | art_method.cc | 194 const dex::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); in HasSameNameAndSignature() 196 const dex::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 200 const dex::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); in HasSameNameAndSignature() 247 const dex::MethodId& mid = dexfile->GetMethodId(dex_method_idx); in FindDexMethodIndexInOtherDexFile() 248 const dex::MethodId& name_and_sig_mid = other_dexfile.GetMethodId(name_and_signature_idx); in FindDexMethodIndexInOtherDexFile() 257 const dex::MethodId* other_mid = other_dexfile.FindMethodId( in FindDexMethodIndexInOtherDexFile()
|
H A D | class_linker-inl.h | 280 const dex::MethodId& method_id = dex_cache->GetDexFile()->GetMethodId(method_idx); in CheckInvokeClassMismatch() 294 const dex::MethodId& method_id = dex_file.GetMethodId(method_idx); in LookupResolvedMethod() 323 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in GetResolvedMethod() 381 const dex::MethodId& method_id = referrer->GetDexFile()->GetMethodId(method_idx); in ResolveMethod()
|
H A D | imtable-inl.h | 49 const dex::MethodId& method_id = dex_file->GetMethodId(method->GetDexMethodIndex()); in GetImtHashComponents()
|
/aosp12/art/runtime/mirror/ |
H A D | dex_cache_test.cc | 149 const dex::MethodId& method1_id = dex_file.GetMethodId(method1->GetDexMethodIndex()); in TEST_F() 150 const dex::MethodId& method2_id = dex_file.GetMethodId(method2->GetDexMethodIndex()); in TEST_F()
|
/aosp12/art/test/601-method-access/smali/ |
H A D | SubClassUsingInaccessibleMethod.smali | 27 # using this very class as the declaring class in the MethodId, bug: 28771056.
|
/aosp12/art/dex2oat/driver/ |
H A D | compiler_driver-inl.h | 60 const dex::MethodId& referrer_method_id = in ResolveCompilingMethodsClass()
|