Home
last modified time | relevance | path

Searched refs:IfAnyOf (Results 1 – 8 of 8) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dvariant_tests.cpp940 TEST(Variant, IfAnyOf) { in TEST() argument
946 EXPECT_TRUE(IfAnyOf<int>::Get(&v, &b)); in TEST()
950 EXPECT_TRUE((IfAnyOf<int, float>::Get(&v, &f))); in TEST()
959 EXPECT_TRUE(IfAnyOf<int>::Get(&v, &b)); in TEST()
963 EXPECT_TRUE((IfAnyOf<int, float>::Get(&v, &f))); in TEST()
972 EXPECT_TRUE(IfAnyOf<int>::Call(&v, [&b](const auto& value) { b = value; })); in TEST()
977 IfAnyOf<int, float>::Call(&v, [&f](const auto& value) { f = value; }))); in TEST()
988 EXPECT_TRUE(IfAnyOf<std::unique_ptr<int>>::Take(&v, &u)); in TEST()
1003 EXPECT_TRUE(IfAnyOf<std::unique_ptr<DerivedType>>::Take(&v, &u)); in TEST()
1016 EXPECT_TRUE(IfAnyOf<std::unique_ptr<int>>::Call( in TEST()
[all …]
/frameworks/native/libs/vr/libdisplay/
Ddisplay_client.cpp18 using android::pdx::rpc::IfAnyOf;
88 !IfAnyOf<int32_t, int64_t, bool>::Get(variant, &visible_); in SetAttributes()
91 invalid_value = !IfAnyOf<int32_t>::Get(variant, &z_order_); in SetAttributes()
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.cpp22 using android::pdx::rpc::IfAnyOf;
77 invalid_value = !IfAnyOf<int32_t, int64_t, float>::Call( in OnSetAttributes()
86 invalid_value = !IfAnyOf<int32_t, int64_t, bool>::Call( in OnSetAttributes()
456 if (!IfAnyOf<int32_t, int64_t, bool, float>::Get(&search->second, in Create()
Dhardware_composer.h133 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetSurfaceId()
142 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetBufferId()
Ddisplay_manager_service.cpp19 using android::pdx::rpc::IfAnyOf;
Dhardware_composer.cpp40 using android::pdx::rpc::IfAnyOf;
1465 IfAnyOf<SourceSurface, SourceBuffer>::Call(&source_, [&](auto& source) { in Prepare()
1532 IfAnyOf<SourceSurface, SourceBuffer>::Call( in Finish()
/frameworks/native/libs/vr/libdisplay/include/private/dvr/
Ddisplay_protocol.h173 return pdx::rpc::IfAnyOf<Types...>::Get(&search->second, out_value); in GetAttribute()
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/
Dvariant.h658 struct IfAnyOf {