/hardware/interfaces/cas/1.0/default/ |
D | MediaCasService.cpp | 54 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 …]
|
D | FactoryLoader.h | 44 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()
|
D | MediaCasService.h | 40 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.1/default/ |
D | MediaCasService.cpp | 78 Return<bool> MediaCasService::isSystemIdSupported(int32_t CA_system_id) { in isSystemIdSupported() argument 79 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id); in isSystemIdSupported() 81 return mCasLoader.findFactoryForScheme(CA_system_id); in isSystemIdSupported() 84 Return<sp<V1_0::ICas>> MediaCasService::createPlugin(int32_t CA_system_id, in createPlugin() argument 92 result = createPluginExt(CA_system_id, listenerV1_1); in createPlugin() 97 Return<sp<ICas>> MediaCasService::createPluginExt(int32_t CA_system_id, in createPluginExt() argument 99 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in createPluginExt() 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() 120 Return<bool> MediaCasService::isDescramblerSupported(int32_t CA_system_id) { in isDescramblerSupported() argument [all …]
|
D | MediaCasService.h | 41 virtual Return<bool> isSystemIdSupported(int32_t CA_system_id) override; 43 virtual Return<sp<V1_0::ICas>> createPlugin(int32_t CA_system_id, 46 virtual Return<sp<ICas>> createPluginExt(int32_t CA_system_id, 49 virtual Return<bool> isDescramblerSupported(int32_t CA_system_id) override; 51 virtual Return<sp<IDescramblerBase>> createDescrambler(int32_t CA_system_id) override;
|
D | FactoryLoader.h | 44 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 59 bool loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, 69 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 81 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 83 return loadFactoryForSchemeFromPath(mCASystemIdToLibraryPathMap[index], CA_system_id, in findFactoryForScheme() 100 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 101 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 142 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 146 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 173 HidlCasPluginDescriptor{.caSystemId = it->CA_system_id, .name = it->name.c_str()}); in queryPluginsFromPath()
|
/hardware/interfaces/cas/1.2/default/ |
D | MediaCasService.cpp | 79 Return<bool> MediaCasService::isSystemIdSupported(int32_t CA_system_id) { in isSystemIdSupported() argument 80 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id); in isSystemIdSupported() 82 return mCasLoader.findFactoryForScheme(CA_system_id); in isSystemIdSupported() 85 Return<sp<V1_0::ICas>> MediaCasService::createPlugin(int32_t CA_system_id, in createPlugin() argument 93 result = createPluginExt(CA_system_id, listenerV1_1); in createPlugin() 98 Return<sp<ICas>> MediaCasService::createPluginExt(int32_t CA_system_id, in createPluginExt() argument 100 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in createPluginExt() 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() 126 Return<bool> MediaCasService::isDescramblerSupported(int32_t CA_system_id) { in isDescramblerSupported() argument [all …]
|
D | MediaCasService.h | 42 virtual Return<bool> isSystemIdSupported(int32_t CA_system_id) override; 44 virtual Return<sp<V1_0::ICas>> createPlugin(int32_t CA_system_id, 47 virtual Return<sp<ICas>> createPluginExt(int32_t CA_system_id, 50 virtual Return<bool> isDescramblerSupported(int32_t CA_system_id) override; 52 virtual Return<sp<IDescramblerBase>> createDescrambler(int32_t CA_system_id) override;
|
D | FactoryLoader.h | 44 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 59 bool loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, 69 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 81 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 83 return loadFactoryForSchemeFromPath(mCASystemIdToLibraryPathMap[index], CA_system_id, in findFactoryForScheme() 100 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 101 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 142 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 146 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 173 HidlCasPluginDescriptor{.caSystemId = it->CA_system_id, .name = it->name.c_str()}); in queryPluginsFromPath()
|
/hardware/interfaces/cas/1.0/ |
D | IMediaCasService.hal | 39 * @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);
|
/hardware/interfaces/cas/1.1/ |
D | IMediaCasService.hal | 31 * Construct a new instance of a @1.1 ICAS CasPlugin given a CA_system_id.
|