Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.h69 MtpStorageList mStorages; variable
112 inline bool hasStorage() { return mStorages.size() > 0; } in hasStorage()
DMtpServer.cpp140 mStorages.push_back(storage); in addStorage()
146 auto iter = std::find(mStorages.begin(), mStorages.end(), storage); in removeStorage()
147 if (iter != mStorages.end()) { in removeStorage()
149 mStorages.erase(iter); in removeStorage()
155 return mStorages[0]; in getStorage()
156 for (MtpStorage *storage : mStorages) { in getStorage()
165 return mStorages.size() > 0; in hasStorage()
533 int count = mStorages.size(); in doGetStorageIDs()
536 mData.putUInt32(mStorages[i]->getStorageID()); in doGetStorageIDs()