Lines Matching defs:Parcel

17 #define LOG_TAG "Parcel"
20 #include <binder/Parcel.h>
47 //#define LOG_REFS(...) ALOG(LOG_DEBUG, "Parcel", __VA_ARGS__)
56 // Note: must be kept in sync with android/os/Parcel.java's EX_HAS_REPLY_HEADER
78 LOG_REFS("Parcel %p acquiring reference on local %p", who, obj.cookie);
89 LOG_REFS("Parcel %p acquiring reference on remote %p", who, b.get());
115 LOG_REFS("Parcel %p releasing reference on local %p", who, obj.cookie);
126 LOG_REFS("Parcel %p releasing reference on remote %p", who, b.get());
146 const sp<IBinder>& binder, const flat_binder_object& flat, Parcel* out)
152 const sp<IBinder>& binder, Parcel* out)
183 const wp<IBinder>& binder, Parcel* out)
231 BpBinder* proxy, const flat_binder_object& flat, const Parcel& in)
237 const Parcel& in, sp<IBinder>* out)
256 const Parcel& in, wp<IBinder>* out)
286 Parcel::Parcel()
291 Parcel::~Parcel()
296 const uint8_t* Parcel::data() const
301 size_t Parcel::dataSize() const
306 size_t Parcel::dataAvail() const
311 // happen if someone constructs a Parcel containing more than two
317 size_t Parcel::dataPosition() const
322 size_t Parcel::dataCapacity() const
327 status_t Parcel::setDataSize(size_t size)
338 void Parcel::setDataPosition(size_t pos) const
344 status_t Parcel::setDataCapacity(size_t size)
350 status_t Parcel::setData(const uint8_t* buffer, size_t len)
361 status_t Parcel::appendFrom(const Parcel *parcel, size_t offset, size_t len)
435 // new Parcel now owns its own fd, and can declare that we
450 bool Parcel::pushAllowFds(bool allowFds)
459 void Parcel::restoreAllowFds(bool lastValue)
464 bool Parcel::hasFileDescriptors() const
473 status_t Parcel::writeInterfaceToken(const String16& interface)
481 bool Parcel::checkInterface(IBinder* binder) const
486 bool Parcel::enforceInterface(const String16& interface,
513 const size_t* Parcel::objects() const
518 size_t Parcel::objectsCount() const
523 status_t Parcel::errorCheck() const
528 void Parcel::setError(status_t err)
533 status_t Parcel::finishWrite(size_t len)
546 status_t Parcel::writeUnpadded(const void* data, size_t len)
565 status_t Parcel::write(const void* data, size_t len)
575 void* Parcel::writeInplace(size_t len)
615 status_t Parcel::writeInt32(int32_t val)
620 status_t Parcel::writeInt64(int64_t val)
625 status_t Parcel::writeFloat(float val)
630 status_t Parcel::writeDouble(double val)
635 status_t Parcel::writeIntPtr(intptr_t val)
640 status_t Parcel::writeCString(const char* str)
645 status_t Parcel::writeString8(const String8& str)
657 status_t Parcel::writeString16(const String16& str)
662 status_t Parcel::writeString16(const char16_t* str, size_t len)
680 status_t Parcel::writeStrongBinder(const sp<IBinder>& val)
685 status_t Parcel::writeWeakBinder(const wp<IBinder>& val)
690 status_t Parcel::writeNativeHandle(const native_handle* handle)
713 status_t Parcel::writeFileDescriptor(int fd, bool takeOwnership)
723 status_t Parcel::writeDupFileDescriptor(int fd)
736 status_t Parcel::writeBlob(size_t len, WritableBlob* outBlob)
753 int fd = ashmem_create_region("Parcel Blob", len);
784 status_t Parcel::write(const Flattenable& val)
820 status_t Parcel::writeObject(const flat_binder_object& val, bool nullMetaData)
861 status_t Parcel::writeNoException()
866 void Parcel::remove(size_t start, size_t amt)
868 LOG_ALWAYS_FATAL("Parcel::remove() not yet implemented!");
871 status_t Parcel::read(void* outData, size_t len) const
882 const void* Parcel::readInplace(size_t len) const
894 status_t Parcel::readAligned(T *pArg) const {
908 T Parcel::readAligned() const {
918 status_t Parcel::writeAligned(T val) {
932 status_t Parcel::readInt32(int32_t *pArg) const
937 int32_t Parcel::readInt32() const
943 status_t Parcel::readInt64(int64_t *pArg) const
949 int64_t Parcel::readInt64() const
954 status_t Parcel::readFloat(float *pArg) const
960 float Parcel::readFloat() const
965 status_t Parcel::readDouble(double *pArg) const
971 double Parcel::readDouble() const
976 status_t Parcel::readIntPtr(intptr_t *pArg) const
982 intptr_t Parcel::readIntPtr() const
988 const char* Parcel::readCString() const
1005 String8 Parcel::readString8() const
1016 String16 Parcel::readString16() const
1025 const char16_t* Parcel::readString16Inplace(size_t* outLen) const
1040 sp<IBinder> Parcel::readStrongBinder() const
1047 wp<IBinder> Parcel::readWeakBinder() const
1054 int32_t Parcel::readExceptionCode() const
1070 native_handle* Parcel::readNativeHandle() const
1094 int Parcel::readFileDescriptor() const
1107 status_t Parcel::readBlob(size_t len, ReadableBlob* outBlob) const
1133 status_t Parcel::read(Flattenable& val) const
1165 const flat_binder_object* Parcel::readObject(bool nullMetaData) const
1186 ALOGV("Parcel %p looking for obj at %d, hint=%d\n",
1200 ALOGV("Parcel found obj %d at index %d with forward search",
1213 ALOGV("Parcel found obj %d at index %d with backward search",
1220 ALOGW("Attempt to read object from Parcel %p at offset %d that is not in the object list",
1226 void Parcel::closeFileDescriptors()
1243 const uint8_t* Parcel::ipcData() const
1248 size_t Parcel::ipcDataSize() const
1253 const size_t* Parcel::ipcObjects() const
1258 size_t Parcel::ipcObjectsCount() const
1263 void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize,
1281 void Parcel::print(TextOutput& to, uint32_t flags) const
1283 to << "Parcel(";
1307 void Parcel::releaseObjects()
1321 void Parcel::acquireObjects()
1335 void Parcel::freeData()
1341 void Parcel::freeDataNoInit()
1353 status_t Parcel::growData(size_t len)
1361 status_t Parcel::restartWrite(size_t desired)
1396 status_t Parcel::continueWrite(size_t desired)
1528 void Parcel::initState()
1547 void Parcel::scanForFds() const
1562 // --- Parcel::Blob ---
1564 Parcel::Blob::Blob() :
1568 Parcel::Blob::~Blob() {
1572 void Parcel::Blob::release() {
1579 void Parcel::Blob::init(bool mapped, void* data, size_t size) {
1585 void Parcel::Blob::clear() {