Home
last modified time | relevance | path

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

/ohos5.0/drivers/peripheral/location/agnss/hdi_service/
H A Dagnss_interface_driver.cpp40 …auto *hdfAGnssInterfaceHost = CONTAINER_OF(client->device->service, struct HdfAGnssInterfaceHost, … in AGnssInterfaceDriverDispatch() local
55 return hdfAGnssInterfaceHost->stub->SendRequest(cmdId, *dataParcel, *replyParcel, option); in AGnssInterfaceDriverDispatch()
68 auto *hdfAGnssInterfaceHost = new (std::nothrow) HdfAGnssInterfaceHost; in HdfAGnssInterfaceDriverBind() local
69 if (hdfAGnssInterfaceHost == nullptr) { in HdfAGnssInterfaceDriverBind()
74 hdfAGnssInterfaceHost->ioService.Dispatch = AGnssInterfaceDriverDispatch; in HdfAGnssInterfaceDriverBind()
79 delete hdfAGnssInterfaceHost; in HdfAGnssInterfaceDriverBind()
83hdfAGnssInterfaceHost->stub = OHOS::HDI::ObjectCollector::GetInstance().GetOrNewObject(serviceImpl, in HdfAGnssInterfaceDriverBind()
85 if (hdfAGnssInterfaceHost->stub == nullptr) { in HdfAGnssInterfaceDriverBind()
87 delete hdfAGnssInterfaceHost; in HdfAGnssInterfaceDriverBind()
91 deviceObject->service = &hdfAGnssInterfaceHost->ioService; in HdfAGnssInterfaceDriverBind()
[all …]
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/location_agnss_v1_0/cpp_target/location/agnss/v1_0/
H A Dagnss_interface_driver.cpp.txt61 auto *hdfAGnssInterfaceHost = new (std::nothrow) HdfAGnssInterfaceHost;
62 if (hdfAGnssInterfaceHost == nullptr) {
67 hdfAGnssInterfaceHost->ioService.Dispatch = AGnssInterfaceDriverDispatch;
68 hdfAGnssInterfaceHost->ioService.Open = NULL;
69 hdfAGnssInterfaceHost->ioService.Release = NULL;
74 delete hdfAGnssInterfaceHost;
80 if (hdfAGnssInterfaceHost->stub == nullptr) {
82 delete hdfAGnssInterfaceHost;
86 deviceObject->service = &hdfAGnssInterfaceHost->ioService;
98 if (hdfAGnssInterfaceHost != nullptr) {
[all …]