Searched refs:IMtpHandle (Results 1 – 15 of 15) sorted by relevance
23 class IMtpHandle; variable35 int write(IMtpHandle *h);
25 class IMtpHandle; variable37 int write(IMtpHandle *h);
23 class IMtpHandle; variable36 int read(IMtpHandle *h);
28 class IMtpHandle; variable99 int read(IMtpHandle *h);102 int write(IMtpHandle *h);103 int writeData(IMtpHandle *h, void* data, uint32_t length);
23 class IMtpHandle {39 virtual ~IMtpHandle() {} in ~IMtpHandle()
25 class MtpDevHandle : public IMtpHandle {
39 int MtpResponsePacket::write(IMtpHandle *h) { in write()
40 int MtpRequestPacket::read(IMtpHandle *h) { in read()
39 int MtpEventPacket::write(IMtpHandle *h) { in write()
45 class MtpFfsHandle : public IMtpHandle {
71 IMtpHandle* mHandle;
444 int MtpDataPacket::read(IMtpHandle *h) { in read()453 int MtpDataPacket::write(IMtpHandle *h) { in write()460 int MtpDataPacket::writeData(IMtpHandle *h, void* data, uint32_t length) { in writeData()
128 std::unique_ptr<IMtpHandle> handle; in invokeMtpFfsHandle()130 std::unique_ptr<IMtpHandle> mtpCompactHandle(new MtpFfsCompatHandle(controlFd)); in invokeMtpFfsHandle()133 std::unique_ptr<IMtpHandle> mtpHandle(new MtpFfsHandle(controlFd)); in invokeMtpFfsHandle()
25 class MtpMockHandle : public IMtpHandle {
68 android::IMtpHandle* h = new MtpDevHandle(); in process()