Lines Matching refs:tr

874                 binder_transaction_data tr;  in waitForResponse()  local
875 err = mIn.read(&tr, sizeof(tr)); in waitForResponse()
880 if ((tr.flags & TF_STATUS_CODE) == 0) { in waitForResponse()
882 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in waitForResponse()
883 tr.data_size, in waitForResponse()
884 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
885 tr.offsets_size/sizeof(binder_size_t), in waitForResponse()
888 err = *reinterpret_cast<const status_t*>(tr.data.ptr.buffer); in waitForResponse()
890 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in waitForResponse()
891 tr.data_size, in waitForResponse()
892 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
893 tr.offsets_size/sizeof(binder_size_t), this); in waitForResponse()
897 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in waitForResponse()
898 tr.data_size, in waitForResponse()
899 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in waitForResponse()
900 tr.offsets_size/sizeof(binder_size_t), this); in waitForResponse()
1033 binder_transaction_data tr; in writeTransactionData() local
1035 tr.target.ptr = 0; /* Don't pass uninitialized stack data to a remote process */ in writeTransactionData()
1036 tr.target.handle = handle; in writeTransactionData()
1037 tr.code = code; in writeTransactionData()
1038 tr.flags = binderFlags; in writeTransactionData()
1039 tr.cookie = 0; in writeTransactionData()
1040 tr.sender_pid = 0; in writeTransactionData()
1041 tr.sender_euid = 0; in writeTransactionData()
1045 tr.data_size = data.ipcDataSize(); in writeTransactionData()
1046 tr.data.ptr.buffer = data.ipcData(); in writeTransactionData()
1047 tr.offsets_size = data.ipcObjectsCount()*sizeof(binder_size_t); in writeTransactionData()
1048 tr.data.ptr.offsets = data.ipcObjects(); in writeTransactionData()
1050 tr.flags |= TF_STATUS_CODE; in writeTransactionData()
1052 tr.data_size = sizeof(status_t); in writeTransactionData()
1053 tr.data.ptr.buffer = reinterpret_cast<uintptr_t>(statusBuffer); in writeTransactionData()
1054 tr.offsets_size = 0; in writeTransactionData()
1055 tr.data.ptr.offsets = 0; in writeTransactionData()
1061 mOut.write(&tr, sizeof(tr)); in writeTransactionData()
1156 binder_transaction_data& tr = tr_secctx.transaction_data; in executeCommand() local
1161 result = mIn.read(&tr, sizeof(tr)); in executeCommand()
1171 reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer), in executeCommand()
1172 tr.data_size, in executeCommand()
1173 reinterpret_cast<const binder_size_t*>(tr.data.ptr.offsets), in executeCommand()
1174 tr.offsets_size/sizeof(binder_size_t), freeBuffer, this); in executeCommand()
1192 mCallingPid = tr.sender_pid; in executeCommand()
1194 mCallingUid = tr.sender_euid; in executeCommand()
1195 mLastTransactionBinderFlags = tr.flags; in executeCommand()
1205 << " / obj " << tr.target.ptr << " / code " in executeCommand()
1206 << TypeCode(tr.code) << ": " << indent << buffer in executeCommand()
1209 << reinterpret_cast<const uint8_t*>(tr.data.ptr.buffer) in executeCommand()
1211 << reinterpret_cast<const size_t*>(tr.data.ptr.offsets) << endl; in executeCommand()
1213 if (tr.target.ptr) { in executeCommand()
1217 tr.target.ptr)->attemptIncStrong(this)) { in executeCommand()
1218 error = reinterpret_cast<BBinder*>(tr.cookie)->transact(tr.code, buffer, in executeCommand()
1219 &reply, tr.flags); in executeCommand()
1220 reinterpret_cast<BBinder*>(tr.cookie)->decStrong(this); in executeCommand()
1226 error = the_context_object->transact(tr.code, buffer, &reply, tr.flags); in executeCommand()
1232 if ((tr.flags & TF_ONE_WAY) == 0) { in executeCommand()
1257 << tr.target.ptr << ": " << indent << reply << dedent << endl; in executeCommand()