Searched refs:IfAnyOf (Results 1 – 8 of 8) sorted by relevance
/frameworks/native/libs/vr/libpdx/ |
D | variant_tests.cpp | 940 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/ |
D | display_client.cpp | 18 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/ |
D | display_surface.cpp | 22 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()
|
D | hardware_composer.h | 133 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetSurfaceId() 142 pdx::rpc::IfAnyOf<SourceSurface>::Call( in GetBufferId()
|
D | display_manager_service.cpp | 19 using android::pdx::rpc::IfAnyOf;
|
D | hardware_composer.cpp | 40 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/ |
D | display_protocol.h | 173 return pdx::rpc::IfAnyOf<Types...>::Get(&search->second, out_value); in GetAttribute()
|
/frameworks/native/libs/vr/libpdx/private/pdx/rpc/ |
D | variant.h | 658 struct IfAnyOf {
|