Home
last modified time | relevance | path

Searched refs:ExecutionPreference (Results 1 – 25 of 44) sorted by relevance

12

/packages/modules/NeuralNetworks/driver/sample_hidl/
DSampleDriver.h87 const V1_1::Model& model, V1_1::ExecutionPreference preference,
90 const V1_2::Model& model, V1_1::ExecutionPreference preference,
95 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority,
130 V1_1::ExecutionPreference preference, uid_t userId, V1_3::Priority priority) in SamplePreparedModel()
176 const V1_1::ExecutionPreference kPreference;
DSampleDriverPartial.h45 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority,
DSampleDriverPartial.cpp49 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3()
DSampleDriver.cpp172 prepareModelBase(model, this, V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, in prepareModel()
178 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
187 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2()
198 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3()
876 const bool preferPowerOverLatency = (kPreference == V1_1::ExecutionPreference::LOW_POWER); in configureExecutionBurst()
DSampleDriverFloatXNNPACK.cpp1572 V1_1::ExecutionPreference preference, uid_t userId, in SamplePreparedModelXNNPACK()
1843 const V1_1::Model& model, V1_1::ExecutionPreference preference,
1846 const V1_2::Model& model, V1_1::ExecutionPreference preference,
1851 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority,
1868 V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModelXNNPACK()
1903 prepareModelXNNPACK(model, this, V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, in prepareModel()
1909 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
1917 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2()
1927 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3()
DSampleDriverUtils.h58 V1_1::ExecutionPreference preference, V1_3::Priority priority,
/packages/modules/NeuralNetworks/driver/sample/
DCanonicalPreparedModel.h37 PreparedModel(Model model, ExecutionPreference preference, Priority priority,
65 [[maybe_unused]] const ExecutionPreference kExecutionPreference;
DCanonicalDevice.h55 const Model& model, ExecutionPreference preference, Priority priority,
DLimitedSupportDevice.h62 const Model& model, ExecutionPreference preference, Priority priority,
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp73 ExecutionPreference preference) { in convertToNDKPreference()
75 case ExecutionPreference::LOW_POWER: in convertToNDKPreference()
77 case ExecutionPreference::FAST_SINGLE_ANSWER: in convertToNDKPreference()
79 case ExecutionPreference::SUSTAINED_SPEED: in convertToNDKPreference()
529 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadlineNs, in prepareModelCommon()
628 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadlineNs, in prepareModel()
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h56 const Model& model, ExecutionPreference preference, Priority priority,
72 const Model& model, ExecutionPreference preference, Priority priority,
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriverAidl.h80 const aidl_hal::Model& model, aidl_hal::ExecutionPreference preference,
107 aidl_hal::ExecutionPreference preference, uid_t userId, in SamplePreparedModel()
143 const aidl_hal::ExecutionPreference kPreference;
DSampleDriverAidlUtils.h43 aidl_hal::ExecutionPreference preference, aidl_hal::Priority priority, int64_t halDeadline,
DSampleDriverAidlPartial.h44 const aidl_hal::Model& model, aidl_hal::ExecutionPreference preference,
DSampleDriverAidlPartial.cpp50 const aidl_hal::Model& model, aidl_hal::ExecutionPreference preference, in prepareModel()
DSampleDriverAidlUtils.cpp85 aidl_hal::ExecutionPreference preference, aidl_hal::Priority priority, int64_t halDeadline, in prepareModelBase()
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp362 const HidlModel& model, V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3()
394 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2()
425 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
454 V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, actualCallback); in prepareModel()
488 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2()
497 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
543 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
DTestIntrospectionControl.cpp425 : SamplePreparedModel(model, driver, V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, uid_t{}, in TestPreparedModelLatest()
716 const HidlModel& model, V1_1::ExecutionPreference, V1_3::Priority, in prepareModel_1_3() argument
726 const V1_2::Model& model, V1_1::ExecutionPreference, in prepareModel_1_2() argument
736 const V1_1::Model& model, V1_1::ExecutionPreference, in prepareModel_1_1() argument
746 V1_1::ExecutionPreference::FAST_SINGLE_ANSWER, callback); in prepareModel()
766 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1()
/packages/modules/NeuralNetworks/runtime/test/android_fuzzing/
DDriverFuzzTest.cpp59 model, ExecutionPreference::DEFAULT, Priority::DEFAULT, in runTest()
/packages/modules/NeuralNetworks/common/include/
DValidateHal.h61 bool validateExecutionPreference(V1_1::ExecutionPreference preference);
DLegacyHalUtils.h381 V1_1::ExecutionPreference convertToV1_1(ExecutionPreference preference);
/packages/modules/NeuralNetworks/common/types/src/
DTypeUtils.cpp321 std::ostream& operator<<(std::ostream& os, const ExecutionPreference& executionPreference) { in operator <<()
323 case ExecutionPreference::LOW_POWER: in operator <<()
325 case ExecutionPreference::FAST_SINGLE_ANSWER: in operator <<()
327 case ExecutionPreference::SUSTAINED_SPEED: in operator <<()
/packages/modules/NeuralNetworks/common/types/include/nnapi/
DIDevice.h253 const Model& model, ExecutionPreference preference, Priority priority,
DValidation.h46 Result<Version> validate(const ExecutionPreference& executionPreference);
/packages/modules/NeuralNetworks/common/
DValidateHal.cpp948 bool validateExecutionPreference(V1_1::ExecutionPreference preference) { in validateExecutionPreference()
949 return preference == V1_1::ExecutionPreference::LOW_POWER || in validateExecutionPreference()
950 preference == V1_1::ExecutionPreference::FAST_SINGLE_ANSWER || in validateExecutionPreference()
951 preference == V1_1::ExecutionPreference::SUSTAINED_SPEED; in validateExecutionPreference()

12