Searched refs:numberOfCacheFiles (Results 1 – 4 of 4) sorted by relevance
103 NumberOfCacheFiles numberOfCacheFiles; in getNumberOfCacheFilesNeededFrom() local104 const auto ret = device->getNumberOfCacheFilesNeeded(&numberOfCacheFiles); in getNumberOfCacheFilesNeededFrom()107 if (numberOfCacheFiles.numDataCache < 0 || numberOfCacheFiles.numModelCache < 0) { in getNumberOfCacheFilesNeededFrom()110 if (static_cast<uint32_t>(numberOfCacheFiles.numModelCache) > nn::kMaxNumberOfCacheFiles) { in getNumberOfCacheFilesNeededFrom()113 << numberOfCacheFiles.numModelCache << " vs " 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()
59 constexpr auto numberOfCacheFiles = NumberOfCacheFiles{ in create()67 return ndk::SharedRefBase::make<InvalidDevice>(std::move(capabilities), numberOfCacheFiles, in create()73 const NumberOfCacheFiles& numberOfCacheFiles, in InvalidDevice() argument77 kNumberOfCacheFiles(numberOfCacheFiles), in InvalidDevice()95 NumberOfCacheFiles* numberOfCacheFiles) { in getNumberOfCacheFilesNeeded() argument96 *numberOfCacheFiles = kNumberOfCacheFiles; in getNumberOfCacheFilesNeeded()
34 InvalidDevice(Capabilities capabilities, const NumberOfCacheFiles& numberOfCacheFiles,44 ndk::ScopedAStatus getNumberOfCacheFilesNeeded(NumberOfCacheFiles* numberOfCacheFiles) override;
39 (NumberOfCacheFiles * numberOfCacheFiles), (override));