/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/ |
D | DrmInitData.java | 23 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 35 public final class DrmInitData implements Comparator<SchemeData>, Parcelable { 58 ArrayList<SchemeData> result = new ArrayList<>(); in createSessionCreationData() 62 for (SchemeData data : manifestData.schemeDatas) { in createSessionCreationData() 74 for (SchemeData data : mediaData.schemeDatas) { in createSessionCreationData() 84 private final SchemeData[] schemeDatas; 100 public DrmInitData(List<SchemeData> schemeDatas) { in DrmInitData() 101 this(null, false, schemeDatas.toArray(new SchemeData[0])); in DrmInitData() 108 public DrmInitData(@Nullable String schemeType, List<SchemeData> schemeDatas) { in DrmInitData() 109 this(schemeType, false, schemeDatas.toArray(new SchemeData[0])); in DrmInitData() [all …]
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/drm/ |
D | DrmInitDataTest.java | 27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 38 private static final SchemeData DATA_1 = new SchemeData(WIDEVINE_UUID, VIDEO_MP4, 40 private static final SchemeData DATA_2 = new SchemeData(PLAYREADY_UUID, VIDEO_MP4, 42 private static final SchemeData DATA_1B = new SchemeData(WIDEVINE_UUID, VIDEO_MP4, 44 private static final SchemeData DATA_2B = new SchemeData(PLAYREADY_UUID, VIDEO_MP4, 46 private static final SchemeData DATA_UNIVERSAL = new SchemeData(C.UUID_NIL, VIDEO_MP4, 157 private List<SchemeData> getAllSchemeData(DrmInitData drmInitData) { in getAllSchemeData() 158 ArrayList<SchemeData> schemeDatas = new ArrayList<>(); in getAllSchemeData()
|
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/ |
D | FormatTest.java | 71 DrmInitData.SchemeData drmData1 = in createTestFormat() 72 new DrmInitData.SchemeData( in createTestFormat() 74 DrmInitData.SchemeData drmData2 = in createTestFormat() 75 new DrmInitData.SchemeData( in createTestFormat()
|
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/ |
D | FrameworkMediaDrm.java | 31 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 180 @Nullable List<DrmInitData.SchemeData> schemeDatas, in getKeyRequest() 184 SchemeData schemeData = null; in getKeyRequest() 300 private static SchemeData getSchemeData(UUID uuid, List<SchemeData> schemeDatas) { 308 SchemeData firstSchemeData = schemeDatas.get(0); 312 SchemeData schemeData = schemeDatas.get(i); 327 SchemeData schemeData = schemeDatas.get(i); 341 SchemeData schemeData = schemeDatas.get(i);
|
D | DefaultDrmSessionManager.java | 26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 425 List<SchemeData> schemeDatas = getSchemeDatas(drmInitData, uuid, true); in canAcquireSession() 485 @Nullable List<SchemeData> schemeDatas = null; in acquireSession() 547 @Nullable List<SchemeData> schemeDatas, boolean isPlaceholderSession) { in createNewDefaultSession() 593 private static List<SchemeData> getSchemeDatas( in getSchemeDatas() 596 List<SchemeData> matchingSchemeDatas = new ArrayList<>(drmInitData.schemeDataCount); in getSchemeDatas() 598 SchemeData schemeData = drmInitData.get(i); in getSchemeDatas()
|
D | ExoMediaDrm.java | 26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 291 @Nullable List<SchemeData> schemeDatas, in getKeyRequest()
|
D | DrmSessionManager.java | 21 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData;
|
D | DummyExoMediaDrm.java | 64 @Nullable List<DrmInitData.SchemeData> schemeDatas, in getKeyRequest()
|
D | DefaultDrmSession.java | 29 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 103 @Nullable public final List<SchemeData> schemeDatas; 155 @Nullable List<SchemeData> schemeDatas, in DefaultDrmSession()
|
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/ |
D | HlsPlaylistParser.java | 26 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 301 SchemeData schemeData = parseDrmSchemeData(line, keyFormat, variableDefinitions); in parseMasterPlaylist() 593 TreeMap<String, SchemeData> currentSchemeDatas = new TreeMap<>(); in parseMediaPlaylist() 690 SchemeData schemeData = parseDrmSchemeData(line, keyFormat, variableDefinitions); in parseMediaPlaylist() 754 SchemeData[] schemeDatas = currentSchemeDatas.values().toArray(new SchemeData[0]); in parseMediaPlaylist() 757 SchemeData[] playlistSchemeDatas = new SchemeData[schemeDatas.length]; in parseMediaPlaylist() 847 private static SchemeData parseDrmSchemeData( in parseDrmSchemeData() 854 return new SchemeData( in parseDrmSchemeData() 859 return new SchemeData(C.WIDEVINE_UUID, "hls", Util.getUtf8Bytes(line)); in parseDrmSchemeData() 864 return new SchemeData(C.PLAYREADY_UUID, MimeTypes.VIDEO_MP4, psshData); in parseDrmSchemeData()
|
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/ |
D | DashUtilTest.java | 24 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 94 new SchemeData(C.WIDEVINE_UUID, "mimeType", new byte[] {1, 4, 7, 0, 3, 6})); in newDrmInitData()
|
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/ |
D | DashManifestParser.java | 28 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 288 ArrayList<SchemeData> drmSchemeDatas = new ArrayList<>(); in parseAdaptationSet() 305 Pair<String, SchemeData> contentProtection = parseContentProtection(xpp); in parseAdaptationSet() 420 protected Pair<@NullableType String, @NullableType SchemeData> parseContentProtection( in parseContentProtection() 481 SchemeData schemeData = in parseContentProtection() 482 uuid != null ? new SchemeData(uuid, licenseServerUrl, MimeTypes.VIDEO_MP4, data) : null; in parseContentProtection() 529 ArrayList<SchemeData> drmSchemeDatas = new ArrayList<>(); in parseRepresentation() 557 Pair<String, SchemeData> contentProtection = parseContentProtection(xpp); in parseRepresentation() 654 ArrayList<SchemeData> extraDrmSchemeDatas, in buildRepresentation() 664 ArrayList<SchemeData> drmSchemeDatas = representationInfo.drmSchemeDatas; in buildRepresentation() [all …]
|
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/drm/ |
D | OfflineLicenseHelperTest.java | 27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 181 new SchemeData(C.WIDEVINE_UUID, "mimeType", new byte[] {1, 4, 7, 0, 3, 6})); in newDrmInitData()
|
/external/exoplayer/tree/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/manifest/ |
D | SsManifestParser.java | 28 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 383 DrmInitData drmInitData = new DrmInitData(new SchemeData(protectionElement.uuid, in build()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/ |
D | FragmentedMp4Extractor.java | 27 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 1433 @Nullable ArrayList<SchemeData> schemeDatas = null; in getDrmInitDataFromAtoms() 1446 schemeDatas.add(new SchemeData(uuid, MimeTypes.VIDEO_MP4, psshData)); in getDrmInitDataFromAtoms()
|
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mkv/ |
D | MatroskaExtractor.java | 29 import com.google.android.exoplayer2.drm.DrmInitData.SchemeData; 725 currentTrack.drmInitData = new DrmInitData(new SchemeData(C.UUID_NIL, in endMasterElement()
|