Home
last modified time | relevance | path

Searched refs:mHandles (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/graphics/composer/2.1/utils/resources/
DComposerResources.cpp125 : mImporter(importer), mHandleType(type), mHandles(cacheSize, nullptr) {} in ComposerHandleCache()
133 for (auto handle : mHandles) { in ~ComposerHandleCache()
138 for (auto handle : mHandles) { in ~ComposerHandleCache()
148 return mHandles.size(); in getCacheSize()
158 mHandles.resize(cacheSize, nullptr); in initCache()
164 if (slot >= 0 && slot < mHandles.size()) { in lookupCache()
165 *outHandle = mHandles[slot]; in lookupCache()
174 if (slot >= 0 && slot < mHandles.size()) { in updateCache()
175 auto& cachedHandle = mHandles[slot]; in updateCache()
/hardware/interfaces/tests/foo/1.0/default/
DFoo.cpp347 mHandles.push_back(nh); in createMyHandle()
369 for(native_handle_t* h : mHandles) { in closeHandles()
372 mHandles.clear(); in closeHandles()
DFoo.h70 std::vector<::native_handle_t *> mHandles;
/hardware/interfaces/graphics/composer/2.1/utils/resources/include/composer-resources/2.1/
DComposerResources.h89 std::vector<const native_handle_t*> mHandles; variable