Searched refs:EnumType (Results 1 – 6 of 6) sorted by relevance
/frameworks/native/libs/binder/ndk/include_cpp/android/ |
D | binder_enums.h | 44 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/ |
D | Enums.h | 30 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/ |
D | DumpHelpers.h | 44 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/ |
D | hwc_types.h | 100 template <typename EnumType> 104 using Base = Wrapper<EnumType>; 107 using BaseType = EnumType;
|
/frameworks/ml/nn/runtime/test/ |
D | TestAssertions.cpp | 24 #define CHECK_TEST_ENUM(EnumType, enumValue) \ argument 25 static_assert(static_cast<int32_t>(EnumType::enumValue) == ANEURALNETWORKS_##enumValue)
|
/frameworks/native/services/sensorservice/ |
D | SensorDevice.cpp | 65 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()
|