/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 318 void saveModelToCache(const Model& model, const hidl_vec<hidl_handle>& modelCache, in saveModelToCache() argument 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 365 void prepareModelFromCache(const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache() argument 372 modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 430 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local 431 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P() 433 saveModelToCache(model, modelCache, dataCache); in TEST_P() 440 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local 441 createCacheHandles(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P() 443 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 317 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in saveModelToCache() argument 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 369 void prepareModelFromCache(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModelFromCache() argument 378 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 394 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 417 void verifyModelPreparationBehaviour(const std::vector<ndk::ScopedFileDescriptor>& modelCache, in verifyModelPreparationBehaviour() argument 425 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour() 435 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status, in verifyModelPreparationBehaviour() 491 std::vector<ndk::ScopedFileDescriptor> modelCache, dataCache; in TEST_P() local 492 createCacheFds(mModelCache, AccessMode::READ_WRITE, &modelCache); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 181 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 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() 199 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelFromCache() argument 204 modelCache, dataCache, token] { in prepareModelFromCache() 205 return device->prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache() 209 return prepareModelFromCacheInternal(deadline, modelCache, dataCache, token); in prepareModelFromCache() 236 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelInternal() argument 241 const auto fn = [&model, preference, priority, &deadline, &modelCache, &dataCache, in prepareModelInternal() [all …]
|
/hardware/interfaces/neuralnetworks/utils/adapter/include/nnapi/hal/ |
D | Device.h | 69 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 73 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, 77 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 80 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 67 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 72 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 85 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 88 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
D | InvalidDevice.h | 54 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 59 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 176 const hidl_vec<hidl_handle>& modelCache, in prepareModel_1_2() argument 186 auto nnModelCache = NN_TRY(convertInput(modelCache)); in prepareModel_1_2() 206 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, in prepareModel_1_3() argument 217 auto nnModelCache = NN_TRY(convertInput(modelCache)); in prepareModel_1_3() 236 const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache() argument 244 auto nnModelCache = NN_TRY(convertInput(modelCache)); in prepareModelFromCache() 261 const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache, in prepareModelFromCache_1_3() argument 269 auto nnModelCache = NN_TRY(convertInput(modelCache)); in prepareModelFromCache_1_3() 476 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 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 | 68 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 72 (const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 83 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 87 (const V1_3::OptionalTimePoint& deadline, const hidl_vec<hidl_handle>& modelCache,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 41 OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache, 45 (OptionalTimePoint deadline, const std::vector<SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 44 …works.Priority priority, in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFileDe… in prepareModel() argument 45 …void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in ParcelFile… in prepareModelFromCache() argument
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 347 in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModel() argument 429 void prepareModelFromCache(in long deadlineNs, in ParcelFileDescriptor[] modelCache, in prepareModelFromCache() argument
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 48 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache, 54 (int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 52 const std::vector<ndk::ScopedFileDescriptor>& modelCache, 57 int64_t deadline, const std::vector<ndk::ScopedFileDescriptor>& modelCache,
|
D | Device.h | 68 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 73 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 66 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 71 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 66 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 71 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 68 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 73 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 189 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModel() argument 200 const auto hidlModelCache = NN_TRY(convert(modelCache)); in prepareModel() 217 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelFromCache() argument 220 const auto hidlModelCache = NN_TRY(convert(modelCache)); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | InvalidDevice.cpp | 126 const std::vector<ndk::ScopedFileDescriptor>& modelCache, in prepareModel() argument 150 if (modelCache.size() != static_cast<size_t>(kNumberOfCacheFiles.numModelCache)) { in prepareModel() 153 "Invalid modelCache, size = " + std::to_string(modelCache.size())); in prepareModel()
|
D | Device.cpp | 216 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModel() argument 227 const auto aidlModelCache = NN_TRY(convert(modelCache)); in prepareModel() 242 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, in prepareModelFromCache() argument 245 const auto aidlModelCache = NN_TRY(convert(modelCache)); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/1.2/utils/test/ |
D | MockDevice.h | 68 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 72 (const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 238 nn::OptionalTimePoint /*deadline*/, const std::vector<nn::SharedHandle>& modelCache, in prepareModel() argument 247 const auto hidlModelCache = NN_TRY(convert(modelCache)); in prepareModel() 263 nn::OptionalTimePoint /*deadline*/, const std::vector<nn::SharedHandle>& modelCache, in prepareModelFromCache() argument 265 const auto hidlModelCache = NN_TRY(convert(modelCache)); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 85 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache, 90 nn::OptionalTimePoint deadline, const std::vector<nn::SharedHandle>& modelCache,
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IDevice.hal | 234 * @param modelCache A vector of handles with each entry holding exactly one 252 * output values. If both modelCache and dataCache are empty indicating that 267 vec<handle> modelCache, vec<handle> dataCache, 320 * @param modelCache A vector of handles with each entry holding exactly one 346 prepareModelFromCache(vec<handle> modelCache, vec<handle> dataCache,
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 169 * @param modelCache A vector of handles with each entry holding exactly one 190 * modelCache and dataCache are empty indicating that caching 209 vec<handle> modelCache, vec<handle> dataCache, 281 * @param modelCache A vector of handles with each entry holding exactly one 311 vec<handle> modelCache, vec<handle> dataCache,
|