Searched defs:CA_system_id (Results 1 - 8 of 8) sorted by relevance

/frameworks/native/include/media/cas/
H A DCasAPI.h36 int32_t CA_system_id; member in struct:android::CasPluginDescriptor
55 // Determine if the plugin can handle the CA scheme identified by CA_system_id.
57 int32_t CA_system_id) const = 0;
63 // Construct a new instance of a CasPlugin given a CA_system_id
65 int32_t CA_system_id,
/frameworks/av/services/mediadrm/
H A DMediaCasService.cpp59 int32_t CA_system_id, bool* result) {
60 ALOGV("isSystemIdSupported: CA_system_id=%d", CA_system_id);
62 *result = mCasLoader->findFactoryForScheme(CA_system_id);
68 int32_t CA_system_id,
71 ALOGV("createPlugin: CA_system_id=%d", CA_system_id);
77 if (mCasLoader->findFactoryForScheme(CA_system_id, &library, &factory)) {
80 if (factory->createPlugin(CA_system_id, (uint64_t)casImpl.get(),
91 int32_t CA_system_id, boo
58 isSystemIdSupported( int32_t CA_system_id, bool* result) argument
67 createPlugin( int32_t CA_system_id, const sp<ICasListener> &listener, sp<ICas>* result) argument
90 isDescramblerSupported( int32_t CA_system_id, bool* result) argument
99 createDescrambler( int32_t CA_system_id, sp<IDescrambler>* result) argument
[all...]
H A DFactoryLoader.h40 int32_t CA_system_id,
58 int32_t CA_system_id,
72 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) {
83 ssize_t index = mCASystemIdToLibraryPathMap.indexOfKey(CA_system_id);
87 CA_system_id, library, factory);
104 pluginPath, CA_system_id, library, factory)) {
105 mCASystemIdToLibraryPathMap.add(CA_system_id, pluginPath);
148 const String8 &path, int32_t CA_system_id,
152 if (!openFactory(path) || !mFactory->isSystemIdSupported(CA_system_id)) {
179 it->CA_system_id, i
71 findFactoryForScheme( int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument
147 loadFactoryForSchemeFromPath( const String8 &path, int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) argument
[all...]
/frameworks/av/include/media/
H A DMediaCasDefs.h46 ParcelableCasPluginDescriptor(int32_t CA_system_id, const char *name) argument
47 : mCASystemId(CA_system_id), mName(name) {}
/frameworks/base/media/java/android/media/
H A DMediaDescrambler.java38 * Scrambling schemes are identified by 16-bit unsigned integer as in CA_system_id.
92 * @param CA_system_id The system id of the scrambling scheme.
96 public MediaDescrambler(int CA_system_id) throws UnsupportedCasException { argument
98 mIDescrambler = MediaCas.getService().createDescrambler(CA_system_id);
104 throw new UnsupportedCasException("Unsupported CA_system_id " + CA_system_id);
H A DMediaCas.java40 * The CA system is identified by a 16-bit integer CA_system_id. The scrambling
213 PluginDescriptor(int CA_system_id, String name) { argument
214 mCASystemId = CA_system_id;
339 private ParcelableCasPluginDescriptor(int CA_system_id, String name) { argument
340 super(CA_system_id, name);
356 int CA_system_id = in.readInt();
358 return new ParcelableCasPluginDescriptor(CA_system_id, name);
370 * @param CA_system_id the id of the CA system.
374 public static boolean isSystemIdSupported(int CA_system_id) { argument
379 return service.isSystemIdSupported(CA_system_id);
419 MediaCas(int CA_system_id) argument
[all...]
/frameworks/av/drm/mediacas/plugins/mock/
H A DMockCasPlugin.cpp39 bool MockCasFactory::isSystemIdSupported(int32_t CA_system_id) const {
40 return CA_system_id == sMockId;
51 int32_t CA_system_id,
55 if (!isSystemIdSupported(CA_system_id)) {
65 bool MockDescramblerFactory::isSystemIdSupported(int32_t CA_system_id) const {
66 return CA_system_id == sMockId;
70 int32_t CA_system_id, DescramblerPlugin** plugin) {
71 if (!isSystemIdSupported(CA_system_id)) {
50 createPlugin( int32_t CA_system_id, uint64_t appData, CasPluginCallback callback, CasPlugin **plugin) argument
69 createPlugin( int32_t CA_system_id, DescramblerPlugin** plugin) argument
/frameworks/av/drm/mediacas/plugins/clearkey/
H A DClearKeyCasPlugin.cpp45 bool ClearKeyCasFactory::isSystemIdSupported(int32_t CA_system_id) const {
46 return CA_system_id == sClearKeySystemId;
57 int32_t CA_system_id,
61 if (!isSystemIdSupported(CA_system_id)) {
70 int32_t CA_system_id) const {
71 return CA_system_id == sClearKeySystemId;
75 int32_t CA_system_id, DescramblerPlugin** plugin) {
76 if (!isSystemIdSupported(CA_system_id)) {
56 createPlugin( int32_t CA_system_id, uint64_t appData, CasPluginCallback callback, CasPlugin **plugin) argument
74 createPlugin( int32_t CA_system_id, DescramblerPlugin** plugin) argument

Completed in 2989 milliseconds