Home
last modified time | relevance | path

Searched refs:component (Results 1 - 21 of 21) sorted by relevance

/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/
H A Dnative_xcomponent.cpp29 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument
32 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceCreatedCB()
34 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceCreatedCB: component or window is null"); in OnSurfaceCreatedCB()
40 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceCreatedCB()
50 int32_t xSize = OH_NativeXComponent_GetXComponentSize(component, window, &width, &height); in OnSurfaceCreatedCB()
58 void OnSurfaceChangedCB(OH_NativeXComponent* component, void* window) in OnSurfaceChangedCB() argument
61 if ((component == nullptr) || (window == nullptr)) { in OnSurfaceChangedCB()
63 LOG_APP, LOG_ERROR, LOG_PRINT_DOMAIN, "Callback", "OnSurfaceChangedCB: component or window is null"); in OnSurfaceChangedCB()
69 if (OH_NativeXComponent_GetXComponentId(component, idStr, &idSize) != OH_NATIVEXCOMPONENT_RESULT_SUCCESS) { in OnSurfaceChangedCB()
78 render->OnSurfaceChanged(component, windo in OnSurfaceChangedCB()
82 OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) OnSurfaceDestroyedCB() argument
103 DispatchTouchEventCB(OH_NativeXComponent* component, void* window) DispatchTouchEventCB() argument
127 DispatchMouseEventCB(OH_NativeXComponent* component, void* window) DispatchMouseEventCB() argument
145 DispatchHoverEventCB(OH_NativeXComponent* component, bool isHover) DispatchHoverEventCB() argument
163 OnFocusEventCB(OH_NativeXComponent* component, void* window) OnFocusEventCB() argument
180 OnKeyEventCB(OH_NativeXComponent* component, void* window) OnKeyEventCB() argument
196 OnFrameEventCB(OH_NativeXComponent* component, void* window) OnFrameEventCB() argument
213 UnOnFrameEventCB(OH_NativeXComponent* component, void* window) UnOnFrameEventCB() argument
331 OnSurfaceChanged(OH_NativeXComponent* component, void* window) OnSurfaceChanged() argument
355 OnTouchEvent(OH_NativeXComponent* component, void* window) OnTouchEvent() argument
401 OnMouseEvent(OH_NativeXComponent* component, void* window) OnMouseEvent() argument
415 OnHoverEvent(OH_NativeXComponent* component, bool isHover) OnHoverEvent() argument
421 OnFocusEvent(OH_NativeXComponent* component, void* window) OnFocusEvent() argument
426 OnBlurEvent(OH_NativeXComponent* component, void* window) OnBlurEvent() argument
431 OnKeyEvent(OH_NativeXComponent* component, void* window) OnKeyEvent() argument
[all...]
H A Dplugin_render.cpp51 void OnSurfaceCreatedCB(OH_NativeXComponent* component, void* window) in OnSurfaceCreatedCB() argument
57 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceCreatedCB()
64 render->OnSurfaceCreated(component, window); in OnSurfaceCreatedCB()
66 PluginRender::GetInstance(id)->InterfaceDesignTest(component); in OnSurfaceCreatedCB()
69 void OnSurfaceChangedCB(OH_NativeXComponent* component, void* window) in OnSurfaceChangedCB() argument
74 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceChangedCB()
81 render->OnSurfaceChanged(component, window); in OnSurfaceChangedCB()
84 void OnSurfaceDestroyedCB(OH_NativeXComponent* component, void* window) in OnSurfaceDestroyedCB() argument
89 ret = OH_NativeXComponent_GetXComponentId(component, idStr, &idSize); in OnSurfaceDestroyedCB()
96 render->OnSurfaceDestroyed(component, windo in OnSurfaceDestroyedCB()
99 DispatchTouchEventCB(OH_NativeXComponent* component, void* window) DispatchTouchEventCB() argument
114 DispatchMouseEventCB(OH_NativeXComponent* component, void* window) DispatchMouseEventCB() argument
164 SetNativeXComponent(OH_NativeXComponent* component) SetNativeXComponent() argument
173 OnSurfaceCreated(OH_NativeXComponent* component, void* window) OnSurfaceCreated() argument
193 OnSurfaceChanged(OH_NativeXComponent* component, void* window) OnSurfaceChanged() argument
217 OnSurfaceDestroyed(OH_NativeXComponent* component, void* window) OnSurfaceDestroyed() argument
224 DispatchTouchEvent(OH_NativeXComponent* component, void* window) DispatchTouchEvent() argument
683 DispatchMouseEvent(OH_NativeXComponent* component, void* window) DispatchMouseEvent() argument
[all...]
H A Dnative_xcomponent.h42 void OnSurfaceChanged(OH_NativeXComponent* component, void* window);
43 void OnTouchEvent(OH_NativeXComponent* component, void* window);
44 void OnMouseEvent(OH_NativeXComponent* component, void* window);
45 void OnHoverEvent(OH_NativeXComponent* component, bool isHover);
46 void OnFocusEvent(OH_NativeXComponent* component, void* window);
47 void OnBlurEvent(OH_NativeXComponent* component, void* window);
48 void OnKeyEvent(OH_NativeXComponent* component, void* window);
H A Dplugin_render.h35 void SetNativeXComponent(OH_NativeXComponent* component);
70 void OnSurfaceCreated(OH_NativeXComponent* component, void* window);
72 void OnSurfaceChanged(OH_NativeXComponent* component, void* window);
74 void OnSurfaceDestroyed(OH_NativeXComponent* component, void* window);
76 void DispatchTouchEvent(OH_NativeXComponent* component, void* window);
78 void DispatchMouseEvent(OH_NativeXComponent* component, void* window);
/test/xts/hats/hdf/codec/hdi_omx_additional/
H A Dcodec_hdi_manager_test.cpp168 struct CodecComponentType *component = nullptr; in HWTEST_F() local
172 int32_t ret = manager_->CreateComponent(&component, &componentId, compName.data(), (int64_t)this, callback); in HWTEST_F()
180 * @tc.desc Open the OpenMax component based on a non-existent compName
188 struct CodecComponentType *component = nullptr; in HWTEST_F() local
190 int32_t ret = manager_->CreateComponent(&component, &componentId, compName.data(), (int64_t)this, callback); in HWTEST_F()
192 EXPECT_EQ(component, nullptr); in HWTEST_F()
199 * @tc.desc Open the OpenMax component based on a non-existent compName
207 struct CodecComponentType *component = nullptr; in HWTEST_F() local
209 int32_t ret = manager_->CreateComponent(&component, &componentId, compName.data(), (int64_t)this, callback); in HWTEST_F()
211 EXPECT_EQ(component, nullpt in HWTEST_F()
226 struct CodecComponentType *component = nullptr; HWTEST_F() local
245 struct CodecComponentType *component = nullptr; HWTEST_F() local
264 struct CodecComponentType *component = nullptr; HWTEST_F() local
283 struct CodecComponentType *component = nullptr; HWTEST_F() local
302 struct CodecComponentType *component = nullptr; HWTEST_F() local
391 struct CodecComponentType *component = nullptr; HWTEST_F() local
424 struct CodecComponentType *component = nullptr; HWTEST_F() local
448 struct CodecComponentType *component = nullptr; HWTEST_F() local
[all...]
/test/xts/hats/hdf/codec/hdi_idlomx/
H A Dcodec_function_utils.cpp76 bool FunctionUtil::InitBufferHandleParameter(sptr<ICodecComponent> component, OMX_PARAM_PORTDEFINITIONTYPE &param, in InitBufferHandleParameter() argument
84 auto ret = component->GetParameter(OMX_IndexParamPortDefinition, inParam, outParam); in InitBufferHandleParameter()
98 ret = component->SetParameter(OMX_IndexParamPortDefinition, enc); in InitBufferHandleParameter()
111 ret = component->SetParameter(OMX_IndexParamUseBufferType, data); in InitBufferHandleParameter()
140 bool FunctionUtil::UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, in UseDynaBuffer() argument
155 auto ret = component->UseBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer); in UseDynaBuffer()
169 bool FunctionUtil::UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, in UseHandleBuffer() argument
184 int32_t ret = component->UseBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer); in UseHandleBuffer()
198 bool FunctionUtil::UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, in UseBufferOnPort() argument
207 int32_t err = component in UseBufferOnPort()
229 AllocateBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount, int32_t bufferSize) AllocateBufferOnPort() argument
268 FreeBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port) FreeBufferOnPort() argument
286 GetPortParameter(sptr<ICodecComponent> component, PortIndex index, OMX_PARAM_PORTDEFINITIONTYPE &param) GetPortParameter() argument
319 FillAndEmptyAllBuffer(sptr<ICodecComponent> component, CodecBufferType type) FillAndEmptyAllBuffer() argument
353 WaitState(sptr<ICodecComponent> component, CodecStateType objState) WaitState() argument
[all...]
H A Dcodec_function_utils.h128 bool InitBufferHandleParameter(sptr<ICodecComponent> component, OMX_PARAM_PORTDEFINITIONTYPE &param,
133 bool UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int bufferSize);
135 bool UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int bufferSize);
137 bool UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount,
140 bool AllocateBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount,
143 bool FreeBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port);
145 int32_t GetPortParameter(sptr<ICodecComponent> component, PortIndex index, OMX_PARAM_PORTDEFINITIONTYPE &param);
147 bool FillAndEmptyAllBuffer(sptr<ICodecComponent> component, CodecBufferType type);
149 bool WaitState(sptr<ICodecComponent> component, CodecStateType objState);
H A Dcodec_hdi_manager_test.cpp93 sptr<ICodecComponent> component; in HWTEST_F() local
95 int32_t ret = manager_->CreateComponent(component, componentId, "", APP_DATA, callback_); in HWTEST_F()
97 ASSERT_EQ(component, nullptr); in HWTEST_F()
109 sptr<ICodecComponent> component; in HWTEST_F() local
123 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, nullptr); in HWTEST_F()
125 ASSERT_EQ(component, nullptr); in HWTEST_F()
149 sptr<ICodecComponent> component; in HWTEST_F() local
151 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, callback_); in HWTEST_F()
/test/xts/hats/hdf/codec/benchmarktest/
H A Dcodec_benchmark_manager_test.cpp81 sptr<ICodecComponent> component; in BENCHMARK_F() local
85 ret = manager_->CreateComponent(component, componentId, "", APP_DATA, callback_); in BENCHMARK_F()
88 ASSERT_EQ(component, nullptr); in BENCHMARK_F()
109 sptr<ICodecComponent> component; in BENCHMARK_F() local
111 ret = manager_->CreateComponent(component, componentId, compName, APP_DATA, callback_); in BENCHMARK_F()
/test/xts/hats/hdf/codec/hdi_omx/
H A Dcodec_hdi_manager_test.cpp72 * @tc.desc Open the OpenMax component based on a name that does not exist
79 struct CodecComponentType *component = nullptr; in HWTEST_F() local
81 int32_t ret = manager_->CreateComponent(&component, &componentId, nullptr, (int64_t)this, callback); in HWTEST_F()
83 EXPECT_EQ(component, nullptr); in HWTEST_F()
90 * @tc.desc When a component is opened, the name of the component is transferred to a null pointer
108 struct CodecComponentType *component = nullptr; in HWTEST_F() local
111 auto ret = manager_->CreateComponent(&component, &componentId, compName.data(), (int64_t)this, callback); in HWTEST_F()
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverNDK/entry/src/main/cpp/napi/
H A Dimage_receiver_mdk_test.cpp394 struct OhosImageComponent component; in JsImageGetComponent() local
395 int32_t res = OH_Image_GetComponent(native, componentType, &component); in JsImageGetComponent()
401 HiviewDFX::HiLog::Debug(LABEL, "ImageReceiverNDKTest::JsImageGetComponent IN [%{public}p]", component.byteBuffer); in JsImageGetComponent()
402 setByteArrayNamedProperty(env, result, "byteBuffer", component.byteBuffer, component.size); in JsImageGetComponent()
403 setInt32NamedProperty(env, result, "componentType", component.componentType); in JsImageGetComponent()
404 setInt32NamedProperty(env, result, "rowStride", component.rowStride); in JsImageGetComponent()
405 setInt32NamedProperty(env, result, "pixelStride", component.pixelStride); in JsImageGetComponent()
/test/testfwk/xdevice/plugins/devicetest/
H A Dconstants.py43 component = "ComponentKit" variable in CKit
/test/testfwk/xdevice/plugins/ohos/src/ohos/
H A Dconstants.py87 component = "ComponentKit" variable in CKit
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverMultiThread/entry/src/main/ets/workers/
H A Dreceiver.js44 img.getComponent(JPEG, (err2, component) => {
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/
H A DpopoverCheckBox.js18 component: {
H A DcaseTable.js18 component: {
H A DsuiteTable.js18 component: {
/test/xts/tools/lite/build/
H A Dutils.py278 for component in components:
279 component_name = component.get("component", "")
/test/testfwk/xdevice/src/xdevice/_core/
H A Dconstants.py251 component = "ComponentKit" variable in CKit
/test/testfwk/xdevice/src/xdevice/_core/executor/
H A Dscheduler.py517 uid = unique_id("Scheduler", "component")
524 root = Descriptor(uuid=uid, name="component",
708 if kit.__class__.__name__ == CKit.component:
727 # component
729 LOG.debug("Start component task setup")
748 LOG.warning("%s are skipped, no suitable component found. "
/test/testfwk/xdevice/plugins/ohos/src/ohos/testkit/
H A Dkit.py825 @Plugin(type=Plugin.TEST_KIT, id=CKit.component)
852 part_set.add(item.get("component", ""))
891 if "component" in component_item.keys():
893 component_item["component"])

Completed in 12 milliseconds