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