Lines Matching refs:JObject
17 JMap, JMethodID, JObject, JStaticFieldID, JStaticMethodID, JString, JThrowable, JValue,
106 pub fn define_class<S>(&self, name: S, loader: JObject<'a>, buf: &[u8]) -> Result<JClass<'a>> in define_class()
116 pub fn define_unnamed_class<S>(&self, loader: JObject<'a>, buf: &[u8]) -> Result<JClass<'a>> in define_unnamed_class()
126 loader: JObject<'a>, in define_class_impl()
196 O: Into<JObject<'a>>, in is_instance_of()
212 O: Into<JObject<'b>>, in is_same_object()
213 T: Into<JObject<'c>>, in is_same_object()
379 O: Into<JObject<'a>>, in new_global_ref()
478 pub fn new_local_ref<'b, O>(&self, obj: O) -> Result<JObject<'a>> in new_local_ref()
480 O: Into<JObject<'b>>, in new_local_ref()
483 Ok(unsafe { JObject::from_raw(local) }) in new_local_ref()
494 O: Into<JObject<'a>>, in auto_local()
517 pub fn delete_local_ref(&self, obj: JObject) -> Result<()> { in delete_local_ref()
543 pub fn pop_local_frame(&self, result: JObject<'a>) -> Result<JObject<'a>> { in pop_local_frame()
546 JObject::from_raw(jni_unchecked!( in pop_local_frame()
562 pub fn with_local_frame<F>(&self, capacity: i32, f: F) -> Result<JObject<'a>> in with_local_frame()
564 F: FnOnce() -> Result<JObject<'a>>, in with_local_frame()
571 self.pop_local_frame(JObject::null())?; in with_local_frame()
579 pub fn alloc_object<'c, T>(&self, class: T) -> Result<JObject<'a>> in alloc_object()
585 Ok(unsafe { JObject::from_raw(obj) }) in alloc_object()
767 O: Into<JObject<'b>>, in get_object_class()
814 let obj = unsafe { JObject::from_raw(obj) }; in call_static_method_unchecked()
910 O: Into<JObject<'a>>, in call_method_unchecked()
924 let obj = unsafe { JObject::from_raw(obj) }; in call_method_unchecked()
988 O: Into<JObject<'a>>, in call_method()
1050 ) -> Result<JObject<'a>> in new_object()
1082 ) -> Result<JObject<'a>> in new_object_unchecked()
1098 Ok(unsafe { JObject::from_raw(obj) }) in new_object_unchecked()
1104 pub fn get_list(&self, obj: JObject<'a>) -> Result<JList<'a, '_>> { in get_list()
1112 pub fn get_map(&self, obj: JObject<'a>) -> Result<JMap<'a, '_>> { in get_map()
1203 U: Into<JObject<'a>>, in new_object_array()
1220 ) -> Result<JObject<'a>> { in get_object_array_element()
1223 JObject::from_raw(jni_non_void_call!( in get_object_array_element()
1240 O: Into<JObject<'a>>, in set_object_array_element()
1706 O: Into<JObject<'a>>, in get_field_unchecked()
1719 let obj = unsafe { JObject::from_raw(obj) }; in get_field_unchecked()
1745 O: Into<JObject<'a>>, in set_field_unchecked()
1796 O: Into<JObject<'a>>, in get_field()
1814 O: Into<JObject<'a>>, in set_field()
1867 let obj = unsafe { JObject::from_raw(obj) }; in get_static_field_unchecked()
1976 O: Into<JObject<'a>>, in set_rust_field()
2017 O: Into<JObject<'a>>, in get_rust_field()
2043 O: Into<JObject<'a>>, in take_rust_field()
2083 O: Into<JObject<'a>>, in lock_obj()
2178 AutoArray::new(self, unsafe { JObject::from_raw(array) }, mode) in get_array_elements()
2293 unsafe { JObject::from_raw(array) }, in get_primitive_array_critical()