Home
last modified time | relevance | path

Searched refs:EnumType (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_enums.h44 template <typename EnumType, typename = std::enable_if_t<std::is_enum<EnumType>::value>>
45 constexpr invalid_type<EnumType> enum_values;
51 template <typename EnumType, typename = std::enable_if_t<std::is_enum<EnumType>::value>>
56 constexpr auto begin() const { return std::begin(internal::enum_values<EnumType>); } in begin()
60 constexpr auto end() const { return std::end(internal::enum_values<EnumType>); } in end()
/frameworks/native/libs/binder/include/binder/
DEnums.h30 template <typename EnumType, typename = std::enable_if_t<std::is_enum<EnumType>::value>>
31 constexpr invalid_type<EnumType> enum_values;
35 template <typename EnumType, typename = std::enable_if_t<std::is_enum<EnumType>::value>>
37 constexpr auto begin() const { return std::begin(internal::enum_values<EnumType>); } in begin()
38 constexpr auto end() const { return std::end(internal::enum_values<EnumType>); } in end()
/frameworks/native/services/surfaceflinger/CompositionEngine/include/compositionengine/impl/
DDumpHelpers.h44 template <typename EnumType>
45 void dumpVal(std::string& out, const char* name, const char* valueName, EnumType value) { in dumpVal()
46 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal()
49 template <typename EnumType>
50 void dumpVal(std::string& out, const char* name, const std::string& valueName, EnumType value) { in dumpVal()
51 dumpVal(out, name, valueName, static_cast<std::underlying_type_t<EnumType>>(value)); in dumpVal()
/frameworks/native/libs/vr/libvrflinger/
Dhwc_types.h100 template <typename EnumType>
104 using Base = Wrapper<EnumType>;
107 using BaseType = EnumType;
/frameworks/ml/nn/runtime/test/
DTestAssertions.cpp24 #define CHECK_TEST_ENUM(EnumType, enumValue) \ argument
25 static_assert(static_cast<int32_t>(EnumType::enumValue) == ANEURALNETWORKS_##enumValue)
/frameworks/native/services/sensorservice/
DSensorDevice.cpp65 template<typename EnumType>
66 constexpr typename std::underlying_type<EnumType>::type asBaseType(EnumType value) { in asBaseType()
67 return static_cast<typename std::underlying_type<EnumType>::type>(value); in asBaseType()