Home
last modified time | relevance | path

Searched refs:hdfPartitionSlotHost (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/drivers/peripheral/partitionslot/hdi_service/src/
H A Dpartition_slot_driver.cpp47 return hdfPartitionSlotHost->stub->SendRequest(cmdId, *dataParcel, *replyParcel, option); in PartitionSlotDriverDispatch()
60 auto *hdfPartitionSlotHost = new (std::nothrow) HdfPartitionSlotHost; in HdfPartitionSlotDriverBind() local
61 if (hdfPartitionSlotHost == nullptr) { in HdfPartitionSlotDriverBind()
66 hdfPartitionSlotHost->ioService.Dispatch = PartitionSlotDriverDispatch; in HdfPartitionSlotDriverBind()
67 hdfPartitionSlotHost->ioService.Open = NULL; in HdfPartitionSlotDriverBind()
68 hdfPartitionSlotHost->ioService.Release = NULL; in HdfPartitionSlotDriverBind()
73 delete hdfPartitionSlotHost; in HdfPartitionSlotDriverBind()
79 if (hdfPartitionSlotHost->stub == nullptr) { in HdfPartitionSlotDriverBind()
81 delete hdfPartitionSlotHost; in HdfPartitionSlotDriverBind()
85 deviceObject->service = &hdfPartitionSlotHost->ioService; in HdfPartitionSlotDriverBind()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/partitionslot_v1_0/cpp_target/partitionslot/v1_0/
H A Dpartition_slot_driver.cpp.txt61 auto *hdfPartitionSlotHost = new (std::nothrow) HdfPartitionSlotHost;
62 if (hdfPartitionSlotHost == nullptr) {
67 hdfPartitionSlotHost->ioService.Dispatch = PartitionSlotDriverDispatch;
68 hdfPartitionSlotHost->ioService.Open = NULL;
69 hdfPartitionSlotHost->ioService.Release = NULL;
74 delete hdfPartitionSlotHost;
80 if (hdfPartitionSlotHost->stub == nullptr) {
82 delete hdfPartitionSlotHost;
86 deviceObject->service = &hdfPartitionSlotHost->ioService;
98 if (hdfPartitionSlotHost != nullptr) {
[all …]