Home
last modified time | relevance | path

Searched refs:factory (Results 1 – 25 of 65) sorted by relevance

123

/hardware/interfaces/audio/aidl/vts/
DEffectFactoryHelper.h46 auto factory = IFactory::fromBinder(util.connectToService(name)); variable
47 if (factory) {
49 factory->queryEffects(std::nullopt, std::nullopt, std::nullopt, &descs)
55 result.emplace_back(factory, desc);
63 static int getHalVersion(const std::shared_ptr<IFactory>& factory) { in getHalVersion() argument
65 return (factory && factory->getInterfaceVersion(&version).isOk()) ? version : 0; in getHalVersion()
68 static bool isReopenSupported(const std::shared_ptr<IFactory>& factory) { in isReopenSupported() argument
69 return EffectFactoryHelper::getHalVersion(factory) >= in isReopenSupported()
DEffectHelper.h88 void create(std::shared_ptr<IFactory> factory, std::shared_ptr<IEffect>& effect,
90 ASSERT_NE(factory, nullptr);
92 ASSERT_STATUS(status, factory->createEffect(id.uuid, &effect));
100 static void destroyIgnoreRet(std::shared_ptr<IFactory> factory, in destroyIgnoreRet() argument
102 if (factory && effect) { in destroyIgnoreRet()
103 factory->destroyEffect(effect); in destroyIgnoreRet()
107 static void destroy(std::shared_ptr<IFactory> factory, std::shared_ptr<IEffect> effect,
109 ASSERT_NE(factory, nullptr);
111 ASSERT_STATUS(status, factory->destroyEffect(effect));
/hardware/google/pixel-sepolicy/factory_boost/
Dfactory-post-boot.te2 type factory-post-boot-sh, domain;
3 type factory-post-boot-sh_exec, vendor_file_type, exec_type, file_type;
4 init_daemon_domain(factory-post-boot-sh)
6 allow factory-post-boot-sh vendor_toolbox_exec:file execute_no_trans;
Dfile_contexts1 /vendor/bin/factory/factory_post_boot u:object_r:fac…
/hardware/interfaces/cas/aidl/default/
DFactoryLoader.h42 T** factory = NULL);
57 shared_ptr<SharedLibrary>* library, T** factory);
67 shared_ptr<SharedLibrary>* library, T** factory) { in findFactoryForScheme() argument
71 if (factory != NULL) { in findFactoryForScheme()
72 *factory = NULL; in findFactoryForScheme()
81 library, factory); in findFactoryForScheme()
101 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
150 T** factory) { in loadFactoryForSchemeFromPath() argument
161 if (factory != NULL) { in loadFactoryForSchemeFromPath()
162 *factory = mFactory; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp58 CasFactory* factory; in createPlugin() local
60 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin()
63 if (factory->createPlugin(CA_system_id, casImpl.get(), &CasImpl::CallBackExt, &plugin) == in createPlugin()
86 DescramblerFactory* factory; in createDescrambler() local
88 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
90 if (factory->createPlugin(CA_system_id, &plugin) == OK && plugin != NULL) { in createDescrambler()
/hardware/interfaces/cas/1.0/default/
DFactoryLoader.h47 T** factory = NULL);
65 T** factory);
77 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument
81 if (factory != NULL) { in findFactoryForScheme()
82 *factory = NULL; in findFactoryForScheme()
92 CA_system_id, library, factory); in findFactoryForScheme()
114 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
164 sp<SharedLibrary> *library, T** factory) { in loadFactoryForSchemeFromPath() argument
175 if (factory != NULL) { in loadFactoryForSchemeFromPath()
176 *factory = mFactory; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp67 CasFactory *factory; in createPlugin() local
69 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin()
72 if (factory->createPlugin(CA_system_id, casImpl.get(), in createPlugin()
94 DescramblerFactory *factory; in createDescrambler() local
97 CA_system_id, &library, &factory)) { in createDescrambler()
99 if (factory->createPlugin(CA_system_id, &plugin) == OK in createDescrambler()
/hardware/interfaces/cas/1.2/default/
DFactoryLoader.h46 T** factory = NULL);
61 sp<SharedLibrary>* library, T** factory);
71 T** factory) { in findFactoryForScheme() argument
75 if (factory != NULL) { in findFactoryForScheme()
76 *factory = NULL; in findFactoryForScheme()
85 library, factory); in findFactoryForScheme()
105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument
163 if (factory != NULL) { in loadFactoryForSchemeFromPath()
164 *factory = mFactory; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp105 CasFactory* factory; in createPluginExt() local
107 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPluginExt()
110 if (factory->createPlugin(CA_system_id, casImpl.get(), &CasImpl::CallBackExt, &plugin) == in createPluginExt()
137 DescramblerFactory* factory; in createDescrambler() local
139 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
141 if (factory->createPlugin(CA_system_id, &plugin) == OK && plugin != NULL) { in createDescrambler()
/hardware/interfaces/cas/1.1/default/
DFactoryLoader.h46 T** factory = NULL);
61 sp<SharedLibrary>* library, T** factory);
71 T** factory) { in findFactoryForScheme() argument
75 if (factory != NULL) { in findFactoryForScheme()
76 *factory = NULL; in findFactoryForScheme()
85 library, factory); in findFactoryForScheme()
105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
152 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument
163 if (factory != NULL) { in loadFactoryForSchemeFromPath()
164 *factory = mFactory; in loadFactoryForSchemeFromPath()
DMediaCasService.cpp104 CasFactory* factory; in createPluginExt() local
106 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPluginExt()
109 if (factory->createPlugin(CA_system_id, casImpl.get(), &CasImpl::CallBackExt, &plugin) == in createPluginExt()
131 DescramblerFactory* factory; in createDescrambler() local
133 if (mDescramblerLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createDescrambler()
135 if (factory->createPlugin(CA_system_id, &plugin) == OK && plugin != NULL) { in createDescrambler()
/hardware/interfaces/audio/core/all-versions/vts/functional/
DDeviceManager.h105 sp<IDevicesFactory> factory = DevicesFactoryManager::getInstance().get(factoryName); in createInterfaceInstance() local
106 return openPrimaryDevice(factory); in createInterfaceInstance()
126 static sp<IPrimaryDevice> openPrimaryDevice(const sp<IDevicesFactory>& factory) { in openPrimaryDevice() argument
127 if (factory == nullptr) return {}; in openPrimaryDevice()
133 auto ret = factory->openDevice(IDevicesFactory::Device::PRIMARY, returnIn(result, device)); in openPrimaryDevice()
138 auto ret = factory->openPrimaryDevice(returnIn(result, device)); in openPrimaryDevice()
149 auto ret = factory->openPrimaryDevice_7_1(returnIn(result, primaryDevice)); in openPrimaryDevice()
166 sp<IDevicesFactory> factory = DevicesFactoryManager::getInstance().get(factoryName); in createInterfaceInstance() local
167 return openDevice(factory, name); in createInterfaceInstance()
192 static sp<IDevice> openDevice(const sp<IDevicesFactory>& factory, const std::string& name) { in openDevice() argument
[all …]
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/katex/contrib/
Dmathtex-script-type.js1 (function webpackUniversalModuleDefinition(root, factory) { argument
3 module.exports = factory(require("katex"));
5 define(["katex"], factory);
7 var a = typeof exports === 'object' ? factory(require("katex")) : factory(root["katex"]);
Dcopy-tex.js1 (function webpackUniversalModuleDefinition(root, factory) { argument
3 module.exports = factory();
5 define([], factory);
7 var a = factory();
Dauto-render.js1 (function webpackUniversalModuleDefinition(root, factory) { argument
3 module.exports = factory(require("katex"));
5 define(["katex"], factory);
7 exports["renderMathInElement"] = factory(require("katex"));
9 root["renderMathInElement"] = factory(root["katex"]);
Drender-a11y-string.js1 (function webpackUniversalModuleDefinition(root, factory) { argument
3 module.exports = factory(require("katex"));
5 define(["katex"], factory);
7 var a = typeof exports === 'object' ? factory(require("katex")) : factory(root["katex"]);
/hardware/interfaces/bluetooth/audio/aidl/default/
Dservice.cpp30 auto factory = ::ndk::SharedRefBase::make<BluetoothAudioProviderFactory>(); in createIBluetoothAudioProviderFactory() local
34 factory->asBinder().get(), instance_name.c_str()); in createIBluetoothAudioProviderFactory()
/hardware/google/aemu/host-common/
DGraphicsAgentFactory.cpp49 sGraphicsAgents.name = factory.android_get_##typ(); in GRAPHICS_AGENTS_LIST()
51 void android::emulation::injectGraphicsAgents(const GraphicsAgentFactory& factory) {
/hardware/interfaces/authsecret/1.0/
DIAuthSecret.hal34 * on each call until the next factory reset.
36 * Upon factory reset, any dependence on the secret must be removed as that
39 * state the first time this method is called after factory reset.
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common_win32.cpp57 IDXGIFactory4 *factory; member
754 IDXGIFactory4 *factory = wsi->dxgi.factory; in wsi_win32_surface_create_swapchain_dxgi() local
782 if (FAILED(factory->CreateSwapChainForComposition(queue, &desc, NULL, &swapchain1)) || in wsi_win32_surface_create_swapchain_dxgi()
838 bool supports_dxgi = wsi->dxgi.factory && in wsi_win32_surface_create_swapchain()
915 IDXGIFactory4 *factory; in dxgi_get_factory() local
916 HRESULT hr = CreateDXGIFactory2(flags, IID_PPV_ARGS(&factory)); in dxgi_get_factory()
921 return factory; in dxgi_get_factory()
969 wsi->dxgi.factory = dxgi_get_factory(WSI_DEBUG & WSI_DEBUG_DXGI); in wsi_win32_init_wsi()
970 if (!wsi->dxgi.factory) { in wsi_win32_init_wsi()
977 wsi->dxgi.factory->Release(); in wsi_win32_init_wsi()
[all …]
/hardware/interfaces/wifi/1.4/
DIWifiApIface.hal43 * Gets the factory MAC address of the interface.
50 * @return mac factory MAC address of the interface
/hardware/interfaces/nfc/1.1/
DINfc.hal26 * Must be called during factory reset and/or before the first time the HAL is
27 * initialized after a factory reset
/hardware/google/aemu/host-common/include/host-common/
DGraphicsAgentFactory.h60 const GraphicsAgentFactory& factory);
/hardware/google/aemu/base/include/aemu/base/process/
DCommand.h87 static void setTestProcessFactory(ProcessFactory factory);

123