Searched refs:numDataCache (Results 1 – 12 of 12) sorted by relevance
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/1/android/hardware/neuralnetworks/ |
D | NumberOfCacheFiles.aidl | 38 int numDataCache;
|
/hardware/interfaces/neuralnetworks/aidl/aidl_api/android.hardware.neuralnetworks/current/android/hardware/neuralnetworks/ |
D | NumberOfCacheFiles.aidl | 38 int numDataCache;
|
/hardware/interfaces/neuralnetworks/1.2/utils/src/ |
D | Device.cpp | 75 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/ |
D | Device.cpp | 107 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()
|
D | InvalidDevice.cpp | 61 .numDataCache = 0, in create() 155 if (dataCache.size() != static_cast<size_t>(kNumberOfCacheFiles.numDataCache)) { in prepareModel()
|
/hardware/interfaces/neuralnetworks/1.2/vts/functional/ |
D | BasicTests.cpp | 122 [](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()
|
D | CompilationCachingTests.cpp | 240 [this](ErrorStatus status, uint32_t numModelCache, uint32_t numDataCache) { in SetUp() argument 243 mNumDataCache = numDataCache; in SetUp()
|
/hardware/interfaces/neuralnetworks/aidl/utils/test/ |
D | DeviceTest.cpp | 62 .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/ |
D | IDevice.hal | 160 * @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/ |
D | Device.cpp | 444 const auto [numModelCache, numDataCache] = kDevice->getNumberOfCacheFilesNeeded(); in getNumberOfCacheFilesNeeded() 445 cb(V1_0::ErrorStatus::NONE, numModelCache, numDataCache); in getNumberOfCacheFilesNeeded()
|
/hardware/interfaces/neuralnetworks/1.3/ |
D | IDevice.hal | 179 * provided, or match the numDataCache returned from 287 * must match the numDataCache returned from getNumberOfCacheFilesNeeded.
|
/hardware/interfaces/neuralnetworks/aidl/vts/functional/ |
D | CompilationCachingTests.cpp | 243 mNumDataCache = numCacheFiles.numDataCache; in SetUp()
|