Home
last modified time | relevance | path

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

/hardware/interfaces/cas/1.0/default/
DMediaCasService.cpp54 Return<bool> MediaCasService::isSystemIdSupported(int32_t CA_system_id) { in isSystemIdSupported() argument
55 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id); in isSystemIdSupported()
57 return mCasLoader.findFactoryForScheme(CA_system_id); in isSystemIdSupported()
61 int32_t CA_system_id, const sp<ICasListener>& listener) { in createPlugin() argument
63 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in createPlugin()
69 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin()
72 if (factory->createPlugin(CA_system_id, casImpl.get(), in createPlugin()
82 Return<bool> MediaCasService::isDescramblerSupported(int32_t CA_system_id) { in isDescramblerSupported() argument
83 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in isDescramblerSupported()
85 return mDescramblerLoader.findFactoryForScheme(CA_system_id); in isDescramblerSupported()
[all …]
DFactoryLoader.h44 int32_t CA_system_id,
62 int32_t CA_system_id,
76 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument
87 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme()
91 CA_system_id, library, factory); in findFactoryForScheme()
108 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme()
109 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme()
152 const String8 &path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument
156 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath()
183 .caSystemId = it->CA_system_id, in queryPluginsFromPath()
DMediaCasService.h40 int32_t CA_system_id) override;
43 int32_t CA_system_id, const sp<ICasListener>& listener) override;
46 int32_t CA_system_id) override;
49 int32_t CA_system_id) override;
/hardware/interfaces/cas/1.0/
DIMediaCasService.hal39 * @param CA_system_id the id of the CA system.
42 isSystemIdSupported(int32_t CA_system_id) generates (bool result);
45 * Construct a new instance of a CasPlugin given a CA_system_id.
47 * @param CA_system_id the id of the CA system.
51 createPlugin(int32_t CA_system_id, ICasListener listener) generates (ICas cas);
56 * @param CA_system_id the id of the CA system.
59 isDescramblerSupported(int32_t CA_system_id) generates (bool result);
62 * Construct a new instance of a DescramblerPlugin given a CA_system_id.
64 * @param CA_system_id the id of the CA system.
67 createDescrambler(int32_t CA_system_id) generates (IDescramblerBase descrambler);