Home | History | Annotate | Download | only in mtp

Lines Matching defs:MtpDevice

17 #define LOG_TAG "MtpDevice"
20 #include "MtpDevice.h"
53 MtpDevice* MtpDevice::open(const char* deviceName, int fd) {
172 MtpDevice* mtpDevice = new MtpDevice(device, interface->bInterfaceNumber,
174 mtpDevice->initialize();
175 return mtpDevice;
184 MtpDevice::MtpDevice(struct usb_device* device, int interface,
205 MtpDevice::~MtpDevice() {
215 void MtpDevice::initialize() {
231 void MtpDevice::close() {
239 void MtpDevice::print() {
281 const char* MtpDevice::getDeviceName() {
288 bool MtpDevice::openSession() {
309 bool MtpDevice::closeSession() {
314 MtpDeviceInfo* MtpDevice::getDeviceInfo() {
333 MtpStorageIDList* MtpDevice::getStorageIDs() {
348 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) {
368 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID,
387 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) {
409 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) {
424 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) {
475 bool MtpDevice::sendObject(MtpObjectInfo* info, int srcFD) {
501 bool MtpDevice::deleteObject(MtpObjectHandle handle) {
514 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) {
525 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) {
536 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) {
553 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) {
573 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) {
594 bool MtpDevice::readObject(MtpObjectHandle handle,
687 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) {
786 bool MtpDevice::sendRequest(MtpOperationCode operation) {
797 bool MtpDevice::sendData() {
806 bool MtpDevice::readData() {
828 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) {
834 MtpResponseCode MtpDevice::readResponse() {