Searched refs:jni_ (Results 1 – 8 of 8) sorted by relevance
/external/webrtc/modules/utility/source/ |
D | jvm_android.cc | 96 : jni_(jni), j_object_(NewGlobalRef(jni, object)) { in GlobalRef() 102 DeleteGlobalRef(jni_, j_object_); in ~GlobalRef() 108 jboolean res = jni_->CallBooleanMethodV(j_object_, methodID, args); in CallBooleanMethod() 109 CHECK_EXCEPTION(jni_) << "Error during CallBooleanMethod"; in CallBooleanMethod() 117 jint res = jni_->CallIntMethodV(j_object_, methodID, args); in CallIntMethod() 118 CHECK_EXCEPTION(jni_) << "Error during CallIntMethod"; in CallIntMethod() 126 jni_->CallVoidMethodV(j_object_, methodID, args); in CallVoidMethod() 127 CHECK_EXCEPTION(jni_) << "Error during CallVoidMethod"; in CallVoidMethod() 133 : JavaClass(jni, clazz), jni_(jni) { in NativeRegistration() 139 jni_->UnregisterNatives(j_class_); in ~NativeRegistration() [all …]
|
/external/webrtc/modules/utility/include/ |
D | jvm_android.h | 55 JNIEnv* const jni_; 63 JavaClass(JNIEnv* jni, jclass clazz) : jni_(jni), j_class_(clazz) {} in JavaClass() 72 JNIEnv* const jni_; 88 JNIEnv* const jni_; 115 JNIEnv* const jni_; variable
|
/external/webrtc/sdk/android/native_unittests/audio_device/ |
D | audio_device_unittest.cc | 468 jni_ = AttachCurrentThreadIfNeeded(); in AudioDeviceTest() 469 context_ = test::GetAppContextForTest(jni_); in AudioDeviceTest() 470 audio_device_ = CreateJavaAudioDeviceModule(jni_, context_.obj()); in AudioDeviceTest() 473 audio_manager_ = GetAudioManager(jni_, context_); in AudioDeviceTest() 481 int input_sample_rate = GetDefaultSampleRate(jni_, audio_manager_); in UpdateParameters() 482 int output_sample_rate = GetDefaultSampleRate(jni_, audio_manager_); in UpdateParameters() 487 GetAudioParameters(jni_, context_, audio_manager_, input_sample_rate, in UpdateParameters() 520 CreateAAudioAudioDeviceModule(jni_, context_.obj())); in CreateAudioDevice() 525 CreateJavaAudioDeviceModule(jni_, context_.obj())); in CreateAudioDevice() 528 CreateOpenSLESAudioDeviceModule(jni_, context_.obj())); in CreateAudioDevice() [all …]
|
/external/webrtc/sdk/android/src/jni/ |
D | jni_helpers.cc | 43 ScopedLocalRefFrame::ScopedLocalRefFrame(JNIEnv* jni) : jni_(jni) { in ScopedLocalRefFrame() 44 RTC_CHECK(!jni_->PushLocalFrame(0)) << "Failed to PushLocalFrame"; in ScopedLocalRefFrame() 47 jni_->PopLocalFrame(nullptr); in ~ScopedLocalRefFrame()
|
D | jni_helpers.h | 66 JNIEnv* jni_;
|
/external/webrtc/sdk/android/native_api/jni/ |
D | java_types.cc | 32 : jni_(jni), iterable_(jni, iterable) {} in Iterable() 43 : jni_(jni) { in Iterator() 53 : jni_(std::move(other.jni_)), in Iterator() 68 bool has_next = JNI_Iterator::Java_Iterator_hasNext(jni_, iterator_); in operator ++() 75 value_ = JNI_Iterator::Java_Iterator_next(jni_, iterator_); in operator ++() 80 JNI_Iterator::Java_Iterator_remove(jni_, iterator_); in Remove() 99 return jni_ == nullptr || IsNull(jni_, iterator_); in AtEnd()
|
D | java_types.h | 95 JNIEnv* jni_ = nullptr; variable 103 Iterable::Iterator begin() { return Iterable::Iterator(jni_, iterable_); } in begin() 107 JNIEnv* jni_;
|
/external/libchrome/base/android/jni_generator/ |
D | README.md | 77 For Strings & Arrays - it's common practice to use the `//base/android/jni_*`
|