Lines Matching refs:dex
105 // TODO: Update the test for hash-based dex cache arrays. Bug: 30627598
112 const DexFile& dex = *java_lang_dex_file_;
113 ObjPtr<mirror::DexCache> dex_cache = class_linker_->FindDexCache(soa.Self(), dex);
114 EXPECT_EQ(dex.NumStringIds(), dex_cache->NumStrings());
116 const mirror::String* string = dex_cache->GetResolvedString(dex::StringIndex(i));
119 EXPECT_EQ(dex.NumTypeIds(), dex_cache->NumResolvedTypes());
121 mirror::Class* type = dex_cache->GetResolvedType(dex::TypeIndex(i));
123 << " " << dex.GetTypeDescriptor(dex.GetTypeId(dex::TypeIndex(i)));
125 EXPECT_EQ(dex.NumMethodIds(), dex_cache->NumResolvedMethods());
131 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i))
132 << " " << dex.GetMethodName(dex.GetMethodId(i));
134 << " " << dex.GetMethodDeclaringClassDescriptor(dex.GetMethodId(i)) << " "
135 << dex.GetMethodName(dex.GetMethodId(i));
138 || dex.NumFieldIds() == dex_cache->NumResolvedFields());
142 << " " << dex.GetFieldDeclaringClassDescriptor(dex.GetFieldId(i))
143 << " " << dex.GetFieldName(dex.GetFieldId(i));
202 // Need to enable dex-file writability. Methods rejected to be compiled will run through the
203 // dex-to-dex compiler.
309 // Need to enable dex-file writability. Methods rejected to be compiled will run through the
310 // dex-to-dex compiler.