Home
last modified time | relevance | path

Searched refs:preference (Results 1 – 25 of 72) sorted by relevance

123

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp180 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModel() argument
188 preference, priority, deadline, modelCache, in prepareModel()
190 return device->prepareModelInternal(model, preference, priority, deadline, modelCache, in prepareModel()
195 return prepareModelInternal(model, preference, priority, deadline, modelCache, dataCache, token, in prepareModel()
237 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModelInternal() argument
245 const auto fn = [&model, preference, priority, &deadline, &modelCache, &dataCache, &token, in prepareModelInternal()
247 return device.prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModelInternal()
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DDevice.h65 const V1_1::Model& model, V1_1::ExecutionPreference preference,
68 const V1_2::Model& model, V1_1::ExecutionPreference preference,
72 const V1_3::Model& model, V1_1::ExecutionPreference preference, V1_3::Priority priority,
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DDevice.cpp148 V1_1::ExecutionPreference preference, in prepareModel_1_1() argument
155 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_1()
169 V1_1::ExecutionPreference preference, in prepareModel_1_2() argument
179 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_2()
198 V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3() argument
207 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_3()
452 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1() argument
454 auto result = adapter::prepareModel_1_1(kDevice, kExecutor, model, preference, callback); in prepareModel_1_1()
465 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2() argument
468 auto result = adapter::prepareModel_1_2(kDevice, kExecutor, model, preference, modelCache, in prepareModel_1_2()
[all …]
/hardware/qcom/camera/msm8998/usbcamcore/src/
DQCameraMjpegDecode.cpp82 uint32_t preference; member
153 mjpegd->preference = JPEG_DECODER_PREF_HW_ACCELERATED_PREFERRED; in mjpegDecoderInit()
197 !(test_args.preference == JPEG_DECODER_PREF_HW_ACCELERATED_ONLY)) { in mjpegDecode()
250 if ((jpegd_preference_t)p_args->preference == JPEG_DECODER_PREF_SOFTWARE_PREFERRED || in decoder_test()
251 (jpegd_preference_t)p_args->preference == JPEG_DECODER_PREF_SOFTWARE_ONLY) { in decoder_test()
255 if (((jpegd_preference_t)p_args->preference != in decoder_test()
426 config.preference = (jpegd_preference_t) p_args->preference; in decoder_test()
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockDevice.h53 (const V1_1::Model& model, V1_1::ExecutionPreference preference,
67 (const V1_2::Model& model, V1_1::ExecutionPreference preference,
81 (const V1_3::Model& model, V1_1::ExecutionPreference preference,
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/4/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl37 android.hardware.neuralnetworks.ExecutionPreference preference;
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl37 android.hardware.neuralnetworks.ExecutionPreference preference;
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DPrepareModelConfig.aidl38 ExecutionPreference preference;
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateModel.cpp55 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()
[all …]
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DValidateModel.cpp59 const Model& model, ExecutionPreference preference, in validatePrepareModel() argument
66 device->prepareModel(model, preference, priority, kNoDeadline, {}, {}, kEmptyCacheToken, in validatePrepareModel()
82 ExecutionPreference preference, Priority priority) { in validatePrepareModelWithConfig() argument
88 model, {preference, priority, kNoDeadline, {}, {}, kEmptyCacheTokenArray, {}, {}}, in validatePrepareModelWithConfig()
102 static bool validExecutionPreference(ExecutionPreference preference) { in validExecutionPreference() argument
103 return preference == ExecutionPreference::LOW_POWER || in validExecutionPreference()
104 preference == ExecutionPreference::FAST_SINGLE_ANSWER || in validExecutionPreference()
105 preference == ExecutionPreference::SUSTAINED_SPEED; in validExecutionPreference()
119 ExecutionPreference preference = ExecutionPreference::FAST_SINGLE_ANSWER; in validate() local
121 mutate(&model, &preference, &priority); in validate()
[all …]
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DMockDevice.h53 (const V1_1::Model& model, V1_1::ExecutionPreference preference,
67 (const V1_2::Model& model, V1_1::ExecutionPreference preference,
/hardware/interfaces/wifi/supplicant/1.3/
DISupplicantStaIfaceCallback.hal83 * MBO cellular data connection preference value included.
106 * MBO spec v1.2, 4.2.5 Table 16: MBO Cellular Data connection preference
107 * attribute values. AP use this to indicate STA, its preference for the
144 * Cellular Data Connection preference value.
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DInvalidDevice.cpp125 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadline, in prepareModel() argument
137 if (const auto result = utils::validate(preference); !result.ok()) { in prepareModel()
191 return prepareModel(model, config.preference, config.priority, config.deadlineNs, in prepareModelWithConfig()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DValidateModel.cpp55 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()
[all …]
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp163 ExecutionPreference preference, Priority priority, int64_t deadlineNs, in prepareModel() argument
174 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel()
285 ndk::ScopedAStatus Device::prepareModel(const Model& model, ExecutionPreference preference, in prepareModel() argument
292 adapter::prepareModel(kDevice, kExecutor, model, preference, priority, deadlineNs, in prepareModel()
324 kDevice, kExecutor, model, config.preference, config.priority, config.deadlineNs, in prepareModelWithConfig()
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h66 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
85 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/hardware/interfaces/neuralnetworks/1.3/vts/functional/
DValidateModel.cpp56 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()
[all …]
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp144 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority /*priority*/, in prepareModel() argument
155 const auto hidlPreference = NN_TRY(convert(preference)); in prepareModel()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/3/android/hardware/neuralnetworks/
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h40 (const Model& model, ExecutionPreference preference, Priority priority,
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/2/android/hardware/neuralnetworks/
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DMockDevice.h50 (const V1_1::Model& model, V1_1::ExecutionPreference preference,

123