/frameworks/native/libs/binder/ndk/include_ndk/android/ |
D | binder_parcel.h | 46 struct AParcel; 47 typedef struct AParcel AParcel; typedef 57 void AParcel_delete(AParcel* parcel) __INTRODUCED_IN(29); 70 binder_status_t AParcel_setDataPosition(const AParcel* parcel, int32_t position) 86 int32_t AParcel_getDataPosition(const AParcel* parcel) __INTRODUCED_IN(29); 186 typedef binder_status_t (*AParcel_writeParcelableElement)(AParcel* parcel, const void* arrayData, 200 typedef binder_status_t (*AParcel_readParcelableElement)(const AParcel* parcel, void* arrayData, 405 binder_status_t AParcel_writeStrongBinder(AParcel* parcel, AIBinder* binder) __INTRODUCED_IN(29); 418 binder_status_t AParcel_readStrongBinder(const AParcel* parcel, AIBinder** binder) 434 binder_status_t AParcel_writeParcelFileDescriptor(AParcel* parcel, int fd) __INTRODUCED_IN(29); [all …]
|
D | binder_ibinder.h | 170 const AParcel* in, AParcel* out); 482 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) __INTRODUCED_IN(29); 508 binder_status_t AIBinder_transact(AIBinder* binder, transaction_code_t code, AParcel** in, 509 AParcel** out, binder_flags_t flags) __INTRODUCED_IN(29);
|
D | binder_parcel_jni.h | 49 __attribute__((warn_unused_result)) AParcel* AParcel_fromJavaParcel(JNIEnv* env, jobject parcel)
|
/frameworks/native/libs/binder/ndk/ |
D | parcel.cpp | 49 binder_status_t WriteAndValidateArraySize(AParcel* parcel, bool isNullArray, int32_t length) { in WriteAndValidateArraySize() 71 binder_status_t WriteArray(AParcel* parcel, const T* array, int32_t length) { in WriteArray() 89 binder_status_t WriteArray<char16_t>(AParcel* parcel, const char16_t* array, int32_t length) { in WriteArray() 109 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, in ReadArray() 138 binder_status_t ReadArray<char16_t>(const AParcel* parcel, void* arrayData, in ReadArray() 167 binder_status_t WriteArray(AParcel* parcel, const void* arrayData, int32_t length, in WriteArray() 187 binder_status_t ReadArray(const AParcel* parcel, void* arrayData, ArrayAllocator<T> allocator, in ReadArray() 212 void AParcel_delete(AParcel* parcel) { in AParcel_delete() 216 binder_status_t AParcel_setDataPosition(const AParcel* parcel, int32_t position) { in AParcel_setDataPosition() 225 int32_t AParcel_getDataPosition(const AParcel* parcel) { in AParcel_getDataPosition() [all …]
|
D | parcel_internal.h | 26 struct AParcel { struct 30 explicit AParcel(AIBinder* binder) : AParcel(binder, new ::android::Parcel, true /*owns*/) {} in AParcel() argument 31 AParcel(AIBinder* binder, ::android::Parcel* parcel, bool owns) in AParcel() argument 34 ~AParcel() { in ~AParcel() argument 40 static const AParcel readOnly(AIBinder* binder, const ::android::Parcel* parcel) { in readOnly() argument 41 return AParcel(binder, const_cast<::android::Parcel*>(parcel), false); in readOnly()
|
D | parcel_jni.cpp | 25 AParcel* AParcel_fromJavaParcel(JNIEnv* env, jobject jbinder) { in AParcel_fromJavaParcel() 36 return new AParcel(nullptr /*binder*/, parcel, false /*shouldOwn*/); in AParcel_fromJavaParcel()
|
D | ibinder.cpp | 179 const AParcel in = AParcel::readOnly(this, &data); in onTransact() 180 AParcel out = AParcel(this, reply, false /*owns*/); in onTransact() 588 binder_status_t AIBinder_prepareTransaction(AIBinder* binder, AParcel** in) { in AIBinder_prepareTransaction() 601 *in = new AParcel(binder); in AIBinder_prepareTransaction() 615 static void DestroyParcel(AParcel** parcel) { in DestroyParcel() 620 binder_status_t AIBinder_transact(AIBinder* binder, transaction_code_t code, AParcel** in, in AIBinder_transact() 621 AParcel** out, binder_flags_t flags) { in AIBinder_transact() 627 using AutoParcelDestroyer = std::unique_ptr<AParcel*, void (*)(AParcel**)>; in AIBinder_transact() 654 *out = new AParcel(binder); in AIBinder_transact()
|
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_parcel_utils.h | 159 static inline binder_status_t AParcel_writeNullableStrongBinder(AParcel* parcel, in AParcel_writeNullableStrongBinder() 167 static inline binder_status_t AParcel_readNullableStrongBinder(const AParcel* parcel, in AParcel_readNullableStrongBinder() 180 static inline binder_status_t AParcel_writeRequiredStrongBinder(AParcel* parcel, in AParcel_writeRequiredStrongBinder() 192 static inline binder_status_t AParcel_readRequiredStrongBinder(const AParcel* parcel, in AParcel_readRequiredStrongBinder() 210 AParcel* parcel, const ScopedFileDescriptor& fd) { in AParcel_writeNullableParcelFileDescriptor() 217 static inline binder_status_t AParcel_readNullableParcelFileDescriptor(const AParcel* parcel, in AParcel_readNullableParcelFileDescriptor() 231 AParcel* parcel, const ScopedFileDescriptor& fd) { in AParcel_writeRequiredParcelFileDescriptor() 242 static inline binder_status_t AParcel_readRequiredParcelFileDescriptor(const AParcel* parcel, in AParcel_readRequiredParcelFileDescriptor() 350 static inline binder_status_t AParcel_writeString(AParcel* parcel, const std::string& str) { in AParcel_writeString() 357 static inline binder_status_t AParcel_readString(const AParcel* parcel, std::string* str) { in AParcel_readString() [all …]
|
D | binder_parcelable_utils.h | 52 binder_status_t writeToParcel(AParcel* parcel) const { in writeToParcel() 69 binder_status_t readFromParcel(const AParcel* parcel) { in readFromParcel()
|
D | binder_auto_utils.h | 202 class ScopedAParcel : public impl::ScopedAResource<AParcel*, AParcel_delete, nullptr> { 207 explicit ScopedAParcel(AParcel* a = nullptr) : ScopedAResource(a) {} in ScopedAResource()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/ |
D | binder_ndk.h | 30 NdkParcelAdapter() : mParcel(new AParcel(nullptr /*binder*/)) {} in NdkParcelAdapter() 32 const AParcel* aParcel() const { return mParcel.get(); } in aParcel() 33 AParcel* aParcel() { return mParcel.get(); } in aParcel()
|
D | binder_ndk.cpp | 28 binder_status_t readFromParcel(const AParcel* parcel) { in readFromParcel() 71 AParcel* parcel = AParcel_create(); in __anona8499bf60502()
|
/frameworks/native/libs/binder/ndk/include_platform/android/ |
D | binder_parcel_platform.h | 32 bool AParcel_getAllowFds(const AParcel*); 46 void AParcel_markSensitive(const AParcel* parcel);
|
/frameworks/native/libs/binder/ndk/tests/ |
D | iface.cpp | 45 binder_status_t IFoo_Class_onTransact(AIBinder* binder, transaction_code_t code, const AParcel* in, in IFoo_Class_onTransact() 46 AParcel* out) { in IFoo_Class_onTransact() 83 AParcel* parcelIn; in doubleNumber() 103 AParcel* parcelIn; in die()
|
/frameworks/native/libs/binder/rust/src/ |
D | parcel.rs | 46 Owned(*mut sys::AParcel), 48 Borrowed(*mut sys::AParcel), 55 unsafe impl AsNative<sys::AParcel> for Parcel { 56 fn as_native(&self) -> *const sys::AParcel { in as_native() argument 62 fn as_native_mut(&mut self) -> *mut sys::AParcel { in as_native_mut() argument 76 pub(crate) unsafe fn borrowed(ptr: *mut sys::AParcel) -> Option<Parcel> { in borrowed() 88 pub(crate) unsafe fn owned(ptr: *mut sys::AParcel) -> Option<Parcel> { in owned() 94 pub(crate) fn into_raw(mut self) -> *mut sys::AParcel { in into_raw() argument
|
D | native.rs | 251 data: *const sys::AParcel, in on_transact() argument 252 reply: *mut sys::AParcel, in on_transact() argument 256 let data = Parcel::borrowed(data as *mut sys::AParcel).unwrap(); in on_transact()
|
D | binder.rs | 482 data: *const sys::AParcel, in on_transact() argument 483 reply: *mut sys::AParcel, in on_transact() argument
|
/frameworks/av/media/libmediatranscoding/include/media/ |
D | TranscodingRequest.h | 41 AParcel* p = AParcel_create(); in setTo()
|
/frameworks/native/libs/binder/rust/ |
D | Android.bp | 76 "--allowlist-type", "AParcel",
|
/frameworks/base/libs/hwui/jni/ |
D | Bitmap.cpp | 653 AParcel* get() { return mParcel; } in get() 656 AParcel* mParcel; 668 static binder_status_t readBlob(AParcel* parcel, T inPlaceCallback, U ashmemCallback) { in readBlob() 710 static constexpr bool shouldUseAshmem(AParcel* parcel, int32_t size) { in shouldUseAshmem() 714 static binder_status_t writeBlobFromFd(AParcel* parcel, int32_t size, int fd) { in writeBlobFromFd() 722 static binder_status_t writeBlob(AParcel* parcel, const int32_t size, const void* data, bool immuta… in writeBlob()
|
D | Region.cpp | 212 AParcel* p = AParcel_fromJavaParcel(env, parcel); in Region_createFromParcel() 250 AParcel* p = AParcel_fromJavaParcel(env, parcel); in Region_writeToParcel()
|
/frameworks/native/libs/binder/tests/ |
D | binderStabilityTest.cpp | 284 AIBinder* binder, transaction_code_t code, const AParcel* /*in*/, AParcel* /*out*/) { in NdkBadStableBinder_Class_onTransact() argument
|
/frameworks/native/libs/binder/rust/src/parcel/ |
D | parcelable.rs | 73 parcel: *mut sys::AParcel, in serialize_element() argument 131 parcel: *const sys::AParcel, in deserialize_element() argument
|