/test/xts/hats/startup/partitionslot/src/ |
H A D | partitionslot_test.cpp | 61 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 75 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 89 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 103 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 117 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 131 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 145 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 159 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 172 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 186 sptr<IPartitionSlo in HWTEST_F() [all...] |
/test/xts/dcts/distributedhardware/distributedinputtest/ |
H A D | distributed_input_test.cpp | 115 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in CheckSourceProxy() 121 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSourceProxy() 127 OHOS::sptr<IDistributedSourceInput> proxyTest; in CheckSourceProxy() 139 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in CheckSinkProxy() 145 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSinkProxy() 151 OHOS::sptr<IDistributedSinkInput> proxyTest; in CheckSinkProxy() 164 sptr<TestPrepareDInputCallback> callback(new TestPrepareDInputCallback()); in HWTEST_F() 172 sptr<TestPrepareDInputCallback> callback = nullptr; in HWTEST_F() 181 sptr<IPrepareDInputCallback> callback(new TestPrepareDInputCallback()); in HWTEST_F() 190 sptr<TestPrepareDInputCallbac in HWTEST_F() [all...] |
/test/testfwk/arkxtest/uitest/connection/ |
H A D | ipc_transactor.h | 38 virtual bool SetBackCaller(const OHOS::sptr<OHOS::IRemoteObject> &caller) = 0; 49 bool SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) override; 52 void SetBackCallerHandler(std::function<void(OHOS::sptr<OHOS::IRemoteObject>)> handler); 56 std::function<void(OHOS::sptr<OHOS::IRemoteObject>)> backcallerHandler_ = nullptr; 61 explicit ApiCallerProxy(const OHOS::sptr<OHOS::IRemoteObject> &impl); 64 bool SetBackCaller(const OHOS::sptr<IRemoteObject> &caller) override; 65 bool SetRemoteDeathCallback(const sptr<OHOS::IRemoteObject::DeathRecipient> &callback); 66 bool UnsetRemoteDeathCallback(const sptr<OHOS::IRemoteObject::DeathRecipient> &callback); 96 sptr<ApiCaller> caller_ = nullptr; 98 sptr<ApiCallerProx [all...] |
/test/xts/hats/startup/partitionslot_additional/src/ |
H A D | partitionslot_test.cpp | 63 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 79 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 94 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 109 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 124 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 139 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 154 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 169 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 184 sptr<IPartitionSlot> partitionslot = IPartitionSlot::Get(); in HWTEST_F() 199 sptr<IPartitionSlo in HWTEST_F() [all...] |
/test/xts/acts/graphic/graphicnapitest/ |
H A D | ProducerSurfaceTest.cpp | 49 static inline sptr<IConsumerSurface> csurf = nullptr; 50 static inline sptr<IBufferProducer> producer = nullptr; 51 static inline sptr<Surface> pSurface = nullptr; 52 static inline sptr<ProducerSurfaceDelegator> surfaceDelegator = nullptr; 54 static inline GSError OnBufferRelease(sptr<SurfaceBuffer> &buffer) in OnBufferRelease() 63 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in SetUpTestCase() 87 sptr<IConsumerSurface> csurfTestUserData = IConsumerSurface::Create(); in HWTEST_F() 88 sptr<IBufferConsumerListener> listenerTestUserData = new BufferConsumerListener(); in HWTEST_F() 90 sptr<IBufferProducer> producerTestUserData = csurf->GetProducer(); in HWTEST_F() 91 sptr<Surfac in HWTEST_F() [all...] |
H A D | NativeBufferTest.cpp | 500 sptr<OHOS::IConsumerSurface> cSurface = IConsumerSurface::Create(); in HWTEST_F() 501 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in HWTEST_F() 503 sptr<OHOS::IBufferProducer> producer = cSurface->GetProducer(); in HWTEST_F() 504 sptr<OHOS::Surface> pSurface = Surface::CreateSurfaceAsProducer(producer); in HWTEST_F() 506 sptr<OHOS::SurfaceBuffer> sBuffer = nullptr; in HWTEST_F() 582 sptr<OHOS::IConsumerSurface> cSurface = IConsumerSurface::Create(); in HWTEST_F() 583 sptr<IBufferConsumerListener> listener = new BufferConsumerListener(); in HWTEST_F() 585 sptr<OHOS::IBufferProducer> producer = cSurface->GetProducer(); in HWTEST_F() 586 sptr<OHOS::Surface> pSurface = Surface::CreateSurfaceAsProducer(producer); in HWTEST_F() 588 sptr<OHO in HWTEST_F() [all...] |
/test/testfwk/arkxtest/testserver/test/unittest/ |
H A D | start_test_server.cpp | 56 sptr<IRemoteObject> GetTestServerObject() in GetTestServerObject() 62 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override 83 sptr<IRemoteObject> remoteObject_ = nullptr; 86 sptr<ITestServerInterface> StartTestServer::LoadTestServer() in LoadTestServer() 89 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadTestServer() 97 auto testServerLoadCallback = sptr<TestServerLoadCallback>(new TestServerLoadCallback(systemAbilityId)); in LoadTestServer() 110 sptr<ITestServerInterface> iTestServerInterface = iface_cast<TestServerInterfaceProxy>(remoteObject_); in LoadTestServer()
|
H A D | test_server_client_test.cpp | 39 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST() 40 sptr<ITestServerInterface> iTestServerInterface = StartTestServer::GetInstance().LoadTestServer(); in HWTEST() 47 void load_test_server_test(sptr<ISystemAbilityManager> samgr) in load_test_server_test() 50 sptr<ITestServerInterface> iTestServerInterface = StartTestServer::GetInstance().LoadTestServer(); in load_test_server_test() 57 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWMTEST()
|
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/ |
H A D | devattest_client.cpp | 35 sptr<DevAttestInterface> DevAttestClient::GetDeviceProfileService() in GetDeviceProfileService() 39 sptr<ISystemAbilityManager> samgrProxy = in GetDeviceProfileService() 45 sptr<IRemoteObject> object = in GetDeviceProfileService() 71 sptr<DevAttestProfileLoadCallback> loadCallback = new DevAttestProfileLoadCallback(); in LoadDevAttestProfile() 77 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDevAttestProfile() 92 void DevAttestClient::LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject) in LoadSystemAbilitySuccess() 112 sptr<DevAttestInterface> attestClientInterface = GetDeviceProfileService(); in GetAttestStatus()
|
/test/testfwk/arkxtest/testserver/src/client/ |
H A D | session_token.h | 29 SessionToken(sptr<IPCObjectStub> ipcObjectStub = new(std::nothrow) IPCObjectStub(), in SessionToken() 30 sptr<IRemoteObject> iRemoteObject = nullptr) in SessionToken() 52 sptr<IRemoteObject> iRemoteObject = static_cast<MessageParcel *>(&in)->ReadRemoteObject(); in Unmarshalling() 57 bool AddDeathRecipient(const sptr<IRemoteObject::DeathRecipient> &recipient) const in AddDeathRecipient() 67 sptr<IPCObjectStub> ipcObjectStub_; 68 sptr<IRemoteObject> iRemoteObject_;
|
H A D | test_server_client.cpp | 62 sptr<IRemoteObject> GetTestServerObject() in GetTestServerObject() 68 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override 93 sptr<IRemoteObject> remoteObject_ = nullptr; 96 sptr<ITestServerInterface> TestServerClient::LoadTestServer() in LoadTestServer() 100 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadTestServer() 110 auto testServerLoadCallback = sptr<TestServerLoadCallback>(new TestServerLoadCallback(systemAbilityId)); in LoadTestServer() 128 sptr<ITestServerInterface> iTestServerInterface = iface_cast<TestServerInterfaceProxy>(remoteObject_); in LoadTestServer() 133 sptr<SessionToken> sessionToken = new (std::nothrow) SessionToken(); in LoadTestServer()
|
/test/xts/hats/hdf/camera/cameraMg/v1_2/include/ |
H A D | hdi_common_v1_2.h | 116 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr;
117 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraHost> serviceV1_1 = nullptr;
118 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraHost> serviceV1_2 = nullptr;
119 OHOS::sptr<ICameraDevice> cameraDevice = nullptr;
120 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraDevice> cameraDeviceV1_1 = nullptr;
121 OHOS::sptr<OHOS::HDI::Camera::V1_2::ICameraDevice> cameraDeviceV1_2 = nullptr;
122 OHOS::sptr<IStreamOperatorCallback> streamOperatorCallback = nullptr;
123 OHOS::sptr<OHOS::HDI::Camera::V1_2::IStreamOperatorCallback> streamOperatorCallbackV1_2 = nullptr;
124 OHOS::sptr<ICameraHostCallback> hostCallback = nullptr;
125 OHOS::sptr<OHO [all...] |
/test/xts/hats/hdf/usb/usbdBenchmarkTest/common/ |
H A D | HdfUsbdBenchmarkTransferTest.cpp | 47 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> g_usbInterface = nullptr;
49 int32_t InitAshmemOne(sptr<Ashmem>& asmptr, int32_t asmSize, uint8_t rflg)
in InitAshmemOne() 93 void HdfUsbdBenchmarkTransferTest::InitPara(const sptr<UsbSubscriberTest> &subscriber)
in InitPara() 102 void HdfUsbdBenchmarkTransferTest::ReleasePara(const sptr<UsbSubscriberTest> &subscriber)
in ReleasePara() 123 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 154 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 189 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 223 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 257 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 291 sptr<UsbSubscriberTes in BENCHMARK_F() [all...] |
H A D | HdfUsbdBenchmarkRequestTest.cpp | 45 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> g_usbInterface = nullptr;
64 void HdfUsbdBenchmarkRequestTest::InitPara(const sptr<UsbSubscriberTest> &subscriber)
in InitPara() 73 void HdfUsbdBenchmarkRequestTest::ReleasePara(const sptr<UsbSubscriberTest> &subscriber)
in ReleasePara() 93 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 122 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 151 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 180 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 211 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 240 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 270 sptr<UsbSubscriberTes in BENCHMARK_F() [all...] |
H A D | HdfUsbdBenchmarkDeviceTest.cpp | 37 sptr<OHOS::HDI::Usb::V1_1::IUsbInterface> g_usbInterface = nullptr;
58 void HdfUsbdBenchmarkDeviceTest::InitPara(const sptr<UsbSubscriberTest> &subscriber)
in InitPara() 67 void HdfUsbdBenchmarkDeviceTest::ReleasePara(const sptr<UsbSubscriberTest> &subscriber)
in ReleasePara() 87 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 115 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 147 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F() 178 sptr<UsbSubscriberTest> subscriber = new UsbSubscriberTest();
in BENCHMARK_F()
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_function_utils.h | 128 bool InitBufferHandleParameter(sptr<ICodecComponent> component, OMX_PARAM_PORTDEFINITIONTYPE ¶m,
133 bool UseDynaBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int bufferSize);
135 bool UseHandleBuffer(sptr<ICodecComponent> component, enum PortIndex port, int bufferCount, int bufferSize);
137 bool UseBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount,
140 bool AllocateBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port, int32_t bufferCount,
143 bool FreeBufferOnPort(sptr<ICodecComponent> component, enum PortIndex port);
145 int32_t GetPortParameter(sptr<ICodecComponent> component, PortIndex index, OMX_PARAM_PORTDEFINITIONTYPE ¶m);
147 bool FillAndEmptyAllBuffer(sptr<ICodecComponent> component, CodecBufferType type);
149 bool WaitState(sptr<ICodecComponent> component, CodecStateType objState);
|
/test/xts/hats/hdf/camera/cameraHdi/v4l2/src/ |
H A D | open_camera_test.cpp | 53 const OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in HWTEST_F() 54 OHOS::sptr<ICameraDevice> cameraDevice; in HWTEST_F() 70 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in HWTEST_F() 88 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in HWTEST_F() 104 OHOS::sptr<ICameraDeviceCallback> callback = new DemoCameraDeviceCallback(); in HWTEST_F() 120 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in HWTEST_F() 136 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in HWTEST_F() 154 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in HWTEST_F() 170 OHOS::sptr<ICameraDeviceCallback> callback = nullptr; in HWTEST_F() 189 const OHOS::sptr<ICameraDeviceCallbac in HWTEST_F() [all...] |
/test/xts/hats/hdf/external_device_manager/driver_extension_manager_client_test/ |
H A D | driver_extension_manager_client_test.cpp | 48 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
60 static sptr<IRemoteObject> g_saObject = nullptr;
90 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in SetUpTestCase() 104 sptr<LoadCallback> loadCallback_ = new LoadCallback();
in SetUpTestCase() 119 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in TearDownTestCase() 134 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject)
in OnLoadSystemAbilitySuccess() 161 sptr<IDriverExtMgrCallback> connectCallback = nullptr;
in HWTEST_F() 168 void OnConnect(uint64_t deviceId, const sptr<IRemoteObject> &drvExtObj, const ErrMsg &errMsg) override;
175 void DriverExtMgrCallbackTest::OnConnect(uint64_t deviceId, const sptr<IRemoteObject> &drvExtObj, const ErrMsg &errMsg)
in OnConnect() 205 sptr<ISystemAbilityManage in HWTEST_F() [all...] |
/test/xts/dcts/distributedhardware/distributedcameratest/ |
H A D | stream_customer.h | 41 TestBuffersConsumerListener(const sptr<IConsumerSurface>& surface,
in TestBuffersConsumerListener() 57 OHOS::sptr<OHOS::SurfaceBuffer> buff = nullptr;
in OnBufferAvailable() 71 sptr<IConsumerSurface> consumer_;
78 sptr<OHOS::IBufferProducer> CreateProducer(CaptureMode mode, const std::function<void(void*, uint32_t)> callback);
81 sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
|
/test/xts/hats/hdf/camera/cameraMg/v1_1/include/ |
H A D | hdi_common_v1_1.h | 78 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr;
79 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraHost> serviceV1_1 = nullptr;
80 OHOS::sptr<ICameraDevice> cameraDevice = nullptr;
81 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraDevice> cameraDeviceV1_1 = nullptr;
82 OHOS::sptr<IStreamOperatorCallback> streamOperatorCallback = nullptr;
83 OHOS::sptr<ICameraHostCallback> hostCallback = nullptr;
84 OHOS::sptr<IStreamOperator> streamOperator = nullptr;
85 OHOS::sptr<OHOS::HDI::Camera::V1_1::IStreamOperator> streamOperator_V1_1 = nullptr;
86 OHOS::sptr<ICameraDeviceCallback> deviceCallback = nullptr;
155 OHOS::sptr<OHO [all...] |
/test/xts/hats/hdf/camera/cameraMg_additional/v1_1/include/ |
H A D | hdi_common_v1_1.h | 78 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr; 79 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraHost> serviceV1_1 = nullptr; 80 OHOS::sptr<ICameraDevice> cameraDevice = nullptr; 81 OHOS::sptr<OHOS::HDI::Camera::V1_1::ICameraDevice> cameraDeviceV1_1 = nullptr; 82 OHOS::sptr<IStreamOperatorCallback> streamOperatorCallback = nullptr; 83 OHOS::sptr<ICameraHostCallback> hostCallback = nullptr; 84 OHOS::sptr<IStreamOperator> streamOperator = nullptr; 85 OHOS::sptr<OHOS::HDI::Camera::V1_1::IStreamOperator> streamOperator_V1_1 = nullptr; 86 OHOS::sptr<ICameraDeviceCallback> deviceCallback = nullptr; 155 OHOS::sptr<OHO [all...] |
/test/xts/hats/hdf/camera/cameraMg_additional/v1_0/include/ |
H A D | common.h | 61 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr;
62 OHOS::sptr<ICameraDevice> cameraDevice = nullptr;
63 OHOS::sptr<IStreamOperatorCallback> streamOperatorCallback = nullptr;
64 OHOS::sptr<ICameraHostCallback> hostCallback = nullptr;
65 OHOS::sptr<IStreamOperator> streamOperator = nullptr;
66 OHOS::sptr<ICameraDeviceCallback> deviceCallback = nullptr;
130 OHOS::sptr<OHOS::IBufferProducer> CreateProducer(std::function<void(void*, uint32_t)> callback);
131 OHOS::sptr<BufferProducerSequenceable> CreateProducerSeq(std::function<void(void*, uint32_t)> callback);
155 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
|
/test/xts/hats/hdf/camera/cameraMg/v1_0/include/ |
H A D | common.h | 60 OHOS::sptr<OHOS::Camera::ICameraHost> service = nullptr;
61 OHOS::sptr<ICameraDevice> cameraDevice = nullptr;
62 OHOS::sptr<IStreamOperatorCallback> streamOperatorCallback = nullptr;
63 OHOS::sptr<ICameraHostCallback> hostCallback = nullptr;
64 OHOS::sptr<IStreamOperator> streamOperator = nullptr;
65 OHOS::sptr<ICameraDeviceCallback> deviceCallback = nullptr;
145 OHOS::sptr<OHOS::IBufferProducer> CreateProducer(std::function<void(void*, uint32_t)> callback);
146 OHOS::sptr<BufferProducerSequenceable> CreateProducerSeq(std::function<void(void*, uint32_t)> callback);
170 OHOS::sptr<OHOS::IConsumerSurface> consumer_ = nullptr;
|
/test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
H A D | hdi_nnrt_test_utils.h | 47 static OH_NN_ReturnCode ConvertModel(OHOS::sptr<V1_0::INnrtDevice> device_, OH_NNModel *model, 49 static V1_0::IOTensor CreateIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device); 50 static V1_0::IOTensor CreateInputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length, float* data); 51 static V1_0::IOTensor CreateOutputIOTensor(OHOS::sptr<V1_0::INnrtDevice> &device, size_t length); 56 static void ReleaseBufferOfTensors(OHOS::sptr<V1_0::INnrtDevice> &device, std::vector<V1_0::IOTensor> &tensors);
|
/test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
H A D | hdi_nnrt_test_utils.h | 47 static OH_NN_ReturnCode ConvertModel(OHOS::sptr<V2_0::INnrtDevice> device_, OH_NNModel *model, 49 static V2_0::IOTensor CreateIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device); 50 static V2_0::IOTensor CreateInputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length, float* data); 51 static V2_0::IOTensor CreateOutputIOTensor(OHOS::sptr<V2_0::INnrtDevice> &device, size_t length); 56 static void ReleaseBufferOfTensors(OHOS::sptr<V2_0::INnrtDevice> &device, std::vector<V2_0::IOTensor> &tensors);
|