Lines Matching refs:tr

803                 binder_transaction_data tr;
804 err = mIn.read(&tr, sizeof(tr));
809 if ((tr.flags & TF_STATUS_CODE) == 0) {
811 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
812 tr.data_size,
813 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets),
814 tr.offsets_size/sizeof(binder_size_t),
817 err = *reinterpret_cast<const status_t*>(tr.data.ptr.buffer);
819 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
820 tr.data_size,
821 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets),
822 tr.offsets_size/sizeof(binder_size_t), this);
826 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
827 tr.data_size,
828 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets),
829 tr.offsets_size/sizeof(binder_size_t), this);
958 binder_transaction_data tr;
960 tr.target.ptr = 0; /* Don't pass uninitialized stack data to a remote process */
961 tr.target.handle = handle;
962 tr.code = code;
963 tr.flags = binderFlags;
964 tr.cookie = 0;
965 tr.sender_pid = 0;
966 tr.sender_euid = 0;
970 tr.data_size = data.ipcDataSize();
971 tr.data.ptr.buffer = data.ipcData();
972 tr.offsets_size = data.ipcObjectsCount()*sizeof(binder_size_t);
973 tr.data.ptr.offsets = data.ipcObjects();
975 tr.flags |= TF_STATUS_CODE;
977 tr.data_size = sizeof(status_t);
978 tr.data.ptr.buffer = reinterpret_cast<uintptr_t>(statusBuffer);
979 tr.offsets_size = 0;
980 tr.data.ptr.offsets = 0;
986 mOut.write(&tr, sizeof(tr));
1079 binder_transaction_data tr;
1080 result = mIn.read(&tr, sizeof(tr));
1087 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer),
1088 tr.data_size,
1089 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets),
1090 tr.offsets_size/sizeof(binder_size_t), freeBuffer, this);
1097 mCallingPid = tr.sender_pid;
1098 mCallingUid = tr.sender_euid;
1099 mLastTransactionBinderFlags = tr.flags;
1108 << " / obj " << tr.target.ptr << " / code "
1109 << TypeCode(tr.code) << ": " << indent << buffer
1112 << reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer)
1114 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl;
1116 if (tr.target.ptr) {
1120 tr.target.ptr)->attemptIncStrong(this)) {
1121 error = reinterpret_cast<BBinder*>(tr.cookie)->transact(tr.code, buffer,
1122 &reply, tr.flags);
1123 reinterpret_cast<BBinder*>(tr.cookie)->decStrong(this);
1129 error = the_context_object->transact(tr.code, buffer, &reply, tr.flags);
1135 if ((tr.flags & TF_ONE_WAY) == 0) {
1151 << tr.target.ptr << ": " << indent << reply << dedent << endl;