/art/libdexfile/dex/ |
D | dex_file_loader_test.cc | 350 static void DecodeDexFile(const char* base64, std::vector<uint8_t>* dex_bytes) { in DecodeDexFile() argument 353 *dex_bytes = DecodeBase64Vec(base64); in DecodeDexFile() 354 CHECK_NE(dex_bytes->size(), 0u); in DecodeDexFile() 359 std::vector<uint8_t>* dex_bytes, in OpenDexFilesBase64() argument 363 DecodeDexFile(base64, dex_bytes); in OpenDexFilesBase64() 368 DexFileLoader dex_file_loader(dex_bytes->data(), dex_bytes->size(), location); in OpenDexFilesBase64() 376 std::vector<uint8_t>* dex_bytes, in OpenDexFileBase64() argument 382 bool success = OpenDexFilesBase64(base64, location, dex_bytes, &dex_files, &error_code, in OpenDexFileBase64() 393 std::vector<uint8_t>* dex_bytes) { in OpenDexFileInMemoryBase64() argument 394 DecodeDexFile(base64, dex_bytes); in OpenDexFileInMemoryBase64() [all …]
|
D | dex_file_verifier_test.cc | 61 DexFile* GetDexFile(const uint8_t* dex_bytes, size_t length) { in GetDexFile() argument 62 auto container = std::make_shared<MemoryDexFileContainer>(dex_bytes, length); in GetDexFile() 63 return new StandardDexFile(dex_bytes, "tmp", 0, nullptr, std::move(container)); in GetDexFile() 71 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(dex_file_base64_content, &length)); in VerifyModification() local 72 CHECK(dex_bytes != nullptr); in VerifyModification() 74 std::unique_ptr<DexFile> dex_file(GetDexFile(dex_bytes.get(), length)); in VerifyModification() 98 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(base64, &length)); in OpenDexFileBase64() local 99 CHECK(dex_bytes.get() != nullptr); in OpenDexFileBase64() 103 DexFileLoader dex_file_loader(dex_bytes.get(), length, location); in OpenDexFileBase64() 1608 std::unique_ptr<uint8_t[]> dex_bytes(DecodeBase64(kGoodTestDex, &length)); in TEST_F() local [all …]
|
/art/test/1963-add-to-dex-classloader-in-memory/src/art/ |
D | Test1963.java | 231 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()
|
/art/test/921-hello-failure/src/ |
D | Main.java | 74 byte[] dex_bytes) { in addCommonTransformationResult() argument 75 Redefinition.addCommonTransformationResult(target_name, class_bytes, dex_bytes); in addCommonTransformationResult()
|
/art/openjdkjvmti/ |
D | ti_search.h | 53 const char* dex_bytes,
|
D | ti_search.cc | 254 const char* dex_bytes, in AddToDexClassLoaderInMemory() argument 262 } else if (dex_bytes == nullptr) { in AddToDexClassLoaderInMemory() 291 if (!file.WriteFully(dex_bytes, dex_bytes_length) || file.Flush() != 0) { in AddToDexClassLoaderInMemory()
|
/art/test/998-redefine-use-after-free/src-ex/art/ |
D | Redefinition.java | 86 String target_name, byte[] class_bytes, byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/981-dedup-original-dex/src-art/art/ |
D | Redefinition.java | 90 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/ |
D | Redefinition.java | 90 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/983-source-transform-verify/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/2002-virtual-structural-initializing/src-art/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1950-unprepared-transform/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1956-pop-frame-jit-calling/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/2004-double-virtual-structural-abstract/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/939-hello-transformation-bcp/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/2003-double-virtual-structural/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1984-structural-redefine-field-trace/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1981-structural-redef-private-method-handles/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/940-recursive-obsolete/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/941-recursive-obsolete-jit/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1976-hello-structural-static-methods/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/947-reflect-method/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1999-virtual-structural/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/1949-short-dex-file/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|
/art/test/949-in-memory-transform/src/art/ |
D | Redefinition.java | 97 byte[] dex_bytes); in addCommonTransformationResult() argument
|