diff options
author | 2018-05-04 10:06:38 +0100 | |
---|---|---|
committer | 2018-05-09 11:11:09 +0100 | |
commit | a3ad0cdd711857f04f477e2cdc5b56a2c74a3018 (patch) | |
tree | 7e0e4c7888c2497d86ce96c9574d7c9886721ccf | |
parent | abd9e1515bc6be88372c61071971c5432a51553d (diff) |
ART: Move JNI files to runtime/jni/ .
Test: Rely on TreeHugger.
Change-Id: I9cae11191ef1567ae9453be498882a7767285140
110 files changed, 139 insertions, 139 deletions
diff --git a/adbconnection/adbconnection.cc b/adbconnection/adbconnection.cc index 4c2d4d72d8..8cd0d8bc9f 100644 --- a/adbconnection/adbconnection.cc +++ b/adbconnection/adbconnection.cc @@ -23,8 +23,8 @@ #include "base/logging.h" #include "base/macros.h" #include "base/mutex.h" -#include "java_vm_ext.h" -#include "jni_env_ext.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_env_ext.h" #include "mirror/throwable.h" #include "nativehelper/ScopedLocalRef.h" #include "runtime-inl.h" diff --git a/benchmark/jobject-benchmark/jobject_benchmark.cc b/benchmark/jobject-benchmark/jobject_benchmark.cc index 7e0a5362c9..2f38b78eaf 100644 --- a/benchmark/jobject-benchmark/jobject_benchmark.cc +++ b/benchmark/jobject-benchmark/jobject_benchmark.cc @@ -16,7 +16,7 @@ #include "jni.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "mirror/class-inl.h" #include "scoped_thread_state_change-inl.h" diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc index fbbb4e960f..39ed825001 100644 --- a/compiler/driver/compiler_driver.cc +++ b/compiler/driver/compiler_driver.cc @@ -57,7 +57,7 @@ #include "gc/space/space.h" #include "handle_scope-inl.h" #include "intrinsics_enum.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "linker/linker_patch.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" diff --git a/compiler/jni/jni_compiler_test.cc b/compiler/jni/jni_compiler_test.cc index 730a1a63e8..c643af787d 100644 --- a/compiler/jni/jni_compiler_test.cc +++ b/compiler/jni/jni_compiler_test.cc @@ -28,8 +28,8 @@ #include "dex/dex_file.h" #include "gtest/gtest.h" #include "indirect_reference_table.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" diff --git a/compiler/jni/quick/jni_compiler.cc b/compiler/jni/quick/jni_compiler.cc index 8cb1998f7f..0902bf2bce 100644 --- a/compiler/jni/quick/jni_compiler.cc +++ b/compiler/jni/quick/jni_compiler.cc @@ -37,7 +37,7 @@ #include "driver/compiler_driver.h" #include "driver/compiler_options.h" #include "entrypoints/quick/quick_entrypoints.h" -#include "jni_env_ext.h" +#include "jni/jni_env_ext.h" #include "thread.h" #include "utils/arm/managed_register_arm.h" #include "utils/arm64/managed_register_arm64.h" diff --git a/compiler/optimizing/prepare_for_register_allocation.cc b/compiler/optimizing/prepare_for_register_allocation.cc index 59733397bf..831bccc90a 100644 --- a/compiler/optimizing/prepare_for_register_allocation.cc +++ b/compiler/optimizing/prepare_for_register_allocation.cc @@ -17,7 +17,7 @@ #include "prepare_for_register_allocation.h" #include "dex/dex_file_types.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "optimizing_compiler_stats.h" #include "well_known_classes.h" diff --git a/compiler/trampolines/trampoline_compiler.cc b/compiler/trampolines/trampoline_compiler.cc index 57360e74a3..26aa434c0d 100644 --- a/compiler/trampolines/trampoline_compiler.cc +++ b/compiler/trampolines/trampoline_compiler.cc @@ -18,7 +18,7 @@ #include "base/arena_allocator.h" #include "base/malloc_arena_pool.h" -#include "jni_env_ext.h" +#include "jni/jni_env_ext.h" #ifdef ART_ENABLE_CODEGEN_arm #include "utils/arm/assembler_arm_vixl.h" diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc index 3252354417..63518be15f 100644 --- a/dex2oat/dex2oat.cc +++ b/dex2oat/dex2oat.cc @@ -78,7 +78,7 @@ #include "gc/space/space-inl.h" #include "gc/verification.h" #include "interpreter/unstarted_runtime.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "linker/buffered_output_stream.h" #include "linker/elf_writer.h" #include "linker/elf_writer_quick.h" diff --git a/dex2oat/linker/image_writer.cc b/dex2oat/linker/image_writer.cc index bd1e6df93d..9e5cd8035c 100644 --- a/dex2oat/linker/image_writer.cc +++ b/dex2oat/linker/image_writer.cc @@ -52,7 +52,7 @@ #include "image.h" #include "imt_conflict_table.h" #include "subtype_check.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "linear_alloc.h" #include "lock_word.h" #include "mirror/array-inl.h" diff --git a/openjdkjvm/OpenjdkJvm.cc b/openjdkjvm/OpenjdkJvm.cc index 975d1948fe..be1ab7812a 100644 --- a/openjdkjvm/OpenjdkJvm.cc +++ b/openjdkjvm/OpenjdkJvm.cc @@ -48,8 +48,8 @@ #include "common_throws.h" #include "gc/heap.h" #include "handle_scope-inl.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "mirror/string-inl.h" #include "monitor.h" diff --git a/openjdkjvmti/OpenjdkJvmTi.cc b/openjdkjvmti/OpenjdkJvmTi.cc index ef5151990c..59f61e2ee4 100644 --- a/openjdkjvmti/OpenjdkJvmTi.cc +++ b/openjdkjvmti/OpenjdkJvmTi.cc @@ -43,7 +43,7 @@ #include "base/logging.h" // For gLogVerbosity. #include "base/mutex.h" #include "events-inl.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "obj_ptr-inl.h" #include "object_tagging.h" #include "runtime.h" diff --git a/openjdkjvmti/art_jvmti.h b/openjdkjvmti/art_jvmti.h index 73cc601e3e..82f3866c65 100644 --- a/openjdkjvmti/art_jvmti.h +++ b/openjdkjvmti/art_jvmti.h @@ -47,8 +47,8 @@ #include "base/strlcpy.h" #include "base/mutex.h" #include "events.h" -#include "java_vm_ext.h" -#include "jni_env_ext.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_env_ext.h" #include "jvmti.h" #include "ti_breakpoint.h" diff --git a/openjdkjvmti/deopt_manager.cc b/openjdkjvmti/deopt_manager.cc index d4e5df1d67..2f24d7ea3d 100644 --- a/openjdkjvmti/deopt_manager.cc +++ b/openjdkjvmti/deopt_manager.cc @@ -41,7 +41,7 @@ #include "dex/modifiers.h" #include "events-inl.h" #include "jit/jit.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/object_array-inl.h" #include "nativehelper/scoped_local_ref.h" diff --git a/openjdkjvmti/events-inl.h b/openjdkjvmti/events-inl.h index 74ffb84579..6a8ba48109 100644 --- a/openjdkjvmti/events-inl.h +++ b/openjdkjvmti/events-inl.h @@ -23,7 +23,7 @@ #include "base/mutex-inl.h" #include "events.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "nativehelper/scoped_local_ref.h" #include "scoped_thread_state_change-inl.h" #include "ti_breakpoint.h" diff --git a/openjdkjvmti/events.cc b/openjdkjvmti/events.cc index de678711fc..5cb4299293 100644 --- a/openjdkjvmti/events.cc +++ b/openjdkjvmti/events.cc @@ -44,8 +44,8 @@ #include "gc/scoped_gc_critical_section.h" #include "handle_scope-inl.h" #include "instrumentation.h" -#include "jni_env_ext-inl.h" -#include "jni_internal.h" +#include "jni/jni_env_ext-inl.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/object-inl.h" #include "monitor.h" diff --git a/openjdkjvmti/jvmti_weak_table-inl.h b/openjdkjvmti/jvmti_weak_table-inl.h index 699004298e..d9b8a84e55 100644 --- a/openjdkjvmti/jvmti_weak_table-inl.h +++ b/openjdkjvmti/jvmti_weak_table-inl.h @@ -41,7 +41,7 @@ #include "art_jvmti.h" #include "gc/allocation_listener.h" #include "instrumentation.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvmti_allocator.h" #include "mirror/class.h" #include "mirror/object.h" diff --git a/openjdkjvmti/ti_breakpoint.cc b/openjdkjvmti/ti_breakpoint.cc index 136b1d3e1a..813aa8eb83 100644 --- a/openjdkjvmti/ti_breakpoint.cc +++ b/openjdkjvmti/ti_breakpoint.cc @@ -41,7 +41,7 @@ #include "dex/dex_file_annotations.h" #include "dex/modifiers.h" #include "events-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/object_array-inl.h" #include "nativehelper/scoped_local_ref.h" diff --git a/openjdkjvmti/ti_class.cc b/openjdkjvmti/ti_class.cc index 261fe3e810..c9d71b4857 100644 --- a/openjdkjvmti/ti_class.cc +++ b/openjdkjvmti/ti_class.cc @@ -54,8 +54,8 @@ #include "gc/heap.h" #include "gc_root.h" #include "handle.h" -#include "jni_env_ext-inl.h" -#include "jni_internal.h" +#include "jni/jni_env_ext-inl.h" +#include "jni/jni_internal.h" #include "mirror/array-inl.h" #include "mirror/class-inl.h" #include "mirror/class_ext.h" diff --git a/openjdkjvmti/ti_class_loader-inl.h b/openjdkjvmti/ti_class_loader-inl.h index 95278f4b2d..9b04841eb3 100644 --- a/openjdkjvmti/ti_class_loader-inl.h +++ b/openjdkjvmti/ti_class_loader-inl.h @@ -36,7 +36,7 @@ #include "art_field-inl.h" #include "handle.h" #include "handle_scope.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object.h" #include "mirror/object_array-inl.h" #include "well_known_classes.h" diff --git a/openjdkjvmti/ti_class_loader.cc b/openjdkjvmti/ti_class_loader.cc index 3df5de909d..9a32849ed0 100644 --- a/openjdkjvmti/ti_class_loader.cc +++ b/openjdkjvmti/ti_class_loader.cc @@ -46,7 +46,7 @@ #include "instrumentation.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvmti_allocator.h" #include "mirror/class.h" #include "mirror/class_ext.h" diff --git a/openjdkjvmti/ti_class_loader.h b/openjdkjvmti/ti_class_loader.h index 142e2e1588..a3857e595a 100644 --- a/openjdkjvmti/ti_class_loader.h +++ b/openjdkjvmti/ti_class_loader.h @@ -45,7 +45,7 @@ #include "dex/dex_file.h" #include "dex/utf.h" #include "gc_root-inl.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvmti.h" #include "linear_alloc.h" #include "mirror/array-inl.h" diff --git a/openjdkjvmti/ti_field.cc b/openjdkjvmti/ti_field.cc index c016966d21..328e2a1e40 100644 --- a/openjdkjvmti/ti_field.cc +++ b/openjdkjvmti/ti_field.cc @@ -36,7 +36,7 @@ #include "base/enums.h" #include "dex/dex_file_annotations.h" #include "dex/modifiers.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object_array-inl.h" #include "scoped_thread_state_change-inl.h" #include "thread-current-inl.h" diff --git a/openjdkjvmti/ti_heap.cc b/openjdkjvmti/ti_heap.cc index d0a7cf0657..d23370bc5c 100644 --- a/openjdkjvmti/ti_heap.cc +++ b/openjdkjvmti/ti_heap.cc @@ -26,8 +26,8 @@ #include "gc/heap.h" #include "gc_root-inl.h" #include "java_frame_root_info.h" -#include "jni_env_ext.h" -#include "jni_internal.h" +#include "jni/jni_env_ext.h" +#include "jni/jni_internal.h" #include "jvmti_weak_table-inl.h" #include "mirror/class.h" #include "mirror/object-inl.h" diff --git a/openjdkjvmti/ti_jni.cc b/openjdkjvmti/ti_jni.cc index dd2dda118a..b655d6a8e1 100644 --- a/openjdkjvmti/ti_jni.cc +++ b/openjdkjvmti/ti_jni.cc @@ -35,8 +35,8 @@ #include "art_jvmti.h" #include "base/mutex.h" -#include "java_vm_ext.h" -#include "jni_env_ext.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_env_ext.h" #include "runtime.h" #include "thread-current-inl.h" diff --git a/openjdkjvmti/ti_method.cc b/openjdkjvmti/ti_method.cc index b83310dc85..c0c312c490 100644 --- a/openjdkjvmti/ti_method.cc +++ b/openjdkjvmti/ti_method.cc @@ -44,7 +44,7 @@ #include "events-inl.h" #include "gc_root-inl.h" #include "jit/jit.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" diff --git a/openjdkjvmti/ti_redefine.cc b/openjdkjvmti/ti_redefine.cc index a23baa5095..8a726bca14 100644 --- a/openjdkjvmti/ti_redefine.cc +++ b/openjdkjvmti/ti_redefine.cc @@ -58,7 +58,7 @@ #include "jdwp/object_registry.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvmti_allocator.h" #include "mirror/class-inl.h" #include "mirror/class_ext.h" diff --git a/openjdkjvmti/ti_redefine.h b/openjdkjvmti/ti_redefine.h index e14b7ae1c8..227eacd180 100644 --- a/openjdkjvmti/ti_redefine.h +++ b/openjdkjvmti/ti_redefine.h @@ -45,7 +45,7 @@ #include "dex/dex_file.h" #include "dex/utf.h" #include "gc_root-inl.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvmti.h" #include "linear_alloc.h" #include "mirror/array-inl.h" diff --git a/openjdkjvmti/ti_search.cc b/openjdkjvmti/ti_search.cc index cbb7b53bff..bcbab14cdd 100644 --- a/openjdkjvmti/ti_search.cc +++ b/openjdkjvmti/ti_search.cc @@ -41,7 +41,7 @@ #include "dex/art_dex_file_loader.h" #include "dex/dex_file.h" #include "dex/dex_file_loader.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/object.h" #include "mirror/string.h" diff --git a/openjdkjvmti/ti_stack.cc b/openjdkjvmti/ti_stack.cc index 4526be4cbe..eee8108b01 100644 --- a/openjdkjvmti/ti_stack.cc +++ b/openjdkjvmti/ti_stack.cc @@ -50,8 +50,8 @@ #include "dex/dex_file_types.h" #include "gc_root.h" #include "handle_scope-inl.h" -#include "jni_env_ext.h" -#include "jni_internal.h" +#include "jni/jni_env_ext.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/dex_cache.h" #include "nativehelper/scoped_local_ref.h" diff --git a/openjdkjvmti/ti_thread.cc b/openjdkjvmti/ti_thread.cc index 414139c7b4..cabf9e8b09 100644 --- a/openjdkjvmti/ti_thread.cc +++ b/openjdkjvmti/ti_thread.cc @@ -43,7 +43,7 @@ #include "gc/gc_cause.h" #include "gc/scoped_gc_critical_section.h" #include "gc_root-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/object-inl.h" #include "mirror/string.h" diff --git a/openjdkjvmti/ti_threadgroup.cc b/openjdkjvmti/ti_threadgroup.cc index c0597ad0cc..e17e61fe62 100644 --- a/openjdkjvmti/ti_threadgroup.cc +++ b/openjdkjvmti/ti_threadgroup.cc @@ -37,7 +37,7 @@ #include "base/macros.h" #include "base/mutex.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/object-inl.h" #include "mirror/string.h" diff --git a/openjdkjvmti/transform.cc b/openjdkjvmti/transform.cc index 29a9b10ca2..8797553b07 100644 --- a/openjdkjvmti/transform.cc +++ b/openjdkjvmti/transform.cc @@ -48,7 +48,7 @@ #include "events-inl.h" #include "fault_handler.h" #include "gc_root-inl.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "jvalue.h" #include "jvmti.h" #include "linear_alloc.h" diff --git a/runtime/Android.bp b/runtime/Android.bp index 1ef5bf080f..05e923949e 100644 --- a/runtime/Android.bp +++ b/runtime/Android.bp @@ -100,7 +100,6 @@ cc_defaults { "interpreter/shadow_frame.cc", "interpreter/unstarted_runtime.cc", "java_frame_root_info.cc", - "java_vm_ext.cc", "jdwp/jdwp_event.cc", "jdwp/jdwp_expand_buf.cc", "jdwp/jdwp_handler.cc", @@ -108,13 +107,14 @@ cc_defaults { "jdwp/jdwp_request.cc", "jdwp/jdwp_socket.cc", "jdwp/object_registry.cc", - "jni_env_ext.cc", "jit/debugger_interface.cc", "jit/jit.cc", "jit/jit_code_cache.cc", "jit/profiling_info.cc", "jit/profile_saver.cc", - "jni_internal.cc", + "jni/java_vm_ext.cc", + "jni/jni_env_ext.cc", + "jni/jni_internal.cc", "jobject_comparator.cc", "linear_alloc.cc", "managed_stack.cc", @@ -581,7 +581,7 @@ art_cc_test { "interpreter/safe_math_test.cc", "interpreter/unstarted_runtime_test.cc", "jdwp/jdwp_options_test.cc", - "java_vm_ext_test.cc", + "jni/java_vm_ext_test.cc", "method_handles_test.cc", "mirror/dex_cache_test.cc", "mirror/method_type_test.cc", @@ -621,7 +621,7 @@ art_cc_test { "art_gtest_defaults", ], srcs: [ - "jni_internal_test.cc", + "jni/jni_internal_test.cc", "proxy_test.cc", "reflection_test.cc", ], diff --git a/runtime/arch/stub_test.cc b/runtime/arch/stub_test.cc index 4be4b12611..78516e3aeb 100644 --- a/runtime/arch/stub_test.cc +++ b/runtime/arch/stub_test.cc @@ -24,7 +24,7 @@ #include "common_runtime_test.h" #include "entrypoints/quick/quick_entrypoints_enum.h" #include "imt_conflict_table.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "linear_alloc.h" #include "mirror/class-inl.h" #include "mirror/string-inl.h" diff --git a/runtime/art_method.cc b/runtime/art_method.cc index 41b01c251b..87fcb20698 100644 --- a/runtime/art_method.cc +++ b/runtime/art_method.cc @@ -35,7 +35,7 @@ #include "jit/jit.h" #include "jit/jit_code_cache.h" #include "jit/profiling_info.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_ext.h" #include "mirror/executable.h" diff --git a/runtime/check_jni.cc b/runtime/check_jni.cc index 9a43790575..f8b977eea7 100644 --- a/runtime/check_jni.cc +++ b/runtime/check_jni.cc @@ -34,8 +34,8 @@ #include "dex/descriptors_names.h" #include "dex/dex_file-inl.h" #include "gc/space/space.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/field.h" #include "mirror/method.h" diff --git a/runtime/class_linker.cc b/runtime/class_linker.cc index 44445aea9b..4141a37366 100644 --- a/runtime/class_linker.cc +++ b/runtime/class_linker.cc @@ -79,11 +79,11 @@ #include "imtable-inl.h" #include "intern_table.h" #include "interpreter/interpreter.h" -#include "java_vm_ext.h" #include "jit/debugger_interface.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "linear_alloc.h" #include "mirror/call_site.h" #include "mirror/class-inl.h" diff --git a/runtime/class_loader_context.cc b/runtime/class_loader_context.cc index 4afc44cb91..98174142f1 100644 --- a/runtime/class_loader_context.cc +++ b/runtime/class_loader_context.cc @@ -25,7 +25,7 @@ #include "dex/dex_file.h" #include "dex/dex_file_loader.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "oat_file_assistant.h" #include "obj_ptr-inl.h" #include "runtime.h" diff --git a/runtime/class_loader_utils.h b/runtime/class_loader_utils.h index 1439f11636..af42878e97 100644 --- a/runtime/class_loader_utils.h +++ b/runtime/class_loader_utils.h @@ -20,7 +20,7 @@ #include "art_field-inl.h" #include "base/mutex.h" #include "handle_scope.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "native/dalvik_system_DexFile.h" #include "scoped_thread_state_change-inl.h" diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index f5b15ec239..75b091d98f 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -48,8 +48,8 @@ #include "gtest/gtest.h" #include "handle_scope-inl.h" #include "interpreter/unstarted_runtime.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "native/dalvik_system_DexFile.h" diff --git a/runtime/debugger.cc b/runtime/debugger.cc index 28659cb11d..88628bbc50 100644 --- a/runtime/debugger.cc +++ b/runtime/debugger.cc @@ -51,7 +51,7 @@ #include "handle_scope-inl.h" #include "jdwp/jdwp_priv.h" #include "jdwp/object_registry.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "jvalue-inl.h" #include "mirror/class-inl.h" #include "mirror/class.h" diff --git a/runtime/dex/dex_file_annotations.cc b/runtime/dex/dex_file_annotations.cc index 6f3354b724..c399b1c7fe 100644 --- a/runtime/dex/dex_file_annotations.cc +++ b/runtime/dex/dex_file_annotations.cc @@ -24,7 +24,7 @@ #include "art_method-inl.h" #include "class_linker-inl.h" #include "dex/dex_file-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "jvalue-inl.h" #include "mirror/field.h" #include "mirror/method.h" diff --git a/runtime/entrypoints/entrypoint_utils-inl.h b/runtime/entrypoints/entrypoint_utils-inl.h index 137eb4fe1e..d4e7492f00 100644 --- a/runtime/entrypoints/entrypoint_utils-inl.h +++ b/runtime/entrypoints/entrypoint_utils-inl.h @@ -31,7 +31,7 @@ #include "imt_conflict_table.h" #include "imtable-inl.h" #include "indirect_reference_table.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/array.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" diff --git a/runtime/entrypoints/entrypoint_utils.cc b/runtime/entrypoints/entrypoint_utils.cc index ffa138d5b1..246c703e93 100644 --- a/runtime/entrypoints/entrypoint_utils.cc +++ b/runtime/entrypoints/entrypoint_utils.cc @@ -26,7 +26,7 @@ #include "entrypoints/quick/callee_save_frame.h" #include "entrypoints/runtime_asm_entrypoints.h" #include "gc/accounting/card_table-inl.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "mirror/class-inl.h" #include "mirror/method.h" #include "mirror/object-inl.h" diff --git a/runtime/entrypoints/jni/jni_entrypoints.cc b/runtime/entrypoints/jni/jni_entrypoints.cc index 780e221129..a4083a4f81 100644 --- a/runtime/entrypoints/jni/jni_entrypoints.cc +++ b/runtime/entrypoints/jni/jni_entrypoints.cc @@ -18,7 +18,7 @@ #include "art_method-inl.h" #include "entrypoints/entrypoint_utils.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "mirror/object-inl.h" #include "scoped_thread_state_change-inl.h" #include "thread.h" diff --git a/runtime/gc/collector/semi_space.cc b/runtime/gc/collector/semi_space.cc index 1e136bca2e..681ac2ef28 100644 --- a/runtime/gc/collector/semi_space.cc +++ b/runtime/gc/collector/semi_space.cc @@ -39,7 +39,7 @@ #include "gc/space/space-inl.h" #include "indirect_reference_table.h" #include "intern_table.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mark_sweep-inl.h" #include "mirror/object-inl.h" #include "mirror/object-refvisitor-inl.h" diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc index e85824de70..b004566ed1 100644 --- a/runtime/gc/heap.cc +++ b/runtime/gc/heap.cc @@ -71,9 +71,9 @@ #include "heap-visit-objects-inl.h" #include "image.h" #include "intern_table.h" -#include "java_vm_ext.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" +#include "jni/java_vm_ext.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" #include "mirror/object-refvisitor-inl.h" diff --git a/runtime/gc/reference_processor.cc b/runtime/gc/reference_processor.cc index 356f3ecaa8..5be7b325d0 100644 --- a/runtime/gc/reference_processor.cc +++ b/runtime/gc/reference_processor.cc @@ -19,7 +19,7 @@ #include "base/time_utils.h" #include "base/utils.h" #include "collector/garbage_collector.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" #include "mirror/reference-inl.h" diff --git a/runtime/hidden_api_test.cc b/runtime/hidden_api_test.cc index 68d4eecbb9..ab0c2901ff 100644 --- a/runtime/hidden_api_test.cc +++ b/runtime/hidden_api_test.cc @@ -17,7 +17,7 @@ #include "hidden_api.h" #include "common_runtime_test.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "proxy_test.h" namespace art { diff --git a/runtime/indirect_reference_table.cc b/runtime/indirect_reference_table.cc index 6143ba6fd4..950a54d61e 100644 --- a/runtime/indirect_reference_table.cc +++ b/runtime/indirect_reference_table.cc @@ -19,8 +19,8 @@ #include "base/mutator_locked_dumpable.h" #include "base/systrace.h" #include "base/utils.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "nth_caller_visitor.h" #include "reference_table.h" #include "runtime.h" diff --git a/runtime/instrumentation_test.cc b/runtime/instrumentation_test.cc index 836bbe711f..3171eeb861 100644 --- a/runtime/instrumentation_test.cc +++ b/runtime/instrumentation_test.cc @@ -24,7 +24,7 @@ #include "dex/dex_file.h" #include "gc/scoped_gc_critical_section.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "jvalue.h" #include "runtime.h" #include "scoped_thread_state_change-inl.h" diff --git a/runtime/jdwp/object_registry.cc b/runtime/jdwp/object_registry.cc index 510f5f00a6..df1eb2b561 100644 --- a/runtime/jdwp/object_registry.cc +++ b/runtime/jdwp/object_registry.cc @@ -17,7 +17,7 @@ #include "object_registry.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/throwable.h" #include "obj_ptr-inl.h" diff --git a/runtime/jit/jit.cc b/runtime/jit/jit.cc index 2c0fbadc1d..d4fe97784d 100644 --- a/runtime/jit/jit.cc +++ b/runtime/jit/jit.cc @@ -27,8 +27,8 @@ #include "debugger.h" #include "entrypoints/runtime_asm_entrypoints.h" #include "interpreter/interpreter.h" -#include "java_vm_ext.h" #include "jit_code_cache.h" +#include "jni/java_vm_ext.h" #include "mirror/method_handle_impl.h" #include "mirror/var_handle.h" #include "oat_file_manager.h" diff --git a/runtime/java_vm_ext.cc b/runtime/jni/java_vm_ext.cc index 8fe68bd318..8fe68bd318 100644 --- a/runtime/java_vm_ext.cc +++ b/runtime/jni/java_vm_ext.cc diff --git a/runtime/java_vm_ext.h b/runtime/jni/java_vm_ext.h index ac20afecd4..408d3542ed 100644 --- a/runtime/java_vm_ext.h +++ b/runtime/jni/java_vm_ext.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ART_RUNTIME_JAVA_VM_EXT_H_ -#define ART_RUNTIME_JAVA_VM_EXT_H_ +#ifndef ART_RUNTIME_JNI_JAVA_VM_EXT_H_ +#define ART_RUNTIME_JNI_JAVA_VM_EXT_H_ #include "jni.h" @@ -262,4 +262,4 @@ class JavaVMExt : public JavaVM { } // namespace art -#endif // ART_RUNTIME_JAVA_VM_EXT_H_ +#endif // ART_RUNTIME_JNI_JAVA_VM_EXT_H_ diff --git a/runtime/java_vm_ext_test.cc b/runtime/jni/java_vm_ext_test.cc index a15ec56274..74e4a30905 100644 --- a/runtime/java_vm_ext_test.cc +++ b/runtime/jni/java_vm_ext_test.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "jni_internal.h" +#include "jni/jni_internal.h" #include <pthread.h> diff --git a/runtime/jni_env_ext-inl.h b/runtime/jni/jni_env_ext-inl.h index 14f708b18d..7609a9e01a 100644 --- a/runtime/jni_env_ext-inl.h +++ b/runtime/jni/jni_env_ext-inl.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ART_RUNTIME_JNI_ENV_EXT_INL_H_ -#define ART_RUNTIME_JNI_ENV_EXT_INL_H_ +#ifndef ART_RUNTIME_JNI_JNI_ENV_EXT_INL_H_ +#define ART_RUNTIME_JNI_JNI_ENV_EXT_INL_H_ #include "jni_env_ext.h" @@ -51,4 +51,4 @@ inline T JNIEnvExt::AddLocalReference(ObjPtr<mirror::Object> obj) { } // namespace art -#endif // ART_RUNTIME_JNI_ENV_EXT_INL_H_ +#endif // ART_RUNTIME_JNI_JNI_ENV_EXT_INL_H_ diff --git a/runtime/jni_env_ext.cc b/runtime/jni/jni_env_ext.cc index efe43ee0e9..efe43ee0e9 100644 --- a/runtime/jni_env_ext.cc +++ b/runtime/jni/jni_env_ext.cc diff --git a/runtime/jni_env_ext.h b/runtime/jni/jni_env_ext.h index 291ac48e86..3a007adcf0 100644 --- a/runtime/jni_env_ext.h +++ b/runtime/jni/jni_env_ext.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ART_RUNTIME_JNI_ENV_EXT_H_ -#define ART_RUNTIME_JNI_ENV_EXT_H_ +#ifndef ART_RUNTIME_JNI_JNI_ENV_EXT_H_ +#define ART_RUNTIME_JNI_JNI_ENV_EXT_H_ #include <jni.h> @@ -229,4 +229,4 @@ class ScopedJniEnvLocalRefState { } // namespace art -#endif // ART_RUNTIME_JNI_ENV_EXT_H_ +#endif // ART_RUNTIME_JNI_JNI_ENV_EXT_H_ diff --git a/runtime/jni_internal.cc b/runtime/jni/jni_internal.cc index 9dbcded867..9dbcded867 100644 --- a/runtime/jni_internal.cc +++ b/runtime/jni/jni_internal.cc diff --git a/runtime/jni_internal.h b/runtime/jni/jni_internal.h index 2c90b3ba78..d0426617eb 100644 --- a/runtime/jni_internal.h +++ b/runtime/jni/jni_internal.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef ART_RUNTIME_JNI_INTERNAL_H_ -#define ART_RUNTIME_JNI_INTERNAL_H_ +#ifndef ART_RUNTIME_JNI_JNI_INTERNAL_H_ +#define ART_RUNTIME_JNI_JNI_INTERNAL_H_ #include <jni.h> #include <iosfwd> @@ -59,4 +59,4 @@ static inline ArtMethod* DecodeArtMethod(jmethodID method_id) { std::ostream& operator<<(std::ostream& os, const jobjectRefType& rhs); -#endif // ART_RUNTIME_JNI_INTERNAL_H_ +#endif // ART_RUNTIME_JNI_JNI_INTERNAL_H_ diff --git a/runtime/jni_internal_test.cc b/runtime/jni/jni_internal_test.cc index 5d74181cef..5d74181cef 100644 --- a/runtime/jni_internal_test.cc +++ b/runtime/jni/jni_internal_test.cc diff --git a/runtime/mirror/method_handles_lookup.cc b/runtime/mirror/method_handles_lookup.cc index 039bbf2932..aeecf75c1f 100644 --- a/runtime/mirror/method_handles_lookup.cc +++ b/runtime/mirror/method_handles_lookup.cc @@ -20,7 +20,7 @@ #include "dex/modifiers.h" #include "gc_root-inl.h" #include "handle_scope.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/method_handle_impl.h" #include "object-inl.h" #include "well_known_classes.h" diff --git a/runtime/mirror/var_handle.cc b/runtime/mirror/var_handle.cc index a79c0a26d0..b309f596fd 100644 --- a/runtime/mirror/var_handle.cc +++ b/runtime/mirror/var_handle.cc @@ -22,7 +22,7 @@ #include "class_linker.h" #include "gc_root-inl.h" #include "intrinsics_enum.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "jvalue-inl.h" #include "method_handles.h" #include "method_type.h" diff --git a/runtime/native/dalvik_system_DexFile.cc b/runtime/native/dalvik_system_DexFile.cc index 8320d9c7ba..5c2ca24da9 100644 --- a/runtime/native/dalvik_system_DexFile.cc +++ b/runtime/native/dalvik_system_DexFile.cc @@ -35,7 +35,7 @@ #include "dex/dex_file-inl.h" #include "dex/dex_file_loader.h" #include "jit/debugger_interface.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" #include "mirror/string.h" diff --git a/runtime/native/dalvik_system_VMDebug.cc b/runtime/native/dalvik_system_VMDebug.cc index 3692a308d8..6aaafc2864 100644 --- a/runtime/native/dalvik_system_VMDebug.cc +++ b/runtime/native/dalvik_system_VMDebug.cc @@ -35,8 +35,8 @@ #include "gc/space/zygote_space.h" #include "handle_scope-inl.h" #include "hprof/hprof.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/object_array-inl.h" #include "native_util.h" diff --git a/runtime/native/dalvik_system_VMRuntime.cc b/runtime/native/dalvik_system_VMRuntime.cc index e88ff09430..7f7b524227 100644 --- a/runtime/native/dalvik_system_VMRuntime.cc +++ b/runtime/native/dalvik_system_VMRuntime.cc @@ -41,8 +41,8 @@ extern "C" void android_set_application_target_sdk_version(uint32_t version); #include "gc/space/image_space.h" #include "gc/task_processor.h" #include "intern_table.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/dex_cache-inl.h" #include "mirror/object-inl.h" diff --git a/runtime/native/dalvik_system_VMStack.cc b/runtime/native/dalvik_system_VMStack.cc index ed0eb97da1..39192274ad 100644 --- a/runtime/native/dalvik_system_VMStack.cc +++ b/runtime/native/dalvik_system_VMStack.cc @@ -22,7 +22,7 @@ #include "art_method-inl.h" #include "gc/task_processor.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" diff --git a/runtime/native/dalvik_system_ZygoteHooks.cc b/runtime/native/dalvik_system_ZygoteHooks.cc index 84c7926a11..e105bab872 100644 --- a/runtime/native/dalvik_system_ZygoteHooks.cc +++ b/runtime/native/dalvik_system_ZygoteHooks.cc @@ -28,9 +28,9 @@ #include "base/runtime_debug.h" #include "debugger.h" #include "hidden_api.h" -#include "java_vm_ext.h" #include "jit/jit.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "native_util.h" #include "nativehelper/jni_macros.h" #include "nativehelper/scoped_utf_chars.h" diff --git a/runtime/native/java_lang_Class.cc b/runtime/native/java_lang_Class.cc index 2c1c963ed6..2625c0a316 100644 --- a/runtime/native/java_lang_Class.cc +++ b/runtime/native/java_lang_Class.cc @@ -28,7 +28,7 @@ #include "dex/dex_file_annotations.h" #include "dex/utf.h" #include "hidden_api.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/field-inl.h" diff --git a/runtime/native/java_lang_Object.cc b/runtime/native/java_lang_Object.cc index d52bf0490b..208ccf6a82 100644 --- a/runtime/native/java_lang_Object.cc +++ b/runtime/native/java_lang_Object.cc @@ -18,7 +18,7 @@ #include "nativehelper/jni_macros.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object-inl.h" #include "native_util.h" #include "scoped_fast_native_object_access-inl.h" diff --git a/runtime/native/java_lang_String.cc b/runtime/native/java_lang_String.cc index b5aea7ca7c..8976058b53 100644 --- a/runtime/native/java_lang_String.cc +++ b/runtime/native/java_lang_String.cc @@ -19,7 +19,7 @@ #include "nativehelper/jni_macros.h" #include "common_throws.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/array.h" #include "mirror/object-inl.h" #include "mirror/string-inl.h" diff --git a/runtime/native/java_lang_StringFactory.cc b/runtime/native/java_lang_StringFactory.cc index 136a02f8f6..07e875efcb 100644 --- a/runtime/native/java_lang_StringFactory.cc +++ b/runtime/native/java_lang_StringFactory.cc @@ -17,7 +17,7 @@ #include "java_lang_StringFactory.h" #include "common_throws.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object-inl.h" #include "mirror/string.h" #include "native_util.h" diff --git a/runtime/native/java_lang_System.cc b/runtime/native/java_lang_System.cc index 390f026588..2c4184c285 100644 --- a/runtime/native/java_lang_System.cc +++ b/runtime/native/java_lang_System.cc @@ -20,7 +20,7 @@ #include "common_throws.h" #include "gc/accounting/card_table-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/array.h" #include "mirror/class-inl.h" #include "mirror/class.h" diff --git a/runtime/native/java_lang_Thread.cc b/runtime/native/java_lang_Thread.cc index 9a52f7002b..9edb0c21dd 100644 --- a/runtime/native/java_lang_Thread.cc +++ b/runtime/native/java_lang_Thread.cc @@ -17,7 +17,7 @@ #include "java_lang_Thread.h" #include "common_throws.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object.h" #include "monitor.h" #include "native_util.h" diff --git a/runtime/native/java_lang_Throwable.cc b/runtime/native/java_lang_Throwable.cc index 03b7f9dfba..b5ef7d807b 100644 --- a/runtime/native/java_lang_Throwable.cc +++ b/runtime/native/java_lang_Throwable.cc @@ -18,7 +18,7 @@ #include "nativehelper/jni_macros.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "native_util.h" #include "scoped_fast_native_object_access-inl.h" #include "thread.h" diff --git a/runtime/native/java_lang_VMClassLoader.cc b/runtime/native/java_lang_VMClassLoader.cc index 44585fc453..0630737d29 100644 --- a/runtime/native/java_lang_VMClassLoader.cc +++ b/runtime/native/java_lang_VMClassLoader.cc @@ -20,7 +20,7 @@ #include "class_linker.h" #include "dex/descriptors_names.h" #include "dex/dex_file_loader.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" #include "native_util.h" diff --git a/runtime/native/java_lang_invoke_MethodHandleImpl.cc b/runtime/native/java_lang_invoke_MethodHandleImpl.cc index 2e3b4d41ef..1f2bf09f0e 100644 --- a/runtime/native/java_lang_invoke_MethodHandleImpl.cc +++ b/runtime/native/java_lang_invoke_MethodHandleImpl.cc @@ -20,7 +20,7 @@ #include "art_method.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/field.h" #include "mirror/method.h" #include "mirror/method_handle_impl.h" diff --git a/runtime/native/java_lang_ref_FinalizerReference.cc b/runtime/native/java_lang_ref_FinalizerReference.cc index 72af5f7ea7..c89188c99c 100644 --- a/runtime/native/java_lang_ref_FinalizerReference.cc +++ b/runtime/native/java_lang_ref_FinalizerReference.cc @@ -20,7 +20,7 @@ #include "gc/heap.h" #include "gc/reference_processor.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object-inl.h" #include "mirror/reference-inl.h" #include "native_util.h" diff --git a/runtime/native/java_lang_ref_Reference.cc b/runtime/native/java_lang_ref_Reference.cc index 524a18ca20..fc018d15c4 100644 --- a/runtime/native/java_lang_ref_Reference.cc +++ b/runtime/native/java_lang_ref_Reference.cc @@ -20,7 +20,7 @@ #include "gc/heap.h" #include "gc/reference_processor.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/object-inl.h" #include "mirror/reference-inl.h" #include "native_util.h" diff --git a/runtime/native/java_lang_reflect_Array.cc b/runtime/native/java_lang_reflect_Array.cc index d28f74158e..8bcda10f2a 100644 --- a/runtime/native/java_lang_reflect_Array.cc +++ b/runtime/native/java_lang_reflect_Array.cc @@ -22,7 +22,7 @@ #include "common_throws.h" #include "dex/dex_file-inl.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" #include "native_util.h" diff --git a/runtime/native/java_lang_reflect_Constructor.cc b/runtime/native/java_lang_reflect_Constructor.cc index 86124388bc..a5d6c9704d 100644 --- a/runtime/native/java_lang_reflect_Constructor.cc +++ b/runtime/native/java_lang_reflect_Constructor.cc @@ -23,7 +23,7 @@ #include "class_linker-inl.h" #include "class_linker.h" #include "dex/dex_file_annotations.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/method.h" #include "mirror/object-inl.h" diff --git a/runtime/native/java_lang_reflect_Executable.cc b/runtime/native/java_lang_reflect_Executable.cc index b129c66759..9a2d3020c0 100644 --- a/runtime/native/java_lang_reflect_Executable.cc +++ b/runtime/native/java_lang_reflect_Executable.cc @@ -22,7 +22,7 @@ #include "art_method-inl.h" #include "dex/dex_file_annotations.h" #include "handle.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/method.h" #include "mirror/object-inl.h" diff --git a/runtime/native/java_lang_reflect_Field.cc b/runtime/native/java_lang_reflect_Field.cc index 13275d92e4..e0afbee845 100644 --- a/runtime/native/java_lang_reflect_Field.cc +++ b/runtime/native/java_lang_reflect_Field.cc @@ -26,7 +26,7 @@ #include "common_throws.h" #include "dex/dex_file-inl.h" #include "dex/dex_file_annotations.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/field-inl.h" #include "native_util.h" diff --git a/runtime/native/java_lang_reflect_Method.cc b/runtime/native/java_lang_reflect_Method.cc index 4355c06acd..2503b3cb44 100644 --- a/runtime/native/java_lang_reflect_Method.cc +++ b/runtime/native/java_lang_reflect_Method.cc @@ -23,7 +23,7 @@ #include "class_linker-inl.h" #include "class_linker.h" #include "dex/dex_file_annotations.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" #include "mirror/object_array-inl.h" diff --git a/runtime/native/java_lang_reflect_Parameter.cc b/runtime/native/java_lang_reflect_Parameter.cc index b80b20cd8d..263a56796f 100644 --- a/runtime/native/java_lang_reflect_Parameter.cc +++ b/runtime/native/java_lang_reflect_Parameter.cc @@ -24,7 +24,7 @@ #include "common_throws.h" #include "dex/dex_file-inl.h" #include "dex/dex_file_annotations.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "native_util.h" #include "scoped_fast_native_object_access-inl.h" diff --git a/runtime/native/java_lang_reflect_Proxy.cc b/runtime/native/java_lang_reflect_Proxy.cc index 691ed28b0b..f723ed223d 100644 --- a/runtime/native/java_lang_reflect_Proxy.cc +++ b/runtime/native/java_lang_reflect_Proxy.cc @@ -19,7 +19,7 @@ #include "nativehelper/jni_macros.h" #include "class_linker.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "mirror/object_array.h" #include "mirror/string.h" diff --git a/runtime/native/java_util_concurrent_atomic_AtomicLong.cc b/runtime/native/java_util_concurrent_atomic_AtomicLong.cc index c0032975ce..fa288edcb8 100644 --- a/runtime/native/java_util_concurrent_atomic_AtomicLong.cc +++ b/runtime/native/java_util_concurrent_atomic_AtomicLong.cc @@ -21,7 +21,7 @@ #include "arch/instruction_set.h" #include "base/atomic.h" #include "base/quasi_atomic.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "native_util.h" namespace art { diff --git a/runtime/native/libcore_util_CharsetUtils.cc b/runtime/native/libcore_util_CharsetUtils.cc index f3aba2575b..24298049ee 100644 --- a/runtime/native/libcore_util_CharsetUtils.cc +++ b/runtime/native/libcore_util_CharsetUtils.cc @@ -18,7 +18,7 @@ #include <string.h> -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/string-inl.h" #include "mirror/string.h" #include "native_util.h" diff --git a/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc index 8f8fd71727..419aed8578 100644 --- a/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc +++ b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmServer.cc @@ -20,7 +20,7 @@ #include "base/array_ref.h" #include "debugger.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "native_util.h" #include "nativehelper/jni_macros.h" #include "nativehelper/scoped_primitive_array.h" diff --git a/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc index fbee7b31a3..028675d448 100644 --- a/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc +++ b/runtime/native/org_apache_harmony_dalvik_ddmc_DdmVmInternal.cc @@ -22,7 +22,7 @@ #include "base/mutex.h" #include "debugger.h" #include "gc/heap.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "native_util.h" #include "nativehelper/jni_macros.h" #include "nativehelper/scoped_local_ref.h" diff --git a/runtime/native/sun_misc_Unsafe.cc b/runtime/native/sun_misc_Unsafe.cc index fb00ae3967..d41a19556e 100644 --- a/runtime/native/sun_misc_Unsafe.cc +++ b/runtime/native/sun_misc_Unsafe.cc @@ -27,7 +27,7 @@ #include "base/quasi_atomic.h" #include "common_throws.h" #include "gc/accounting/card_table-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/array.h" #include "mirror/class-inl.h" #include "mirror/object-inl.h" diff --git a/runtime/native_bridge_art_interface.cc b/runtime/native_bridge_art_interface.cc index 7d72805dc6..def48e8be9 100644 --- a/runtime/native_bridge_art_interface.cc +++ b/runtime/native_bridge_art_interface.cc @@ -25,7 +25,7 @@ #include "base/logging.h" // For VLOG. #include "base/macros.h" #include "dex/dex_file-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "scoped_thread_state_change-inl.h" #include "sigchain.h" diff --git a/runtime/non_debuggable_classes.cc b/runtime/non_debuggable_classes.cc index 8484e2cde7..f42a2d6755 100644 --- a/runtime/non_debuggable_classes.cc +++ b/runtime/non_debuggable_classes.cc @@ -16,7 +16,7 @@ #include "non_debuggable_classes.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "nativehelper/scoped_local_ref.h" #include "obj_ptr-inl.h" diff --git a/runtime/oat_file_manager.cc b/runtime/oat_file_manager.cc index f6fb9ded87..16e6cf375c 100644 --- a/runtime/oat_file_manager.cc +++ b/runtime/oat_file_manager.cc @@ -38,7 +38,7 @@ #include "gc/scoped_gc_critical_section.h" #include "gc/space/image_space.h" #include "handle_scope-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class_loader.h" #include "mirror/object-inl.h" #include "oat_file.h" diff --git a/runtime/reflection.cc b/runtime/reflection.cc index 068bc285e5..dfa4b3daab 100644 --- a/runtime/reflection.cc +++ b/runtime/reflection.cc @@ -23,8 +23,8 @@ #include "common_throws.h" #include "dex/dex_file-inl.h" #include "indirect_reference_table-inl.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/executable.h" #include "mirror/object_array-inl.h" diff --git a/runtime/reflection_test.cc b/runtime/reflection_test.cc index 7b36c7368e..d2d720f722 100644 --- a/runtime/reflection_test.cc +++ b/runtime/reflection_test.cc @@ -23,8 +23,8 @@ #include "base/enums.h" #include "common_compiler_test.h" #include "dex/descriptors_names.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "nativehelper/scoped_local_ref.h" #include "scoped_thread_state_change-inl.h" diff --git a/runtime/runtime.cc b/runtime/runtime.cc index e2e315cbba..f86b7a054e 100644 --- a/runtime/runtime.cc +++ b/runtime/runtime.cc @@ -93,11 +93,11 @@ #include "instrumentation.h" #include "intern_table.h" #include "interpreter/interpreter.h" -#include "java_vm_ext.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" #include "jit/profile_saver.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "linear_alloc.h" #include "memory_representation.h" #include "mirror/array.h" diff --git a/runtime/scoped_thread_state_change-inl.h b/runtime/scoped_thread_state_change-inl.h index f95593209b..3089c24c59 100644 --- a/runtime/scoped_thread_state_change-inl.h +++ b/runtime/scoped_thread_state_change-inl.h @@ -22,7 +22,7 @@ #include <android-base/logging.h> #include "base/casts.h" -#include "jni_env_ext-inl.h" +#include "jni/jni_env_ext-inl.h" #include "obj_ptr-inl.h" #include "runtime.h" #include "thread-inl.h" diff --git a/runtime/scoped_thread_state_change.cc b/runtime/scoped_thread_state_change.cc index 6a86cc6411..edbce05325 100644 --- a/runtime/scoped_thread_state_change.cc +++ b/runtime/scoped_thread_state_change.cc @@ -19,7 +19,7 @@ #include <type_traits> #include "base/casts.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "obj_ptr-inl.h" #include "runtime-inl.h" diff --git a/runtime/thread-inl.h b/runtime/thread-inl.h index e34f32e0bf..91c27af407 100644 --- a/runtime/thread-inl.h +++ b/runtime/thread-inl.h @@ -23,7 +23,7 @@ #include "base/casts.h" #include "base/mutex-inl.h" #include "base/time_utils.h" -#include "jni_env_ext.h" +#include "jni/jni_env_ext.h" #include "managed_stack-inl.h" #include "obj_ptr.h" #include "thread-current-inl.h" diff --git a/runtime/thread.cc b/runtime/thread.cc index f6ac64f7bd..eada24d257 100644 --- a/runtime/thread.cc +++ b/runtime/thread.cc @@ -65,8 +65,8 @@ #include "interpreter/interpreter.h" #include "interpreter/shadow_frame.h" #include "java_frame_root_info.h" -#include "java_vm_ext.h" -#include "jni_internal.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "mirror/class_loader.h" #include "mirror/object_array-inl.h" diff --git a/runtime/thread_list.cc b/runtime/thread_list.cc index 44af867d60..b2be549996 100644 --- a/runtime/thread_list.cc +++ b/runtime/thread_list.cc @@ -40,7 +40,7 @@ #include "gc/heap.h" #include "gc/reference_processor.h" #include "gc_root.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "lock_word.h" #include "monitor.h" #include "native_stack_dump.h" diff --git a/runtime/ti/agent.cc b/runtime/ti/agent.cc index 15c514e593..608f0ee13c 100644 --- a/runtime/ti/agent.cc +++ b/runtime/ti/agent.cc @@ -21,7 +21,7 @@ #include "nativeloader/native_loader.h" #include "base/strlcpy.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "runtime.h" #include "thread-current-inl.h" #include "scoped_thread_state_change-inl.h" diff --git a/runtime/well_known_classes.cc b/runtime/well_known_classes.cc index f5d112c30b..b79334ac7f 100644 --- a/runtime/well_known_classes.cc +++ b/runtime/well_known_classes.cc @@ -25,7 +25,7 @@ #include "entrypoints/quick/quick_entrypoints_enum.h" #include "hidden_api.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "mirror/throwable.h" #include "nativehelper/scoped_local_ref.h" diff --git a/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc b/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc index f01b82553d..d9ade931d2 100644 --- a/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc +++ b/test/136-daemon-jni-shutdown/daemon_jni_shutdown.cc @@ -19,8 +19,8 @@ #include "base/casts.h" #include "base/macros.h" -#include "java_vm_ext.h" -#include "jni_env_ext.h" +#include "jni/java_vm_ext.h" +#include "jni/jni_env_ext.h" #include "thread-current-inl.h" namespace art { diff --git a/test/1947-breakpoint-redefine-deopt/check_deopt.cc b/test/1947-breakpoint-redefine-deopt/check_deopt.cc index b40b201c9c..667d8be684 100644 --- a/test/1947-breakpoint-redefine-deopt/check_deopt.cc +++ b/test/1947-breakpoint-redefine-deopt/check_deopt.cc @@ -16,7 +16,7 @@ #include "jni.h" #include "art_method-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "instrumentation.h" #include "scoped_thread_state_change-inl.h" diff --git a/test/708-jit-cache-churn/jit.cc b/test/708-jit-cache-churn/jit.cc index 1284a8703d..1b80eb3c0c 100644 --- a/test/708-jit-cache-churn/jit.cc +++ b/test/708-jit-cache-churn/jit.cc @@ -19,7 +19,7 @@ #include "art_method.h" #include "jit/jit.h" #include "jit/jit_code_cache.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class.h" #include "runtime.h" #include "scoped_thread_state_change-inl.h" diff --git a/test/900-hello-plugin/load_unload.cc b/test/900-hello-plugin/load_unload.cc index cab0abf58b..7121d108a4 100644 --- a/test/900-hello-plugin/load_unload.cc +++ b/test/900-hello-plugin/load_unload.cc @@ -21,7 +21,7 @@ #include <android-base/macros.h> #include "art_method-inl.h" -#include "java_vm_ext.h" +#include "jni/java_vm_ext.h" #include "runtime.h" namespace art { diff --git a/test/common/stack_inspect.cc b/test/common/stack_inspect.cc index fd6273769b..192274e5ae 100644 --- a/test/common/stack_inspect.cc +++ b/test/common/stack_inspect.cc @@ -20,7 +20,7 @@ #include "base/mutex.h" #include "dex/dex_file-inl.h" -#include "jni_internal.h" +#include "jni/jni_internal.h" #include "mirror/class-inl.h" #include "nth_caller_visitor.h" #include "oat_file.h" |