Home
last modified time | relevance | path

Searched refs:schemeDatas (Results 1 – 10 of 10) sorted by relevance

/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/drm/
DDrmInitData.java62 for (SchemeData data : manifestData.schemeDatas) { in createSessionCreationData()
74 for (SchemeData data : mediaData.schemeDatas) { in createSessionCreationData()
84 private final SchemeData[] schemeDatas; field in DrmInitData
100 public DrmInitData(List<SchemeData> schemeDatas) { in DrmInitData() argument
101 this(null, false, schemeDatas.toArray(new SchemeData[0])); in DrmInitData()
108 public DrmInitData(@Nullable String schemeType, List<SchemeData> schemeDatas) { in DrmInitData() argument
109 this(schemeType, false, schemeDatas.toArray(new SchemeData[0])); in DrmInitData()
115 public DrmInitData(SchemeData... schemeDatas) { in DrmInitData() argument
116 this(null, schemeDatas); in DrmInitData()
123 public DrmInitData(@Nullable String schemeType, SchemeData... schemeDatas) { in DrmInitData() argument
[all …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java180 @Nullable List<DrmInitData.SchemeData> schemeDatas, in getKeyRequest() argument
187 if (schemeDatas != null) { in getKeyRequest()
188 schemeData = getSchemeData(uuid, schemeDatas); in getKeyRequest()
300 private static SchemeData getSchemeData(UUID uuid, List<SchemeData> schemeDatas) {
303 return schemeDatas.get(0);
306 if (Util.SDK_INT >= 28 && schemeDatas.size() > 1) {
308 SchemeData firstSchemeData = schemeDatas.get(0);
311 for (int i = 0; i < schemeDatas.size(); i++) {
312 SchemeData schemeData = schemeDatas.get(i);
326 for (int i = 0; i < schemeDatas.size(); i++) {
[all …]
DDefaultDrmSessionManager.java425 List<SchemeData> schemeDatas = getSchemeDatas(drmInitData, uuid, true); in canAcquireSession() local
426 if (schemeDatas.isEmpty()) { in canAcquireSession()
485 @Nullable List<SchemeData> schemeDatas = null; in acquireSession() local
487 schemeDatas = getSchemeDatas(drmInitData, uuid, false); in acquireSession()
488 if (schemeDatas.isEmpty()) { in acquireSession()
506 if (Util.areEqual(existingSession.schemeDatas, schemeDatas)) { in acquireSession()
515 session = createNewDefaultSession(schemeDatas, /* isPlaceholderSession= */ false); in acquireSession()
547 @Nullable List<SchemeData> schemeDatas, boolean isPlaceholderSession) { in createNewDefaultSession()
556 schemeDatas, in createNewDefaultSession()
DDefaultDrmSession.java103 @Nullable public final List<SchemeData> schemeDatas; field in DefaultDrmSession
155 @Nullable List<SchemeData> schemeDatas, in DefaultDrmSession() argument
177 this.schemeDatas = null; in DefaultDrmSession()
179 this.schemeDatas = Collections.unmodifiableList(Assertions.checkNotNull(schemeDatas)); in DefaultDrmSession()
439 currentKeyRequest = mediaDrm.getKeyRequest(scope, schemeDatas, type, keyRequestParameters); in postKeyRequest()
DDummyExoMediaDrm.java64 @Nullable List<DrmInitData.SchemeData> schemeDatas, in getKeyRequest() argument
DExoMediaDrm.java291 @Nullable List<SchemeData> schemeDatas, in getKeyRequest() argument
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/drm/
DDrmInitDataTest.java158 ArrayList<SchemeData> schemeDatas = new ArrayList<>(); in getAllSchemeData() local
160 schemeDatas.add(drmInitData.get(i)); in getAllSchemeData()
162 return schemeDatas; in getAllSchemeData()
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java754 SchemeData[] schemeDatas = currentSchemeDatas.values().toArray(new SchemeData[0]); in parseMediaPlaylist() local
755 cachedDrmInitData = new DrmInitData(encryptionScheme, schemeDatas); in parseMediaPlaylist()
757 SchemeData[] playlistSchemeDatas = new SchemeData[schemeDatas.length]; in parseMediaPlaylist()
758 for (int i = 0; i < schemeDatas.length; i++) { in parseMediaPlaylist()
759 playlistSchemeDatas[i] = schemeDatas[i].copyWithData(null); in parseMediaPlaylist()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java1309 private static void filterRedundantIncompleteSchemeDatas(ArrayList<SchemeData> schemeDatas) { in filterRedundantIncompleteSchemeDatas() argument
1310 for (int i = schemeDatas.size() - 1; i >= 0; i--) { in filterRedundantIncompleteSchemeDatas()
1311 SchemeData schemeData = schemeDatas.get(i); in filterRedundantIncompleteSchemeDatas()
1313 for (int j = 0; j < schemeDatas.size(); j++) { in filterRedundantIncompleteSchemeDatas()
1314 if (schemeDatas.get(j).canReplace(schemeData)) { in filterRedundantIncompleteSchemeDatas()
1317 schemeDatas.remove(i); in filterRedundantIncompleteSchemeDatas()
/external/exoplayer/tree/library/extractor/src/main/java/com/google/android/exoplayer2/extractor/mp4/
DFragmentedMp4Extractor.java1433 @Nullable ArrayList<SchemeData> schemeDatas = null; in getDrmInitDataFromAtoms() local
1438 if (schemeDatas == null) { in getDrmInitDataFromAtoms()
1439 schemeDatas = new ArrayList<>(); in getDrmInitDataFromAtoms()
1446 schemeDatas.add(new SchemeData(uuid, MimeTypes.VIDEO_MP4, psshData)); in getDrmInitDataFromAtoms()
1450 return schemeDatas == null ? null : new DrmInitData(schemeDatas); in getDrmInitDataFromAtoms()