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() {
324 MtpStorageIDList* MtpDevice::getStorageIDs() {
339 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) {
359 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID,
378 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) {
400 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) {
415 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) {
466 bool MtpDevice::sendObject(MtpObjectInfo* info, int srcFD) {
492 bool MtpDevice::deleteObject(MtpObjectHandle handle) {
505 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) {
516 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) {
527 MtpObjectPropertyList* MtpDevice::getObjectPropsSupported(MtpObjectFormat format) {
544 MtpProperty* MtpDevice::getDevicePropDesc(MtpDeviceProperty code) {
564 MtpProperty* MtpDevice::getObjectPropDesc(MtpObjectProperty code, MtpObjectFormat format) {
585 bool MtpDevice::readObject(MtpObjectHandle handle,
678 bool MtpDevice::readObject(MtpObjectHandle handle, const char* destPath, int group, int perm) {
777 bool MtpDevice::sendRequest(MtpOperationCode operation) {
788 bool MtpDevice::sendData() {
797 bool MtpDevice::readData() {
819 bool MtpDevice::writeDataHeader(MtpOperationCode operation, int dataLength) {
825 MtpResponseCode MtpDevice::readResponse() {