Searched refs:dex (Results 26 - 50 of 220) sorted by relevance

123456789

/art/tools/veridex/
H A DAndroid.mk19 system_stub_dex := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/core_dex_intermediates/classes.dex
22 $(transform-classes-d8.jar-to-dex)
25 oahl_stub_dex := $(TARGET_OUT_COMMON_INTERMEDIATES)/PACKAGING/oahl_dex_intermediates/classes.dex
28 $(transform-classes-d8.jar-to-dex)
H A Dappcompat.sh47 --core-stubs=${PACKAGING}/core_dex_intermediates/classes.dex:${PACKAGING}/oahl_dex_intermediates/classes.dex \
/art/test/089-many-methods/
H A Dbuild21 # to exceed the dex format's limits.
50 ${DX} -JXmx1024m --dex --no-optimize classes
/art/test/677-fsi/
H A Drun19 exec ${RUN} $@ -Xcompiler-option --copy-dex-files=always --runtime-option -Xonly-use-system-oat-files --runtime-option -Xuse-stderr-logger
/art/test/952-invoke-custom/
H A Dbuild49 ${DEXER} -JXmx256m --dex ${DX_FLAGS} --dump-to=${CLASSES}.lst --output=classes.dex ${CLASSES}
52 zip ${TEST_NAME:-classes-dex}.jar classes.dex
/art/test/etc/
H A Ddefault-build301 # Make a "dex" file given a directory of classes in $1.
324 # Make dex file from desugared JAR.
325 ${dexer} -JXmx256m ${DX_VM_FLAGS} --debug --dex --dump-to=${name}.lst --output=${name}.dex --dump-width=1000 ${DX_FLAGS} "${dx_input}"
328 # Merge all the dex files in $1..$N into $1. Skip non-existing files, but at least 1 file must exist.
351 args+=("--dex=$1")
374 if [ -e classes.dex ]; then
375 zip $TEST_NAME.jar classes.dex
395 ${JACK} --import classes-ex.jill.jar --output-dex .
396 zip ${TEST_NAME}-ex.jar classes.dex
[all...]
/art/runtime/
H A Ddex_reference_collection.h29 // Collection of dex references that is more memory efficient than a vector of <dex, index> pairs.
30 // Also allows quick lookups of all of the references for a single dex.
48 void AddReference(const DexFile* dex, IndexType index) { argument
49 GetOrInsertVector(dex)->push_back(index);
70 ALWAYS_INLINE IndexVector* GetOrInsertVector(const DexFile* dex) { argument
71 // Optimize for adding to same vector in succession, the cached dex file and vector aims to
73 if (UNLIKELY(current_dex_file_ != dex)) {
76 current_vector_ = &map_.emplace(dex, IndexVector(vector_allocator_)).first->second;
77 current_dex_file_ = dex;
[all...]
/art/tools/hiddenapi/
H A Dhiddenapi_test.cc21 #include "dex/art_dex_file_loader.h"
22 #include "dex/dex_file-inl.h"
55 std::unique_ptr<ZipEntry> jar_classes_dex(jar->Find("classes.dex", &error));
57 LOG(FATAL) << "Could not find classes.dex in test file " << GetTestDexFileName("HiddenApi")
61 LOG(FATAL) << "Could not extract classes.dex from test file "
69 argv_str.push_back("--dex=" + out_dex->GetFilename());
97 LOG(FATAL) << "Expected a standard dex file '" << file.GetFilename() << "'";
224 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
228 auto dex_file = RunHiddenApi(light_greylist, dark_greylist, blacklist, {}, &dex);
233 ScratchFile dex, light_greylis local
242 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
251 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
260 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
269 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
278 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
287 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
296 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
305 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
314 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
323 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
332 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
341 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
350 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
359 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
368 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
377 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
386 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
395 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
404 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
413 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
422 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
431 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
440 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
449 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
458 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
467 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
476 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
485 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
494 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
503 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
512 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
521 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
530 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
539 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
548 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
557 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
566 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
575 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
584 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
593 ScratchFile dex, light_greylist, dark_greylist, blacklist; local
[all...]
/art/runtime/verifier/
H A Dverifier_deps.h26 #include "dex/dex_file_types.h"
65 // same set of dex files.
70 dex::TypeIndex type_idx,
77 dex::TypeIndex type_idx,
110 // `dex_files` provides the order of the dex files in which the dependencies
120 const std::set<dex::TypeIndex>& GetUnverifiedClasses(const DexFile& dex_file) const {
131 using ClassResolutionBase = std::tuple<dex::TypeIndex, uint16_t>;
135 ClassResolution(dex::TypeIndex type_idx, uint16_t access_flags)
139 dex::TypeIndex GetDexTypeIndex() const { return std::get<0>(*this); }
143 using FieldResolutionBase = std::tuple<uint32_t, uint16_t, dex
[all...]
H A Dmethod_verifier_test.cc27 #include "dex/dex_file-inl.h"
56 void VerifyDexFile(const DexFile& dex)
59 for (size_t i = 0; i < dex.NumClassDefs(); i++) {
60 const DexFile::ClassDef& class_def = dex.GetClassDef(i);
61 const char* descriptor = dex.GetClassDescriptor(class_def);
/art/libdexfile/dex/
H A Dstring_reference.h24 #include "dex/dex_file-inl.h"
25 #include "dex/dex_file_reference.h"
26 #include "dex/dex_file_types.h"
27 #include "dex/utf-inl.h"
34 StringReference(const DexFile* file, dex::StringIndex index)
37 dex::StringIndex StringIndex() const {
38 return dex::StringIndex(index);
50 // by different dex files, so we need some (any) total ordering of strings, rather
51 // than references. However, the references should usually be from the same dex file,
52 // so we choose the dex fil
[all...]
H A Dtype_reference.h24 #include "dex/dex_file_types.h"
25 #include "dex/string_reference.h"
34 TypeReference(const DexFile* file, dex::TypeIndex index)
37 dex::TypeIndex TypeIndex() const {
38 return dex::TypeIndex(index);
46 // referenced by different dex files, so we simply compare the descriptors.
H A Dstring_reference_test.cc21 #include "dex/dex_file_types.h"
22 #include "dex/test_dex_file_builder.h"
29 // dex file to get the string data from a StringId. We construct two dex files with
30 // just a single string with the same length but different value. This creates dex
32 // dex file, when used in the other dex file still points to valid string data, except
38 ASSERT_STREQ("String1", dex_file1->GetStringData(dex_file1->GetStringId(dex::StringIndex(0))));
39 StringReference sr1(dex_file1.get(), dex::StringIndex(0));
45 ASSERT_STREQ("String2", dex_file2->GetStringData(dex_file2->GetStringId(dex
[all...]
H A Ddex_file_exception_helpers.h36 dex::TypeIndex GetHandlerTypeIndex() const {
57 dex::TypeIndex type_idx_; // type index of the caught exception type
60 const uint8_t* current_data_; // the current handler in dex file.
H A Ddex_cache_resolved_classes.h24 #include "dex/dex_file_types.h"
28 // Data structure for passing around which classes belonging to a dex cache / dex file are resolved.
49 bool AddClass(dex::TypeIndex index) const {
70 const std::unordered_set<dex::TypeIndex>& GetClasses() const {
84 mutable std::unordered_set<dex::TypeIndex> classes_;
H A Ddex_file_types.h24 namespace dex { namespace in namespace:art
98 } // namespace dex
103 template<> struct hash<art::dex::StringIndex> {
104 size_t operator()(const art::dex::StringIndex& index) const {
109 template<> struct hash<art::dex::TypeIndex> {
110 size_t operator()(const art::dex::TypeIndex& index) const {
H A Ddex_file_verifier.h81 dex::TypeIndex class_type_index,
86 dex::TypeIndex class_type_index,
95 dex::TypeIndex* class_type_index,
110 dex::TypeIndex* class_type_index,
118 dex::TypeIndex* class_type_index,
136 dex::TypeIndex FindFirstClassDataDefiner(const uint8_t* ptr, bool* success);
137 dex::TypeIndex FindFirstAnnotationsDirectoryDefiner(const uint8_t* ptr, bool* success);
157 const char* CheckLoadStringByIdx(dex::StringIndex idx, const char* error_fmt);
158 const char* CheckLoadStringByTypeIdx(dex::TypeIndex type_idx, const char* error_fmt);
177 dex
[all...]
H A Dcode_item_accessors_test.cc45 std::unique_ptr<const DexFile> dex(dex_file_loader.Open(data->data(),
53 CHECK(dex != nullptr) << error_msg;
54 return dex;
73 auto verify_code_item = [&](const DexFile* dex,
76 CodeItemInstructionAccessor insns_accessor(*dex, item);
81 CodeItemDataAccessor data_accessor(*dex, item);
H A Ddex_file_tracking_registrar.h26 namespace dex { namespace in namespace:art
78 } // namespace dex
/art/test/983-source-transform-verify/
H A Dsource_transform_slicer.cc31 dex::Reader reader(class_data, class_data_len);
/art/test/156-register-dex-file-multi-loader/src/
H A DMain.java48 Object dex = dexFileField.get(element);
49 Method method = dex.getClass().getDeclaredMethod(
52 if (dex != null) {
53 Class<?> clazz = (Class<?>)method.invoke(dex, className, this, null);
80 unexpected = !message.startsWith("Attempt to register dex file ") ||
/art/build/
H A DAndroid.common_test.mk111 # Create a build rule to create the dex file for a test.
112 # $(1): module prefix, e.g. art-test-dex
120 # then a multi-dex file is created passing main.list as the --main-dex-list
122 define build-art-test-dex
135 LOCAL_DX_FLAGS := --multi-dex --main-dex-list=$(LOCAL_PATH)/$(2)/main.list --minimal-main-dex
150 LOCAL_DX_FLAGS := --multi-dex --main-dex
[all...]
/art/test/497-inlining-and-class-loader/src/
H A DMain.java64 Object dex = dexFileField.get(element);
65 Method method = dex.getClass().getDeclaredMethod(
68 if (dex != null) {
69 Class<?> clazz = (Class<?>)method.invoke(dex, className, this, null);
107 // Be evil and clear all dex cache entries.
121 // Because we cleared dex cache entries, we will have to find
/art/test/542-unresolved-access-check/src/
H A DMain.java56 Object dex = dexFileField.get(element);
57 Method method = dex.getClass().getDeclaredMethod(
60 if (dex != null) {
61 Class<?> clazz = (Class<?>)method.invoke(dex, className, this, null);
/art/test/dexdump/
H A Drun-all-tests52 for i in *.dex; do
54 basenm=`basename "${i}" .dex`

Completed in 1065 milliseconds

123456789