Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/os/incremental/
DIncrementalManager.java80 private final SparseArray<IncrementalStorage> mStorages = new SparseArray<>(); field in IncrementalManager
95 synchronized (mStorages) { in getStorage()
96 return mStorages.get(storageId); in getStorage()
126 synchronized (mStorages) { in createStorage()
127 mStorages.put(id, storage); in createStorage()
153 synchronized (mStorages) { in openStorage()
154 mStorages.put(id, storage); in openStorage()
177 synchronized (mStorages) { in createStorage()
178 mStorages.put(id, storage); in createStorage()
276 synchronized (mStorages) { in closeStorage()
[all …]
/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()