/frameworks/av/services/mediadrm/ |
D | MediaCasService.cpp | 59 int32_t CA_system_id, bool* result) { in isSystemIdSupported() argument 60 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id); in isSystemIdSupported() 62 *result = mCasLoader->findFactoryForScheme(CA_system_id); in isSystemIdSupported() 68 int32_t CA_system_id, in createPlugin() argument 71 ALOGV("createPlugin: CA_system_id=%d", CA_system_id); in createPlugin() 77 if (mCasLoader->findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin() 80 if (factory->createPlugin(CA_system_id, (uint64_t)casImpl.get(), in createPlugin() 91 int32_t CA_system_id, bool* result) { in isDescramblerSupported() argument 92 ALOGV("isDescramblerSupported: CA_system_id=%d", CA_system_id); in isDescramblerSupported() 94 *result = mDescramblerLoader->findFactoryForScheme(CA_system_id); in isDescramblerSupported() [all …]
|
D | FactoryLoader.h | 40 int32_t CA_system_id, 58 int32_t CA_system_id, 72 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument 83 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id); in findFactoryForScheme() 87 CA_system_id, library, factory); in findFactoryForScheme() 104 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 105 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath); in findFactoryForScheme() 148 const String8 &path, int32_t CA_system_id, in loadFactoryForSchemeFromPath() argument 152 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) { in loadFactoryForSchemeFromPath() 179 it->CA_system_id, it->name)); in queryPluginsFromPath()
|
D | MediaCasService.h | 37 int32_t CA_system_id, bool* result) override; 40 int32_t CA_system_id, 45 int32_t CA_system_id, bool* result) override; 48 int32_t CA_system_id, sp<IDescrambler>* result) override;
|
/frameworks/av/drm/libmediadrm/aidl/android/media/ |
D | IMediaCasService.aidl | 27 boolean isSystemIdSupported(int CA_system_id); in isSystemIdSupported() argument 28 ICas createPlugin(int CA_system_id, ICasListener listener); in createPlugin() argument 29 boolean isDescramblerSupported(int CA_system_id); in isDescramblerSupported() argument 30 IDescrambler createDescrambler(int CA_system_id); in createDescrambler() argument
|
/frameworks/base/media/java/android/media/ |
D | MediaCas.java | 213 PluginDescriptor(int CA_system_id, String name) { in PluginDescriptor() argument 214 mCASystemId = CA_system_id; in PluginDescriptor() 339 private ParcelableCasPluginDescriptor(int CA_system_id, String name) { in ParcelableCasPluginDescriptor() argument 340 super(CA_system_id, name); in ParcelableCasPluginDescriptor() 356 int CA_system_id = in.readInt(); 358 return new ParcelableCasPluginDescriptor(CA_system_id, name); 374 public static boolean isSystemIdSupported(int CA_system_id) { in isSystemIdSupported() argument 379 return service.isSystemIdSupported(CA_system_id); in isSystemIdSupported() 419 public MediaCas(int CA_system_id) throws UnsupportedCasException { in MediaCas() argument 421 mICas = getService().createPlugin(CA_system_id, mBinder); in MediaCas() [all …]
|
D | MediaDescrambler.java | 96 public MediaDescrambler(int CA_system_id) throws UnsupportedCasException { in MediaDescrambler() argument 98 mIDescrambler = MediaCas.getService().createDescrambler(CA_system_id); in MediaDescrambler() 104 throw new UnsupportedCasException("Unsupported CA_system_id " + CA_system_id); in MediaDescrambler()
|
/frameworks/av/drm/mediacas/plugins/mock/ |
D | MockCasPlugin.cpp | 39 bool MockCasFactory::isSystemIdSupported(int32_t CA_system_id) const { in isSystemIdSupported() 40 return CA_system_id == sMockId; in isSystemIdSupported() 51 int32_t CA_system_id, in createPlugin() argument 55 if (!isSystemIdSupported(CA_system_id)) { in createPlugin() 65 bool MockDescramblerFactory::isSystemIdSupported(int32_t CA_system_id) const { in isSystemIdSupported() 66 return CA_system_id == sMockId; in isSystemIdSupported() 70 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin() argument 71 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
|
D | MockCasPlugin.h | 37 int32_t CA_system_id) const override; 41 int32_t CA_system_id, 53 int32_t CA_system_id) const override; 55 int32_t CA_system_id, DescramblerPlugin **plugin) override;
|
/frameworks/av/drm/mediacas/plugins/clearkey/ |
D | ClearKeyCasPlugin.h | 42 int32_t CA_system_id) const override; 46 int32_t CA_system_id, 58 int32_t CA_system_id) const override; 60 int32_t CA_system_id, DescramblerPlugin **plugin) override;
|
D | ClearKeyCasPlugin.cpp | 45 bool ClearKeyCasFactory::isSystemIdSupported(int32_t CA_system_id) const { in isSystemIdSupported() 46 return CA_system_id == sClearKeySystemId; in isSystemIdSupported() 57 int32_t CA_system_id, in createPlugin() argument 61 if (!isSystemIdSupported(CA_system_id)) { in createPlugin() 70 int32_t CA_system_id) const { in isSystemIdSupported() 71 return CA_system_id == sClearKeySystemId; in isSystemIdSupported() 75 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin() argument 76 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
|
/frameworks/native/include/media/cas/ |
D | CasAPI.h | 36 int32_t CA_system_id; member 57 int32_t CA_system_id) const = 0; 65 int32_t CA_system_id,
|
D | DescramblerAPI.h | 34 int32_t CA_system_id) const = 0; 38 int32_t CA_system_id, DescramblerPlugin **plugin) = 0;
|
/frameworks/av/include/media/ |
D | MediaCasDefs.h | 46 ParcelableCasPluginDescriptor(int32_t CA_system_id, const char *name) in ParcelableCasPluginDescriptor() argument 47 : mCASystemId(CA_system_id), mName(name) {} in ParcelableCasPluginDescriptor()
|