Searched refs:env_ (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/packages/MtpDocumentsProvider/jni/ |
D | com_android_mtp_AppFuse.cpp | 112 JNIEnv* env_; member in __anon5b7878130111::AppFuse 121 env_(env), self_(self), handle_counter_(0) {} in AppFuse() 326 return env_->CallIntMethod(self_, app_fuse_close_file_handle, file_handle_to_jlong(in->fh)); in handle_fuse_release() 332 return env_->CallIntMethod(self_, app_fuse_flush_file_handle, file_handle_to_jlong(in->fh)); in handle_fuse_flush() 355 return static_cast<int64_t>(env_->CallLongMethod( in get_file_size() 366 const jlong read_size = env_->CallLongMethod( in get_object_bytes() 376 env_, static_cast<jbyteArray>(env_->GetObjectField(self_, app_fuse_buffer))); in get_object_bytes() 380 ScopedByteArrayRO bytes(env_, array.get()); in get_object_bytes() 393 env_, in write_object_bytes() 394 static_cast<jbyteArray>(env_->GetObjectField(self_, app_fuse_buffer))); in write_object_bytes() [all …]
|
/frameworks/base/services/core/jni/ |
D | com_android_server_location_GnssLocationProvider.cpp | 1059 JNIEnv* env_; member in android::JavaObject 1064 JavaObject::JavaObject(JNIEnv* env, const char* class_name) : env_(env) { in JavaObject() 1065 clazz_ = env_->FindClass(class_name); in JavaObject() 1067 object_ = env_->NewObject(clazz_, ctor); in JavaObject() 1071 env_->DeleteLocalRef(clazz_); in ~JavaObject() 1077 env_, clazz_, object_, method_name, value); in callSetter() 1083 jbyteArray array = env_->NewByteArray(size); in callSetter() 1084 env_->SetByteArrayRegion(array, 0, size, (jbyte*) value); in callSetter() 1085 jmethodID method = env_->GetMethodID( in callSetter() 1089 env_->CallVoidMethod(object_, method, array); in callSetter()
|