Lines Matching defs:Parcel

17 #define LOG_TAG "Parcel"
20 #include <binder/Parcel.h>
47 //#define LOG_REFS(...) LOG(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)
728 status_t Parcel::writeBlob(size_t len, WritableBlob* outBlob)
745 int fd = ashmem_create_region("Parcel Blob", len);
776 status_t Parcel::write(const Flattenable& val)
812 status_t Parcel::writeObject(const flat_binder_object& val, bool nullMetaData)
853 status_t Parcel::writeNoException()
858 void Parcel::remove(size_t start, size_t amt)
860 LOG_ALWAYS_FATAL("Parcel::remove() not yet implemented!");
863 status_t Parcel::read(void* outData, size_t len) const
874 const void* Parcel::readInplace(size_t len) const
886 status_t Parcel::readAligned(T *pArg) const {
900 T Parcel::readAligned() const {
910 status_t Parcel::writeAligned(T val) {
924 status_t Parcel::readInt32(int32_t *pArg) const
929 int32_t Parcel::readInt32() const
935 status_t Parcel::readInt64(int64_t *pArg) const
941 int64_t Parcel::readInt64() const
946 status_t Parcel::readFloat(float *pArg) const
952 float Parcel::readFloat() const
957 status_t Parcel::readDouble(double *pArg) const
963 double Parcel::readDouble() const
968 status_t Parcel::readIntPtr(intptr_t *pArg) const
974 intptr_t Parcel::readIntPtr() const
980 const char* Parcel::readCString() const
997 String8 Parcel::readString8() const
1008 String16 Parcel::readString16() const
1017 const char16_t* Parcel::readString16Inplace(size_t* outLen) const
1032 sp<IBinder> Parcel::readStrongBinder() const
1039 wp<IBinder> Parcel::readWeakBinder() const
1046 int32_t Parcel::readExceptionCode() const
1061 native_handle* Parcel::readNativeHandle() const
1085 int Parcel::readFileDescriptor() const
1098 status_t Parcel::readBlob(size_t len, ReadableBlob* outBlob) const
1124 status_t Parcel::read(Flattenable& val) const
1156 const flat_binder_object* Parcel::readObject(bool nullMetaData) const
1177 LOGV("Parcel %p looking for obj at %d, hint=%d\n",
1191 LOGV("Parcel found obj %d at index %d with forward search",
1204 LOGV("Parcel found obj %d at index %d with backward search",
1211 LOGW("Attempt to read object from Parcel %p at offset %d that is not in the object list",
1217 void Parcel::closeFileDescriptors()
1234 const uint8_t* Parcel::ipcData() const
1239 size_t Parcel::ipcDataSize() const
1244 const size_t* Parcel::ipcObjects() const
1249 size_t Parcel::ipcObjectsCount() const
1254 void Parcel::ipcSetDataReference(const uint8_t* data, size_t dataSize,
1272 void Parcel::print(TextOutput& to, uint32_t flags) const
1274 to << "Parcel(";
1298 void Parcel::releaseObjects()
1312 void Parcel::acquireObjects()
1326 void Parcel::freeData()
1332 void Parcel::freeDataNoInit()
1344 status_t Parcel::growData(size_t len)
1352 status_t Parcel::restartWrite(size_t desired)
1387 status_t Parcel::continueWrite(size_t desired)
1519 void Parcel::initState()
1538 void Parcel::scanForFds() const
1553 // --- Parcel::Blob ---
1555 Parcel::Blob::Blob() :
1559 Parcel::Blob::~Blob() {
1563 void Parcel::Blob::release() {
1570 void Parcel::Blob::init(bool mapped, void* data, size_t size) {
1576 void Parcel::Blob::clear() {