Home | History | Annotate | Download | only in mtp

Lines Matching defs:MtpPacket

17 #define LOG_TAG "MtpPacket"
20 #include "MtpPacket.h"
31 MtpPacket::MtpPacket(int bufferSize)
44 MtpPacket::~MtpPacket() {
49 void MtpPacket::reset() {
55 void MtpPacket::allocate(int length) {
67 void MtpPacket::dump() {
87 void MtpPacket::copyFrom(const MtpPacket& src) {
94 uint16_t MtpPacket::getUInt16(int offset) const {
98 uint32_t MtpPacket::getUInt32(int offset) const {
103 void MtpPacket::putUInt16(int offset, uint16_t value) {
108 void MtpPacket::putUInt32(int offset, uint32_t value) {
115 uint16_t MtpPacket::getContainerCode() const {
119 void MtpPacket::setContainerCode(uint16_t code) {
123 uint16_t MtpPacket::getContainerType() const {
127 MtpTransactionID MtpPacket::getTransactionID() const {
131 void MtpPacket::setTransactionID(MtpTransactionID id) {
135 uint32_t MtpPacket::getParameter(int index) const {
137 LOGE("index %d out of range in MtpPacket::getParameter", index);
143 void MtpPacket::setParameter(int index, uint32_t value) {
145 LOGE("index %d out of range in MtpPacket::setParameter", index);
155 int MtpPacket::transfer(struct usb_request* request) {