Home
last modified time | relevance | path

Searched refs:MediaKeys (Results 1 – 25 of 104) sorted by relevance

12345

/external/chromium_org/third_party/WebKit/Source/modules/encryptedmedia/
DMediaKeys.cpp56 MediaKeys* MediaKeys::create(ExecutionContext* context, const String& keySystem, ExceptionState& ex… in create()
86 return new MediaKeys(context, keySystem, cdm.release()); in create()
89 MediaKeys::MediaKeys(ExecutionContext* context, const String& keySystem, PassOwnPtr<blink::WebConte… in MediaKeys() function in WebCore::MediaKeys
93 , m_initializeNewSessionTimer(this, &MediaKeys::initializeNewSessionTimerFired) in MediaKeys()
99 MediaKeys::~MediaKeys() in ~MediaKeys()
103 MediaKeySession* MediaKeys::createSession(ExecutionContext* context, const String& contentType, Uin… in createSession()
146 bool MediaKeys::isTypeSupported(const String& keySystem, const String& contentType) in isTypeSupported()
168 blink::WebContentDecryptionModule* MediaKeys::contentDecryptionModule() in contentDecryptionModule()
173 void MediaKeys::initializeNewSessionTimerFired(Timer<MediaKeys>*) in initializeNewSessionTimerFired() argument
184 void MediaKeys::trace(Visitor* visitor) in trace()
[all …]
DMediaKeys.h54 class MediaKeys : public GarbageCollectedFinalized<MediaKeys>, public ContextLifecycleObserver, pub…
56 static MediaKeys* create(ExecutionContext*, const String& keySystem, ExceptionState&);
57 ~MediaKeys();
73MediaKeys(ExecutionContext*, const String& keySystem, PassOwnPtr<blink::WebContentDecryptionModule…
74 void initializeNewSessionTimerFired(Timer<MediaKeys>*);
95 Timer<MediaKeys> m_initializeNewSessionTimer;
DHTMLMediaElementEncryptedMedia.h19 class MediaKeys; variable
38 static MediaKeys* mediaKeys(HTMLMediaElement&);
39 static void setMediaKeys(HTMLMediaElement&, MediaKeys*, ExceptionState&);
75 void setMediaKeysInternal(HTMLMediaElement&, MediaKeys*);
79 PersistentWillBeMember<MediaKeys> m_mediaKeys;
DMediaKeySession.h51 class MediaKeys; variable
72 … static MediaKeySession* create(ExecutionContext*, blink::WebContentDecryptionModule*, MediaKeys*);
115 MediaKeySession(ExecutionContext*, blink::WebContentDecryptionModule*, MediaKeys*);
131 WeakMember<MediaKeys> m_keys;
DHTMLMediaElementEncryptedMedia.idl15 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys;
16 …edMedia, RaisesException, TypeChecking=Interface|Nullable] void setMediaKeys(MediaKeys? mediaKeys);
/external/chromium_org/media/base/
Dmedia_keys.cc9 MediaKeys::MediaKeys() {} in MediaKeys() function in media::MediaKeys
11 MediaKeys::~MediaKeys() {} in ~MediaKeys()
13 Decryptor* MediaKeys::GetDecryptor() { return NULL; } in GetDecryptor()
Dmedia_keys.h31 class MEDIA_EXPORT MediaKeys {
70 MediaKeys();
71 virtual ~MediaKeys();
105 DISALLOW_COPY_AND_ASSIGN(MediaKeys);
119 MediaKeys::Exception exception_code,
Dcdm_promise.h25 typedef base::Callback<void(MediaKeys::Exception exception_code,
36 virtual void reject(MediaKeys::Exception exception_code,
/external/chromium_org/content/renderer/media/crypto/
Dproxy_decryptor.cc128 media::MediaKeys::SessionType session_type = in GenerateKeyRequest()
129 persistent ? media::MediaKeys::PERSISTENT_SESSION in GenerateKeyRequest()
130 : media::MediaKeys::TEMPORARY_SESSION; in GenerateKeyRequest()
153 media::MediaKeys::NOT_SUPPORTED_ERROR, in AddKey()
207 scoped_ptr<media::MediaKeys> ProxyDecryptor::CreateMediaKeys( in CreateMediaKeys()
258 media::MediaKeys::NOT_SUPPORTED_ERROR, in OnSessionClosed()
266 media::MediaKeys::Exception exception_code, in OnSessionError()
272 media::MediaKeys::KeyError error_code; in OnSessionError()
274 case media::MediaKeys::CLIENT_ERROR: in OnSessionError()
275 error_code = media::MediaKeys::kClientError; in OnSessionError()
[all …]
Dcontent_decryption_module_factory.cc21 scoped_ptr<media::MediaKeys> ContentDecryptionModuleFactory::Create( in Create()
44 return scoped_ptr<media::MediaKeys>( in Create()
48 return scoped_ptr<media::MediaKeys>( in Create()
67 return proxy_media_keys.PassAs<media::MediaKeys>(); in Create()
69 return scoped_ptr<media::MediaKeys>(); in Create()
Dproxy_media_keys.cc46 media::MediaKeys::NOT_SUPPORTED_ERROR, 0, "The operation was aborted."); in ~ProxyMediaKeys()
170 media::MediaKeys::KeyError error_code, in OnSessionError()
173 media::MediaKeys::Exception exception_code; in OnSessionError()
175 case media::MediaKeys::kClientError: in OnSessionError()
176 exception_code = media::MediaKeys::CLIENT_ERROR; in OnSessionError()
178 case media::MediaKeys::kOutputError: in OnSessionError()
179 exception_code = media::MediaKeys::OUTPUT_ERROR; in OnSessionError()
181 case media::MediaKeys::kUnknownError: in OnSessionError()
183 exception_code = media::MediaKeys::UNKNOWN_ERROR; in OnSessionError()
Dproxy_decryptor.h43 media::MediaKeys::KeyError error_code,
85 scoped_ptr<media::MediaKeys> CreateMediaKeys(const std::string& key_system,
95 media::MediaKeys::Exception exception_code,
111 scoped_ptr<media::MediaKeys> media_keys_;
Drenderer_cdm_manager.cc84 OnSessionError(cdm_id, session_id, media::MediaKeys::kUnknownError, 0); in OnSessionCreated()
98 OnSessionError(cdm_id, session_id, media::MediaKeys::kUnknownError, 0); in OnSessionMessage()
121 media::MediaKeys::KeyError error_code, in OnSessionError()
Dproxy_media_keys.h24 class ProxyMediaKeys : public media::MediaKeys {
64 media::MediaKeys::KeyError error_code,
Dppapi_decryptor.h32 class PpapiDecryptor : public media::MediaKeys, public media::Decryptor {
102 MediaKeys::Exception exception_code,
Dcontent_decryption_module_factory.h29 static scoped_ptr<media::MediaKeys> Create(
/external/chromium_org/content/browser/media/cdm/
Dbrowser_cdm_manager.cc22 using media::MediaKeys;
87 MediaKeys::KeyError error_code, in OnSessionError()
114 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnCreateSession()
146 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnCreateSession()
154 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnCreateSession()
180 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnUpdateSession()
187 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnUpdateSession()
198 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in OnReleaseSession()
271 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in CreateSessionIfPermitted()
278 OnSessionError(cdm_id, session_id, MediaKeys::kUnknownError, 0); in CreateSessionIfPermitted()
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dclear_key_cdm.cc137 static cdm::Error ConvertException(media::MediaKeys::Exception exception_code) { in ConvertException()
139 case media::MediaKeys::NOT_SUPPORTED_ERROR: in ConvertException()
141 case media::MediaKeys::INVALID_STATE_ERROR: in ConvertException()
143 case media::MediaKeys::INVALID_ACCESS_ERROR: in ConvertException()
145 case media::MediaKeys::QUOTA_EXCEEDED_ERROR: in ConvertException()
147 case media::MediaKeys::UNKNOWN_ERROR: in ConvertException()
149 case media::MediaKeys::CLIENT_ERROR: in ConvertException()
151 case media::MediaKeys::OUTPUT_ERROR: in ConvertException()
158 static media::MediaKeys::SessionType ConvertSessionType( in ConvertSessionType()
162 return media::MediaKeys::PERSISTENT_SESSION; in ConvertSessionType()
[all …]
/external/chromium_org/content/renderer/media/
Dwebcontentdecryptionmodulesession_impl.cc45 OnSessionError(media::MediaKeys::NOT_SUPPORTED_ERROR, in initializeNewSession()
66 media::MediaKeys::TEMPORARY_SESSION, in initializeNewSession()
110 media::MediaKeys::Exception exception_code, in OnSessionError()
117 case media::MediaKeys::CLIENT_ERROR: in OnSessionError()
Dcdm_session_adapter.h70 media::MediaKeys::SessionType session_type,
112 media::MediaKeys::Exception exception_code,
120 scoped_ptr<media::MediaKeys> media_keys_;
Dwebcontentdecryptionmodulesession_impl.h20 class MediaKeys; variable
47 void OnSessionError(media::MediaKeys::Exception exception_code,
Dcdm_session_adapter.cc75 media::MediaKeys::SessionType session_type, in InitializeNewSession()
137 media::MediaKeys::Exception exception_code, in OnSessionError()
/external/chromium_org/content/common/media/
Dcdm_messages.h22 IPC_ENUM_TRAITS(media::MediaKeys::KeyError)
69 media::MediaKeys::KeyError /* error_code */,
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc32 using media::MediaKeys;
254 MediaKeys::SessionType session_type) { in MediaSessionTypeToPpSessionType()
256 case MediaKeys::TEMPORARY_SESSION: in MediaSessionTypeToPpSessionType()
258 case MediaKeys::PERSISTENT_SESSION: in MediaSessionTypeToPpSessionType()
266 MediaKeys::Exception PpExceptionTypeToMediaException( in PpExceptionTypeToMediaException()
270 return MediaKeys::NOT_SUPPORTED_ERROR; in PpExceptionTypeToMediaException()
272 return MediaKeys::INVALID_STATE_ERROR; in PpExceptionTypeToMediaException()
274 return MediaKeys::INVALID_ACCESS_ERROR; in PpExceptionTypeToMediaException()
276 return MediaKeys::QUOTA_EXCEEDED_ERROR; in PpExceptionTypeToMediaException()
278 return MediaKeys::UNKNOWN_ERROR; in PpExceptionTypeToMediaException()
[all …]
/external/chromium_org/media/cdm/
Daes_decryptor_unittest.cc235 MediaKeys::Exception exception_code, in OnReject()
269 MediaKeys::TEMPORARY_SESSION, in CreateSession()
380 MediaKeys::TEMPORARY_SESSION, in TEST_F()
390 MediaKeys::TEMPORARY_SESSION, in TEST_F()
398 MediaKeys::TEMPORARY_SESSION, in TEST_F()
406 MediaKeys::TEMPORARY_SESSION, in TEST_F()

12345