Home
last modified time | relevance | path

Searched refs:enum_range (Results 1 – 22 of 22) sorted by relevance

/frameworks/native/services/memtrackproxy/test/
DMemtrackProxyTest.cpp47 for (MemtrackType type : ndk::enum_range<MemtrackType>()) { in TEST_F()
59 for (MemtrackType type : ndk::enum_range<MemtrackType>()) { in TEST_F()
71 for (MemtrackType type : ndk::enum_range<MemtrackType>()) { in TEST_F()
/frameworks/av/media/libaudiohal/impl/effectsAidlConversion/
DAidlConversionSpatializer.cpp132 if (mode < *ndk::enum_range<HeadTracking::ConnectionMode>().begin() || in setParameter()
133 mode > *ndk::enum_range<HeadTracking::ConnectionMode>().end()) { in setParameter()
183 for (const auto level : ::ndk::enum_range<Spatialization::Level>()) { in getParameter()
261 for (const auto mode : ::ndk::enum_range<Spatialization::Mode>()) { in getParameter()
282 for (const auto mode : ::ndk::enum_range<HeadTracking::ConnectionMode>()) { in getParameter()
/frameworks/native/libs/binder/include/binder/
DEnums.h37 struct enum_range { struct
/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_enums.h52 struct enum_range { struct
/frameworks/av/media/libeffects/lvm/wrapper/Reverb/aidl/
DReverbTypes.h81 ndk::enum_range<PresetReverb::Presets>().begin(),
82 ndk::enum_range<PresetReverb::Presets>().end()};
/frameworks/native/services/vibratorservice/benchmarks/
DVibratorHalControllerBenchmarks.cpp24 using ::android::enum_range;
391 for (const auto& effect : enum_range<Effect>()) { in DefaultArgs()
395 for (const auto& strength : enum_range<EffectStrength>()) { in DefaultArgs()
536 for (const auto& primitive : enum_range<CompositePrimitive>()) { in DefaultArgs()
/frameworks/av/media/audioaidlconversion/
DAidlConversionNdkCpp.cpp111 return convertEnum<NdkEnum>(::ndk::enum_range<NdkEnum>(), cpp); in cpp2ndk_Enum()
116 return convertEnum<CppEnum>(enum_range<CppEnum>(), ndk); in ndk2cpp_Enum()
/frameworks/native/include/powermanager/
DPowerHalWrapper.h184 *(ndk::enum_range<aidl::android::hardware::power::Boost>().end() - 1)) +
189 *(ndk::enum_range<aidl::android::hardware::power::Mode>().end() - 1)) +
/frameworks/hardware/interfaces/automotive/powerpolicy/aidl/vts/
DVtsAidlPowerPolicyTargetTest.cpp80 for (const auto componentId : ndk::enum_range<PowerComponent>()) { in TEST_P()
/frameworks/av/media/audioaidlconversion/include/media/
DAidlConversionUtil-impl.h346 constexpr ndk::enum_range<T> er{};
348 constexpr ::android::enum_range<T> er{};
/frameworks/native/services/inputflinger/tests/
DInputDeviceMetricsSource_test.cpp34 constexpr auto ALL_USAGE_SOURCES = ftl::enum_range<InputDeviceUsageSource>();
DInputReader_test.cpp8959 for (ui::Rotation orientation : ftl::enum_range<ui::Rotation>()) { in TEST_F()
8984 for (ui::Rotation orientation : ftl::enum_range<ui::Rotation>()) { in TEST_F()
/frameworks/base/native/android/
Dperformance_hint.cpp228 ndk::enum_range<hal::SessionHint>().end() - ndk::enum_range<hal::SessionHint>().begin(); in APerformanceHintSession()
/frameworks/native/cmds/idlcli/
Dutils.h70 template <typename T, typename R = ndk::enum_range<T>>
/frameworks/native/libs/ftl/
Denum_test.cpp118 for (E v : ftl::enum_range<E>()) { in TEST()
/frameworks/native/include/ftl/
Denum.h236 constexpr auto enum_range() {
/frameworks/av/media/libaudioclient/tests/
Daudio_aidl_legacy_conversion_tests.cpp838 for (auto flag : enum_range<AudioInputFlags>()) { in TEST()
850 for (auto flag : enum_range<AudioOutputFlags>()) { in TEST()
/frameworks/native/services/vibratorservice/
DVibratorHalWrapper.cpp330 constexpr auto primitiveRange = enum_range<CompositePrimitive>(); in getPrimitiveDurationsInternal()
/frameworks/native/libs/ui/
DGralloc5.cpp191 for (const auto bit : ndk::enum_range<BufferUsage>{}) { in getValidUsageBits()
DGralloc4.cpp86 for (const auto bit : ndk::enum_range<AidlBufferUsage>{}) { in getValidUsageBits41()
/frameworks/native/services/vibratorservice/test/
DVibratorHalWrapperAidlTest.cpp314 constexpr auto primitiveRange = enum_range<CompositePrimitive>(); in TEST_F()
/frameworks/native/services/surfaceflinger/Scheduler/
DScheduler.cpp847 for (Feature feature : ftl::enum_range<Feature>()) { in dump()