Home
last modified time | relevance | path

Searched refs:Parcel (Results 1 – 25 of 208) sorted by relevance

123456789

/system/libhwbinder/
DParcel.cpp177 const sp<IBinder>& /*binder*/, const flat_binder_object& flat, Parcel* out) in finish_flatten_binder()
183 const sp<IBinder>& binder, Parcel* out) in flatten_binder()
226 const Parcel& /*in*/) in finish_unflatten_binder() argument
232 const Parcel& in, sp<IBinder>* out) in unflatten_binder()
252 Parcel::Parcel() in Parcel() function in android::hardware::Parcel
258 Parcel::~Parcel() in ~Parcel()
264 size_t Parcel::getGlobalAllocSize() { in getGlobalAllocSize()
268 size_t Parcel::getGlobalAllocCount() { in getGlobalAllocCount()
272 const uint8_t* Parcel::data() const in data()
277 size_t Parcel::dataSize() const in dataSize()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-java-source/gen/android/aidl/versioned/tests/
DIFooInterface.java73 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
171 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in originalApi()
172 android.os.Parcel _reply = android.os.Parcel.obtain(); in originalApi()
188 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in acceptUnionAndReturnString()
189 android.os.Parcel _reply = android.os.Parcel.obtain(); in acceptUnionAndReturnString()
209 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in ignoreParcelablesAndRepeatInt()
210 android.os.Parcel _reply = android.os.Parcel.obtain(); in ignoreParcelablesAndRepeatInt()
238 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in returnsLengthOfFooArray()
239 android.os.Parcel _reply = android.os.Parcel.obtain(); in returnsLengthOfFooArray()
260 android.os.Parcel data = android.os.Parcel.obtain(asBinder()); in getInterfaceVersion()
[all …]
DBazUnion.java18 private BazUnion(android.os.Parcel _aidl_parcel) { in BazUnion()
48 public BazUnion createFromParcel(android.os.Parcel _aidl_source) {
58 public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) { in writeToParcel()
67 public void readFromParcel(android.os.Parcel _aidl_parcel) { in readFromParcel()
/system/tools/aidl/tests/golden_output/aidl-test-interface-permission-java-source/gen/android/aidl/tests/permission/
DIProtected.java105 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
178 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in PermissionProtected()
179 android.os.Parcel _reply = android.os.Parcel.obtain(); in PermissionProtected()
192 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in MultiplePermissionsAll()
193 android.os.Parcel _reply = android.os.Parcel.obtain(); in MultiplePermissionsAll()
206 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in MultiplePermissionsAny()
207 android.os.Parcel _reply = android.os.Parcel.obtain(); in MultiplePermissionsAny()
220 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in NonManifestPermission()
221 android.os.Parcel _reply = android.os.Parcel.obtain(); in NonManifestPermission()
235 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in SetGranted()
[all …]
DIProtectedInterface.java83 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
135 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in Method1()
136 android.os.Parcel _reply = android.os.Parcel.obtain(); in Method1()
149 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in Method2()
150 android.os.Parcel _reply = android.os.Parcel.obtain(); in Method2()
DINoPermission.java65 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
111 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in foo()
112 android.os.Parcel _reply = android.os.Parcel.obtain(); in foo()
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/
DITestService.java928 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
1780 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in UnimplementedMethod()
1782 android.os.Parcel _reply = android.os.Parcel.obtain(); in UnimplementedMethod()
1808 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in Deprecated()
1810 android.os.Parcel _reply = android.os.Parcel.obtain(); in Deprecated()
1829 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in TestOneway()
1848 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RepeatBoolean()
1850 android.os.Parcel _reply = android.os.Parcel.obtain(); in RepeatBoolean()
1872 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RepeatByte()
1874 android.os.Parcel _reply = android.os.Parcel.obtain(); in RepeatByte()
[all …]
DIOldName.java66 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
113 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RealName()
114 android.os.Parcel _reply = android.os.Parcel.obtain(); in RealName()
DINewName.java66 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
113 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RealName()
114 android.os.Parcel _reply = android.os.Parcel.obtain(); in RealName()
DINamedCallback.java66 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
113 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in GetName()
114 android.os.Parcel _reply = android.os.Parcel.obtain(); in GetName()
DICircular.java66 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
113 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in GetTestService()
114 android.os.Parcel _reply = android.os.Parcel.obtain(); in GetTestService()
/system/tools/aidl/tests/java/src/android/aidl/tests/generic/
DPair.java19 import android.os.Parcel;
27 public Pair(Parcel source) { readFromParcel(source); } in Pair()
31 public void writeToParcel(Parcel dest, int flags) { in writeToParcel()
36 public void readFromParcel(Parcel source) { in readFromParcel()
42 public Pair createFromParcel(Parcel source) { return new Pair(source); }
/system/tools/aidl/tests/golden_output/aidl-test-interface-java-source/gen/android/aidl/tests/nested/
DDeeplyNested.java9 public DeeplyNested createFromParcel(android.os.Parcel _aidl_source) {
19 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel()
28 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel()
52 public A createFromParcel(android.os.Parcel _aidl_source) {
62 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel()
72 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel()
97 public B createFromParcel(android.os.Parcel _aidl_source) {
107 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel()
116 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel()
138 public C createFromParcel(android.os.Parcel _aidl_source) {
[all …]
DINestedService.java73 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
134 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in flipStatus()
135 android.os.Parcel _reply = android.os.Parcel.obtain(); in flipStatus()
152 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in flipStatusWithCallback()
153 android.os.Parcel _reply = android.os.Parcel.obtain(); in flipStatusWithCallback()
183 public Result createFromParcel(android.os.Parcel _aidl_source) {
193 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel()
203 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel()
284 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
333 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in done()
[all …]
/system/libhwbinder/include/hwbinder/
DIPCThreadState.h78 uint32_t code, const Parcel& data,
79 Parcel* reply, uint32_t flags);
115 status_t sendReply(const Parcel& reply, uint32_t flags);
116 status_t waitForResponse(Parcel *reply,
123 const Parcel& data,
133 static void freeBuffer(Parcel* parcel,
143 Parcel mIn;
144 Parcel mOut;
DIBinder.h37 class Parcel; variable
49 using TransactCallback = std::function<void(Parcel&)>;
91 const Parcel& data,
92 Parcel* reply,
DBinder.h38 const Parcel& data,
39 Parcel* reply,
70 const Parcel& data,
71 Parcel* reply,
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h54 const Parcel &parcel, size_t parentHandle, size_t parentOffset);
57 Parcel *parcel, size_t parentHandle, size_t parentOffset);
62 const Parcel &parcel, size_t parentHandle, size_t parentOffset);
65 Parcel *parcel, size_t parentHandle, size_t parentOffset);
70 const Parcel &parcel, size_t parentHandle, size_t parentOffset);
73 Parcel *parcel, size_t parentHandle, size_t parentOffset);
79 status_t readFromParcel(Status *status, const Parcel& parcel);
80 status_t writeToParcel(const Status &status, Parcel* parcel);
87 const Parcel &parcel, in readEmbeddedFromParcel()
103 Parcel *parcel, in writeEmbeddedToParcel()
[all …]
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/android/aidl/tests/nested/
DDeeplyNested.cpp7 ::android::status_t DeeplyNested::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel()
21 ::android::status_t DeeplyNested::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel()
41 ::android::status_t DeeplyNested::A::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel()
63 ::android::status_t DeeplyNested::A::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel()
87 ::android::status_t DeeplyNested::B::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel()
101 ::android::status_t DeeplyNested::B::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel()
121 ::android::status_t DeeplyNested::B::C::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel()
135 ::android::status_t DeeplyNested::B::C::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel()
155 ::android::status_t DeeplyNested::B::C::D::readFromParcel(const ::android::Parcel* _aidl_parcel) { in readFromParcel()
169 ::android::status_t DeeplyNested::B::C::D::writeToParcel(::android::Parcel* _aidl_parcel) const { in writeToParcel()
/system/tools/aidl/tests/java/src/android/aidl/tests/
DSimpleParcelable.java19 import android.os.Parcel;
39 public void writeToParcel(Parcel dest, int flags) { in writeToParcel()
44 public void readFromParcel(Parcel source) { in readFromParcel()
70 public SimpleParcelable createFromParcel(Parcel source) {
DBadParcelable.java19 import android.os.Parcel;
36 public void writeToParcel(Parcel dest, int flags) { in writeToParcel()
46 public void readFromParcel(Parcel source) { in readFromParcel()
75 public BadParcelable createFromParcel(Parcel source) {
/system/tools/aidl/tests/golden_output/aidl-test-interface-cpp-source/gen/include/android/aidl/tests/nested/
DDeeplyNested.h48 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
49 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
80 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
81 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
112 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
113 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
147 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
148 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
180 ::android::status_t readFromParcel(const ::android::Parcel* _aidl_parcel) final;
181 ::android::status_t writeToParcel(::android::Parcel* _aidl_parcel) const final;
/system/tools/aidl/tests/golden_output/aidl-test-versioned-interface-V1-cpp-source/gen/android/aidl/versioned/tests/
DIFooInterface.cpp27 ::android::Parcel _aidl_data; in originalApi()
29 ::android::Parcel _aidl_reply; in originalApi()
57 ::android::Parcel _aidl_data; in acceptUnionAndReturnString()
59 ::android::Parcel _aidl_reply; in acceptUnionAndReturnString()
95 ::android::Parcel _aidl_data; in ignoreParcelablesAndRepeatInt()
97 ::android::Parcel _aidl_reply; in ignoreParcelablesAndRepeatInt()
149 ::android::Parcel _aidl_data; in returnsLengthOfFooArray()
151 ::android::Parcel _aidl_reply; in returnsLengthOfFooArray()
188 ::android::Parcel data; in getInterfaceVersion()
189 ::android::Parcel reply; in getInterfaceVersion()
[all …]
/system/memory/libmemunreachable/tests/
DBinder_test.cpp44 virtual status_t onTransact(uint32_t /*code*/, const Parcel& data, Parcel* reply, in onTransact()
146 Parcel send; in TEST_F()
147 Parcel reply; in TEST_F()
/system/tools/aidl/tests/golden_output/aidl-test-fixedsizearray-java-source/gen/android/aidl/fixedsizearray/
DFixedSizeArrayExample.java73 public FixedSizeArrayExample createFromParcel(android.os.Parcel _aidl_source) {
83 @Override public final void writeToParcel(android.os.Parcel _aidl_parcel, int _aidl_flag) in writeToParcel()
147 public final void readFromParcel(android.os.Parcel _aidl_parcel) in readFromParcel()
424 …@Override public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int… in onTransact()
568 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RepeatBytes()
569 android.os.Parcel _reply = android.os.Parcel.obtain(); in RepeatBytes()
587 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RepeatInts()
588 android.os.Parcel _reply = android.os.Parcel.obtain(); in RepeatInts()
606 android.os.Parcel _data = android.os.Parcel.obtain(asBinder()); in RepeatBinders()
607 android.os.Parcel _reply = android.os.Parcel.obtain(); in RepeatBinders()
[all …]

123456789