/drivers/peripheral/input/udriver/src/ |
H A D | input_manager.cpp | 261 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 D | input_manager.c | 33 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 D | display_cmd_requester.h | 34 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 D | display_composer_hdi_impl.h | 43 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 D | display_composer_hdi_impl.h | 43 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 D | Makefile | 11 export TARGET:=$(TARGET_DIR)\hdi-gen.exe 16 export TARGET:=$(TARGET_DIR)/hdi-gen
|
/drivers/interface/display/composer/v1_2/display_command/ |
H A D | display_cmd_requester.h | 34 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 D | display_composer_hdi_impl.h | 54 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 D | all_in_one_impl.cpp | 243 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 D | display_cmd_requester.h | 41 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()
|