Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.h61 MtpStorageList mStorages; variable
98 inline bool hasStorage() { return mStorages.size() > 0; } in hasStorage()
DMtpServer.cpp120 mStorages.push(storage); in addStorage()
127 for (int i = 0; i < mStorages.size(); i++) { in removeStorage()
128 if (mStorages[i] == storage) { in removeStorage()
129 mStorages.removeAt(i); in removeStorage()
138 return mStorages[0]; in getStorage()
139 for (int i = 0; i < mStorages.size(); i++) { in getStorage()
140 MtpStorage* storage = mStorages[i]; in getStorage()
149 return mStorages.size() > 0; in hasStorage()
503 int count = mStorages.size(); in doGetStorageIDs()
506 mData.putUInt32(mStorages[i]->getStorageID()); in doGetStorageIDs()