Home
last modified time | relevance | path

Searched refs:mStorages (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/mtp/
DMtpServer.h66 MtpStorageList mStorages; variable
109 inline bool hasStorage() { return mStorages.size() > 0; } in hasStorage()
DMtpServer.cpp138 mStorages.push_back(storage); in addStorage()
144 auto iter = std::find(mStorages.begin(), mStorages.end(), storage); in removeStorage()
145 if (iter != mStorages.end()) { in removeStorage()
147 mStorages.erase(iter); in removeStorage()
153 return mStorages[0]; in getStorage()
154 for (MtpStorage *storage : mStorages) { in getStorage()
163 return mStorages.size() > 0; in hasStorage()
531 int count = mStorages.size(); in doGetStorageIDs()
534 mData.putUInt32(mStorages[i]->getStorageID()); in doGetStorageIDs()