Home
last modified time | relevance | path

Searched refs:WIDEVINE_UUID (Results 1 – 19 of 19) sorted by relevance

/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/drm/
DDrmInitDataTest.java20 import static com.google.android.exoplayer2.C.WIDEVINE_UUID;
38 private static final SchemeData DATA_1 = new SchemeData(WIDEVINE_UUID, VIDEO_MP4,
42 private static final SchemeData DATA_1B = new SchemeData(WIDEVINE_UUID, VIDEO_MP4,
101 assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1); in getByUuid()
107 assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1); in getByUuid()
113 assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1); in getByUuid()
119 assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1); in getByUuid()
136 assertThat(testInitData.get(WIDEVINE_UUID)).isEqualTo(DATA_1); in schemeDatasWithSameUuid()
144 assertThat(DATA_1.matches(WIDEVINE_UUID)).isTrue(); in schemeDataMatches()
148 assertThat(DATA_2.matches(WIDEVINE_UUID)).isFalse(); in schemeDataMatches()
[all …]
/external/exoplayer/tree/library/extractor/src/test/java/com/google/android/exoplayer2/extractor/mp4/
DPsshAtomUtilTest.java18 import static com.google.android.exoplayer2.C.WIDEVINE_UUID;
38 byte[] psshAtom = PsshAtomUtil.buildPsshAtom(C.WIDEVINE_UUID, schemeData); in buildPsshAtom()
47 assertThat(systemId).isEqualTo(WIDEVINE_UUID); in buildPsshAtom()
/external/exoplayer/tree/demos/cast/src/main/java/com/google/android/exoplayer2/castdemo/
DDemoUtil.java69 .setDrmUuid(C.WIDEVINE_UUID) in samples.add()
79 .setDrmUuid(C.WIDEVINE_UUID) in samples.add()
89 .setDrmUuid(C.WIDEVINE_UUID) in samples.add()
/external/exoplayer/tree/library/hls/src/test/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsMediaPlaylistParserTest.java172 assertThat(playlist.protectionSchemes.get(0).matches(C.WIDEVINE_UUID)).isTrue(); in parseSampleAesMethod()
177 assertThat(playlist.segments.get(1).drmInitData.get(0).matches(C.WIDEVINE_UUID)).isTrue(); in parseSampleAesMethod()
201 assertThat(playlist.protectionSchemes.get(0).matches(C.WIDEVINE_UUID)).isTrue(); in parseSampleAesCencMethod()
225 assertThat(playlist.protectionSchemes.get(0).matches(C.WIDEVINE_UUID)).isTrue(); in parseSampleAesCtrMethod()
281 assertThat(playlist.protectionSchemes.get(1).matches(C.WIDEVINE_UUID)).isTrue(); in multipleExtXKeysForSingleSegment()
288 assertThat(playlist.segments.get(1).drmInitData.get(1).matches(C.WIDEVINE_UUID)).isTrue(); in multipleExtXKeysForSingleSegment()
297 assertThat(playlist.segments.get(3).drmInitData.get(1).matches(C.WIDEVINE_UUID)).isTrue(); in multipleExtXKeysForSingleSegment()
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/
DMediaItemTest.java98 .setDrmUuid(C.WIDEVINE_UUID) in builderSetDrmConfig_setsAllProperties()
108 assertThat(mediaItem.playbackProperties.drmConfiguration.uuid).isEqualTo(C.WIDEVINE_UUID); in builderSetDrmConfig_setsAllProperties()
125 .setDrmUuid(C.WIDEVINE_UUID) in builderSetDrmSessionForClearPeriods_setsAudioAndVideoTracks()
303 .setDrmUuid(C.WIDEVINE_UUID) in buildUpon_equalsToOriginal()
DFormatTest.java18 import static com.google.android.exoplayer2.C.WIDEVINE_UUID;
73 WIDEVINE_UUID, VIDEO_MP4, TestUtil.buildTestData(128, 1 /* data seed */)); in createTestFormat()
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/drm/
DFrameworkMediaDrm.java103 if (C.WIDEVINE_UUID.equals(uuid) && needsForceWidevineL3Workaround()) { in FrameworkMediaDrm()
290 && C.WIDEVINE_UUID.equals(uuid) && "L3".equals(getPropertyString("securityLevel")); in createMediaCrypto()
301 if (!C.WIDEVINE_UUID.equals(uuid)) {
379 if ((Util.SDK_INT < 23 && C.WIDEVINE_UUID.equals(uuid)) in adjustRequestInitData()
DDefaultDrmSessionManager.java81 uuid = C.WIDEVINE_UUID; in Builder()
DDefaultDrmSession.java429 if (!C.WIDEVINE_UUID.equals(uuid)) { in getLicenseDurationRemainingSec()
/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/drm/
DOfflineLicenseHelperTest.java56 C.WIDEVINE_UUID, in setUp()
181 new SchemeData(C.WIDEVINE_UUID, "mimeType", new byte[] {1, 4, 7, 0, 3, 6})); in newDrmInitData()
/external/exoplayer/tree/playbacktests/src/androidTest/java/com/google/android/exoplayer2/playbacktests/gts/
DDashTestRunner.java18 import static com.google.android.exoplayer2.C.WIDEVINE_UUID;
267 FrameworkMediaDrm frameworkMediaDrm = FrameworkMediaDrm.newInstance(WIDEVINE_UUID); in buildDrmSessionManager()
270 C.WIDEVINE_UUID, in buildDrmSessionManager()
477 return new MediaDrm(WIDEVINE_UUID); in build()
/external/exoplayer/tree/library/smoothstreaming/src/test/java/com/google/android/exoplayer2/source/smoothstreaming/
DSsTestUtils.java43 new ProtectionElement(C.WIDEVINE_UUID, new byte[0], new TrackEncryptionBox[0]);
/external/exoplayer/tree/extensions/cast/src/test/java/com/google/android/exoplayer2/ext/cast/
DDefaultMediaItemConverterTest.java56 .setDrmUuid(C.WIDEVINE_UUID) in serialize_deserialize_complete()
/external/exoplayer/tree/library/dash/src/test/java/com/google/android/exoplayer2/source/dash/
DDashUtilTest.java94 new SchemeData(C.WIDEVINE_UUID, "mimeType", new byte[] {1, 4, 7, 0, 3, 6})); in newDrmInitData()
/external/exoplayer/tree/extensions/cast/src/main/java/com/google/android/exoplayer2/ext/cast/
DDefaultMediaItemConverter.java158 if (C.WIDEVINE_UUID.equals(drmConfiguration.uuid)) { in getPlayerConfigJson()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/
DC.java756 public static final UUID WIDEVINE_UUID = new UUID(0xEDEF8BA979D64ACEL, 0xA3C827DCD51D21EDL); field in C
/external/exoplayer/tree/library/hls/src/main/java/com/google/android/exoplayer2/source/hls/playlist/
DHlsPlaylistParser.java855 C.WIDEVINE_UUID, in parseDrmSchemeData()
859 return new SchemeData(C.WIDEVINE_UUID, "hls", Util.getUtf8Bytes(line)); in parseDrmSchemeData()
/external/exoplayer/tree/library/common/src/main/java/com/google/android/exoplayer2/util/
DUtil.java1611 return C.WIDEVINE_UUID; in getDrmUuid()
/external/exoplayer/tree/library/dash/src/main/java/com/google/android/exoplayer2/source/dash/manifest/
DDashManifestParser.java448 uuid = C.WIDEVINE_UUID; in parseContentProtection()