Home
last modified time | relevance | path

Searched refs:as_ref (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/binder/rust/src/parcel/
Dfile_descriptor.rs39 fn as_ref(&self) -> &OwnedFd { in as_ref() method
Dparcelable.rs902 SerializeOption::serialize_option(self.as_ref(), parcel) in serialize()
/frameworks/native/libs/binder/rust/src/
Dproxy.rs121 class.as_ref().map(|p| InterfaceClass::from_ptr(p)) in get_class()
638 let callback = unsafe { (cookie as *const F).as_ref().unwrap() }; in binder_died()
Dbinder.rs415 fn as_ref(&self) -> &I { in as_ref() method
670 self.as_ref().map_or(ptr::null(), |v| v.as_native()) in as_native()
Derror.rs109 CString::new(message.as_ref()).ok() in to_cstring()
/frameworks/native/libs/binder/rust/tests/
Dserialization.rs239 unsafe { expected.as_ref().and_then(|e| CStr::from_ptr(e).to_str().ok()) }; in on_transact()
250 s.as_ref().map(|s| { in on_transact()
/frameworks/native/libs/nativewindow/rust/src/
Dlib.rs200 unsafe { ffi::AHardwareBuffer_describe(self.0.as_ref(), &mut buffer_desc) }; in description()