Home
last modified time | relevance | path

Searched refs:numDataCache (Results 1 – 12 of 12) sorted by relevance

/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/
DNumberOfCacheFiles.aidl38 int numDataCache;
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/
DNumberOfCacheFiles.aidl38 int numDataCache;
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp75 V1_0::ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in numberOfCacheFilesNeededCallback() argument
82 if (numDataCache > nn::kMaxNumberOfCacheFiles) { in numberOfCacheFilesNeededCallback()
85 << numDataCache << " vs " << nn::kMaxNumberOfCacheFiles << ")"; in numberOfCacheFilesNeededCallback()
87 return std::make_pair(numModelCache, numDataCache); in numberOfCacheFilesNeededCallback()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp107 if (numberOfCacheFiles.numDataCache < 0 || numberOfCacheFiles.numModelCache < 0) { in getNumberOfCacheFilesNeededFrom()
116 if (static_cast<uint32_t>(numberOfCacheFiles.numDataCache) > nn::kMaxNumberOfCacheFiles) { in getNumberOfCacheFilesNeededFrom()
119 << numberOfCacheFiles.numDataCache << " vs " << nn::kMaxNumberOfCacheFiles in getNumberOfCacheFilesNeededFrom()
122 return std::make_pair(numberOfCacheFiles.numModelCache, numberOfCacheFiles.numDataCache); in getNumberOfCacheFilesNeededFrom()
DInvalidDevice.cpp61 .numDataCache = 0, in create()
155 if (dataCache.size() != static_cast<size_t>(kNumberOfCacheFiles.numDataCache)) { in prepareModel()
/hardware/interfaces/neuralnetworks/1.2/vts/functional/
DBasicTests.cpp122 [](ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in TEST_P() argument
126 EXPECT_LE(numDataCache, static_cast<uint32_t>(Constant::MAX_NUMBER_OF_CACHE_FILES)); in TEST_P()
DCompilationCachingTests.cpp240 [this](ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in SetUp() argument
243 mNumDataCache = numDataCache; in SetUp()
/hardware/interfaces/neuralnetworks/aidl/utils/test/
DDeviceTest.cpp62 .numDataCache = nn::kMaxNumberOfCacheFiles};
314 kNumberOfCacheFiles.numModelCache, kNumberOfCacheFiles.numDataCache); in TEST()
340 .numDataCache = nn::kMaxNumberOfCacheFiles}), in TEST()
358 .numDataCache = nn::kMaxNumberOfCacheFiles + 1}), in TEST()
/hardware/interfaces/neuralnetworks/1.2/
DIDevice.hal160 * @return numDataCache An unsigned integer indicating how many files for data cache
165 generates (ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache);
243 * or match the numDataCache returned from getNumberOfCacheFilesNeeded. The cache
326 * must match the numDataCache returned from getNumberOfCacheFilesNeeded.
/hardware/interfaces/neuralnetworks/utils/adapter/src/
DDevice.cpp444 const auto [numModelCache, numDataCache] = kDevice->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded()
445 cb(V1_0::ErrorStatus::NONE, numModelCache, numDataCache); in getNumberOfCacheFilesNeeded()
/hardware/interfaces/neuralnetworks/1.3/
DIDevice.hal179 * provided, or match the numDataCache returned from
287 * must match the numDataCache returned from getNumberOfCacheFilesNeeded.
/hardware/interfaces/neuralnetworks/aidl/vts/functional/
DCompilationCachingTests.cpp243 mNumDataCache = numCacheFiles.numDataCache; in SetUp()