Lines Matching refs:preference
59 const Model& model, ExecutionPreference preference, in validatePrepareModel() argument
66 device->prepareModel(model, preference, priority, kNoDeadline, {}, {}, kEmptyCacheToken, in validatePrepareModel()
80 static bool validExecutionPreference(ExecutionPreference preference) { in validExecutionPreference() argument
81 return preference == ExecutionPreference::LOW_POWER || in validExecutionPreference()
82 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validExecutionPreference()
83 preference == ExecutionPreference::SUSTAINED_SPEED; in validExecutionPreference()
97 ExecutionPreference preference = ExecutionPreference::FAST_SINGLE_ANSWER; in validate() local
99 mutate(&model, &preference, &priority); in validate()
101 if (validExecutionPreference(preference) && validExecutionPriority(priority)) { in validate()
105 validatePrepareModel(device, message, model, preference, priority); in validate()
1289 [invalidPreference](Model*, ExecutionPreference* preference, Priority*) { in mutateExecutionPreferenceTest() argument
1290 *preference = static_cast<ExecutionPreference>(invalidPreference); in mutateExecutionPreferenceTest()