Home
last modified time | relevance | path

Searched refs:IPreparedModel (Results 1 – 22 of 22) sorted by relevance

/frameworks/ml/nn/runtime/
DCallbacks.h89 const sp<hal::V1_0::IPreparedModel>& preparedModel) override;
115 const sp<hal::V1_2::IPreparedModel>& preparedModel) override;
143 const sp<hal::V1_3::IPreparedModel>& preparedModel) override;
184 sp<hal::V1_0::IPreparedModel> getPreparedModel() const;
195 const sp<hal::V1_0::IPreparedModel>& preparedModel);
202 sp<hal::V1_0::IPreparedModel> mPreparedModel;
DCallbacks.cpp36 const sp<V1_0::IPreparedModel>& preparedModel) { in notifyInternal()
57 const sp<V1_0::IPreparedModel>& preparedModel) { in notify()
62 const sp<V1_2::IPreparedModel>& preparedModel) { in notify_1_2()
67 const sp<V1_3::IPreparedModel>& preparedModel) { in notify_1_3()
85 sp<V1_0::IPreparedModel> PreparedModelCallback::getPreparedModel() const { in getPreparedModel()
DVersionedInterfaces.h594 VersionedIPreparedModel(sp<hal::V1_0::IPreparedModel> preparedModel,
789 sp<hal::V1_3::IPreparedModel> getV1_3() const { return mPreparedModelV1_3; } in getV1_3()
813 sp<hal::V1_0::IPreparedModel> mPreparedModelV1_0;
814 sp<hal::V1_2::IPreparedModel> mPreparedModelV1_2;
815 sp<hal::V1_3::IPreparedModel> mPreparedModelV1_3;
DVersionedInterfaces.cpp156 sp<V1_0::IPreparedModel> preparedModel) { in makeVersionedIPreparedModel()
190 VersionedIPreparedModel::VersionedIPreparedModel(sp<V1_0::IPreparedModel> preparedModel, in VersionedIPreparedModel()
193 mPreparedModelV1_2(V1_2::IPreparedModel::castFrom(mPreparedModelV1_0).withDefault(nullptr)), in VersionedIPreparedModel()
194 mPreparedModelV1_3(V1_3::IPreparedModel::castFrom(mPreparedModelV1_0).withDefault(nullptr)), in VersionedIPreparedModel()
1191 const sp<V1_0::IPreparedModel> preparedModel = callback.getPreparedModel(); in prepareModelResult()
1531 hidl_vec<sp<V1_3::IPreparedModel>> preparedModels(versionedPreparedModels.size()); in allocate()
/frameworks/ml/nn/common/include/
DValidateHal.h38 using PreparedModelRole = std::tuple<const hal::IPreparedModel*, IOType, uint32_t>;
89 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
92 std::function<const hal::V1_3::Model*(const sp<hal::V1_3::IPreparedModel>&)> getModel,
DBufferTracker.h52 const hal::IPreparedModel* preparedModel) const;
DHalInterfaces.h84 using V1_3::IPreparedModel;
DExecutionBurstServer.h308 hardware::neuralnetworks::V1_2::IPreparedModel* preparedModel,
DExecutionBurstController.h294 const sp<hardware::neuralnetworks::V1_2::IPreparedModel>& preparedModel,
/frameworks/ml/nn/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp253 const sp<V1_0::IPreparedModel>& /*preparedModel*/) override { in notify() argument
258 const sp<V1_2::IPreparedModel>& /*preparedModel*/) override { in notify_1_2() argument
263 const sp<V1_3::IPreparedModel>& preparedModel) override { in notify_1_3()
264 const sp<V1_3::IPreparedModel> result = in notify_1_3()
275 const sp<V1_3::IPreparedModel>& getResults() const { in getResults()
286 std::optional<const sp<V1_3::IPreparedModel>> mResults;
289 sp<V1_3::IPreparedModel> prepareModel(const sp<V1_3::IDevice>& device, const V1_3::Model& model) { in prepareModel()
296 void execute(const sp<V1_3::IPreparedModel>& preparedModel, const V1_3::Request& request) { in execute()
/frameworks/ml/nn/runtime/test/
DTestExecution.cpp68 class TestPreparedModelLatest : public IPreparedModel {
74 TestPreparedModelLatest(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModelLatest()
76 mPreparedModelV1_2(V1_2::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModelLatest()
77 mPreparedModelV1_3(V1_3::IPreparedModel::castFrom(preparedModel).withDefault(nullptr)), in TestPreparedModelLatest()
227 const sp<V1_0::IPreparedModel> mPreparedModelV1_0;
228 const sp<V1_2::IPreparedModel> mPreparedModelV1_2;
229 const sp<V1_3::IPreparedModel> mPreparedModelV1_3;
248 class TestPreparedModel12 : public V1_2::IPreparedModel {
250 TestPreparedModel12(sp<V1_0::IPreparedModel> preparedModel, ErrorStatus errorStatus) in TestPreparedModel12()
278 const sp<IPreparedModel> mLatestPreparedModel;
[all …]
DTestIntrospectionControl.cpp605 class TestPreparedModel12 : public V1_2::IPreparedModel {
635 const sp<IPreparedModel> mLatestPreparedModel;
639 class TestPreparedModel10 : public V1_0::IPreparedModel {
650 const sp<IPreparedModel> mLatestPreparedModel;
DTestVersionedInterfaces.cpp171 (const BufferDesc& desc, const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels,
195 class MockPreparedModel : public IPreparedModel {
390 const V1_2::IPreparedModel::executeSynchronously_cb& cb) { in makeExecuteSynchronouslyReturn()
402 const V1_3::IPreparedModel::executeSynchronously_1_3_cb& cb) { in makeExecuteSynchronously_1_3Return()
413 V1_2::IPreparedModel::configureExecutionBurst_cb cb) { in makeConfigureExecutionBurst()
425 V1_3::IPreparedModel::executeFenced_cb cb) { in makeExecuteFencedReturn()
1275 const hidl_vec<sp<V1_3::IPreparedModel>>& /*preparedModels*/, in TEST_F()
1576 const hidl_vec<sp<V1_3::IPreparedModel>>& /*preparedModels*/, in TEST_F()
DTestMemoryDomain.cpp108 Return<void> allocate(const BufferDesc&, const hidl_vec<sp<IPreparedModel>>&, in allocate() argument
DTestCompilationCaching.cpp97 class CachingPreparedModel : public IPreparedModel {
DTestPartitioning.cpp314 class PartitioningPreparedModel : public IPreparedModel {
/frameworks/ml/nn/driver/sample/
DSampleDriver.h110 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels,
128 class SamplePreparedModel : public hal::IPreparedModel {
DSampleDriver.cpp231 const sp<IPreparedModel>& preparedModel) { in castToSamplePreparedModel()
242 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in allocate()
250 auto getModel = [](const sp<V1_3::IPreparedModel>& preparedModel) -> const V1_3::Model* { in allocate()
/frameworks/ml/nn/common/
DExecutionBurstServer.cpp56 DefaultBurstExecutorWithCache(V1_2::IPreparedModel* preparedModel) in DefaultBurstExecutorWithCache()
105 V1_2::IPreparedModel* const mpPreparedModel;
520 const MQDescriptorSync<FmqResultDatum>& resultChannel, V1_2::IPreparedModel* preparedModel, in create()
DBufferTracker.cpp62 const IPreparedModel* preparedModel) const { in validateRequest()
DValidateHal.cpp855 const hidl_vec<sp<V1_3::IPreparedModel>>& preparedModels, in validateMemoryDesc()
858 std::function<const V1_3::Model*(const sp<V1_3::IPreparedModel>&)> getModel, in validateMemoryDesc()
DExecutionBurstController.cpp475 const sp<V1_2::IPreparedModel>& preparedModel, in create()