Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.h72 MtpStorageList mStorages; variable
115 inline bool hasStorage() { return mStorages.size() > 0; } in hasStorage()
DMtpServer.cpp141 mStorages.push(storage); in addStorage()
148 for (size_t i = 0; i < mStorages.size(); i++) { in removeStorage()
149 if (mStorages[i] == storage) { in removeStorage()
150 mStorages.removeAt(i); in removeStorage()
159 return mStorages[0]; in getStorage()
160 for (size_t i = 0; i < mStorages.size(); i++) { in getStorage()
161 MtpStorage* storage = mStorages[i]; in getStorage()
170 return mStorages.size() > 0; in hasStorage()
535 int count = mStorages.size(); in doGetStorageIDs()
538 mData.putUInt32(mStorages[i]->getStorageID()); in doGetStorageIDs()