Home
last modified time | relevance | path

Searched refs:factories (Results 1 – 5 of 5) sorted by relevance

/frameworks/av/media/libmedia/include/media/
DPluginLoader.h49 factories.push(plugin); in PluginLoader()
58 for (size_t i = 0; i < factories.size(); i++) { in ~PluginLoader()
59 delete factories[i]; in ~PluginLoader() local
64 return factories[i]; in getFactory()
67 size_t factoryCount() const {return factories.size();} in factoryCount()
89 Vector<T *> factories; variable
/frameworks/av/media/libaudiohal/impl/
DDevicesFactoryHalHidl.cpp111 auto factories = copyDeviceFactories(); in openDevice() local
112 if (factories.empty()) return NO_INIT; in openDevice()
117 for (const auto& factory : factories) { in openDevice()
142 auto factories = copyDeviceFactories(); in getHalPids() local
143 for (const auto& factory : factories) { in getHalPids()
/frameworks/av/drm/libmediadrm/
DCryptoHal.cpp130 Vector<sp<ICryptoFactory>> factories; in makeCryptoFactories() local
135 [&factories](const hidl_vec<hidl_string> &registered) { in makeCryptoFactories()
140 factories.push_back(factory); in makeCryptoFactories()
146 [&factories](const hidl_vec<hidl_string> &registered) { in makeCryptoFactories()
151 factories.push_back(factory); in makeCryptoFactories()
158 if (factories.size() == 0) { in makeCryptoFactories()
163 factories.push_back(passthrough); in makeCryptoFactories()
168 return factories; in makeCryptoFactories()
DDrmHal.cpp378 Vector<sp<IDrmFactory>> factories; in makeDrmFactories() local
384 [&factories](const hidl_vec<hidl_string> &registered) { in makeDrmFactories()
388 factories.push_back(factory); in makeDrmFactories()
394 [&factories](const hidl_vec<hidl_string> &registered) { in makeDrmFactories()
398 factories.push_back(factory); in makeDrmFactories()
404 [&factories](const hidl_vec<hidl_string> &registered) { in makeDrmFactories()
408 factories.push_back(factory); in makeDrmFactories()
415 if (factories.size() == 0) { in makeDrmFactories()
420 factories.push_back(passthrough); in makeDrmFactories()
425 return factories; in makeDrmFactories()
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java80 FilterFactory[] factories = new FilterFactory[] {
104 factoryMap = new HashMap<String, FilterFactory>(factories.length * 4 / 3);
105 for (int i=0; i<factories.length; i++) {
106 FilterFactory factory = factories[i];