Home
last modified time | relevance | path

Searched refs:HalType (Results 1 – 4 of 4) sorted by relevance

/aosp12/frameworks/native/cmds/lshal/
H A DListCommand.cpp225 Table* ListCommand::tableForType(HalType type) { in tableForType()
227 case HalType::BINDERIZED_SERVICES: in tableForType()
229 case HalType::PASSTHROUGH_CLIENTS: in tableForType()
231 case HalType::PASSTHROUGH_LIBRARIES: in tableForType()
233 case HalType::VINTF_MANIFEST: in tableForType()
235 case HalType::LAZY_HALS: in tableForType()
552 putEntry(HalType::PASSTHROUGH_CLIENTS, { in fetchPassthrough()
821 static const std::map<HalType, std::set<HalType>> kDependencyGraph{ in initFetchTypes()
822 {HalType::LAZY_HALS, {HalType::BINDERIZED_SERVICES, in initFetchTypes()
827 for (HalType listType : mListTypes) { in initFetchTypes()
[all …]
H A DListCommand.h44 enum class HalType { enum
95 void putEntry(HalType type, TableEntry &&entry);
139 Table* tableForType(HalType type);
140 const Table* tableForType(HalType type) const;
152 bool shouldFetchHalType(const HalType &type) const;
179 std::vector<HalType> mListTypes{};
181 std::set<HalType> mFetchTypes{};
H A Dtest.cpp847 using HalTypeBase = std::underlying_type_t<HalType>; in TEST_F()
848 for (HalTypeBase i = 0; i < static_cast<HalTypeBase>(HalType::LAST); ++i) { in TEST_F()
853 std::to_string(static_cast<HalTypeBase>(HalType::LAST)) + "]"))); in TEST_F()
/aosp12/packages/modules/NeuralNetworks/common/
H A DLegacyHalUtils.cpp1548 template <typename CanonicalType, typename HalType>
1549 static std::vector<CanonicalType> convertVec(const hardware::hidl_vec<HalType>& items) { in convertVec()
1553 [](const HalType& item) { return uncheckedConvert(item); }); in convertVec()
1680 template <typename HalType, typename CanonicalType>
1681 static hardware::hidl_vec<HalType> convertVecToV1_0(const std::vector<CanonicalType>& items) { in convertVecToV1_0()
1682 hardware::hidl_vec<HalType> result(items.size()); in convertVecToV1_0()
1688 template <typename HalType, typename CanonicalType>
1689 static hardware::hidl_vec<HalType> convertVecToV1_2(const std::vector<CanonicalType>& items) { in convertVecToV1_2()
1690 hardware::hidl_vec<HalType> result(items.size()); in convertVecToV1_2()
1696 template <typename HalType, typename CanonicalType>
[all …]