Home
last modified time | relevance | path

Searched refs:componentId (Results 1 – 25 of 167) sorted by relevance

1234567

/ohos5.0/drivers/peripheral/codec/hal/src/
H A Dcodec_component_manager_service.c49 bool needAdd = RegisterService(callbacks, componentId, codecNode); in AddDeathRecipientForService()
71 if (pos != NULL && tempId == pos->componentId) { in GetNextComponentId()
98 static int32_t OmxManagerDestroyComponent(uint32_t componentId) in OmxManagerDestroyComponent() argument
100 CODEC_LOGI("service impl, %{public}d!", componentId); in OmxManagerDestroyComponent()
113 if (pos == NULL || componentId != pos->componentId) { in OmxManagerDestroyComponent()
124 RemoveDestoryedComponent(componentId); in OmxManagerDestroyComponent()
172 OmxManagerDestroyComponent(*componentId); in OmxManagerCreateComponent()
180 *componentId = GetNextComponentId(); in OmxManagerCreateComponent()
185 node->componentId = *componentId; in OmxManagerCreateComponent()
187 CODEC_LOGI("componentId:%{public}d", node->componentId); in OmxManagerCreateComponent()
[all …]
H A Dcodec_death_recipient.cpp33 bool RegisterService(struct CodecCallbackType *callbacks, uint32_t componentId, in RegisterService() argument
45 comps->second.insert(componentId); in RegisterService()
51 compIds.insert(componentId); in RegisterService()
88 void RemoveDestoryedComponent(uint32_t componentId) in RemoveDestoryedComponent() argument
95 comps->second.erase(componentId); in RemoveDestoryedComponent()
H A Dcodec_component_manager_stub.c114 uint32_t componentId = 0; in SerStubCreateComponent() local
127 ret = serviceImpl->CreateComponent(&component, &componentId, compName, appData, callback); in SerStubCreateComponent()
149 if (!HdfSbufWriteUint32(reply, componentId)) { in SerStubCreateComponent()
166 uint32_t componentId = 0; in SerStubDestroyComponent() local
167 if (!HdfSbufReadUint32(data, &componentId)) { in SerStubDestroyComponent()
171 int32_t ret = serviceImpl->DestroyComponent(componentId); in SerStubDestroyComponent()
/ohos5.0/drivers/peripheral/codec/hal/idl_service/src/
H A Dcodec_component_manager_service.cpp71 …ecComponentManagerService::CreateComponent(sptr<ICodecComponent> &component, uint32_t &componentId, in CreateComponent() argument
88 componentId = GetNextComponentId(); in CreateComponent()
89 componentMap_.emplace(std::make_pair(componentId, codecComponent)); in CreateComponent()
91 CODEC_LOGI("componentId[%{public}d]", componentId); in CreateComponent()
93 RegisterDeathRecipientService(callbacks, componentId, this); in CreateComponent()
98 int32_t CodecComponentManagerService::DestroyComponent(uint32_t componentId) in DestroyComponent() argument
102 CODEC_LOGI("componentId[%{public}d]", componentId); in DestroyComponent()
103 auto iter = componentMap_.find(componentId); in DestroyComponent()
105 CODEC_LOGE("can not find component service by componentId[%{public}d]", componentId); in DestroyComponent()
109 RemoveMapperOfDestoryedComponent(componentId); in DestroyComponent()
H A Dcodec_death_recipient.cpp52 void RegisterDeathRecipientService(const sptr<ICodecCallback> callbacks, uint32_t componentId, in RegisterDeathRecipientService() argument
58 g_compRemoteMap.emplace(std::make_pair(componentId, remote.GetRefPtr())); in RegisterDeathRecipientService()
63 remoteComps->second.insert(componentId); in RegisterDeathRecipientService()
75 compIds.insert(componentId); in RegisterDeathRecipientService()
81 void RemoveMapperOfDestoryedComponent(uint32_t componentId) in RemoveMapperOfDestoryedComponent() argument
85 auto compRemote = g_compRemoteMap.find(componentId); in RemoveMapperOfDestoryedComponent()
95 remoteComps->second.erase(componentId); in RemoveMapperOfDestoryedComponent()
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/formmenu/interfaces/
H A Dformmenu.js25 async function querySnapshotAsync(want, componentId) { argument
26 let compInfo = componentUtils.getRectangleById(componentId);
34 let packPixmap = await componentSnapshot.get(componentId);
53 function querySnapshot(want, componentId) { argument
54 querySnapshotAsync(want, componentId);
67 export function AddFormMenuItem(want, componentId, options, parent = null) { argument
70 if (querySnapshot(want, componentId)) {
97 FormMenuItem.onRegClick(want, componentId, options?.formBindingData?.data, options?.callback);
H A Dformmenu_preview.js25 async function querySnapshotAsync(want, componentId) { argument
40 function querySnapshot(want, componentId) { argument
41 querySnapshotAsync(want, componentId);
54 export function AddFormMenuItem(want, componentId, options, parent = null) { argument
57 if (querySnapshot(want, componentId)) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/js_frontend/engine/common/
H A Djs_engine.h265 void LayoutInspectorCallback(const std::string& componentId) in LayoutInspectorCallback() argument
267 auto iter = layoutEvents_.find(componentId); in LayoutInspectorCallback()
275 void DrawInspectorCallback(const std::string& componentId) in DrawInspectorCallback() argument
277 auto iter = drawEvents_.find(componentId); in DrawInspectorCallback()
392 layoutEvents_[componentId].emplace(layoutEvent); in RegisterLayoutInspectorCallback()
398 auto iter = layoutEvents_.find(componentId); in UnregisterLayoutInspectorCallback()
402 layoutEvents_.erase(componentId); in UnregisterLayoutInspectorCallback()
410 drawEvents_[componentId].emplace(drawEvent); in RegisterDrawInspectorCallback()
416 auto iter = drawEvents_.find(componentId); in UnregisterDrawInspectorCallback()
420 drawEvents_.erase(componentId); in UnregisterDrawInspectorCallback()
[all …]
/ohos5.0/docs/zh-cn/application-dev/web/
H A Dweb-same-layer.md324 .width(this.widthMap.get(componentId))
325 .height(this.heightMap.get(componentId))
357 this.componentIdArr.push(componentId)
371 this.positionMap.delete(componentId);
372 this.widthMap.delete(componentId);
373 this.heightMap.delete(componentId);
399 .width(this.widthMap.get(componentId))
589 .width(this.widthMap.get(componentId))
635 this.widthMap.delete(componentId);
636 this.heightMap.delete(componentId);
[all …]
/ohos5.0/drivers/peripheral/codec/test/benchmarktest/
H A Dcodec_benchmark_manager_test.cpp95 uint32_t componentId = 0; in BENCHMARK_F() local
97 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, callback_); in BENCHMARK_F()
99 if (componentId != 0) { in BENCHMARK_F()
100 manager_->DestroyComponent(componentId); in BENCHMARK_F()
124 uint32_t componentId = 0; in BENCHMARK_F() local
126 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, callback_); in BENCHMARK_F()
128 if (componentId != 0) { in BENCHMARK_F()
129 manager_->DestroyComponent(componentId); in BENCHMARK_F()
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/
H A Dcodec_hdi_manager_test.cpp76 uint32_t componentId = 0; variable
77 int32_t ret = manager_->CreateComponent(component, componentId, "", APP_DATA, callback_);
85 uint32_t componentId = 0; variable
98 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, nullptr);
119 uint32_t componentId = 0; variable
120 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, callback_);
122 if (componentId != 0) {
123 ret = manager_->DestroyComponent(componentId);
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/codec/
H A Dinterface_i_codec_component_manager_v10.md28 …ent](interface_i_codec_component_v10.md) component, [out] unsigned int componentId, [in] String co…
29 | [DestoryComponent](#destorycomponent) ([in] unsigned int componentId) | 销毁组件实例。 |
38 …::CreateComponent ([out] ICodecComponent component, [out] unsigned int componentId, [in] String co…
53 | componentId | 创建组件的Id。 |
72 ICodecComponentManager::DestoryComponent ([in] unsigned int componentId)
86 | componentId | 需要销毁的Codec组件。 |
H A Dinterface_i_codec_component_manager_v20.md28 …ent](interface_i_codec_component_v20.md) component, [out] unsigned int componentId, [in] String co…
29 | [DestoryComponent](#destorycomponent) ([in] unsigned int componentId) | 销毁组件实例。 |
38 …::CreateComponent ([out] ICodecComponent component, [out] unsigned int componentId, [in] String co…
53 | componentId | 创建组件的Id。 |
72 ICodecComponentManager::DestoryComponent ([in] unsigned int componentId)
86 | componentId | 需要销毁的Codec组件。 |
H A D_codec_jpeg_comp_info_v10.md20 | unsigned int [componentId](#componentid) | 颜色分量ID |
45 ### componentId subsection
48 unsigned int CodecJpegCompInfo::componentId
H A D_codec_jpeg_comp_info_v20.md20 | unsigned int [componentId](#componentid) | 颜色分量ID |
45 ### componentId subsection
48 unsigned int CodecJpegCompInfo::componentId
/ohos5.0/foundation/arkui/ace_engine/advanced_ui_component/formmenu/source/
H A Dformmenu.ets25 const querySnapshotAsync = async (want: Want, componentId: string): Promise<void> => {
26 let compInfo = componentUtils.getRectangleById(componentId);
34 let packPixmap: image.PixelMap = await componentSnapshot.get(componentId);
53 const querySnapshot = (want: Want, componentId: string): boolean => {
54 querySnapshotAsync(want, componentId);
59 AddFormMenuItem(want: Want, componentId: string, options?: AddFormOptions): void {
60 if (querySnapshot(want, componentId)) {
66 .onRegClick(want, componentId, options?.formBindingData?.data, options?.callback)
H A Dformmenu_preview.ets25 const querySnapshotAsync = async (want: Want, componentId: string): Promise<void> => {
39 const querySnapshot = (want: Want, componentId: string): boolean => {
40 querySnapshotAsync(want, componentId);
45 AddFormMenuItem(want: Want, componentId: string, options?: AddFormOptions): void {
46 if (querySnapshot(want, componentId)) {
/ohos5.0/drivers/peripheral/codec/test/unittest/hdi_omx/
H A Dcodec_hdi_manager_test.cpp68 uint32_t componentId = 0; variable
69 …int32_t ret = manager_->CreateComponent(&component, &componentId, nullptr, (int64_t)this, callback…
93 uint32_t componentId = 0; variable
95 …auto ret = manager_->CreateComponent(&component, &componentId, compName.data(), (int64_t)this, cal…
97 if (componentId != 0) {
98 manager_->DestroyComponent(componentId);
/ohos5.0/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_ability/
H A Djs_ui_extension_base.cpp514 auto res = uiWindowMap_.find(componentId); in OnInsightIntentExecuteDone()
539 foregroundWindows_.emplace(componentId); in OnInsightIntentExecuteDone()
661 uiWindowMap_[componentId] = uiWindow; in HandleSessionCreate()
678 auto &uiWindow = uiWindowMap_[componentId]; in ForegroundWindow()
699 auto &uiWindow = uiWindowMap_[componentId]; in BackgroundWindow()
702 foregroundWindows_.erase(componentId); in BackgroundWindow()
720 …if (contentSessions_.find(componentId) != contentSessions_.end() && contentSessions_[componentId] … in DestroyWindow()
725 auto &uiWindow = uiWindowMap_[componentId]; in DestroyWindow()
729 uiWindowMap_.erase(componentId); in DestroyWindow()
730 foregroundWindows_.erase(componentId); in DestroyWindow()
[all …]
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/render/adapter/
H A Dcomponent_snapshot.cpp210 void ComponentSnapshot::Get(const std::string& componentId, JsCallback&& callback, const SnapshotOp… in Get() argument
212 auto node = Inspector::GetFrameNodeByKey(componentId); in Get()
217 componentId.c_str()); in Get()
230 componentId.c_str(), node->GetId()); in Get()
241 componentId.c_str(), node->GetId()); in Get()
351 …t32_t, std::shared_ptr<Media::PixelMap>> ComponentSnapshot::GetSync(const std::string& componentId, in GetSync() argument
355 ACE_SCOPED_TRACE("ComponentSnapshot::GetSyncStart_%s", componentId.c_str()); in GetSync()
357 auto node = Inspector::GetFrameNodeByKey(componentId); in GetSync()
361 componentId.c_str()); in GetSync()
373 componentId.c_str(), node->GetId()); in GetSync()
[all …]
/ohos5.0/base/update/update_app/feature/ota/src/main/ets/
H A DOtaPage.ets41 let componentId: string = component?.componentId;
44 description = UpdateUtils.obtainDescription(componentDescriptions, componentId);
80 let componentId: string = component?.componentId;
83 description = UpdateUtils.obtainDescription(componentDescriptions, componentId);
/ohos5.0/docs/en/application-dev/web/
H A Dweb-same-layer.md324 .width(this.widthMap.get(componentId))
325 .height(this.heightMap.get(componentId))
357 this.componentIdArr.push(componentId)
371 this.positionMap.delete(componentId);
372 this.widthMap.delete(componentId);
373 this.heightMap.delete(componentId);
399 .width(this.widthMap.get(componentId))
589 .width(this.widthMap.get(componentId))
635 this.widthMap.delete(componentId);
636 this.heightMap.delete(componentId);
[all …]
/ohos5.0/base/update/updateservice/services/firmware/utils/src/
H A Dfirmware_changelog_utils.cpp39 …if (std::find(componentIds.begin(), componentIds.end(), component.componentId) == componentIds.end… in GetNewVersionComponentIds()
40 FIRMWARE_LOGI("new version componentId %{public}s", component.componentId.c_str()); in GetNewVersionComponentIds()
41 componentIds.push_back(component.componentId); in GetNewVersionComponentIds()
66 preferencesUtil->SaveString(Firmware::HOTA_CURRENT_COMPONENT_ID, component.componentId); in SaveHotaCurrentVersionComponentId()
/ohos5.0/base/update/update_app/common/src/main/ets/util/
H A DUpdateUtils.ets34 * @param componentId 组件id
37 …Description(componentDescriptions: Array<update.ComponentDescription>, componentId: string): strin…
38 if (!componentDescriptions || componentId == null) {
43 if (componentId === descArray[index]?.componentId) {
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/xcomponent/
H A Dxcomponent_event_hub.h68 void FireSurfaceInitEvent(const std::string& componentId, const uint32_t nodeId) const in FireSurfaceInitEvent() argument
71 surfaceInitEvent_(componentId, nodeId, false); in FireSurfaceInitEvent()
80 void FireDetachEvent(const std::string& componentId) in FireDetachEvent() argument
83 detachEvent_(componentId); in FireDetachEvent()

1234567