Lines Matching refs:dex
29 #include "dex/dex_file.h"
30 #include "dex/dex_file_types.h"
107 // TODO: Update the test for hash-based dex cache arrays. Bug: 30627598
114 const DexFile& dex = *java_lang_dex_file_;
115 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(soa.Self(), dex);
116 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings());
118 const mirror::String* string = dex_cache->GetResolvedString(dex::StringIndex(i));
121 EXPECT_EQ(dex.NumTypeIds(), dex_cache->NumResolvedTypes());
123 mirror::Class* type = dex_cache->GetResolvedType(dex::TypeIndex(i));
125 << " " << dex.GetTypeDescriptor(dex.GetTypeId(dex::TypeIndex(i)));
128 || dex.NumMethodIds() == dex_cache->NumResolvedMethods());
135 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i))
136 << " " << dex.GetMethodName(dex.GetMethodId(i));
138 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) << " "
139 << dex.GetMethodName(dex.GetMethodId(i));
142 || dex.NumFieldIds() == dex_cache->NumResolvedFields());
147 << " " << dex.GetFieldDeclaringClassDescriptor(dex.GetFieldId(i))
148 << " " << dex.GetFieldName(dex.GetFieldId(i));
207 // Need to enable dex-file writability. Methods rejected to be compiled will run through the
208 // dex-to-dex compiler.
316 // Need to enable dex-file writability. Methods rejected to be compiled will run through the
317 // dex-to-dex compiler.