Lines Matching refs:preference
55 const Model& model, ExecutionPreference preference) { in validatePrepareModel() argument
60 device->prepareModel_1_2(model, preference, hidl_vec<hidl_handle>(), in validatePrepareModel()
72 static bool validExecutionPreference(ExecutionPreference preference) { in validExecutionPreference() argument
73 return preference == ExecutionPreference::LOW_POWER || in validExecutionPreference()
74 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validExecutionPreference()
75 preference == ExecutionPreference::SUSTAINED_SPEED; in validExecutionPreference()
85 ExecutionPreference preference = ExecutionPreference::FAST_SINGLE_ANSWER; in validate() local
86 mutate(&model, &preference); in validate()
88 if (validExecutionPreference(preference)) { in validate()
92 validatePrepareModel(device, message, model, preference); in validate()
1217 [invalidPreference](Model*, ExecutionPreference* preference) { in mutateExecutionPreferenceTest() argument
1218 *preference = static_cast<ExecutionPreference>(invalidPreference); in mutateExecutionPreferenceTest()