/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 180 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/ |
D | Device.h | 65 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/ |
D | QCameraMjpegDecode.cpp | 82 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/ |
D | Device.cpp | 153 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/ |
D | MockDevice.h | 53 (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/ |
D | ValidateModel.cpp | 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() [all …]
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | MockDevice.h | 53 (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/ |
D | ISupplicantStaIfaceCallback.hal | 83 * 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/ |
D | ResilientDevice.h | 66 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, 84 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
D | InvalidDevice.h | 53 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | ValidateModel.cpp | 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() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | ValidateModel.cpp | 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() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 40 (const Model& model, ExecutionPreference preference, Priority priority,
|
/hardware/interfaces/neuralnetworks/1.1/utils/src/ |
D | Device.cpp | 144 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/ |
D | IDevice.aidl | 44 …ks.Model model, in android.hardware.neuralnetworks.ExecutionPreference preference, in android.hard… in prepareModel() argument
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 346 void prepareModel(in Model model, in ExecutionPreference preference, in Priority priority, in prepareModel() argument
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | InvalidDevice.cpp | 125 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/ |
D | MockDevice.h | 50 (const V1_1::Model& model, V1_1::ExecutionPreference preference,
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 47 (const Model& model, ExecutionPreference preference, Priority priority,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 51 const Model& model, ExecutionPreference preference, Priority priority, int64_t deadline,
|
D | Device.h | 67 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 65 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 65 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 67 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 188 const nn::Model& model, nn::ExecutionPreference preference, nn::Priority priority, in prepareModel() argument 197 const auto hidlPreference = NN_TRY(convert(preference)); in prepareModel()
|