/frameworks/ml/nn/runtime/ |
D | Callbacks.h | 89 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;
|
D | Callbacks.cpp | 36 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()
|
D | VersionedInterfaces.h | 594 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;
|
D | VersionedInterfaces.cpp | 156 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/ |
D | ValidateHal.h | 38 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,
|
D | BufferTracker.h | 52 const hal::IPreparedModel* preparedModel) const;
|
D | HalInterfaces.h | 84 using V1_3::IPreparedModel;
|
D | ExecutionBurstServer.h | 308 hardware::neuralnetworks::V1_2::IPreparedModel* preparedModel,
|
D | ExecutionBurstController.h | 294 const sp<hardware::neuralnetworks::V1_2::IPreparedModel>& preparedModel,
|
/frameworks/ml/nn/runtime/test/android_fuzzing/ |
D | DriverFuzzTest.cpp | 253 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/ |
D | TestExecution.cpp | 68 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 …]
|
D | TestIntrospectionControl.cpp | 605 class TestPreparedModel12 : public V1_2::IPreparedModel { 635 const sp<IPreparedModel> mLatestPreparedModel; 639 class TestPreparedModel10 : public V1_0::IPreparedModel { 650 const sp<IPreparedModel> mLatestPreparedModel;
|
D | TestVersionedInterfaces.cpp | 171 (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()
|
D | TestMemoryDomain.cpp | 108 Return<void> allocate(const BufferDesc&, const hidl_vec<sp<IPreparedModel>>&, in allocate() argument
|
D | TestCompilationCaching.cpp | 97 class CachingPreparedModel : public IPreparedModel {
|
D | TestPartitioning.cpp | 314 class PartitioningPreparedModel : public IPreparedModel {
|
/frameworks/ml/nn/driver/sample/ |
D | SampleDriver.h | 110 const hal::hidl_vec<sp<hal::V1_3::IPreparedModel>>& preparedModels, 128 class SamplePreparedModel : public hal::IPreparedModel {
|
D | SampleDriver.cpp | 231 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/ |
D | ExecutionBurstServer.cpp | 56 DefaultBurstExecutorWithCache(V1_2::IPreparedModel* preparedModel) in DefaultBurstExecutorWithCache() 105 V1_2::IPreparedModel* const mpPreparedModel; 520 const MQDescriptorSync<FmqResultDatum>& resultChannel, V1_2::IPreparedModel* preparedModel, in create()
|
D | BufferTracker.cpp | 62 const IPreparedModel* preparedModel) const { in validateRequest()
|
D | ValidateHal.cpp | 855 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()
|
D | ExecutionBurstController.cpp | 475 const sp<V1_2::IPreparedModel>& preparedModel, in create()
|