/external/chromium_org/content/test/data/media/ |
D | encrypted_media_utils.js | 5 var keySystem = QueryString.keysystem; variable 33 return loadEncryptedMedia(video, mediaFile, keySystem, KEY, useMSE); 36 function loadEncryptedMedia(video, mediaFile, keySystem, key, useMSE, argument 43 video.isHeartbeatExpected = keySystem === EXTERNAL_CLEAR_KEY_KEY_SYSTEM; 46 if (!(video && mediaFile && keySystem && key)) { 57 video.webkitGenerateKeyRequest(keySystem, e.initData); 70 if (!e.keySystem) { 71 failTest('keymessage without a keySystem: ' + e.keySystem); 103 video.webkitAddKey(keySystem, key, initData); 108 if (e.keySystem != EXTERNAL_CLEAR_KEY_KEY_SYSTEM) { [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/ |
D | MediaKeys.cpp | 40 PassRefPtr<MediaKeys> MediaKeys::create(const String& keySystem, ExceptionState& exceptionState) in create() argument 46 if (keySystem.isEmpty()) { in create() 52 if (!ContentDecryptionModule::supportsKeySystem(keySystem)) { in create() 59 OwnPtr<ContentDecryptionModule> cdm = ContentDecryptionModule::create(keySystem); in create() 68 return adoptRef(new MediaKeys(keySystem, cdm.release())); in create() 71 MediaKeys::MediaKeys(const String& keySystem, PassOwnPtr<ContentDecryptionModule> cdm) in MediaKeys() argument 73 , m_keySystem(keySystem) in MediaKeys() 111 ASSERT(!session->keySystem().isEmpty()); in createSession()
|
D | MediaKeys.h | 51 static PassRefPtr<MediaKeys> create(const String& keySystem, ExceptionState&); 56 const String& keySystem() const { return m_keySystem; } in keySystem() function 61 MediaKeys(const String& keySystem, PassOwnPtr<ContentDecryptionModule>);
|
D | MediaKeys.idl | 28 Constructor(DOMString keySystem), 33 readonly attribute DOMString keySystem;
|
D | MediaKeySession.h | 61 const String& keySystem() const { return m_keySystem; } in keySystem() function
|
D | MediaKeySession.idl | 33 readonly attribute DOMString keySystem;
|
D | MediaKeySession.cpp | 47 , m_keySystem(keys->keySystem()) in MediaKeySession()
|
/external/chromium_org/third_party/WebKit/Source/platform/drm/ |
D | ContentDecryptionModule.cpp | 40 bool ContentDecryptionModule::supportsKeySystem(const String& keySystem) in supportsKeySystem() argument 45 return keySystem == "org.w3.clearkey"; in supportsKeySystem() 48 PassOwnPtr<ContentDecryptionModule> ContentDecryptionModule::create(const String& keySystem) in create() argument 50 ASSERT(!keySystem.isEmpty()); in create() 51 …yptionModule> cdm = adoptPtr(blink::Platform::current()->createContentDecryptionModule(keySystem)); in create()
|
D | ContentDecryptionModule.h | 49 static PassOwnPtr<ContentDecryptionModule> create(const String& keySystem);
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | WebMediaPlayerClientImpl.cpp | 128 void WebMediaPlayerClientImpl::keyAdded(const WebString& keySystem, const WebString& sessionId) in keyAdded() argument 130 m_client->mediaPlayerKeyAdded(keySystem, sessionId); in keyAdded() 133 void WebMediaPlayerClientImpl::keyError(const WebString& keySystem, const WebString& sessionId, Med… in keyError() argument 135 …m_client->mediaPlayerKeyError(keySystem, sessionId, static_cast<MediaPlayerClient::MediaKeyErrorCo… in keyError() 138 void WebMediaPlayerClientImpl::keyMessage(const WebString& keySystem, const WebString& sessionId, c… in keyMessage() argument 140 m_client->mediaPlayerKeyMessage(keySystem, sessionId, message, messageLength, defaultURL); in keyMessage() 143 void WebMediaPlayerClientImpl::keyNeeded(const WebString& keySystem, const WebString& sessionId, co… in keyNeeded() argument 145 m_client->mediaPlayerKeyNeeded(keySystem, sessionId, initData, initDataLength); in keyNeeded() 299 MediaPlayer::MediaKeyException WebMediaPlayerClientImpl::generateKeyRequest(const String& keySystem… in generateKeyRequest() argument 304 …WebMediaPlayer::MediaKeyException result = m_webMediaPlayer->generateKeyRequest(keySystem, initDat… in generateKeyRequest() [all …]
|
D | WebMediaPlayerClientImpl.h | 81 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId); 82 …virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, u… 83 …virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned cha… 84 …virtual void keyNeeded(const WebString& keySystem, const WebString& sessionId, const unsigned char… 140 …virtual WebCore::MediaPlayer::MediaKeyException generateKeyRequest(const String& keySystem, const … 141 …virtual WebCore::MediaPlayer::MediaKeyException addKey(const String& keySystem, const unsigned cha… 142 …virtual WebCore::MediaPlayer::MediaKeyException cancelKeyRequest(const String& keySystem, const St…
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebMediaPlayerClient.h | 67 virtual void keyAdded(const WebString& keySystem, const WebString& sessionId) = 0; 68 …virtual void keyError(const WebString& keySystem, const WebString& sessionId, MediaKeyErrorCode, u… 69 …virtual void keyMessage(const WebString& keySystem, const WebString& sessionId, const unsigned cha… 70 …virtual void keyNeeded(const WebString& keySystem, const WebString& sessionId, const unsigned char…
|
D | WebMediaPlayer.h | 152 …virtual MediaKeyException generateKeyRequest(const WebString& keySystem, const unsigned char* init… in generateKeyRequest() argument 153 …virtual MediaKeyException addKey(const WebString& keySystem, const unsigned char* key, unsigned ke… in addKey() argument 154 …virtual MediaKeyException cancelKeyRequest(const WebString& keySystem, const WebString& sessionId)… in cancelKeyRequest() argument
|
D | WebMimeRegistry.h | 46 …blink::WebString& mimeType, const blink::WebString& codecs, const blink::WebString& keySystem) = 0;
|
D | Platform.h | 142 …virtual WebContentDecryptionModule* createContentDecryptionModule(const WebString& keySystem) { re… in createContentDecryptionModule() argument
|
/external/chromium_org/third_party/WebKit/Source/core/html/ |
D | HTMLMediaElement.h | 77 …WebMimeRegistry::SupportsType supportsType(const ContentType&, const String& keySystem = String()); 116 …String canPlayType(const String& mimeType, const String& keySystem = String(), const KURL& = KURL(… 150 …void webkitGenerateKeyRequest(const String& keySystem, PassRefPtr<Uint8Array> initData, ExceptionS… 151 void webkitGenerateKeyRequest(const String& keySystem, ExceptionState&); 152 …void webkitAddKey(const String& keySystem, PassRefPtr<Uint8Array> key, PassRefPtr<Uint8Array> init… 153 void webkitAddKey(const String& keySystem, PassRefPtr<Uint8Array> key, ExceptionState&); 154 void webkitCancelKeyRequest(const String& keySystem, const String& sessionId, ExceptionState&); 358 virtual void mediaPlayerKeyAdded(const String& keySystem, const String& sessionId) OVERRIDE; 359 …virtual void mediaPlayerKeyError(const String& keySystem, const String& sessionId, MediaPlayerClie… 360 …virtual void mediaPlayerKeyMessage(const String& keySystem, const String& sessionId, const unsigne… [all …]
|
D | HTMLMediaElement.cpp | 192 static bool canLoadURL(const KURL& url, const ContentType& contentType, const String& keySystem) in canLoadURL() argument 213 …nt()->mimeRegistry()->supportsMediaMIMEType(contentMIMEType, contentTypeCodecs, keySystem.lower()); in canLoadURL() 220 …upportsType HTMLMediaElement::supportsType(const ContentType& contentType, const String& keySystem) in supportsType() argument 231 String system = keySystem.lower(); in supportsType() 588 String HTMLMediaElement::canPlayType(const String& mimeType, const String& keySystem, const KURL& u… in canPlayType() argument 590 WebMimeRegistry::SupportsType support = supportsType(ContentType(mimeType), keySystem); in canPlayType() 607 …MLMediaElement::canPlayType(%s, %s, %s) -> %s", mimeType.utf8().data(), keySystem.utf8().data(), u… in canPlayType() 811 String keySystem; in loadNextSourceChild() local 812 KURL mediaURL = selectNextSourceChild(&contentType, &keySystem, Complain); in loadNextSourceChild() 822 loadResource(mediaURL, contentType, keySystem); in loadNextSourceChild() [all …]
|
D | MediaKeyEvent.h | 37 String keySystem; member 62 String keySystem() const { return m_keySystem; } in keySystem() function
|
D | HTMLMediaElement.idl | 48 …ault=Undefined, TreatNullAs=NullString, TreatUndefinedAs=NullString] optional DOMString keySystem); 94 …Request([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, optional Uint8A… 95 …tAddKey([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8Array key,… 96 …Request([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, [Default=NullSt…
|
D | MediaKeyEvent.cpp | 46 , m_keySystem(initializer.keySystem) in MediaKeyEvent()
|
D | MediaKeyEvent.idl | 30 [InitializedByEventConstructor] readonly attribute DOMString keySystem;
|
/external/chromium_org/chrome/browser/media/ |
D | encrypted_media_istypesupported_browsertest.cc | 210 const std::string& keySystem) { in IsSupportedKeySystemWithMediaMimeType() argument 232 command.append(keySystem); in IsSupportedKeySystemWithMediaMimeType()
|