Home
last modified time | relevance | path

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

12

/hardware/interfaces/neuralnetworks/utils/common/src/
DResilientDevice.cpp180 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModel() argument
186 preference, priority, deadline, modelCache, in prepareModel()
188 return device->prepareModelInternal(model, preference, priority, deadline, modelCache, in prepareModel()
193 return prepareModelInternal(model, preference, priority, deadline, modelCache, dataCache, in prepareModel()
235 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModelInternal() argument
241 const auto fn = [&model, preference, priority, &deadline, &modelCache, &dataCache, in prepareModelInternal()
243 return device.prepareModel(model, preference, priority, deadline, modelCache, dataCache, in prepareModelInternal()
/hardware/interfaces/neuralnetworks/utils/adapter/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/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/utils/adapter/src/
DDevice.cpp153 V1_1::ExecutionPreference preference, in prepareModel_1_1() argument
160 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_1()
175 V1_1::ExecutionPreference preference, in prepareModel_1_2() argument
185 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_2()
205 V1_1::ExecutionPreference preference, V1_3::Priority priority, in prepareModel_1_3() argument
214 const auto nnPreference = NN_TRY(convertInput(preference)); in prepareModel_1_3()
462 const V1_1::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_1() argument
464 auto result = adapter::prepareModel_1_1(kDevice, kExecutor, model, preference, callback); in prepareModel_1_1()
475 const V1_2::Model& model, V1_1::ExecutionPreference preference, in prepareModel_1_2() argument
478 auto result = adapter::prepareModel_1_2(kDevice, kExecutor, model, preference, modelCache, in prepareModel_1_2()
[all …]
/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/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/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/utils/common/include/nnapi/hal/
DResilientDevice.h66 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
84 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
DInvalidDevice.h53 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/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/aidl/vts/functional/
DValidateModel.cpp59 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()
[all …]
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h40 (const Model& model, ExecutionPreference preference, Priority priority,
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp144 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority /*priority*/, in prepareModel() argument
153 const auto hidlPreference = NN_TRY(convert(preference)); in prepareModel()
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DIDevice.aidl44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/
DIDevice.aidl346 void prepareModel(in Model model, in ExecutionPreference preference, in Priority priority, in prepareModel() argument
/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()
/hardware/interfaces/neuralnetworks/1.1/utils/test/
DMockDevice.h50 (const V1_1::Model& model, V1_1::ExecutionPreference preference,
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DMockDevice.h47 (const Model& model, ExecutionPreference preference, Priority priority,
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DInvalidDevice.h51 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadline,
DDevice.h67 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h65 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h65 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h67 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp188 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModel() argument
197 const auto hidlPreference = NN_TRY(convert(preference)); in prepareModel()

12