Home
last modified time | relevance | path

Searched refs:hdi (Results 1 - 10 of 10) sorted by relevance

/drivers/peripheral/input/udriver/src/
H A Dinput_manager.cpp261 static void FreeInputHdi(IInputInterface **hdi) in FreeInputHdi() argument
263 if (hdi == nullptr || *hdi == nullptr) { in FreeInputHdi()
266 if ((*hdi)->iInputManager != nullptr) { in FreeInputHdi()
267 OsalMemFree((*hdi)->iInputManager); in FreeInputHdi()
268 (*hdi)->iInputManager = nullptr; in FreeInputHdi()
270 if ((*hdi)->iInputController != nullptr) { in FreeInputHdi()
271 OsalMemFree((*hdi)->iInputController); in FreeInputHdi()
272 (*hdi)->iInputController = nullptr; in FreeInputHdi()
274 if ((*hdi) in FreeInputHdi()
285 IInputInterface *hdi = (IInputInterface *)OsalMemAlloc(sizeof(IInputInterface)); InstanceInputHdi() local
[all...]
/drivers/peripheral/input/hal/src/
H A Dinput_manager.c33 int32_t InstanceReporterHdi(InputReporter **hdi);
34 int32_t InstanceControllerHdi(InputController **hdi);
314 static void FreeInputHdi(IInputInterface **hdi) in FreeInputHdi() argument
316 if (hdi == NULL || *hdi == NULL) { in FreeInputHdi()
319 if ((*hdi)->iInputManager != NULL) { in FreeInputHdi()
320 free((*hdi)->iInputManager); in FreeInputHdi()
321 (*hdi)->iInputManager = NULL; in FreeInputHdi()
324 if ((*hdi)->iInputController != NULL) { in FreeInputHdi()
325 free((*hdi) in FreeInputHdi()
340 IInputInterface *hdi = (IInputInterface *)malloc(sizeof(IInputInterface)); InstanceInputHdi() local
[all...]
/drivers/interface/display/composer/v1_1/display_command/
H A Ddisplay_cmd_requester.h34 DisplayCmdRequester(sptr<CompHdi> hdi) : BaseType1_0(hdi) {} in DisplayCmdRequester() argument
36 static std::unique_ptr<DisplayCmdRequester> Create(sptr<CompHdi> hdi) in Create() argument
38 DISPLAY_CHK_RETURN(hdi == nullptr, nullptr, HDF_LOGE("%{public}s: hdi is nullptr", __func__)); in Create()
39 auto requester = std::make_unique<DisplayCmdRequester>(hdi); in Create()
/drivers/interface/display/composer/v1_1/hdi_impl/
H A Ddisplay_composer_hdi_impl.h43 sptr<CompHdi> hdi; in Create() local
45 HDF_LOGI("%{public}s: hdi v1_1 start", __func__); in Create()
46 while ((hdi = CompHdi::Get()) == nullptr) { in Create()
50 HDF_LOGI("%{public}s: hdi v1_1 end", __func__); in Create()
52 req = CmdReq::Create(hdi); in Create()
58 return new DisplayComposerHdiImpl(hdi, req); in Create()
61 DisplayComposerHdiImpl(sptr<CompHdi> hdi, std::shared_ptr<CmdReq> req) in DisplayComposerHdiImpl() argument
62 : BaseType1_0(hdi, req), in DisplayComposerHdiImpl()
63 hdi_v1_1_(hdi), in DisplayComposerHdiImpl()
/drivers/interface/display/composer/v1_2/hdi_impl/
H A Ddisplay_composer_hdi_impl.h43 sptr<CompHdi> hdi; in Create() local
45 HDF_LOGI("%{public}s: hdi v1_2 start", __func__); in Create()
46 while ((hdi = CompHdi::Get()) == nullptr) { in Create()
50 HDF_LOGI("%{public}s: hdi v1_2 end", __func__); in Create()
52 req = CmdReq::Create(hdi); in Create()
58 return new DisplayComposerHdiImpl(hdi, req); in Create()
61 DisplayComposerHdiImpl(sptr<CompHdi> hdi, std::shared_ptr<CmdReq> req) in DisplayComposerHdiImpl() argument
62 : BaseType1_1(hdi, req), in DisplayComposerHdiImpl()
64 hdi_v1_2_(hdi), in DisplayComposerHdiImpl()
/drivers/hdf_core/framework/tools/hdi-gen/
H A DMakefile11 export TARGET:=$(TARGET_DIR)\hdi-gen.exe
16 export TARGET:=$(TARGET_DIR)/hdi-gen
/drivers/interface/display/composer/v1_2/display_command/
H A Ddisplay_cmd_requester.h34 DisplayCmdRequester(sptr<CompHdi> hdi) : BaseType1_1(hdi), hdi_1_2_(hdi) {} in DisplayCmdRequester() argument
36 static std::unique_ptr<DisplayCmdRequester> Create(sptr<CompHdi> hdi) in Create() argument
38 DISPLAY_CHK_RETURN(hdi == nullptr, nullptr, HDF_LOGE("%{public}s: hdi is nullptr", __func__)); in Create()
39 auto requester = std::make_unique<DisplayCmdRequester>(hdi); in Create()
/drivers/interface/display/composer/v1_0/hdi_impl/
H A Ddisplay_composer_hdi_impl.h54 sptr<CompHdi> hdi; in Create() local
56 HDF_LOGI("%{public}s: hdi V1_0 start", __func__); in Create()
57 while ((hdi = CompHdi::Get()) == nullptr) { in Create()
61 HDF_LOGI("%{public}s: hdi V1_0 end", __func__); in Create()
63 req = CmdReq::Create(hdi); in Create()
69 return new DisplayComposerHdiImpl(hdi, req); in Create()
72 DisplayComposerHdiImpl(sptr<CompHdi> hdi, std::shared_ptr<CmdReq> req) in DisplayComposerHdiImpl() argument
73 : hdi_(hdi), in DisplayComposerHdiImpl()
/drivers/peripheral/pin_auth/hdi_service/service/src/
H A Dall_in_one_impl.cpp243 threadPool_.AddTask([hdi = pinHdi_, id = templateId]() { in AuthPin()
244 if (hdi == nullptr) { in AuthPin()
247 hdi->WriteAntiBrute(id); in AuthPin()
/drivers/interface/display/composer/v1_0/display_command/
H A Ddisplay_cmd_requester.h41 DisplayCmdRequester(sptr<CompHdi> hdi) in DisplayCmdRequester() argument
43 hdi_(hdi), in DisplayCmdRequester()
49 static std::unique_ptr<DisplayCmdRequester> Create(sptr<CompHdi> hdi) in Create() argument
51 DISPLAY_CHK_RETURN(hdi == nullptr, nullptr, HDF_LOGE("%{public}s: hdi is nullptr", __func__)); in Create()
52 auto requester = std::make_unique<DisplayCmdRequester>(hdi); in Create()

Completed in 12 milliseconds