Lines Matching refs:preference
55 const Model& model, ExecutionPreference preference) { in validatePrepareModel() argument
60 device->prepareModel_1_1(model, preference, preparedModelCallback); in validatePrepareModel()
71 static bool validExecutionPreference(ExecutionPreference preference) { in validExecutionPreference() argument
72 return preference == ExecutionPreference::LOW_POWER || in validExecutionPreference()
73 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validExecutionPreference()
74 preference == ExecutionPreference::SUSTAINED_SPEED; in validExecutionPreference()
84 ExecutionPreference preference = ExecutionPreference::FAST_SINGLE_ANSWER; in validate() local
85 mutate(&model, &preference); in validate()
87 if (validExecutionPreference(preference)) { in validate()
91 validatePrepareModel(device, message, model, preference); in validate()
972 [invalidPreference](Model*, ExecutionPreference* preference) { in mutateExecutionPreferenceTest() argument
973 *preference = static_cast<ExecutionPreference>(invalidPreference); in mutateExecutionPreferenceTest()