OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MtpPacket
(Results
1 - 11
of
11
) sorted by null
/frameworks/av/media/mtp/
MtpPacket.cpp
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(size_t length) {
67
void
MtpPacket
::dump() {
87
void
MtpPacket
::copyFrom(const MtpPacket& src)
[
all
...]
MtpPacket.h
27
class
MtpPacket
{
39
MtpPacket
(int bufferSize);
40
virtual ~
MtpPacket
();
47
void copyFrom(const
MtpPacket
& src);
MtpEventPacket.h
20
#include "
MtpPacket
.h"
25
class MtpEventPacket : public
MtpPacket
{
MtpRequestPacket.h
20
#include "
MtpPacket
.h"
27
class MtpRequestPacket : public
MtpPacket
{
MtpResponsePacket.h
20
#include "
MtpPacket
.h"
25
class MtpResponsePacket : public
MtpPacket
{
Android.mk
28
MtpPacket
.cpp \
MtpResponsePacket.cpp
30
:
MtpPacket
(512)
MtpEventPacket.cpp
35
:
MtpPacket
(512)
MtpRequestPacket.cpp
30
:
MtpPacket
(512),
MtpDataPacket.cpp
31
:
MtpPacket
(MTP_BUFFER_SIZE), // MAX_USBFS_BUFFER_SIZE
40
MtpPacket
::reset();
45
MtpPacket
::putUInt16(MTP_CONTAINER_CODE_OFFSET, code);
49
MtpPacket
::putUInt32(MTP_CONTAINER_TRANSACTION_ID_OFFSET, id);
431
MtpPacket
::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, mPacketSize);
432
MtpPacket
::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA);
441
MtpPacket
::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, length);
442
MtpPacket
::putUInt16(MTP_CONTAINER_TYPE_OFFSET, MTP_CONTAINER_TYPE_DATA);
457
uint32_t totalLength =
MtpPacket
::getUInt32(MTP_CONTAINER_LENGTH_OFFSET);
515
MtpPacket
::putUInt32(MTP_CONTAINER_LENGTH_OFFSET, length)
[
all
...]
MtpDataPacket.h
20
#include "
MtpPacket
.h"
30
class MtpDataPacket : public
MtpPacket
{
119
inline uint32_t getContainerLength() const { return
MtpPacket
::getUInt32(MTP_CONTAINER_LENGTH_OFFSET); }
Completed in 202 milliseconds