Home
last modified time | relevance | path

Searched refs:CacheToken (Results 1 – 25 of 26) sorted by relevance

12

/hardware/interfaces/neuralnetworks/utils/adapter/hidl/include/nnapi/hal/
DDevice.h39 using CacheToken = hidl_array<uint8_t, nn::kByteSizeOfCacheToken>; variable
70 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) override;
74 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
78 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) override;
81 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
/hardware/interfaces/neuralnetworks/1.3/utils/test/
DMockDevice.h27 using CacheToken = variable
69 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
73 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
84 const CacheToken& token, const sp<V1_3::IPreparedModelCallback>& callback),
88 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token,
DDeviceTest.cpp124 const CacheToken& /*token*/, const sp<V1_3::IPreparedModelCallback>& cb) in makePreparedModelReturn()
137 const CacheToken& /*token*/, const sp<V1_3::IPreparedModelCallback>& cb) in makePreparedModelFromCacheReturn() argument
/hardware/interfaces/neuralnetworks/utils/common/include/nnapi/hal/
DResilientDevice.h68 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
75 const nn::CacheToken& token) const override;
87 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
92 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const;
DInvalidDevice.h55 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
62 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/1.2/utils/test/
DMockDevice.h27 using CacheToken = variable
69 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
73 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback),
DDeviceTest.cpp116 const CacheToken& /*token*/, const sp<V1_2::IPreparedModelCallback>& cb) in makePreparedModelReturn()
128 const CacheToken& /*token*/, const sp<V1_2::IPreparedModelCallback>& cb) in makePreparedModelFromCacheReturn() argument
/hardware/interfaces/neuralnetworks/utils/common/test/
DMockDevice.h42 const std::vector<SharedHandle>& dataCache, const CacheToken& token,
48 const std::vector<SharedHandle>& dataCache, const CacheToken& token),
/hardware/interfaces/neuralnetworks/utils/adapter/hidl/src/
DDevice.cpp172 const CacheToken& token, in prepareModel_1_2()
182 const auto nnToken = nn::CacheToken(token); in prepareModel_1_2()
200 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3()
212 const auto nnToken = nn::CacheToken(token); in prepareModel_1_3()
230 const CacheToken& token, in prepareModelFromCache()
238 const auto nnToken = nn::CacheToken(token); in prepareModelFromCache()
253 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModelFromCache_1_3()
262 const auto nnToken = nn::CacheToken(token); in prepareModelFromCache_1_3()
467 const CacheToken& token, const sp<V1_2::IPreparedModelCallback>& callback) { in prepareModel_1_2()
482 const hidl_vec<hidl_handle>& dataCache, const CacheToken& token, in prepareModel_1_3()
[all …]
/hardware/interfaces/neuralnetworks/utils/common/src/
DInvalidDevice.cpp87 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/, in prepareModel() argument
95 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
DResilientDevice.cpp182 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token, in prepareModel()
202 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
239 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token, in prepareModelInternal()
255 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCacheInternal()
/hardware/interfaces/neuralnetworks/1.3/utils/src/
DDevice.cpp190 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token, in prepareModel()
204 const auto hidlToken = V1_2::utils::CacheToken{token}; in prepareModel()
220 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
224 const auto hidlToken = V1_2::utils::CacheToken{token}; in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.1/utils/include/nnapi/hal/1.1/
DDevice.h67 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
74 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/1.0/utils/include/nnapi/hal/1.0/
DDevice.h68 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
75 const nn::CacheToken& token) const override;
/hardware/interfaces/neuralnetworks/1.3/utils/include/nnapi/hal/1.3/
DDevice.h69 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
76 const nn::CacheToken& token) const override;
DUtils.h37 using V1_2::utils::CacheToken;
/hardware/interfaces/neuralnetworks/1.2/utils/src/
DDevice.cpp239 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token, in prepareModel()
251 const auto hidlToken = CacheToken{token}; in prepareModel()
266 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
269 const auto hidlToken = CacheToken{token}; in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/utils/include/nnapi/hal/aidl/
DDevice.h71 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
78 const nn::CacheToken& token) const override;
DConversions.h150 nn::GeneralResult<std::vector<uint8_t>> unvalidatedConvert(const nn::CacheToken& cacheToken);
190 nn::GeneralResult<std::vector<uint8_t>> convert(const nn::CacheToken& cacheToken);
/hardware/interfaces/neuralnetworks/1.2/utils/include/nnapi/hal/1.2/
DDevice.h86 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token,
93 const nn::CacheToken& token) const override;
DUtils.h36 using CacheToken = hidl_array<uint8_t, static_cast<size_t>(Constant::BYTE_SIZE_OF_CACHE_TOKEN)>; variable
/hardware/interfaces/neuralnetworks/1.1/utils/src/
DDevice.cpp146 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/, in prepareModel() argument
169 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/1.0/utils/src/
DDevice.cpp146 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/, in prepareModel() argument
168 const std::vector<nn::SharedHandle>& /*dataCache*/, const nn::CacheToken& /*token*/) const { in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/aidl/utils/src/
DDevice.cpp218 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token, in prepareModel()
257 const std::vector<nn::SharedHandle>& dataCache, const nn::CacheToken& token) const { in prepareModelFromCache()
/hardware/interfaces/neuralnetworks/utils/adapter/aidl/src/
DDevice.cpp73 nn::GeneralResult<nn::CacheToken> convertCacheToken(const std::vector<uint8_t>& token) { in convertCacheToken()
74 nn::CacheToken nnToken; in convertCacheToken()

12