Home
last modified time | relevance | path

Searched refs:ClaimHandle (Results 1 – 3 of 3) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/tests/
Dvalidation_context_unittest.cc49 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()
50 EXPECT_FALSE(context.ClaimHandle( in TEST()
53 EXPECT_TRUE(context.ClaimHandle( in TEST()
137 TEST(ValidationContextTest, ClaimHandle) { in TEST() argument
142 EXPECT_TRUE(context.ClaimHandle(Handle_Data(0))); in TEST()
143 EXPECT_FALSE(context.ClaimHandle(Handle_Data(0))); in TEST()
145 EXPECT_TRUE(context.ClaimHandle(Handle_Data(9))); in TEST()
146 EXPECT_FALSE(context.ClaimHandle(Handle_Data(10))); in TEST()
150 EXPECT_FALSE(context.ClaimHandle(Handle_Data(8))); in TEST()
153 EXPECT_TRUE(context.ClaimHandle( in TEST()
[all …]
/external/libchrome/mojo/public/cpp/bindings/lib/
Dvalidation_util.cc204 if (validation_context->ClaimHandle(input.handle)) in ValidateHandleOrInterface()
213 if (validation_context->ClaimHandle(input)) in ValidateHandleOrInterface()
Dvalidation_context.h69 bool ClaimHandle(const Handle_Data& encoded_handle) { in COMPONENT_EXPORT()