Home
last modified time | relevance | path

Searched refs:factories (Results 1 – 9 of 9) 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.cpp109 auto factories = copyDeviceFactories(); in openDevice() local
110 if (factories.empty()) return NO_INIT; in openDevice()
115 for (const auto& factory : factories) { in openDevice()
163 auto factories = copyDeviceFactories(); in getHalPids() local
164 for (const auto& factory : factories) { in getHalPids()
/frameworks/av/drm/libmediadrm/
DCryptoHalHidl.cpp90 Vector<sp<ICryptoFactory>> factories; in makeCryptoFactories() local
96 [&factories](const hidl_vec<hidl_string>& registered) { in makeCryptoFactories()
101 factories.push_back(factory); in makeCryptoFactories()
107 [&factories](const hidl_vec<hidl_string>& registered) { in makeCryptoFactories()
112 factories.push_back(factory); in makeCryptoFactories()
118 if (factories.size() == 0) { in makeCryptoFactories()
123 factories.push_back(passthrough); in makeCryptoFactories()
128 return factories; in makeCryptoFactories()
DDrmUtils.cpp74 void MakeHidlFactories(const uint8_t uuid[16], V& factories, M& instances) { in MakeHidlFactories() argument
88 factories.push_back(factory); in MakeHidlFactories()
98 factories.push_back(factory); in MakeHidlFactories()
106 void MakeHidlFactories(const uint8_t uuid[16], V& factories) { in MakeHidlFactories() argument
108 MakeHidlFactories<Hal>(uuid, factories, instances); in MakeHidlFactories()
174 std::vector<std::shared_ptr<IDrmFactoryAidl>> factories; in makeDrmFactoriesAidl() local
176 IDrmFactoryAidl::descriptor, static_cast<void*>(&factories), in makeDrmFactoriesAidl()
191 return factories; in makeDrmFactoriesAidl()
DDrmHalHidl.cpp332 static std::vector<sp<IDrmFactory>> factories(DrmUtils::MakeDrmFactories()); in makeDrmFactories() local
333 if (factories.size() == 0) { in makeDrmFactories()
339 factories.push_back(passthrough); in makeDrmFactories()
344 return factories; in makeDrmFactories()
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareService.java226 HalFactory[] factories = new HalFactory[]{new DefaultHalFactory()}; in onStart() local
233 new SoundTriggerMiddlewareImpl(factories, in onStart()
DREADME.md63 factories.
/frameworks/base/services/core/java/com/android/server/firewall/
DIntentFirewall.java89 FilterFactory[] factories = new FilterFactory[] {
113 factoryMap = new HashMap<String, FilterFactory>(factories.length * 4 / 3);
114 for (int i=0; i<factories.length; i++) {
115 FilterFactory factory = factories[i];
/frameworks/av/media/codec2/hidl/plugin/samples/
DSampleFilterPlugin.cpp917 static void AddFactory(std::map<C2String, std::unique_ptr<ComponentFactory>> *factories) { in AddFactory() argument
922 factories->emplace(traits->name, new ComponentFactoryImpl<T>(traits)); in AddFactory()
926 std::map<C2String, std::unique_ptr<ComponentFactory>> factories; in CreateFactories() local
927 AddFactory<SampleToneMappingFilter>(&factories); in CreateFactories()
928 return factories; in CreateFactories()