Home
last modified time | relevance | path

Searched refs:MTP_RESPONSE_OK (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/mtp/
DMtpServer.cpp505 return MTP_RESPONSE_OK; in doGetDeviceInfo()
521 return MTP_RESPONSE_OK; in doOpenSession()
530 return MTP_RESPONSE_OK; in doCloseSession()
542 return MTP_RESPONSE_OK; in doGetStorageIDs()
568 return MTP_RESPONSE_OK; in doGetStorageInfo()
580 return MTP_RESPONSE_OK; in doGetObjectPropsSupported()
599 return MTP_RESPONSE_OK; in doGetObjectHandles()
617 return MTP_RESPONSE_OK; in doGetNumObjects()
641 return MTP_RESPONSE_OK; in doGetObjectReferences()
744 if (result == MTP_RESPONSE_OK) { in doGetObjectInfo()
[all …]
DMtpDevice.cpp342 else if (ret != MTP_RESPONSE_OK) in openSession()
364 if (ret == MTP_RESPONSE_OK) { in getDeviceInfo()
383 if (ret == MTP_RESPONSE_OK) { in getStorageIDs()
399 if (ret == MTP_RESPONSE_OK) { in getStorageInfo()
422 if (ret == MTP_RESPONSE_OK) { in getObjectHandles()
440 if (ret == MTP_RESPONSE_OK) { in getObjectInfo()
457 if (ret == MTP_RESPONSE_OK) { in getThumbnail()
507 if (ret == MTP_RESPONSE_OK) { in sendObjectInfo()
534 return ret == MTP_RESPONSE_OK && writeResult > 0; in sendObject()
546 if (ret == MTP_RESPONSE_OK) in deleteObject()
[all …]
Dmtp.h414 #define MTP_RESPONSE_OK 0x2001 macro
DMtpFfsHandle.cpp465 st->wCode = MTP_RESPONSE_OK; in handleControlRequest()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp385 if (result == MTP_RESPONSE_OK && count != 1) in getObjectPropertyValue()
388 if (result == MTP_RESPONSE_OK) { in getObjectPropertyValue()
583 return MTP_RESPONSE_OK; in getDevicePropertyValue()
592 if (result != MTP_RESPONSE_OK) { in getDevicePropertyValue()
645 return MTP_RESPONSE_OK; in getDevicePropertyValue()
815 if (result != MTP_RESPONSE_OK) { in getObjectInfo()
897 return MTP_RESPONSE_OK; in getObjectInfo()
907 if (getObjectFilePath(handle, path, length, format) == MTP_RESPONSE_OK) { in getThumbnail()
972 if (result != MTP_RESPONSE_OK) { in getObjectFilePath()
1200 if (ret == MTP_RESPONSE_OK) { in getDevicePropertyDesc()