Searched refs:as_native_mut (Results 1 – 13 of 13) sorted by relevance
/frameworks/native/libs/binder/rust/src/ |
D | proxy.rs | 120 let class = sys::AIBinder_getClass(self.as_native_mut()); in get_class() 166 unsafe { sys::AIBinder_associateClass(self.as_native_mut(), class.into()) } in associate_class() 223 sys::AIBinder_decStrong(self.as_native_mut()); in drop() 307 unsafe { sys::AIBinder_setRequestingSid(self.as_native_mut(), enable) }; in set_requesting_sid() 325 self.as_native_mut(), in dump() 343 let status = unsafe { sys::AIBinder_getExtension(self.as_native_mut(), &mut out) }; in get_extension() 368 self.as_native_mut(), in link_to_death() 369 recipient.as_native_mut(), in link_to_death() 384 self.as_native_mut(), in unlink_to_death() 385 recipient.as_native_mut(), in unlink_to_death() [all …]
|
D | native.rs | 181 unsafe { sys::AIBinder_setExtension(self.as_native_mut(), extension.as_native_mut()) }; in set_extension() 199 sys::AIBinder_markVintfStability(self.as_native_mut()); in mark_stability() 212 sys::AIBinder_markVendorStability(self.as_native_mut()); in mark_local_stability() 223 sys::AIBinder_markSystemStability(self.as_native_mut()); in mark_local_stability() 438 let userdata = unsafe { sys::AIBinder_getUserData(ibinder.as_native_mut()) }; in try_from() 445 Ok(Binder { ibinder: ibinder.as_native_mut(), rust_object: userdata as *mut B }) in try_from() 459 fn as_native_mut(&mut self) -> *mut sys::AIBinder { in as_native_mut() method
|
D | service.rs | 39 unsafe { sys::AServiceManager_addService(binder.as_native_mut(), instance.as_ptr()) }; in add_service() 61 sys::AServiceManager_registerLazyService(binder.as_native_mut(), instance.as_ptr()) in register_lazy_service()
|
D | parcel.rs | 180 fn as_native_mut(&mut self) -> *mut sys::AParcel { in as_native_mut() method 192 fn as_native_mut(&mut self) -> *mut sys::AParcel { in as_native_mut() method 319 sys::AParcel_appendFrom(other.as_native(), self.as_native_mut(), start, size) in append_from() 664 self.as_native_mut(), in write_binder() 665 binder.cloned().as_native_mut(), in write_binder()
|
D | binder.rs | 663 fn as_native_mut(&mut self) -> *mut T; in as_native_mut() method 673 fn as_native_mut(&mut self) -> *mut T { in as_native_mut() method 674 self.as_mut().map_or(ptr::null_mut(), |v| v.as_native_mut()) in as_native_mut()
|
D | error.rs | 366 fn as_native_mut(&mut self) -> *mut sys::AStatus { in as_native_mut() method
|
/frameworks/native/libs/binder/rust/rpcbinder/src/server/ |
D | android.rs | 48 let service = service.as_native_mut(); in new_vsock() 66 let service = service.as_native_mut(); in new_bound_socket() 87 let service = service.as_native_mut(); in new_unix_domain_bootstrap() 110 let service = service.as_native_mut(); in new_inet()
|
D | trusty.rs | 93 std::mem::ManuallyDrop::new(b).as_native_mut().cast() in per_session_callback_wrapper()
|
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/random_parcel/src/ |
D | lib.rs | 26 let aparcel_ptr: *mut AParcel = parcel.as_native_mut(); in create_random_parcel() 46 let ptr = binder.as_native_mut() as *mut c_void; in fuzz_multiple_services()
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | file_descriptor.rs | 80 let status = unsafe { sys::AParcel_writeParcelFileDescriptor(parcel.as_native_mut(), fd) }; in serialize() 97 unsafe { sys::AParcel_writeParcelFileDescriptor(parcel.as_native_mut(), -1i32) }; in serialize_option()
|
D | parcelable.rs | 137 parcel.as_native_mut(), in serialize_array() 373 status_result($write_fn(parcel.as_native_mut(), *self)) 409 parcel.as_native_mut(), 540 parcel.as_native_mut(), in serialize_array() 579 parcel.as_native_mut(), in serialize_array() 596 status_result(sys::AParcel_writeString(parcel.as_native_mut(), ptr::null(), -1)) in serialize_option() 608 parcel.as_native_mut(), in serialize_option() 809 status_result(sys::AParcel_writeStatusHeader(parcel.as_native_mut(), self.as_native())) in serialize()
|
/frameworks/native/libs/nativewindow/rust/src/ |
D | surface.rs | 100 unsafe { ANativeWindow_writeToParcel(self.0.as_ptr(), parcel.as_native_mut()) }; in write_to_parcel()
|
D | lib.rs | 236 unsafe { AHardwareBuffer_writeToParcel(self.0.as_ptr(), parcel.as_native_mut()) }; in write_to_parcel()
|