Home
last modified time | relevance | path

Searched refs:getNumberOfCacheFilesNeeded (Results 1 – 17 of 17) sorted by relevance

/packages/modules/NeuralNetworks/driver/sample/
DLimitedSupportDevice.cpp77 std::pair<uint32_t, uint32_t> LimitedSupportDevice::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in android::nn::sample::LimitedSupportDevice
78 return kDevice->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
DCanonicalDevice.h48 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
DLimitedSupportDevice.h55 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override;
DCanonicalDevice.cpp130 std::pair<uint32_t, uint32_t> Device::getNumberOfCacheFilesNeeded() const { in getNumberOfCacheFilesNeeded() function in android::nn::sample::Device
DSampleDriver.h83 hardware::Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override;
DSampleDriver.cpp159 hardware::Return<void> SampleDriver::getNumberOfCacheFilesNeeded( in getNumberOfCacheFilesNeeded() function in android::nn::sample_driver::SampleDriver
/packages/modules/NeuralNetworks/runtime/
DManager.cpp96 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override { in getNumberOfCacheFilesNeeded() function in android::nn::DriverDevice
97 return kInterface->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
101 const auto [numModelCacheFiles, numDataCacheFiles] = getNumberOfCacheFilesNeeded(); in isCachingSupported()
427 auto cache = NN_TRY(getCacheHandles(cacheInfo, token, kInterface->getNumberOfCacheFilesNeeded(), in prepareModelFromCacheInternal()
452 getCacheHandles(cacheInfo, *maybeToken, kInterface->getNumberOfCacheFilesNeeded(), in prepareModel()
857 std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const override { in getNumberOfCacheFilesNeeded() function in android::nn::CpuDevice
DManager.h146 virtual std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const = 0;
DNeuralNetworks.cpp1716 std::tie(*numModelCacheFiles, *numDataCacheFiles) = d->getNumberOfCacheFilesNeeded(); in SL_ANeuralNetworksDevice_getNumberOfCacheFilesNeeded()
/packages/modules/NeuralNetworks/shim_and_sl/
DShimDevice.cpp135 NumberOfCacheFiles getNumberOfCacheFilesNeeded(const NnApiSupportLibrary* nnapi, in getNumberOfCacheFilesNeeded() function
188 mNumberOfCacheFiles(neuralnetworks::getNumberOfCacheFilesNeeded(mNnapi.get(), mDevice)), in ShimDevice()
466 ndk::ScopedAStatus ShimDevice::getNumberOfCacheFilesNeeded(NumberOfCacheFiles* numberOfCacheFiles) { in getNumberOfCacheFilesNeeded() function in aidl::android::hardware::neuralnetworks::ShimDevice
/packages/modules/NeuralNetworks/common/include/nnapi/
DIDevice.h145 virtual std::pair<uint32_t, uint32_t> getNumberOfCacheFilesNeeded() const = 0;
/packages/modules/NeuralNetworks/shim_and_sl/include/
DShimDevice.h48 ::ndk::ScopedAStatus getNumberOfCacheFilesNeeded(
/packages/modules/NeuralNetworks/driver/sample_aidl/
DSampleDriver.h73 ndk::ScopedAStatus getNumberOfCacheFilesNeeded(
DSampleDriver.cpp89 ndk::ScopedAStatus SampleDriver::getNumberOfCacheFilesNeeded( in getNumberOfCacheFilesNeeded() function in android::nn::sample_driver::SampleDriver
/packages/modules/NeuralNetworks/runtime/test/
DTestExecution.cpp516 hardware::Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb _hidl_cb) { in getNumberOfCacheFilesNeeded() function in android::__anonefbd81f60111::TestDriver12
517 return mLatestDriver->getNumberOfCacheFilesNeeded(_hidl_cb); in getNumberOfCacheFilesNeeded()
DTestCompilationCaching.cpp187 hardware::Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override { in getNumberOfCacheFilesNeeded() function in __anone2f2eb4e0111::CachingDriver
DTestPartitioning.cpp407 hardware::Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb cb) override { in getNumberOfCacheFilesNeeded() function in __anon27781e9a0111::PartitioningDriver
506 hardware::Return<void> getNumberOfCacheFilesNeeded(getNumberOfCacheFilesNeeded_cb _hidl_cb) { in getNumberOfCacheFilesNeeded() function in __anon27781e9a0111::PartitioningDriverV1_2
507 return mLatestDriver->getNumberOfCacheFilesNeeded(_hidl_cb); in getNumberOfCacheFilesNeeded()