/test/xts/acts/arkui/ace_ets_xcomponent/entry/src/main/cpp/render/ |
H A D | native_xcomponent.cpp | 29 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 D | plugin_render.cpp | 51 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 D | native_xcomponent.h | 42 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 D | plugin_render.h | 35 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 D | codec_hdi_manager_test.cpp | 168 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 D | codec_function_utils.cpp | 76 bool FunctionUtil::InitBufferHandleParameter(sptr<ICodecComponent> component, OMX_PARAM_PORTDEFINITIONTYPE ¶m,
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 ¶m) GetPortParameter() argument 319 FillAndEmptyAllBuffer(sptr<ICodecComponent> component, CodecBufferType type) FillAndEmptyAllBuffer() argument 353 WaitState(sptr<ICodecComponent> component, CodecStateType objState) WaitState() argument [all...] |
H A D | codec_function_utils.h | 128 bool InitBufferHandleParameter(sptr<ICodecComponent> component, OMX_PARAM_PORTDEFINITIONTYPE ¶m,
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 ¶m);
147 bool FillAndEmptyAllBuffer(sptr<ICodecComponent> component, CodecBufferType type);
149 bool WaitState(sptr<ICodecComponent> component, CodecStateType objState);
|
H A D | codec_hdi_manager_test.cpp | 93 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 D | codec_benchmark_manager_test.cpp | 81 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 D | codec_hdi_manager_test.cpp | 72 * @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 D | image_receiver_mdk_test.cpp | 394 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 D | constants.py | 43 component = "ComponentKit" variable in CKit
|
/test/testfwk/xdevice/plugins/ohos/src/ohos/ |
H A D | constants.py | 87 component = "ComponentKit" variable in CKit
|
/test/xts/acts/multimedia/image/image_js_standard/imageReceiverMultiThread/entry/src/main/ets/workers/ |
H A D | receiver.js | 44 img.getComponent(JPEG, (err2, component) => {
|
/test/testfwk/xdevice/src/xdevice/_core/resource/template/static/components/ |
H A D | popoverCheckBox.js | 18 component: {
|
H A D | caseTable.js | 18 component: {
|
H A D | suiteTable.js | 18 component: {
|
/test/xts/tools/lite/build/ |
H A D | utils.py | 278 for component in components: 279 component_name = component.get("component", "")
|
/test/testfwk/xdevice/src/xdevice/_core/ |
H A D | constants.py | 251 component = "ComponentKit" variable in CKit
|
/test/testfwk/xdevice/src/xdevice/_core/executor/ |
H A D | scheduler.py | 517 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 D | kit.py | 825 @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"])
|