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.h45 virtual void CreateSession(uint32_t promise_id,
51 virtual void LoadSession(uint32_t promise_id,
54 virtual void UpdateSession(uint32_t promise_id,
59 virtual void ReleaseSession(uint32_t promise_id,
129 virtual void CreateSession(uint32_t promise_id, in CreateSession() argument
135 cdm_->CreateSession(promise_id, in CreateSession()
143 virtual void LoadSession(uint32_t promise_id, in LoadSession() argument
146 cdm_->LoadSession(promise_id, web_session_id, web_session_id_size); in LoadSession()
149 virtual void UpdateSession(uint32_t promise_id, in UpdateSession() argument
154 cdm_->UpdateSession(promise_id, in UpdateSession()
[all …]
Dcdm_adapter.h60 virtual void CreateSession(uint32_t promise_id,
64 virtual void LoadSession(uint32_t promise_id,
66 virtual void UpdateSession(uint32_t promise_id,
69 virtual void ReleaseSession(uint32_t promise_id,
112 uint32_t promise_id,
115 virtual void OnResolvePromise(uint32_t promise_id) OVERRIDE;
116 virtual void OnRejectPromise(uint32_t promise_id,
184 void SendPromiseResolvedInternal(int32_t result, uint32_t promise_id);
187 uint32_t promise_id,
190 uint32_t promise_id,
[all …]
Dcdm_adapter.cc327 void CdmAdapter::CreateSession(uint32_t promise_id, in CreateSession() argument
337 RejectPromise(promise_id, in CreateSession()
344 cdm_->CreateSession(promise_id, in CreateSession()
352 void CdmAdapter::LoadSession(uint32_t promise_id, in LoadSession() argument
360 RejectPromise(promise_id, in LoadSession()
367 cdm_->LoadSession(promise_id, web_session_id.data(), web_session_id.size()); in LoadSession()
370 void CdmAdapter::UpdateSession(uint32_t promise_id, in UpdateSession() argument
380 cdm_->UpdateSession(promise_id, in UpdateSession()
387 void CdmAdapter::ReleaseSession(uint32_t promise_id, in ReleaseSession() argument
390 promise_id, web_session_id.data(), web_session_id.length()); in ReleaseSession()
[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 ReleaseSession(uint32 promise_id,
56 uint32 promise_id,
93 void OnSessionCreated(uint32 promise_id, const std::string& web_session_id);
94 void OnSessionLoaded(uint32 promise_id, const std::string& web_session_id);
95 void OnSessionUpdated(uint32 promise_id, const std::string& web_session_id);
96 void OnSessionReleased(uint32 promise_id, const std::string& web_session_id);
97 void OnPromiseFailed(uint32 promise_id,
Dclear_key_cdm.cc241 void ClearKeyCdm::CreateSession(uint32 promise_id, in CreateSession() argument
252 promise_id), in CreateSession()
255 promise_id))); in CreateSession()
269 void ClearKeyCdm::LoadSession(uint32 promise_id, in LoadSession() argument
277 host_->OnRejectPromise(promise_id, in LoadSession()
288 promise_id), in LoadSession()
291 promise_id))); in LoadSession()
299 void ClearKeyCdm::UpdateSession(uint32 promise_id, in UpdateSession() argument
310 promise_id, in UpdateSession()
313 &ClearKeyCdm::OnPromiseFailed, base::Unretained(this), promise_id))); in UpdateSession()
[all …]
/external/chromium_org/ppapi/cpp/private/
Dcontent_decryptor_private.cc42 uint32_t promise_id, in CreateSession() argument
61 ->CreateSession(promise_id, in CreateSession()
68 uint32_t promise_id, in LoadSession() argument
80 ->LoadSession(promise_id, web_session_id_var.AsString()); in LoadSession()
84 uint32_t promise_id, in UpdateSession() argument
102 ->UpdateSession(promise_id, web_session_id_var.AsString(), response); in UpdateSession()
106 uint32_t promise_id, in ReleaseSession() argument
118 ->ReleaseSession(promise_id, web_session_id_var.AsString()); in ReleaseSession()
241 void ContentDecryptor_Private::PromiseResolved(uint32_t promise_id) { in PromiseResolved() argument
244 associated_instance_.pp_instance(), promise_id); in PromiseResolved()
[all …]
Dcontent_decryptor_private.h37 virtual void CreateSession(uint32_t promise_id,
41 virtual void LoadSession(uint32_t promise_id,
43 virtual void UpdateSession(uint32_t promise_id,
46 virtual void ReleaseSession(uint32_t promise_id,
68 void PromiseResolved(uint32_t promise_id);
69 void PromiseResolvedWithSession(uint32_t promise_id,
71 void PromiseRejected(uint32_t promise_id,
/external/chromium_org/ppapi/proxy/
Dppp_content_decryptor_private_proxy.cc128 uint32_t promise_id, in CreateSession() argument
141 promise_id, in CreateSession()
148 uint32_t promise_id, in LoadSession() argument
159 promise_id, in LoadSession()
164 uint32_t promise_id, in UpdateSession() argument
176 promise_id, in UpdateSession()
182 uint32_t promise_id, in ReleaseSession() argument
193 promise_id, in ReleaseSession()
469 uint32_t promise_id, in OnMsgCreateSession() argument
477 promise_id, in OnMsgCreateSession()
[all …]
Dppp_content_decryptor_private_proxy.h36 uint32_t promise_id,
41 uint32_t promise_id,
44 uint32_t promise_id,
48 uint32_t promise_id,
Dppb_instance_proxy.h129 uint32 promise_id) OVERRIDE;
131 uint32 promise_id,
134 uint32 promise_id,
252 uint32_t promise_id);
255 uint32_t promise_id,
259 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 PromiseRejected() argument
597 promise_id, in PromiseRejected()
1188 uint32_t promise_id) { in OnHostMsgPromiseResolved() argument
1193 enter.functions()->PromiseResolved(instance, promise_id); in OnHostMsgPromiseResolved()
1199 uint32_t promise_id, in OnHostMsgPromiseResolvedWithSession() argument
1206 instance, promise_id, web_session_id.Get(dispatcher())); in OnHostMsgPromiseResolvedWithSession()
[all …]
/external/chromium_org/ppapi/c/private/
Dppp_content_decryptor_private.h76 uint32_t promise_id,
95 uint32_t promise_id,
121 uint32_t promise_id,
136 uint32_t promise_id,
Dppb_content_decryptor_private.h51 void (*PromiseResolved)(PP_Instance instance, uint32_t promise_id);
61 uint32_t promise_id,
77 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 PromiseRejected() argument
49 promise_id, in PromiseRejected()
Dppb_instance_api.h158 virtual void PromiseResolved(PP_Instance instance, uint32 promise_id) = 0;
160 uint32 promise_id,
163 uint32 promise_id,
/external/chromium_org/content/renderer/pepper/
Dcontent_decryptor_delegate.cc341 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in CreateSession() local
347 promise_id, in CreateSession()
356 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in LoadSession() local
358 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in LoadSession()
366 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in UpdateSession() local
372 promise_id, in UpdateSession()
380 uint32_t promise_id = SavePromise(promise.PassAs<CdmPromise>()); in ReleaseSession() local
382 pp_instance_, promise_id, StringVar::StringToPPVar(web_session_id)); in ReleaseSession()
628 void ContentDecryptorDelegate::OnPromiseResolved(uint32 promise_id) { in OnPromiseResolved() argument
629 scoped_ptr<CdmPromise> promise = TakePromise(promise_id); in OnPromiseResolved()
[all …]
Dcontent_decryptor_delegate.h94 void OnPromiseResolved(uint32 promise_id);
95 void OnPromiseResolvedWithSession(uint32 promise_id, PP_Var web_session_id);
96 void OnPromiseRejected(uint32 promise_id,
196 scoped_ptr<media::CdmPromise> TakePromise(uint32_t promise_id);
Dpepper_plugin_instance_impl.h464 uint32 promise_id) OVERRIDE;
466 uint32 promise_id,
469 uint32 promise_id,
Dpepper_plugin_instance_impl.cc2440 uint32 promise_id) { in PromiseResolved() argument
2441 content_decryptor_delegate_->OnPromiseResolved(promise_id); in PromiseResolved()
2446 uint32 promise_id, in PromiseResolvedWithSession() argument
2448 content_decryptor_delegate_->OnPromiseResolvedWithSession(promise_id, in PromiseResolvedWithSession()
2454 uint32 promise_id, in PromiseRejected() argument
2459 promise_id, exception_code, system_code, error_description_var); in PromiseRejected()
/external/chromium_org/ppapi/api/private/
Dppp_content_decryptor_private.idl42 * @param[in] promise_id A reference for the promise that gets resolved or
57 [in] uint32_t promise_id,
69 * @param[in] promise_id A reference for the promise that gets resolved or
78 [in] uint32_t promise_id,
93 * @param[in] promise_id A reference for the promise that gets resolved or
106 [in] uint32_t promise_id,
113 * @param[in] promise_id A reference for the promise that gets resolved or
123 [in] uint32_t promise_id,
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 rejected.
63 [in] uint32_t promise_id,
/external/chromium_org/mojo/examples/pepper_container_app/
Dplugin_instance.h117 uint32 promise_id) OVERRIDE;
119 uint32 promise_id,
122 uint32 promise_id,
Dplugin_instance.cc303 void PluginInstance::PromiseResolved(PP_Instance instance, uint32 promise_id) { in PromiseResolved() argument
308 uint32 promise_id, in PromiseResolvedWithSession() argument
314 uint32 promise_id, in PromiseRejected() argument
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_irt_shim/
Dpnacl_shim.c2610 …Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved(PP_Instance instance, uint32_t promise_id) { in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved() argument
2612 iface->PromiseResolved(instance, promise_id); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolved()
2615 …ptor_Private_PromiseResolvedWithSession(PP_Instance instance, uint32_t promise_id, struct PP_Var* … in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession() argument
2617 iface->PromiseResolvedWithSession(instance, promise_id, *web_session_id); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseResolvedWithSession()
2620 …ontentDecryptor_Private_PromiseRejected(PP_Instance instance, uint32_t promise_id, PP_CdmException… in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected() argument
2622 iface->PromiseRejected(instance, promise_id, exception_code, system_code, *error_description); in Pnacl_M36_PPB_ContentDecryptor_Private_PromiseRejected()
4243 …_ContentDecryptor_Private_CreateSession(PP_Instance instance, uint32_t promise_id, struct PP_Var i… in Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession() argument
4245 …void (*temp_fp)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_data_type, struct P… in Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession()
4246 …((void (*)(PP_Instance instance, uint32_t promise_id, struct PP_Var* init_data_type, struct PP_Var… in Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession()
4247 temp_fp(instance, promise_id, &init_data_type, &init_data, session_type); in Pnacl_M36_PPP_ContentDecryptor_Private_CreateSession()
[all …]