Home
last modified time | relevance | path

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

/frameworks/native/cmds/lshal/
DListCommand.cpp223 bool ListCommand::shouldFetchHalType(const HalType &type) const { in shouldFetchHalType()
227 Table* ListCommand::tableForType(HalType type) { in tableForType()
229 case HalType::BINDERIZED_SERVICES: in tableForType()
231 case HalType::PASSTHROUGH_CLIENTS: in tableForType()
233 case HalType::PASSTHROUGH_LIBRARIES: in tableForType()
235 case HalType::VINTF_MANIFEST: in tableForType()
237 case HalType::LAZY_HALS: in tableForType()
244 const Table* ListCommand::tableForType(HalType type) const { in tableForType()
516 void ListCommand::putEntry(HalType type, TableEntry &&entry) { in putEntry()
521 if (!shouldFetchHalType(HalType::PASSTHROUGH_LIBRARIES)) { return OK; } in fetchAllLibraries()
[all …]
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{};
Dtest.cpp871 using HalTypeBase = std::underlying_type_t<HalType>; in TEST_F()
872 for (HalTypeBase i = 0; i < static_cast<HalTypeBase>(HalType::LAST); ++i) { in TEST_F()
877 std::to_string(static_cast<HalTypeBase>(HalType::LAST)) + "]"))); in TEST_F()