HomeSort by relevance Sort by last modified time
    Searched defs:env_ (Results 1 - 20 of 20) sorted by null

  /libcore/luni/src/main/native/
ExecStrings.h 28 JNIEnv* env_; member in class:ExecStrings
  /external/conscrypt/src/compat/native/
ScopedUtfChars.h 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) {
45 env_->ReleaseStringUTFChars(string_, utf_chars_);
62 JNIEnv* env_; member in class:ScopedUtfChars
  /external/conscrypt/src/openjdk/native/
ScopedUtfChars.h 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) {
45 env_->ReleaseStringUTFChars(string_, utf_chars_);
62 JNIEnv* env_; member in class:ScopedUtfChars
  /libnativehelper/include/nativehelper/
ScopedUtfChars.h 34 ScopedUtfChars(JNIEnv* env, jstring s) : env_(env), string_(s) {
45 env_->ReleaseStringUTFChars(string_, utf_chars_);
62 JNIEnv* const env_; member in class:ScopedUtfChars
ScopedStringChars.h 33 ScopedStringChars(JNIEnv* env, jstring s) : env_(env), string_(s), size_(0) {
47 env_->ReleaseStringChars(string_, chars_);
64 JNIEnv* const env_; member in class:ScopedStringChars
  /external/webrtc/webrtc/modules/utility/include/
helpers_android.h 65 JNIEnv* env_; member in class:webrtc::AttachThreadScoped
  /art/runtime/
jni_env_ext.h 119 explicit ScopedJniEnvLocalRefState(JNIEnvExt* env) : env_(env) {
125 env_->locals.SetSegmentState(env_->local_ref_cookie);
126 env_->local_ref_cookie = saved_local_ref_cookie_;
130 JNIEnvExt* const env_; member in class:art::ScopedJniEnvLocalRefState
scoped_thread_state_change.h 112 return env_;
180 : self_(ThreadForEnv(env)), env_(down_cast<JNIEnvExt*>(env)), vm_(env_->vm) {
185 : self_(self), env_(down_cast<JNIEnvExt*>(self->GetJniEnv())),
186 vm_(env_ != nullptr ? env_->vm : nullptr) {
192 : self_(nullptr), env_(nullptr), vm_(down_cast<JavaVMExt*>(vm)) {}
201 JNIEnvExt* const env_; member in class:art::ScopedObjectAccessAlreadyRunnable
reflection_test.cc 40 vm_->AttachCurrentThread(&env_, nullptr);
42 ScopedLocalRef<jclass> aioobe(env_,
43 env_->FindClass("java/lang/ArrayIndexOutOfBoundsException"));
45 aioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(aioobe.get()));
47 ScopedLocalRef<jclass> ase(env_, env_->FindClass("java/lang/ArrayStoreException"));
49 ase_ = reinterpret_cast<jclass>(env_->NewGlobalRef(ase.get()));
51 ScopedLocalRef<jclass> sioobe(env_,
52 env_->FindClass("java/lang/StringIndexOutOfBoundsException"));
54 sioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(sioobe.get()))
502 JNIEnv* env_; member in class:art::ReflectionTest
    [all...]
jni_internal_test.cc 41 vm_->AttachCurrentThread(&env_, nullptr);
43 ScopedLocalRef<jclass> aioobe(env_,
44 env_->FindClass("java/lang/ArrayIndexOutOfBoundsException"));
46 aioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(aioobe.get()));
48 ScopedLocalRef<jclass> ase(env_, env_->FindClass("java/lang/ArrayStoreException"));
50 ase_ = reinterpret_cast<jclass>(env_->NewGlobalRef(ase.get()));
52 ScopedLocalRef<jclass> sioobe(env_,
53 env_->FindClass("java/lang/StringIndexOutOfBoundsException"));
55 sioobe_ = reinterpret_cast<jclass>(env_->NewGlobalRef(sioobe.get()))
661 JNIEnv* env_; member in class:art::JniInternalTest
    [all...]
  /art/compiler/driver/
compiler_driver_test.cc 58 env_ = Thread::Current()->GetJniEnv();
59 class_ = env_->FindClass(class_name);
62 mid_ = env_->GetMethodID(class_, method, signature);
64 mid_ = env_->GetStaticMethodID(class_, method, signature);
96 JNIEnv* env_; member in class:art::CompilerDriverTest
157 jclass c_class = env_->FindClass("ConcreteClass");
159 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V");
161 jobject jobj_ = env_->NewObject(c_class, constructor);
165 env_->CallNonvirtualVoidMethod(jobj_, class_, mid_);
167 EXPECT_EQ(env_->ExceptionCheck(), JNI_TRUE)
    [all...]
  /external/v8/test/cctest/
test-log.cc 75 env_(v8::Context::New(isolate)),
77 env_->Enter();
81 env_->Exit();
88 v8::Local<v8::Context>& env() { return env_; }
109 v8::Local<v8::Context> env_; member in class:__anon24431::ScopedLoggerInitializer
test-regexp.cc 753 env_(v8::Context::New(CcTest::isolate())) {
754 env_->Enter();
757 env_->Exit();
761 v8::Local<v8::Context> env_; member in class:ContextInitializer
    [all...]
test-api.cc 21615 LocalContext env_; member in class:RequestInterruptTestBase
    [all...]
  /frameworks/base/packages/MtpDocumentsProvider/jni/
com_android_mtp_AppFuse.cpp 112 JNIEnv* env_; member in class:__anon28812::AppFuse
121 env_(env), self_(self), handle_counter_(0) {}
326 return env_->CallIntMethod(self_, app_fuse_close_file_handle, file_handle_to_jlong(in->fh));
332 return env_->CallIntMethod(self_, app_fuse_flush_file_handle, file_handle_to_jlong(in->fh));
355 return static_cast<int64_t>(env_->CallLongMethod(
366 const jlong read_size = env_->CallLongMethod(
376 env_, static_cast<jbyteArray>(env_->GetObjectField(self_, app_fuse_buffer)));
380 ScopedByteArrayRO bytes(env_, array.get());
393 env_,
    [all...]
  /art/compiler/jni/
jni_compiler_test.cc 106 env_ = Thread::Current()->GetJniEnv();
107 library_search_path_ = env_->NewStringUTF("");
108 jklass_ = env_->FindClass("MyClassNatives");
112 jmethod_ = env_->GetStaticMethodID(jklass_, method_name, method_sig);
114 jmethod_ = env_->GetMethodID(jklass_, method_name, method_sig);
120 ASSERT_EQ(JNI_OK, env_->RegisterNatives(jklass_, methods, 1))
123 env_->UnregisterNatives(jklass_);
126 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V");
127 jobj_ = env_->NewObject(jklass_, constructor);
178 JNIEnv* env_; member in class:art::JniCompilerTest
    [all...]
  /art/test/004-JniTest/
jni_test.cc 373 : env_(env),
393 JNIEnv* const env_; member in class:art::JniCallNonvirtualVoidMethodTest
413 jclass c = env_->FindClass(class_name);
414 if (env_->ExceptionCheck()) {
415 env_->ExceptionDescribe();
416 env_->FatalError(__FUNCTION__);
418 CHECK(!env_->ExceptionCheck());
425 env_->GetMethodID(c, method_name, "()V") :
426 env_->GetStaticMethodID(c, method_name, "()V"));
427 if (env_->ExceptionCheck())
716 JNIEnv* env_; member in class:art::JniCallDefaultMethodsTest
    [all...]
  /external/v8/src/crankshaft/
lithium.h 552 : env_(env),
562 DCHECK(env_->values()->at(current_) != NULL);
563 return env_->values()->at(current_);
572 LEnvironment* env() { return env_; }
581 while (current_ < limit_ && ShouldSkip(env_->values()->at(current_))) {
586 LEnvironment* env_; member in class:v8::internal::BASE_EMBEDDED
  /external/v8/tools/gcmole/
gcmole.cc 428 CallProps() : env_(NULL) { }
435 if (env_ == NULL) env_ = in.env();
436 env_->live_ |= in.env()->live_;
441 ExprEffect out = ExprEffect::NoneWithEnv(env_);
460 Environment* env_; member in class:__anon24533::CallProps
    [all...]
  /frameworks/base/services/core/jni/
com_android_server_location_GnssLocationProvider.cpp 1059 JNIEnv* env_; member in class:android::JavaObject
    [all...]

Completed in 1818 milliseconds