Home | History | Annotate | Download | only in runtime

Lines Matching refs:dex

180   // BitVector with bits set for the type indexes of all classes in the input dex file.
191 cached_descriptor_(dex_file_->StringByTypeIdx(dex::TypeIndex(*type_info->GetIterator()))),
207 // Note that the order must be reversed. We want to iterate over the classes in dex files.
219 cached_descriptor_ = dex_file_->StringByTypeIdx(dex::TypeIndex(*type_info_->GetIterator()));
249 LOG(WARNING) << "Could not create dex file from oat file: " << error;
306 // DexPathList has an array dexElements of Elements[] which each contain a dex file.
352 // Collect all the dex files.
361 // Handle for dex-cache-element.
391 // Collect all the dex files.
425 // If no shared libraries, we expect no dex files.
433 // Shared libraries is a series of dex file paths and their checksums, each separated by '*'.
437 // Sanity check size of dex files and split shared libraries. Should be 2x as many entries in
443 // Check that the loaded dex files have the same order and checksums as the shared libraries.
465 // Generate type index information for each dex file.
475 // Populate the queue of dex file and class pairs with the loaded and unloaded dex files.
525 // Check for class-def collisions in dex files.
527 // This first walks the class loader chain, getting all the dex files from the class loader. If
529 // dex files from all open non-boot oat files to be safe.
534 // The collision check works by maintaining a heap with one class from each dex file, sorted by the
535 // class descriptor. Then a dex-file/class pair is continually removed from the heap and compared
537 // the two elements agree on whether their dex file was from an already-loaded oat-file or the
548 // Try to get dex files from the given class loader. If the class loader is null, or we do
592 // Vector that holds the newly opened dex files live, this is done to prevent leaks.
596 // Add dex files from the oat file to check.
665 // We need to fallback but don't have original dex files. We have to
670 LOG(WARNING) << "Dex location " << dex_location << " does not seem to include dex file. "
673 // We have to fallback and found original dex files - extract them from an APK.
680 // TODO: We should remove this. The fact that we're here implies -Xno-dex-file-fallback
681 // was set, which means that we should never fallback. If we don't have original dex
687 LOG(WARNING) << "Found duplicate classes, dex-file-fallback disabled, will be failing to "
703 // Load the dex files from the oat file.
761 error_msgs->push_back("Failed to open dex files from " + source_oat_file->GetLocation());
765 // Fall back to running out of the original dex file if we couldn't load any
774 error_msgs->push_back("Failed to open dex files from " + std::string(dex_location)
778 error_msgs->push_back("Fallback mode disabled, skipping dex files.");
781 error_msgs->push_back("No original dex files found for dex location "