• Home
  • Raw
  • Download

Lines Matching refs:MtpDevice

53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) {  in open()
163 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber, in open()
175 MtpDevice::MtpDevice(struct usb_device* device, int interface, in MtpDevice() function in android::MtpDevice
196 MtpDevice::~MtpDevice() { in ~MtpDevice()
206 void MtpDevice::initialize() { in initialize()
222 void MtpDevice::close() { in close()
230 void MtpDevice::print() { in print()
272 const char* MtpDevice::getDeviceName() { in getDeviceName()
279 bool MtpDevice::openSession() { in openSession()
300 bool MtpDevice::closeSession() { in closeSession()
305 MtpDeviceInfo* MtpDevice::getDeviceInfo() { in getDeviceInfo()
322 MtpStorageIDList* MtpDevice::getStorageIDs() { in getStorageIDs()
337 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) { in getStorageInfo()
355 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID, in getObjectHandles()
374 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { in getObjectInfo()
394 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { in getThumbnail()
409 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo()
460 bool MtpDevice::sendObject(MtpObjectInfo* info, int srcFD) { in sendObject()
486 bool MtpDevice::deleteObject(MtpObjectHandle handle) { in deleteObject()
499 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { in getParent()
510 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { in getStorageID()
521 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) { in getObjectPropsSupported()
538 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) { in getDevicePropDesc()
556 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) { in getObjectPropDesc()
575 bool MtpDevice::readObject(MtpObjectHandle handle, in readObject()
668 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) { in readObject()
767 bool MtpDevice::sendRequest(MtpOperationCode operation) { in sendRequest()
778 bool MtpDevice::sendData() { in sendData()
787 bool MtpDevice::readData() { in readData()
809 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) { in writeDataHeader()
815 MtpResponseCode MtpDevice::readResponse() { in readResponse()