Lines Matching defs:tr
746 binder_transaction_data tr;
747 err = mIn.read(&tr, sizeof(tr));
752 if ((tr.flags & TF_STATUS_CODE) == 0) {
754 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
755 tr.data_size,
756 reinterpret_cast<const size_t*>(tr.data.ptr.offsets),
757 tr.offsets_size/sizeof(size_t),
760 err = *static_cast<const status_t*>(tr.data.ptr.buffer);
762 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
763 tr.data_size,
764 reinterpret_cast<const size_t*>(tr.data.ptr.offsets),
765 tr.offsets_size/sizeof(size_t), this);
769 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
770 tr.data_size,
771 reinterpret_cast<const size_t*>(tr.data.ptr.offsets),
772 tr.offsets_size/sizeof(size_t), this);
899 binder_transaction_data tr;
901 tr.target.handle = handle;
902 tr.code = code;
903 tr.flags = binderFlags;
904 tr.cookie = 0;
905 tr.sender_pid = 0;
906 tr.sender_euid = 0;
910 tr.data_size = data.ipcDataSize();
911 tr.data.ptr.buffer = data.ipcData();
912 tr.offsets_size = data.ipcObjectsCount()*sizeof(size_t);
913 tr.data.ptr.offsets = data.ipcObjects();
915 tr.flags |= TF_STATUS_CODE;
917 tr.data_size = sizeof(status_t);
918 tr.data.ptr.buffer = statusBuffer;
919 tr.offsets_size = 0;
920 tr.data.ptr.offsets = NULL;
926 mOut.write(&tr, sizeof(tr));
1019 binder_transaction_data tr;
1020 result = mIn.read(&tr, sizeof(tr));
1027 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
1028 tr.data_size,
1029 reinterpret_cast<const size_t*>(tr.data.ptr.offsets),
1030 tr.offsets_size/sizeof(size_t), freeBuffer, this);
1035 mCallingPid = tr.sender_pid;
1036 mCallingUid = tr.sender_euid;
1064 << " / obj " << tr.target.ptr << " / code "
1065 << TypeCode(tr.code) << ": " << indent << buffer
1068 << reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer)
1070 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl;
1072 if (tr.target.ptr) {
1073 sp<BBinder> b((BBinder*)tr.cookie);
1074 const status_t error = b->transact(tr.code, buffer, &reply, tr.flags);
1078 const status_t error = the_context_object->transact(tr.code, buffer, &reply, tr.flags);
1085 if ((tr.flags & TF_ONE_WAY) == 0) {
1098 << tr.target.ptr << ": " << indent << reply << dedent << endl;