List of usage examples for android.media MediaDrm PROPERTY_ALGORITHMS
String PROPERTY_ALGORITHMS
To view the source code for android.media MediaDrm PROPERTY_ALGORITHMS.
Click Source Link
From source file:at.amartinz.hardware.drm.BaseDrmInfo.java
private MediaDrm setup() { MediaDrm drm;/*from ww w .j a v a 2s . c om*/ try { drm = new MediaDrm(getUuid()); } catch (UnsupportedSchemeException use) { drm = null; } if (drm == null) { return null; } vendor = getProperty(drm, MediaDrm.PROPERTY_VENDOR); version = getProperty(drm, MediaDrm.PROPERTY_VERSION); description = getProperty(drm, MediaDrm.PROPERTY_DESCRIPTION); systemId = getProperty(drm, "systemId"); deviceId = getProperty(drm, MediaDrm.PROPERTY_DEVICE_UNIQUE_ID); algorithms = getProperty(drm, MediaDrm.PROPERTY_ALGORITHMS); algorithms = splitList(algorithms); securityLevel = getProperty(drm, "securityLevel"); hdcpLevel = getProperty(drm, "hdcpLevel"); hdcpLevelMax = getProperty(drm, "maxHdcpLevel"); isUsageReportingSupported = getBooleanProperty(drm, "usageReportingSupport"); sessionNumberMax = getProperty(drm, "maxNumberOfSessions"); sessionNumberOpen = getProperty(drm, "numberOfOpenSessions"); return drm; }