Home
last modified time | relevance | path

Searched refs:dex_bytes (Results 1 – 25 of 100) sorted by relevance

1234

/art/libdexfile/dex/
Ddex_file_loader_test.cc202 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) { in DecodeDexFile() argument
205 *dex_bytes = DecodeBase64Vec(base64); in DecodeDexFile()
206 CHECK_NE(dex_bytes->size(), 0u); in DecodeDexFile()
211 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64() argument
215 DecodeDexFile(base64, dex_bytes); in OpenDexFilesBase64()
221 bool success = dex_file_loader.OpenAll(dex_bytes->data(), in OpenDexFilesBase64()
222 dex_bytes->size(), in OpenDexFilesBase64()
234 std::vector<uint8_t>* dex_bytes) { in OpenDexFileBase64() argument
239 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_code, in OpenDexFileBase64()
250 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64() argument
[all …]
Ddex_file_verifier_test.cc61 DexFile* GetDexFile(const uint8_t* dex_bytes, size_t length) { in GetDexFile() argument
62 return new StandardDexFile(dex_bytes, length, "tmp", 0, nullptr, nullptr); in GetDexFile()
70 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(dex_file_base64_content, &length)); in VerifyModification() local
71 CHECK(dex_bytes != nullptr); in VerifyModification()
73 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in VerifyModification()
102 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(base64, &length)); in OpenDexFileBase64() local
103 CHECK(dex_bytes.get() != nullptr); in OpenDexFileBase64()
109 bool success = dex_file_loader.OpenAll(dex_bytes.get(), in OpenDexFileBase64()
1615 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(kGoodTestDex, &length)); in TEST_F() local
1616 CHECK(dex_bytes != nullptr); in TEST_F()
[all …]
/art/test/1963-add-to-dex-classloader-in-memory/src/art/
DTest1963.java231 public static void addToClassLoader(ClassLoader cl, byte[] class_bytes, byte[] dex_bytes) { in addToClassLoader() argument
233 addToClassLoaderNative(cl, ByteBuffer.allocateDirect(dex_bytes.length).put(dex_bytes)); in addToClassLoader()
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/921-hello-failure/src/
DMain.java74 byte[] dex_bytes) { in addCommonTransformationResult() argument
75 Redefinition.addCommonTransformationResult(target_name, class_bytes, dex_bytes); in addCommonTransformationResult()
/art/openjdkjvmti/
Dti_search.h53 const char* dex_bytes,
Dti_search.cc260 const char* dex_bytes, in AddToDexClassLoaderInMemory() argument
268 } else if (dex_bytes == nullptr) { in AddToDexClassLoaderInMemory()
297 if (!file.WriteFully(dex_bytes, dex_bytes_length) || file.Flush() != 0) { in AddToDexClassLoaderInMemory()
/art/test/981-dedup-original-dex/src-art/art/
DRedefinition.java90 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/998-redefine-use-after-free/src-ex/art/
DRedefinition.java90 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/1948-obsolete-const-method-handle/util-src/src/art/
DRedefinition.java90 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/ti-agent/
Dredefinition_helper.cc278 std::vector<unsigned char> dex_bytes; member
281 : class_bytes(class_size), dex_bytes(dex_size) {} in CommonTransformationResult()
312 reinterpret_cast<jbyte*>(trans.dex_bytes.data())); in Java_art_Redefinition_addCommonTransformationResult()
338 const std::vector<unsigned char>& desired_array = IsJVM() ? res.class_bytes : res.dex_bytes; in CommonClassFileLoadHookRetransformable()
/art/test/1997-structural-shadow-method/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/1950-unprepared-transform/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/996-breakpoint-obsolete/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/902-hello-transformation/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/916-obsolete-jit/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/2036-structural-subclass-shadow/src-art/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/950-redefine-intrinsic/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/2039-load-transform-larger/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/949-in-memory-transform/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/914-hello-obsolescence/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/2035-structural-native-method/src-art/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/940-recursive-obsolete/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/919-obsolete-fields/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument
/art/test/917-fields-transformation/src/art/
DRedefinition.java97 byte[] dex_bytes); in addCommonTransformationResult() argument

1234