Home
last modified time | relevance | path

Searched refs:promise_id (Results 1 – 24 of 24) sorted by relevance

/external/chromium_org/media/cdm/ppapi/
Dcdm_wrapper.h46 virtual bool SetServerCertificate(uint32_t promise_id,
49 virtual void CreateSession(uint32_t promise_id,
55 virtual void LoadSession(uint32_t promise_id,
58 virtual void UpdateSession(uint32_t promise_id,
64 virtual bool CloseSession(uint32_t promise_id,
67 virtual void RemoveSession(uint32_t promise_id,
71 virtual bool GetUsableKeyIds(uint32_t promise_id,
119 virtual bool SessionUsableKeysEventNeeded(uint32_t promise_id,
125 uint32_t promise_id,
183 uint32_t promise_id, in SetServerCertificate() argument
[all …]
Dcdm_adapter.h56 uint32_t promise_id,
58 virtual void CreateSession(uint32_t promise_id,
62 virtual void LoadSession(uint32_t promise_id,
64 virtual void UpdateSession(uint32_t promise_id,
67 virtual void CloseSession(uint32_t promise_id,
69 virtual void RemoveSession(uint32_t promise_id,
71 virtual void GetUsableKeyIds(uint32_t promise_id,
114 uint32_t promise_id,
117 virtual void OnResolvePromise(uint32_t promise_id) OVERRIDE;
118 virtual void OnResolveKeyIdsPromise(uint32_t promise_id,
[all …]
Dcdm_adapter.cc335 void CdmAdapter::SetServerCertificate(uint32_t promise_id, in SetServerCertificate() argument
345 promise_id, cdm::kInvalidAccessError, 0, "Incorrect certificate."); in SetServerCertificate()
353 RejectPromise(promise_id, in SetServerCertificate()
361 promise_id, server_certificate_ptr, server_certificate_size)) { in SetServerCertificate()
363 RejectPromise(promise_id, cdm::kNotSupportedError, 0, "Not implemented."); in SetServerCertificate()
367 void CdmAdapter::CreateSession(uint32_t promise_id, in CreateSession() argument
377 RejectPromise(promise_id, in CreateSession()
384 cdm_->CreateSession(promise_id, in CreateSession()
392 void CdmAdapter::LoadSession(uint32_t promise_id, in LoadSession() argument
400 RejectPromise(promise_id, in LoadSession()
[all …]
/external/chromium_org/media/cdm/ppapi/external_clear_key/
Dclear_key_cdm.h38 virtual void CreateSession(uint32 promise_id,
44 virtual void LoadSession(uint32 promise_id,
47 virtual void UpdateSession(uint32 promise_id,
52 virtual void CloseSession(uint32 promise_id,
55 virtual void RemoveSession(uint32 promise_id,
58 virtual void GetUsableKeyIds(uint32_t promise_id,
62 uint32 promise_id,
101 void OnSessionCreated(uint32 promise_id, const std::string& web_session_id);
102 void OnSessionLoaded(uint32 promise_id, const std::string& web_session_id);
103 void OnSessionUpdated(uint32 promise_id, const std::string& web_session_id);
[all …]
Dclear_key_cdm.cc242 void ClearKeyCdm::CreateSession(uint32 promise_id, in CreateSession() argument
253 promise_id), in CreateSession()
256 promise_id))); in CreateSession()
270 void ClearKeyCdm::LoadSession(uint32 promise_id, in LoadSession() argument
279 host_->OnRejectPromise(promise_id, in LoadSession()
290 promise_id), in LoadSession()
293 promise_id))); in LoadSession()
301 void ClearKeyCdm::UpdateSession(uint32 promise_id, in UpdateSession() argument
312 promise_id, in UpdateSession()
315 &ClearKeyCdm::OnPromiseFailed, base::Unretained(this), promise_id))); in UpdateSession()
[all …]
/external/chromium_org/ppapi/cpp/private/
Dcontent_decryptor_private.h38 virtual void SetServerCertificate(uint32_t promise_id,
40 virtual void CreateSession(uint32_t promise_id,
44 virtual void LoadSession(uint32_t promise_id,
46 virtual void UpdateSession(uint32_t promise_id,
49 virtual void CloseSession(uint32_t promise_id,
51 virtual void RemoveSession(uint32_t promise_id,
53 virtual void GetUsableKeyIds(uint32_t promise_id,
75 void PromiseResolved(uint32_t promise_id);
76 void PromiseResolvedWithSession(uint32_t promise_id,
79 uint32_t promise_id,
[all …]
Dcontent_decryptor_private.cc43 uint32_t promise_id, in SetServerCertificate() argument
56 ->SetServerCertificate(promise_id, server_certificate); in SetServerCertificate()
60 uint32_t promise_id, in CreateSession() argument
79 ->CreateSession(promise_id, in CreateSession()
86 uint32_t promise_id, in LoadSession() argument
98 ->LoadSession(promise_id, web_session_id_var.AsString()); in LoadSession()
102 uint32_t promise_id, in UpdateSession() argument
120 ->UpdateSession(promise_id, web_session_id_var.AsString(), response); in UpdateSession()
124 uint32_t promise_id, in CloseSession() argument
136 ->CloseSession(promise_id, web_session_id_var.AsString()); in CloseSession()
[all …]
/external/chromium_org/ppapi/proxy/
Dppp_content_decryptor_private_proxy.cc130 uint32_t promise_id, in SetServerCertificate() argument
159 promise_id, in SetServerCertificate()
164 uint32_t promise_id, in CreateSession() argument
177 promise_id, in CreateSession()
184 uint32_t promise_id, in LoadSession() argument
195 promise_id, in LoadSession()
200 uint32_t promise_id, in UpdateSession() argument
212 promise_id, in UpdateSession()
218 uint32_t promise_id, in CloseSession() argument
236 promise_id, in CloseSession()
[all …]
Dppp_content_decryptor_private_proxy.h37 uint32_t promise_id,
40 uint32_t promise_id,
45 uint32_t promise_id,
48 uint32_t promise_id,
52 uint32_t promise_id,
55 uint32_t promise_id,
58 uint32_t promise_id,
Dppb_instance_proxy.h135 uint32 promise_id) OVERRIDE;
137 uint32 promise_id,
140 uint32 promise_id,
143 uint32 promise_id,
267 uint32_t promise_id);
270 uint32_t promise_id,
274 uint32 promise_id,
278 uint32_t promise_id,
Dppb_instance_proxy.cc574 uint32 promise_id) { in PromiseResolved() argument
576 API_ID_PPB_INSTANCE, instance, promise_id)); in PromiseResolved()
580 uint32 promise_id, in PromiseResolvedWithSession() argument
585 promise_id, in PromiseResolvedWithSession()
590 uint32 promise_id, in PromiseResolvedWithKeyIds() argument
615 API_ID_PPB_INSTANCE, instance, promise_id, key_ids)); in PromiseResolvedWithKeyIds()
619 uint32 promise_id, in PromiseRejected() argument
626 promise_id, in PromiseRejected()
1267 uint32_t promise_id) { in OnHostMsgPromiseResolved() argument
1272 enter.functions()->PromiseResolved(instance, promise_id); in OnHostMsgPromiseResolved()
[all …]
/external/chromium_org/ppapi/c/private/
Dppp_content_decryptor_private.h64 uint32_t promise_id,
89 uint32_t promise_id,
108 uint32_t promise_id,
134 uint32_t promise_id,
149 uint32_t promise_id,
164 uint32_t promise_id,
179 uint32_t promise_id,
Dppb_content_decryptor_private.h52 void (*PromiseResolved)(PP_Instance instance, uint32_t promise_id);
62 uint32_t promise_id,
74 uint32_t promise_id,
90 uint32_t promise_id,
/external/chromium_org/ppapi/thunk/
Dppb_content_decryptor_private_thunk.cc19 void PromiseResolved(PP_Instance instance, uint32_t promise_id) { in PromiseResolved() argument
24 enter.functions()->PromiseResolved(instance, promise_id); in PromiseResolved()
28 uint32_t promise_id, in PromiseResolvedWithSession() argument
35 promise_id, in PromiseResolvedWithSession()
40 uint32_t promise_id, in PromiseResolvedWithKeyIds() argument
47 promise_id, in PromiseResolvedWithKeyIds()
52 uint32_t promise_id, in PromiseRejected() argument
61 promise_id, in PromiseRejected()
Dppb_instance_api.h165 virtual void PromiseResolved(PP_Instance instance, uint32 promise_id) = 0;
167 uint32 promise_id,
170 uint32 promise_id,
173 uint32 promise_id,
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc366 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in SetServerCertificate() local
371 pp_instance_, promise_id, certificate_array); in SetServerCertificate()
380 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in CreateSession() local
386 promise_id, in CreateSession()
395 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in LoadSession() local
397 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in LoadSession()
405 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in UpdateSession() local
411 promise_id, in UpdateSession()
425 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in CloseSession() local
427 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in CloseSession()
[all …]
Dcontent_decryptor_delegate.h105 void OnPromiseResolved(uint32 promise_id);
106 void OnPromiseResolvedWithSession(uint32 promise_id, PP_Var web_session_id);
107 void OnPromiseResolvedWithKeyIds(uint32 promise_id, PP_Var key_ids_array);
108 void OnPromiseRejected(uint32 promise_id,
212 scoped_ptr<media::CdmPromise> TakePromise(uint32_t promise_id);
Dpepper_plugin_instance_impl.h479 uint32 promise_id) OVERRIDE;
481 uint32 promise_id,
484 uint32 promise_id,
487 uint32 promise_id,
Dpepper_plugin_instance_impl.cc2499 uint32 promise_id) { in PromiseResolved() argument
2500 content_decryptor_delegate_->OnPromiseResolved(promise_id); in PromiseResolved()
2505 uint32 promise_id, in PromiseResolvedWithSession() argument
2507 content_decryptor_delegate_->OnPromiseResolvedWithSession(promise_id, in PromiseResolvedWithSession()
2512 uint32 promise_id, in PromiseResolvedWithKeyIds() argument
2514 content_decryptor_delegate_->OnPromiseResolvedWithKeyIds(promise_id, in PromiseResolvedWithKeyIds()
2520 uint32 promise_id, in PromiseRejected() argument
2525 promise_id, exception_code, system_code, error_description_var); in PromiseRejected()
/external/chromium_org/ppapi/api/private/
Dppp_content_decryptor_private.idl37 * @param[in] promise_id A reference for the promise that gets resolved or
45 [in] uint32_t promise_id,
57 * @param[in] promise_id A reference for the promise that gets resolved or
72 [in] uint32_t promise_id,
84 * @param[in] promise_id A reference for the promise that gets resolved or
93 [in] uint32_t promise_id,
108 * @param[in] promise_id A reference for the promise that gets resolved or
121 [in] uint32_t promise_id,
128 * @param[in] promise_id A reference for the promise that gets resolved or
138 [in] uint32_t promise_id,
[all …]
Dppb_content_decryptor_private.idl29 * @param[in] promise_id Identifies the promise that the CDM resolved.
33 [in] uint32_t promise_id);
38 * @param[in] promise_id Identifies the promise that the CDM resolved.
45 [in] uint32_t promise_id,
51 * @param[in] promise_id Identifies the promise that the CDM resolved.
59 [in] uint32_t promise_id,
65 * @param[in] promise_id Identifies the promise that the CDM rejected.
77 [in] uint32_t promise_id,
/external/chromium_org/mojo/examples/pepper_container_app/
Dplugin_instance.h122 uint32 promise_id) OVERRIDE;
124 uint32 promise_id,
127 uint32 promise_id,
130 uint32 promise_id,
Dplugin_instance.cc313 void PluginInstance::PromiseResolved(PP_Instance instance, uint32 promise_id) { in PromiseResolved() argument
318 uint32 promise_id, in PromiseResolvedWithSession() argument
324 uint32 promise_id, in PromiseResolvedWithKeyIds() argument
330 uint32 promise_id, in PromiseRejected() argument
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c2732 …Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance instance, uint32_t promise_id) { in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved() argument
2734 iface->PromiseResolved(instance, promise_id); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved()
2737 …ptor_Private_PromiseResolvedWithSession(PP_Instance instance, uint32_t promise_id, struct PP_Var* … in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession() argument
2739 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession()
2742 …yptor_Private_PromiseResolvedWithKeyIds(PP_Instance instance, uint32_t promise_id, struct PP_Var* … in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithKeyIds() argument
2744 iface->PromiseResolvedWithKeyIds(instance, promise_id, *key_ids_array); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithKeyIds()
2747 …ontentDecryptor_Private_PromiseRejected(PP_Instance instance, uint32_t promise_id, PP_CdmException… in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected() argument
2749 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *error_description); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected()
4404 …tDecryptor_Private_SetServerCertificate(PP_Instance instance, uint32_t promise_id, struct PP_Var s… in Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate() argument
4406 void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* server_certificate) = in Pnacl_M36_PPP_ContentDecryptor_Private_SetServerCertificate()
[all …]