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