Lines Matching defs:MtpDataPacket
17 #define LOG_TAG "MtpDataPacket"
25 #include "MtpDataPacket.h"
32 MtpDataPacket::MtpDataPacket()
38 MtpDataPacket::~MtpDataPacket() {
41 void MtpDataPacket::reset() {
46 void MtpDataPacket::setOperationCode(MtpOperationCode code) {
50 void MtpDataPacket::setTransactionID(MtpTransactionID id) {
54 uint16_t MtpDataPacket::getUInt16() {
61 uint32_t MtpDataPacket::getUInt32() {
69 uint64_t MtpDataPacket::getUInt64() {
79 void MtpDataPacket::getUInt128(uint128_t& value) {
86 void MtpDataPacket::getString(MtpStringBuffer& string)
91 Int8List* MtpDataPacket::getAInt8() {
99 UInt8List* MtpDataPacket::getAUInt8() {
107 Int16List* MtpDataPacket::getAInt16() {
115 UInt16List* MtpDataPacket::getAUInt16() {
123 Int32List* MtpDataPacket::getAInt32() {
131 UInt32List* MtpDataPacket::getAUInt32() {
139 Int64List* MtpDataPacket::getAInt64() {
147 UInt64List* MtpDataPacket::getAUInt64() {
155 void MtpDataPacket::putInt8(int8_t value) {
162 void MtpDataPacket::putUInt8(uint8_t value) {
169 void MtpDataPacket::putInt16(int16_t value) {
177 void MtpDataPacket::putUInt16(uint16_t value) {
185 void MtpDataPacket::putInt32(int32_t value) {
195 void MtpDataPacket::putUInt32(uint32_t value) {
205 void MtpDataPacket::putInt64(int64_t value) {
219 void MtpDataPacket::putUInt64(uint64_t value) {
233 void MtpDataPacket::putInt128(const int128_t& value) {
240 void MtpDataPacket::putUInt128(const uint128_t& value) {
247 void MtpDataPacket::putInt128(int64_t value) {
252 void MtpDataPacket::putUInt128(uint64_t value) {
257 void MtpDataPacket::putAInt8(const int8_t* values, int count) {
263 void MtpDataPacket::putAUInt8(const uint8_t* values, int count) {
269 void MtpDataPacket::putAInt16(const int16_t* values, int count) {
275 void MtpDataPacket::putAUInt16(const uint16_t* values, int count) {
281 void MtpDataPacket::putAUInt16(const UInt16List* values) {
288 void MtpDataPacket::putAInt32(const int32_t* values, int count) {
294 void MtpDataPacket::putAUInt32(const uint32_t* values, int count) {
300 void MtpDataPacket::putAUInt32(const UInt32List* list) {
311 void MtpDataPacket::putAInt64(const int64_t* values, int count) {
317 void MtpDataPacket::putAUInt64(const uint64_t* values, int count) {
323 void MtpDataPacket::putString(const MtpStringBuffer& string) {
327 void MtpDataPacket::putString(const char* s) {
332 void MtpDataPacket::putString(const uint16_t* string) {
349 int MtpDataPacket::read(int fd) {
358 int MtpDataPacket::write(int fd) {
365 int MtpDataPacket::writeData(int fd, void* data, uint32_t length) {
378 int MtpDataPacket::read(struct usb_request *request) {
404 int MtpDataPacket::readData(struct usb_request *request, void* buffer, int length) {
419 int MtpDataPacket::readDataAsync(struct usb_request *req) {
428 int MtpDataPacket::readDataWait(struct usb_device *device) {
433 int MtpDataPacket::readDataHeader(struct usb_request *request) {
442 int MtpDataPacket::writeDataHeader(struct usb_request *request, uint32_t length) {
451 int MtpDataPacket::write(struct usb_request *request) {
467 int MtpDataPacket::write(struct usb_request *request, void* buffer, uint32_t length) {
476 void* MtpDataPacket::getData(int& outLength) const {