/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 | 45 int32_t CA_system_id, 63 int32_t CA_system_id, 77 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument 88 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 92 CA_system_id, library, factory); in findFactoryForScheme() 114 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 115 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 163 const String8 &path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 167 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 194 .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/aidl/default/ |
D | MediaCasService.cpp | 45 ScopedAStatus MediaCasService::isSystemIdSupported(int32_t CA_system_id, bool* _aidl_return) { in isSystemIdSupported() argument 46 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id); in isSystemIdSupported() 48 *_aidl_return = mCasLoader.findFactoryForScheme(CA_system_id); in isSystemIdSupported() 52 ScopedAStatus MediaCasService::createPlugin(int32_t CA_system_id, in createPlugin() argument 55 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in createPlugin() 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() 75 ScopedAStatus MediaCasService::isDescramblerSupported(int32_t CA_system_id, bool* _aidl_return) { in isDescramblerSupported() argument 76 ALOGV("%s: CA_system_id=%d", __FUNCTION__, CA_system_id); in isDescramblerSupported() 78 *_aidl_return = mDescramblerLoader.findFactoryForScheme(CA_system_id); in isDescramblerSupported() [all …]
|
D | FactoryLoader.h | 41 bool findFactoryForScheme(int32_t CA_system_id, shared_ptr<SharedLibrary>* library = NULL, 56 bool loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, 66 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, in findFactoryForScheme() argument 78 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 80 return loadFactoryForSchemeFromPath(mCASystemIdToLibraryPathMap[index], CA_system_id, in findFactoryForScheme() 101 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 102 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 148 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 153 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 180 AidlCasPluginDescriptor{.caSystemId = it->CA_system_id, .name = it->name.c_str()}); in queryPluginsFromPath()
|
/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 | 45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 60 bool loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, 70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 82 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 84 return loadFactoryForSchemeFromPath(mCASystemIdToLibraryPathMap[index], CA_system_id, in findFactoryForScheme() 105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 106 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 151 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 155 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 182 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 | 45 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 60 bool loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, 70 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 82 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 84 return loadFactoryForSchemeFromPath(mCASystemIdToLibraryPathMap[index], CA_system_id, in findFactoryForScheme() 105 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 106 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 151 bool FactoryLoader<T>::loadFactoryForSchemeFromPath(const String8& path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 155 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 182 HidlCasPluginDescriptor{.caSystemId = it->CA_system_id, .name = it->name.c_str()}); in queryPluginsFromPath()
|
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/1/android/hardware/cas/ |
D | IMediaCasService.aidl | 38 android.hardware.cas.IDescrambler createDescrambler(in int CA_system_id); in createDescrambler() argument 39 …android.hardware.cas.ICas createPlugin(in int CA_system_id, in android.hardware.cas.ICasListener l… in createPlugin() argument 41 boolean isDescramblerSupported(in int CA_system_id); in isDescramblerSupported() argument 42 boolean isSystemIdSupported(in int CA_system_id); in isSystemIdSupported() argument
|
/hardware/interfaces/cas/aidl/aidl_api/android.hardware.cas/current/android/hardware/cas/ |
D | IMediaCasService.aidl | 38 android.hardware.cas.IDescrambler createDescrambler(in int CA_system_id); in createDescrambler() argument 39 …android.hardware.cas.ICas createPlugin(in int CA_system_id, in android.hardware.cas.ICasListener l… in createPlugin() argument 41 boolean isDescramblerSupported(in int CA_system_id); in isDescramblerSupported() argument 42 boolean isSystemIdSupported(in int CA_system_id); in isSystemIdSupported() argument
|
/hardware/interfaces/cas/aidl/android/hardware/cas/ |
D | IMediaCasService.aidl | 39 IDescrambler createDescrambler(in int CA_system_id); in createDescrambler() argument 48 ICas createPlugin(in int CA_system_id, in ICasListener listener); in createPlugin() argument 63 boolean isDescramblerSupported(in int CA_system_id); in isDescramblerSupported() argument 71 boolean isSystemIdSupported(in int CA_system_id); in isSystemIdSupported() argument
|
/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.
|