Lines Matching refs:preference
56 const Model& model, ExecutionPreference preference, in validatePrepareModel() argument
62 device->prepareModel_1_3(model, preference, priority, {}, hidl_vec<hidl_handle>(), in validatePrepareModel()
74 static bool validExecutionPreference(ExecutionPreference preference) { in validExecutionPreference() argument
75 return preference == ExecutionPreference::LOW_POWER || in validExecutionPreference()
76 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validExecutionPreference()
77 preference == ExecutionPreference::SUSTAINED_SPEED; in validExecutionPreference()
91 ExecutionPreference preference = ExecutionPreference::FAST_SINGLE_ANSWER; in validate() local
93 mutate(&model, &preference, &priority); in validate()
95 if (validExecutionPreference(preference) && validExecutionPriority(priority)) { in validate()
99 validatePrepareModel(device, message, model, preference, priority); in validate()
1310 [invalidPreference](Model*, ExecutionPreference* preference, Priority*) { in mutateExecutionPreferenceTest() argument
1311 *preference = static_cast<ExecutionPreference>(invalidPreference); in mutateExecutionPreferenceTest()