/aosp12/bionic/tests/ |
H A D | dl_test.cpp | 120 eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 137 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() 153 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, 0, expected_output.c_str()… in TEST() 163 …eth.Run([&]() { execve(path_to_linker, eth.GetArgs(), eth.GetEnv()); }, EXIT_FAILURE, error_messag… in TEST() 175 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 187 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 202 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "12345"); in TEST() 220 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, "54321"); in TEST() 300 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 338 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() [all …]
|
H A D | sys_thread_properties_test.cpp | 31 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST() 44 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, expected_out); in TEST()
|
H A D | unistd_test.cpp | 1345 ASSERT_EQ(-1, execve("/", eth.GetArgs(), eth.GetEnv())); in TEST() 1369 eth.Run([&]() { execve(BIN_DIR "printenv", eth.GetArgs(), eth.GetEnv()); }, 0, in TEST() 1388 ASSERT_EQ(-1, execle("/", "/", nullptr, eth.GetEnv())); in TEST() 1400 eth.Run([&]() { execle(BIN_DIR "printenv", "printenv", nullptr, eth.GetEnv()); }, 0, in TEST() 1448 ASSERT_EQ(-1, execvpe("this-does-not-exist", eth.GetArgs(), eth.GetEnv())); in TEST() 1459 eth.Run([&]() { execvpe("echo", eth.GetArgs(), eth.GetEnv()); }, 0, "hello world\n"); in TEST() 1484 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST() 1492 ASSERT_EQ(-1, execvpe(basename(tf.path), eth.GetArgs(), eth.GetEnv())); in TEST() 1505 eth.Run([&]() { execvpe(tf.path, eth.GetArgs(), eth.GetEnv()); }, 0, "script\n"); in TEST() 1530 ASSERT_EQ(-1, fexecve(fd, eth.GetArgs(), eth.GetEnv())); in TEST() [all …]
|
H A D | cfi_test.cpp | 153 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST() 165 eth.Run([&]() { execve(helper.c_str(), eth.GetArgs(), eth.GetEnv()); }, 0, nullptr); in TEST()
|
/aosp12/art/test/909-attach-agent/ |
H A D | attach.cc | 52 if (vm->GetEnv(reinterpret_cast<void**>(&env), kArtTiVersion) == JNI_OK) { in OnAttach() 60 if (vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0) != JNI_OK) { in OnAttach() 64 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnAttach()
|
/aosp12/art/test/904-object-allocation/ |
H A D | tracking.cc | 54 : obj_(GetEnv()->NewGlobalRef(src.obj_)) {} in ScopedGlobalRef() 60 GetEnv()->DeleteGlobalRef(obj_); in ~ScopedGlobalRef() 68 JNIEnv* GetEnv() const { in GetEnv() function in art::Test904ObjectAllocation::ScopedGlobalRef 70 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), 0); in GetEnv()
|
/aosp12/art/tools/jvmti-agents/jit-load/ |
H A D | jitload.cc | 96 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti), JVMTI_VERSION_1_0) != JNI_OK && in SetupJvmti() 97 vm->GetEnv(reinterpret_cast<void**>(&jvmti), kArtTiVersion) != JNI_OK) { in SetupJvmti() 131 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&jni), JNI_VERSION_1_6)); in Agent_OnAttach()
|
/aosp12/frameworks/base/tools/bit/ |
H A D | command.cpp | 73 Command::GetEnv() const in GetEnv() function in Command 125 char* const* env = command.GetEnv(); in get_command_output() 173 char* const* env = command.GetEnv(); in run_command()
|
/aosp12/art/tools/jvmti-agents/field-null-percent/ |
H A D | fieldnull.cc | 79 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() 83 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv() 94 CHECK_EQ(java_vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in DataDumpRequestCb() 193 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in AgentStart()
|
/aosp12/packages/services/Car/tests/CarEvsCameraPreviewApp/src/com/google/android/car/evs/jni/ |
H A D | CarEvsCameraPreviewRenderer.cpp | 81 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad() 107 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnUnload()
|
/aosp12/art/test/901-hello-ti-agent/ |
H A D | basics.cc | 101 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env), JVMTI_VERSION_1_0)); in OnLoad() 102 CHECK_CALL_SUCCESS(vm->GetEnv(reinterpret_cast<void**>(&env2), JVMTI_VERSION_1_0)); in OnLoad() 137 if (vm->GetEnv(reinterpret_cast<void**>(&jvmti_env), JVMTI_VERSION_1_0)) { in OnLoad()
|
/aosp12/art/tools/jvmti-agents/field-counts/ |
H A D | fieldcount.cc | 81 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() 85 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv() 96 CHECK_EQ(java_vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in DataDumpRequestCb() 251 CHECK_EQ(vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6), JNI_OK); in AgentStart()
|
/aosp12/frameworks/base/libs/hwui/jni/ |
H A D | Utils.cpp | 157 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in get_env_or_die() 165 if (jvm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in requireEnv()
|
/aosp12/art/tools/jvmti-agents/dump-jvmti-state/ |
H A D | dump-jvmti.cc | 49 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() 53 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
|
/aosp12/art/tools/jvmti-agents/enable-vlog/ |
H A D | enablevlog.cc | 81 res = vm->GetEnv(reinterpret_cast<void**>(jvmti), JVMTI_VERSION_1_1); in SetupJvmtiEnv() 85 return vm->GetEnv(reinterpret_cast<void**>(jvmti), kArtTiVersion); in SetupJvmtiEnv()
|
/aosp12/art/benchmark/ |
H A D | jni_loader.cc | 23 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/libnativehelper/tests_mts/jni/ |
H A D | libnativehelper_test.cpp | 22 int result = GetJavaVM()->GetEnv(reinterpret_cast<void**>(&mEnv), JNI_VERSION_1_6); in SetUp()
|
/aosp12/frameworks/base/core/tests/coretests/apks/install_jni_lib/ |
H A D | com_android_frameworks_coretests_JNITest.cpp | 31 if (jvm->GetEnv((void **) &e, JNI_VERSION_1_6)) { in JNI_OnLoad()
|
/aosp12/packages/modules/Connectivity/framework/jni/ |
H A D | onload.cpp | 26 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/packages/modules/Connectivity/service/jni/ |
H A D | onload.cpp | 26 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/packages/modules/ExtServices/jni/ |
H A D | ExtServicesJniOnLoad.cpp | 25 if (vm->GetEnv((void **)&env, JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/frameworks/opt/net/voip/src/jni/rtp/ |
H A D | rtp_jni.cpp | 27 if (vm->GetEnv((void **)&env, JNI_VERSION_1_4) != JNI_OK || in JNI_OnLoad()
|
/aosp12/packages/modules/Connectivity/tests/unit/jni/ |
H A D | test_onload.cpp | 37 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/frameworks/base/services/tests/mockingservicestests/jni/ |
H A D | onload.cpp | 37 if (vm->GetEnv((void**) &env, JNI_VERSION_1_4) != JNI_OK) { in JNI_OnLoad()
|
/aosp12/packages/providers/MediaProvider/jni/ |
H A D | jni_init.cpp | 28 if (vm->GetEnv(reinterpret_cast<void**>(&env), JNI_VERSION_1_6) != JNI_OK) { in JNI_OnLoad()
|