Home
last modified time | relevance | path

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

/frameworks/av/drm/mediacas/plugins/mock/
DMockCasPlugin.cpp39 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()
64 int32_t CA_system_id, in createPlugin() argument
68 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
78 bool MockDescramblerFactory::isSystemIdSupported(int32_t CA_system_id) const { in isSystemIdSupported()
79 return CA_system_id == sMockId; in isSystemIdSupported()
83 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin() argument
84 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
DMockCasPlugin.h37 int32_t CA_system_id) const override;
41 int32_t CA_system_id,
46 int32_t CA_system_id,
58 int32_t CA_system_id) const override;
60 int32_t CA_system_id, DescramblerPlugin **plugin) override;
/frameworks/av/drm/mediacas/plugins/clearkey/
DClearKeyCasPlugin.h42 int32_t CA_system_id) const override;
46 int32_t CA_system_id,
51 int32_t CA_system_id,
63 int32_t CA_system_id) const override;
65 int32_t CA_system_id, DescramblerPlugin **plugin) override;
DClearKeyCasPlugin.cpp45 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, in createPlugin() argument
74 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
83 int32_t CA_system_id) const { in isSystemIdSupported()
84 return CA_system_id == sClearKeySystemId; in isSystemIdSupported()
88 int32_t CA_system_id, DescramblerPlugin** plugin) { in createPlugin() argument
89 if (!isSystemIdSupported(CA_system_id)) { in createPlugin()
/frameworks/native/headers/media_plugin/media/cas/
DCasAPI.h36 int32_t CA_system_id; member
70 int32_t CA_system_id) const = 0;
78 int32_t CA_system_id,
85 int32_t CA_system_id,
DDescramblerAPI.h34 int32_t CA_system_id) const = 0;
38 int32_t CA_system_id, DescramblerPlugin **plugin) = 0;
/frameworks/base/media/java/android/media/
DMediaDescrambler.java62 public MediaDescrambler(int CA_system_id) throws UnsupportedCasException { in MediaDescrambler() argument
64 mIDescrambler = MediaCas.getService().createDescrambler(CA_system_id); in MediaDescrambler()
70 throw new UnsupportedCasException("Unsupported CA_system_id " + CA_system_id); in MediaDescrambler()
DMediaCas.java640 public static boolean isSystemIdSupported(int CA_system_id) { in isSystemIdSupported() argument
645 return service.isSystemIdSupported(CA_system_id); in isSystemIdSupported()