Home
last modified time | relevance | path

Searched refs:plugin (Results 1 – 25 of 53) sorted by relevance

123

/hardware/interfaces/cas/1.0/default/
DMediaCasService.cpp70 CasPlugin *plugin = NULL; in createPlugin() local
73 &CasImpl::OnEvent, &plugin) == OK && plugin != NULL) { in createPlugin()
74 casImpl->init(library, plugin); in createPlugin()
98 DescramblerPlugin *plugin = NULL; in createDescrambler() local
99 if (factory->createPlugin(CA_system_id, &plugin) == OK in createDescrambler()
100 && plugin != NULL) { in createDescrambler()
101 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/cas/1.1/default/
DMediaCasService.cpp107 CasPlugin* plugin = NULL; in createPluginExt() local
109 if (factory->createPlugin(CA_system_id, casImpl.get(), &CasImpl::CallBackExt, &plugin) == in createPluginExt()
111 plugin != NULL) { in createPluginExt()
112 casImpl->init(library, plugin); in createPluginExt()
134 DescramblerPlugin* plugin = NULL; in createDescrambler() local
135 if (factory->createPlugin(CA_system_id, &plugin) == OK && plugin != NULL) { in createDescrambler()
136 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/cas/1.2/default/
DMediaCasService.cpp108 CasPlugin* plugin = NULL; in createPluginExt() local
110 if (factory->createPlugin(CA_system_id, casImpl.get(), &CasImpl::CallBackExt, &plugin) == in createPluginExt()
112 plugin != NULL) { in createPluginExt()
113 casImpl->init(library, plugin); in createPluginExt()
140 DescramblerPlugin* plugin = NULL; in createDescrambler() local
141 if (factory->createPlugin(CA_system_id, &plugin) == OK && plugin != NULL) { in createDescrambler()
142 result = new DescramblerImpl(library, plugin); in createDescrambler()
/hardware/interfaces/automotive/vehicle/2.0/default/impl/vhal_v2_0/proto/
DAndroid.bp57 "protoc-gen-grpc-cpp-plugin",
59 …-I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cp…
73 "protoc-gen-grpc-cpp-plugin",
75 …-I$$(dirname $(in)) -Iexternal/protobuf/src --plugin=protoc-gen-grpc=$(location protoc-gen-grpc-cp…
/hardware/interfaces/cas/1.0/
Dtypes.hal21 * The CAS plugin must return OK when an operation completes without any
27 * The CAS plugin must return ERROR_CAS_NO_LICENSE, when descrambling is
39 * The CAS plugin must return ERROR_CAS_SESSION_NOT_OPENED when an
45 * The CAS plugin must return ERROR_CAS_CANNOT_HANDLE when an unsupported
57 * The CAS plugin must return BAD_VALUE whenever an illegal parameter is
63 * The CAS plugin must return ERROR_CAS_NOT_PROVISIONED when the device
97 * The CAS plugin must return ERROR_CAS_DECRYPT_UNIT_NOT_INITIALIZED when
119 * Describes a CAS plugin with its system id and name.
DIMediaCasService.hal24 * cas HAL to create cas and descrambler plugin instances. A cas plugin instance
65 * @return descrambler the newly created plugin interface.
/hardware/interfaces/drm/1.0/vts/functional/include/android/hardware/drm/1.0/vts/
Ddrm_hal_clearkey_test.h132 [this](Status status, const sp<IDrmPlugin>& plugin) { in SetUp()
134 ASSERT_NE(nullptr, plugin.get()); in SetUp()
135 drmPlugin = plugin; in SetUp()
142 [this](Status status, const sp<ICryptoPlugin>& plugin) { in SetUp()
144 ASSERT_NE(nullptr, plugin.get()); in SetUp()
145 cryptoPlugin = plugin; in SetUp()
Ddrm_hal_vendor_test.h147 [this](Status status, const sp<IDrmPlugin>& plugin) { in SetUp()
149 ASSERT_NE(nullptr, plugin.get()); in SetUp()
150 drmPlugin = plugin; in SetUp()
157 [this](Status status, const sp<ICryptoPlugin>& plugin) { in SetUp()
159 ASSERT_NE(nullptr, plugin.get()); in SetUp()
160 cryptoPlugin = plugin; in SetUp()
/hardware/interfaces/drm/1.4/vts/functional/
Ddrm_hal_test.cpp32 sp<drm::V1_4::IDrmPlugin> plugin(drm::V1_4::IDrmPlugin::castFrom(drmPlugin)); in DrmPluginV1_4() local
33 EXPECT_NE(nullptr, plugin.get()); in DrmPluginV1_4()
34 return plugin; in DrmPluginV1_4()
41 [&](V1_0::Status status, const sp<V1_0::ICryptoPlugin>& plugin) { in CryptoPlugin() argument
43 EXPECT_NE(nullptr, plugin.get()); in CryptoPlugin()
44 crypto = plugin; in CryptoPlugin()
/hardware/interfaces/drm/1.0/
DIDrmFactory.hal24 * drm HAL to create drm plugin instances. A drm plugin instance
48 * Create a drm plugin instance for the specified uuid and scheme-specific
56 * OK if the plugin is created and ERROR_DRM_CANNOT_HANDLE if the plugin
DICryptoFactory.hal37 * Create a crypto plugin for the specified uuid and scheme-specific
44 * OK if the plugin is created and ERROR_DRM_CANNOT_HANDLE if the plugin
/hardware/interfaces/drm/1.0/default/include/
DPluginLoader.h51 T *plugin = loadOne(path, entry); in PluginLoader() local
52 if (plugin) { in PluginLoader()
53 factories.push(plugin); in PluginLoader()
/hardware/interfaces/drm/1.1/vts/functional/include/android/hardware/drm/1.1/vts/
Ddrm_hal_clearkey_test.h113 sp<IDrmPlugin> plugin = nullptr; in createDrmPlugin() local
117 plugin = IDrmPlugin::castFrom(pluginV1_0); in createDrmPlugin()
123 return plugin; in createDrmPlugin()
130 sp<ICryptoPlugin> plugin = nullptr; in createCryptoPlugin() local
136 plugin = pluginV1_0; in createCryptoPlugin()
141 return plugin; in createCryptoPlugin()
/hardware/interfaces/drm/1.4/
DIDrmPlugin.hal26 * IDrmPlugin is used to interact with a specific drm plugin that was
27 * created by IDrmFactory::createPlugin. A drm plugin provides methods for
67 * @return logMessages latest plugin level log messages. Can be used
72 * GENERAL_PLUGIN_ERROR on unexpected plugin-level errors.
Dtypes.hal56 * An error happened within the crypto library used by the drm plugin.
64 * Unexpected internal failure in the drm/crypto plugin.
144 * The plugin was unable to read data from the filesystem.
148 * The plugin was unable to write data to the filesystem.
DIDrmFactory.hal22 * drm HAL to create drm plugin instances. A drm plugin instance
DICryptoPlugin.hal30 * @return logMessages latest plugin level log messages. Can be used
35 * GENERAL_PLUGIN_ERROR on unexpected plugin-level errors.
/hardware/interfaces/drm/1.0/default/
DCryptoPlugin.h48 CryptoPlugin(android::CryptoPlugin *plugin) : mLegacyPlugin(plugin) {} in CryptoPlugin()
/hardware/interfaces/drm/1.1/
DIDrmFactory.hal23 * drm HAL to create drm plugin instances. A drm plugin instance
/hardware/interfaces/cas/1.2/
DIMediaCasService.hal25 * cas HAL to create cas and descrambler plugin instances. A cas plugin instance
/hardware/interfaces/cas/1.1/
DIMediaCasService.hal24 * cas HAL to create cas and descrambler plugin instances. A cas plugin instance
/hardware/interfaces/drm/1.3/
DIDrmFactory.hal22 * drm HAL to create drm plugin instances. A drm plugin instance
/hardware/interfaces/drm/1.0/vts/functional/
Ddrm_hal_clearkey_test.cpp89 [&](Status status, const sp<IDrmPlugin>& plugin) { in TEST_P() argument
91 EXPECT_NE(nullptr, plugin.get()); in TEST_P()
103 [&](Status status, const sp<IDrmPlugin>& plugin) { in TEST_P() argument
105 EXPECT_NE(nullptr, plugin.get()); in TEST_P()
117 [&](Status status, const sp<ICryptoPlugin>& plugin) { in TEST_P() argument
119 EXPECT_NE(nullptr, plugin.get()); in TEST_P()
131 [&](Status status, const sp<ICryptoPlugin>& plugin) { in TEST_P() argument
133 EXPECT_NE(nullptr, plugin.get()); in TEST_P()
145 [&](Status status, const sp<IDrmPlugin>& plugin) { in TEST_P() argument
147 EXPECT_EQ(nullptr, plugin.get()); in TEST_P()
[all …]
/hardware/interfaces/drm/1.2/
DIDrmFactory.hal24 * drm HAL to create drm plugin instances. A drm plugin instance
/hardware/interfaces/drm/1.2/vts/functional/
Ddrm_hal_common.cpp144 sp<IDrmPlugin> plugin = nullptr; in createDrmPlugin() local
150 plugin = IDrmPlugin::castFrom(pluginV1_0); in createDrmPlugin()
156 return plugin; in createDrmPlugin()
163 sp<ICryptoPlugin> plugin = nullptr; in createCryptoPlugin() local
169 plugin = ICryptoPlugin::castFrom(pluginV1_0); in createCryptoPlugin()
174 return plugin; in createCryptoPlugin()

123