Home
last modified time | relevance | path

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

/cts/hostsidetests/jvmti/base/jni/
Dredefine.cpp36 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jclass target, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass() argument
39 def.class_byte_count = static_cast<jint>(env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
40 signed char* redef_bytes = env->GetByteArrayElements(dex_bytes, nullptr); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
47 env->ReleaseByteArrayElements(dex_bytes, redef_bytes, 0); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_redefineClass()
164 JNIEnv* env, jclass klass ATTRIBUTE_UNUSED, jstring class_name, jbyteArray dex_bytes) { in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult() argument
169 dex_data.resize(env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
170 signed char* redef_bytes = env->GetByteArrayElements(dex_bytes, nullptr); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
171 memcpy(dex_data.data(), redef_bytes, env->GetArrayLength(dex_bytes)); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()
173 env->ReleaseByteArrayElements(dex_bytes, redef_bytes, 0); in Java_android_jvmti_cts_JvmtiRedefineClassesTest_pushTransformationResult()