Searched refs:MtpFfsHandle (Results 1 – 8 of 8) sorted by relevance
65 int MtpFfsHandle::getPacketSize(int ffs_fd) { in getPacketSize()75 MtpFfsHandle::MtpFfsHandle(int controlFd) { in MtpFfsHandle() function in android::MtpFfsHandle80 MtpFfsHandle::~MtpFfsHandle() {} in ~MtpFfsHandle()82 void MtpFfsHandle::closeEndpoints() { in closeEndpoints()88 bool MtpFfsHandle::openEndpoints(bool ptp) { in openEndpoints()115 void MtpFfsHandle::advise(int fd) { in advise()126 bool MtpFfsHandle::writeDescriptors(bool ptp) { in writeDescriptors()130 void MtpFfsHandle::closeConfig() { in closeConfig()134 int MtpFfsHandle::doAsync(void* data, size_t len, bool read, bool zero_packet) { in doAsync()166 int MtpFfsHandle::read(void* data, size_t len) { in read()[all …]
45 class MtpFfsHandle : public IMtpHandle {105 MtpFfsHandle(int controlFd);106 ~MtpFfsHandle();
26 class MtpFfsCompatHandle : public MtpFfsHandle {
45 "MtpFfsHandle.cpp",
65 MtpFfsHandle(controlFd), in MtpFfsCompatHandle()
128 mHandle = aio_compat ? new MtpFfsCompatHandle(controlFd) : new MtpFfsHandle(controlFd); in MtpServer()
115 std::unique_ptr<MtpFfsHandle> handle(new MtpFfsHandle(controlFd)); in invokeWriteDescriptor()133 std::unique_ptr<IMtpHandle> mtpHandle(new MtpFfsHandle(controlFd)); in invokeMtpFfsHandle()
55 std::unique_ptr<MtpFfsHandle> handle;95 typedef ::testing::Types<MtpFfsHandle, MtpFfsCompatHandle> mtpHandles;