Home
last modified time | relevance | path

Searched refs:hdfPowerInterfaceHost (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/drivers/peripheral/power/interfaces/hdi_service/src/
H A Dpower_interface_driver.cpp51 return hdfPowerInterfaceHost->stub->SendRequest(cmdId, *dataParcel, *replyParcel, option); in PowerInterfaceDriverDispatch()
64 auto *hdfPowerInterfaceHost = new (std::nothrow) HdfPowerInterfaceHost; in HdfPowerInterfaceDriverBind() local
65 if (hdfPowerInterfaceHost == nullptr) { in HdfPowerInterfaceDriverBind()
70 hdfPowerInterfaceHost->ioService.Dispatch = PowerInterfaceDriverDispatch; in HdfPowerInterfaceDriverBind()
71 hdfPowerInterfaceHost->ioService.Open = NULL; in HdfPowerInterfaceDriverBind()
72 hdfPowerInterfaceHost->ioService.Release = NULL; in HdfPowerInterfaceDriverBind()
77 delete hdfPowerInterfaceHost; in HdfPowerInterfaceDriverBind()
83 if (hdfPowerInterfaceHost->stub == nullptr) { in HdfPowerInterfaceDriverBind()
85 delete hdfPowerInterfaceHost; in HdfPowerInterfaceDriverBind()
89 deviceObject->service = &hdfPowerInterfaceHost->ioService; in HdfPowerInterfaceDriverBind()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/power_v1_0/cpp_target/power/v1_0/
H A Dpower_interface_driver.cpp.txt61 auto *hdfPowerInterfaceHost = new (std::nothrow) HdfPowerInterfaceHost;
62 if (hdfPowerInterfaceHost == nullptr) {
67 hdfPowerInterfaceHost->ioService.Dispatch = PowerInterfaceDriverDispatch;
68 hdfPowerInterfaceHost->ioService.Open = NULL;
69 hdfPowerInterfaceHost->ioService.Release = NULL;
74 delete hdfPowerInterfaceHost;
80 if (hdfPowerInterfaceHost->stub == nullptr) {
82 delete hdfPowerInterfaceHost;
86 deviceObject->service = &hdfPowerInterfaceHost->ioService;
98 if (hdfPowerInterfaceHost != nullptr) {
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/power_v1_1/cpp_target/power/v1_1/
H A Dpower_interface_driver.cpp.txt61 auto *hdfPowerInterfaceHost = new (std::nothrow) HdfPowerInterfaceHost;
62 if (hdfPowerInterfaceHost == nullptr) {
67 hdfPowerInterfaceHost->ioService.Dispatch = PowerInterfaceDriverDispatch;
68 hdfPowerInterfaceHost->ioService.Open = NULL;
69 hdfPowerInterfaceHost->ioService.Release = NULL;
74 delete hdfPowerInterfaceHost;
80 if (hdfPowerInterfaceHost->stub == nullptr) {
82 delete hdfPowerInterfaceHost;
86 deviceObject->service = &hdfPowerInterfaceHost->ioService;
98 if (hdfPowerInterfaceHost != nullptr) {
[all …]