/external/dexmaker/src/dx/java/com/android/dx/dex/file/ |
StringDataItem.java | 65 public void addContents(DexFile file) { 71 public void writeTo0(DexFile file, AnnotatedOutput out) {
|
StringIdItem.java | 86 public void addContents(DexFile file) { 97 public void writeTo(DexFile file, AnnotatedOutput out) {
|
TypeIdItem.java | 52 public void addContents(DexFile file) { 58 public void writeTo(DexFile file, AnnotatedOutput out) {
|
DebugInfoItem.java | 64 public void addContents(DexFile file) { 98 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 114 protected void writeTo0(DexFile file, AnnotatedOutput out) { 140 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, 171 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint,
|
/art/runtime/ |
dex2oat_environment_test.h | 63 ASSERT_FALSE(DexFile::GetChecksum(GetStrippedDexSrc1().c_str(), &checksum, &error_msg)) 70 std::vector<std::unique_ptr<const DexFile>> multi1; 71 ASSERT_TRUE(DexFile::Open(GetMultiDexSrc1().c_str(), 75 std::vector<std::unique_ptr<const DexFile>> multi2; 76 ASSERT_TRUE(DexFile::Open(GetMultiDexSrc2().c_str(),
|
oat_file_manager.cc | 78 if (DexFile::GetBaseLocation(oat_dex_file->GetDexFileLocation()) == dex_base_location) { 143 DexFileAndClassPair(const DexFile* dex_file, size_t current_class_index, bool from_loaded_oat) 184 const DexFile* GetDexFile() const { 189 static const char* GetClassDescriptor(const DexFile* dex_file, size_t index) { 191 const DexFile::ClassDef& class_def = dex_file->GetClassDef(static_cast<uint16_t>(index)); 196 const DexFile* dex_file_; 207 std::vector<std::unique_ptr<const DexFile>>* opened_dex_files) { 210 std::unique_ptr<const DexFile> dex_file = oat_dex_file->OpenDexFile(&error); 230 std::function<bool(const DexFile*)> fn) 236 LOG(WARNING) << "Null DexFile::mCookie" [all...] |
class_linker.h | 129 bool InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path, 148 std::vector<std::unique_ptr<const DexFile>>* out_dex_files, 154 std::vector<std::unique_ptr<const DexFile>>* out_dex_files, 197 // Define a new a class based on a ClassDef from a DexFile 202 const DexFile& dex_file, 203 const DexFile::ClassDef& dex_class_def) 239 // Resolve a String with the given index from the DexFile, storing the 245 // Resolve a String with the given index from the DexFile, storing the 247 mirror::String* ResolveString(const DexFile& dex_file, uint32_t string_idx, 251 // Find a String with the given index from the DexFile, storing th [all...] |
art_method.cc | 63 const DexFile::MethodId& method_id = dex_file->GetMethodId(dex_method_idx); 109 const DexFile* dex_file = GetDexFile(); 110 const DexFile::MethodId& mid = dex_file->GetMethodId(GetDexMethodIndex()); 112 const DexFile::MethodId& mid2 = dex_file->GetMethodId(other->GetDexMethodIndex()); 115 const DexFile* dex_file2 = other->GetDexFile(); 116 const DexFile::MethodId& mid2 = dex_file2->GetMethodId(other->GetDexMethodIndex()); 162 uint32_t ArtMethod::FindDexMethodIndexInOtherDexFile(const DexFile& other_dexfile, 164 const DexFile* dexfile = GetDexFile(); local 166 const DexFile::MethodId& mid = dexfile->GetMethodId(dex_method_idx) [all...] |
common_runtime_test.cc | 282 std::unique_ptr<const DexFile> CommonRuntimeTestImpl::LoadExpectSingleDexFile( 284 std::vector<std::unique_ptr<const DexFile>> dex_files; 287 if (!DexFile::Open(location, location, &error_msg, &dex_files)) { 480 std::vector<std::unique_ptr<const DexFile>> CommonRuntimeTestImpl::OpenTestDexFiles( 484 std::vector<std::unique_ptr<const DexFile>> dex_files; 485 bool success = DexFile::Open(filename.c_str(), filename.c_str(), &error_msg, &dex_files); 494 std::unique_ptr<const DexFile> CommonRuntimeTestImpl::OpenTestDexFile(const char* name) { 495 std::vector<std::unique_ptr<const DexFile>> vector = OpenTestDexFiles(name); 500 std::vector<const DexFile*> CommonRuntimeTestImpl::GetDexFiles(jobject jclass_loader) { 501 std::vector<const DexFile*> ret [all...] |
/art/runtime/quick/ |
inline_method_analyser.h | 244 static bool AnalyseMethodCode(const DexFile::CodeItem* code_item, 250 static bool AnalyseReturnMethod(const DexFile::CodeItem* code_item, InlineMethod* result); 251 static bool AnalyseConstMethod(const DexFile::CodeItem* code_item, InlineMethod* result); 252 static bool AnalyseIGetMethod(const DexFile::CodeItem* code_item, 258 static bool AnalyseIPutMethod(const DexFile::CodeItem* code_item,
|
inline_method_analyser.cc | 46 static bool Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]); 65 explicit Matcher(const DexFile::CodeItem* code_item) 71 static bool DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size); 73 const DexFile::CodeItem* const code_item_; 80 bool Matcher::Match(const DexFile::CodeItem* code_item, MatchFn* const (&pattern)[size]) { 130 bool Matcher::DoMatch(const DexFile::CodeItem* code_item, MatchFn* const* pattern, size_t size) { 162 size_t CountForwardedConstructorArguments(const DexFile::CodeItem* code_item, 203 ConstructorIPutData() : field_index(DexFile::kDexNoIndex16), arg(0u) { } 226 if (iputs[old_pos].field_index == DexFile::kDexNoIndex16) { 240 while (new_pos != arraysize(iputs) && iputs[new_pos].field_index != DexFile::kDexNoIndex16) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
DebugInfoItem.java | 66 public void addContents(DexFile file) { 100 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 116 protected void writeTo0(DexFile file, AnnotatedOutput out) { 142 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, 173 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint,
|
/dalvik/dx/src/com/android/dx/dex/file/ |
DebugInfoItem.java | 63 public void addContents(DexFile file) { 97 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 113 protected void writeTo0(DexFile file, AnnotatedOutput out) { 139 private byte[] encode(DexFile file, String prefix, PrintWriter debugPrint, 170 private byte[] encode0(DexFile file, String prefix, PrintWriter debugPrint,
|
AnnotationSetItem.java | 48 * @param dexFile {@code non-null;} dex output 50 public AnnotationSetItem(Annotations annotations, DexFile dexFile) { 58 items[at] = new AnnotationItem(a, dexFile); 116 public void addContents(DexFile file) { 134 protected void writeTo0(DexFile file, AnnotatedOutput out) {
|
ParameterAnnotationStruct.java | 47 * @param dexFile {@code non-null;} dex output 50 AnnotationsList annotationsList, DexFile dexFile) { 73 AnnotationSetItem item = new AnnotationSetItem(annotations, dexFile); 101 public void addContents(DexFile file) { 110 public void writeTo(DexFile file, AnnotatedOutput out) {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/rewriter/ |
DexRewriter.java | 66 * DexFile rewrittenDexFile = rewriter.rewriteDexFile(dexFile); 106 public DexFile rewriteDexFile(@Nonnull DexFile dexFile) { 107 return new RewrittenDexFile(dexFile); 110 protected class RewrittenDexFile implements DexFile { 111 @Nonnull protected final DexFile dexFile; 113 public RewrittenDexFile(@Nonnull DexFile dexFile) [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ClassPath.java | 49 import org.jf.dexlib2.iface.DexFile; 168 public static ClassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, 170 return fromClassPath(classPathDirs, classPath, dexFile, api, api == 17, experimental); 174 public static ClassPath fromClassPath(Iterable<String> classPathDirs, Iterable<String> classPath, DexFile dexFile, 181 List<? extends DexFile> classPathDexFiles = 184 for (DexFile classPathDexFile: classPathDexFiles) { 191 for (DexFile classPathDexFile: classPathDexFiles) { 195 providers.add(new DexClassProvider(dexFile)); [all...] |
/frameworks/base/services/core/java/com/android/server/pm/ |
PackageDexOptimizer.java | 37 import dalvik.system.DexFile; 142 status = DexFile.getDexFileStatus(path, instructionSet); 166 boolean isProfileGuidedFilter = DexFile.isProfileGuidedCompilerFilter(targetCompilerFilter); 173 if (DexFile.isProfileGuidedCompilerFilter(targetCompilerFilter)) { 201 dexoptNeeded = DexFile.getDexOptNeeded(path, 216 case DexFile.NO_DEXOPT_NEEDED: 218 case DexFile.DEX2OAT_NEEDED: 222 case DexFile.PATCHOAT_NEEDED: 225 case DexFile.SELF_PATCHOAT_NEEDED: 379 return DexFile.DEX2OAT_NEEDED [all...] |
/art/compiler/ |
compiled_method.h | 187 const DexFile* target_dex_file, 195 const DexFile* target_dex_file, 203 const DexFile* target_dex_file, 211 const DexFile* target_dex_file, 219 const DexFile* target_dex_file, 227 const DexFile* target_dex_file, 237 const DexFile* target_dex_file, 276 const DexFile* TargetTypeDexFile() const { 286 const DexFile* TargetStringDexFile() const { 296 const DexFile* TargetDexCacheDexFile() const [all...] |
oat_test.cc | 61 const DexFile& dex_file) 128 const std::vector<const DexFile*>& dex_files, 133 for (const DexFile* dex_file : dex_files) { 185 std::vector<std::unique_ptr<const DexFile>> opened_dex_files; 198 std::vector<const DexFile*> dex_files; 199 for (const std::unique_ptr<const DexFile>& dex_file : opened_dex_files) { 394 const DexFile& dex_file = *java_lang_dex_file_; 403 const DexFile::ClassDef& class_def = dex_file.GetClassDef(i); 488 std::vector<const DexFile*> dex_files = GetDexFiles(class_loader); 492 for (const DexFile* dex_file : dex_files) [all...] |
/cts/tests/core/runner/src/com/android/cts/core/runner/ |
TestClassFinder.java | 32 import dalvik.system.DexFile; 59 DexFile dexFile = null; 61 dexFile = new DexFile(apkPath); 62 Enumeration<String> apkClassNames = dexFile.entries(); 70 if (dexFile != null) { 72 dexFile.close();
|
/art/compiler/dex/quick/ |
dex_file_to_method_inliner_map.cc | 40 DexFileMethodInliner* DexFileToMethodInlinerMap::GetMethodInliner(const DexFile* dex_file) {
|
/art/runtime/base/ |
file_magic.cc | 55 return DexFile::IsMagicValid(reinterpret_cast<const uint8_t*>(&magic));
|
/art/runtime/verifier/ |
method_verifier-inl.h | 29 inline const DexFile::CodeItem* MethodVerifier::CodeItem() const {
|
/dalvik/libdex/ |
DexFile.cpp | 21 #include "DexFile.h" 105 const char* dexStringAndSizeById(const DexFile* pDexFile, u4 idx, 177 static void classLookupAdd(DexFile* pDexFile, DexClassLookup* pLookup, 211 DexClassLookup* dexCreateClassLookup(DexFile* pDexFile) 266 * Set up the basic raw data pointers of a DexFile. This function isn't 269 void dexFileSetupBasicPointers(DexFile* pDexFile, const u1* data) { 287 * On success, return a newly-allocated DexFile. 289 DexFile* dexFileParse(const u1* data, size_t length, int flags) 291 DexFile* pDexFile = NULL; 301 pDexFile = (DexFile*) malloc(sizeof(DexFile)) [all...] |