/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | CompilationCachingTests.cpp | 319 const hidl_vec<hidl_handle>& dataCache, in saveModelToCache() argument 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 366 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument 372 modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 430 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local 432 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P() 433 saveModelToCache(model, modelCache, dataCache); in TEST_P() 440 hidl_vec<hidl_handle> modelCache, dataCache; in TEST_P() local 442 createCacheHandles(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P() 443 prepareModelFromCache(modelCache, dataCache, &preparedModel, &status); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 318 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in saveModelToCache() argument 328 modelCache, dataCache, cacheToken, preparedModelCallback); in saveModelToCache() 370 const std::vector<ndk::ScopedFileDescriptor>& dataCache, in prepareModelFromCache() argument 378 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 394 kNoDeadline, modelCache, dataCache, cacheToken, preparedModelCallback); in prepareModelFromCache() 418 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 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 493 createCacheFds(mDataCache, AccessMode::READ_WRITE, &dataCache); in TEST_P() [all …]
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | ResilientDevice.cpp | 182 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel() argument 187 dataCache, token] { in prepareModel() 189 dataCache, token); in prepareModel() 193 return prepareModelInternal(model, preference, priority, deadline, modelCache, dataCache, in prepareModel() 200 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { 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() 237 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { 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, 74 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, 77 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, 81 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
|
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/ |
D | ResilientDevice.h | 68 const std::vector<nn::SharedHandle>& dataCache, 73 const std::vector<nn::SharedHandle>& dataCache, 86 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const; 89 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const;
|
D | InvalidDevice.h | 55 const std::vector<nn::SharedHandle>& dataCache, 60 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/utils/adapter/src/ |
D | Device.cpp | 177 const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 187 auto nnDataCache = NN_TRY(convertInput(dataCache)); in prepareModel_1_2() 207 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3() argument 218 auto nnDataCache = NN_TRY(convertInput(dataCache)); in prepareModel_1_3() 237 const hidl_vec<hidl_handle>& dataCache, in prepareModelFromCache() argument 245 auto nnDataCache = NN_TRY(convertInput(dataCache)); in prepareModelFromCache() 262 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModelFromCache_1_3() argument 270 auto nnDataCache = NN_TRY(convertInput(dataCache)); in prepareModelFromCache_1_3() 476 const hidl_vec<hidl_handle>& modelCache, const hidl_vec<hidl_handle>& dataCache, in prepareModel_1_2() argument 479 dataCache, token, callback); 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, 88 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
|
/hardware/interfaces/neuralnetworks/utils/common/test/ |
D | MockDevice.h | 42 const std::vector<SharedHandle>& dataCache, const CacheToken& token), 46 const std::vector<SharedHandle>& dataCache, const CacheToken& token),
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 44 …lineNs, in ParcelFileDescriptor[] modelCache, in ParcelFileDescriptor[] dataCache, in byte[] token… in prepareModel() argument 45 …lineNs, in ParcelFileDescriptor[] modelCache, in ParcelFileDescriptor[] dataCache, in byte[] token… in prepareModelFromCache() argument
|
/hardware/interfaces/neuralnetworks/aidl/android/hardware/neuralnetworks/ |
D | IDevice.aidl | 348 in ParcelFileDescriptor[] dataCache, in byte[] token, in prepareModel() argument 430 in ParcelFileDescriptor[] dataCache, in byte[] token, in prepareModelFromCache() argument
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | MockDevice.h | 49 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 55 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/ |
D | InvalidDevice.h | 53 const std::vector<ndk::ScopedFileDescriptor>& dataCache, 58 const std::vector<ndk::ScopedFileDescriptor>& dataCache,
|
D | Device.h | 69 const std::vector<nn::SharedHandle>& dataCache, 74 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/ |
D | Device.h | 67 const std::vector<nn::SharedHandle>& dataCache, 72 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/ |
D | Device.h | 67 const std::vector<nn::SharedHandle>& dataCache, 72 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/ |
D | Device.h | 69 const std::vector<nn::SharedHandle>& dataCache, 74 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.3/utils/src/ |
D | Device.cpp | 190 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel() argument 201 const auto hidlDataCache = NN_TRY(convert(dataCache)); in prepareModel() 218 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache() argument 221 const auto hidlDataCache = NN_TRY(convert(dataCache)); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/aidl/utils/src/ |
D | InvalidDevice.cpp | 127 const std::vector<ndk::ScopedFileDescriptor>& dataCache, const std::vector<uint8_t>& token, in prepareModel() argument 155 if (dataCache.size() != static_cast<size_t>(kNumberOfCacheFiles.numDataCache)) { in prepareModel() 158 "Invalid modelCache, size = " + std::to_string(dataCache.size())); in prepareModel()
|
D | Device.cpp | 217 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel() argument 228 const auto aidlDataCache = NN_TRY(convert(dataCache)); in prepareModel() 243 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache() argument 246 const auto aidlDataCache = NN_TRY(convert(dataCache)); 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 | 239 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModel() argument 248 const auto hidlDataCache = NN_TRY(convert(dataCache)); in prepareModel() 264 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache() argument 266 const auto hidlDataCache = NN_TRY(convert(dataCache)); in prepareModelFromCache()
|
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/ |
D | Device.h | 86 const std::vector<nn::SharedHandle>& dataCache, 91 const std::vector<nn::SharedHandle>& dataCache,
|
/hardware/interfaces/neuralnetworks/1.2/ |
D | IDevice.hal | 240 * @param dataCache 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, 324 * @param dataCache 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 | 176 * @param dataCache 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, 285 * @param dataCache A vector of handles with each entry holding exactly one 311 vec<handle> modelCache, vec<handle> dataCache,
|