Searched refs:mStorages (Results 1 – 2 of 2) sorted by relevance
69 MtpStorageList mStorages; variable112 inline bool hasStorage() { return mStorages.size() > 0; } in hasStorage()
140 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()