Home
last modified time | relevance | path

Searched refs:MakeRequest (Results 1 – 25 of 38) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/tests/
Dbinding_set_unittest.cc111 bindings.AddBinding(&impl, MakeRequest(&ping_a), 1); in TEST_P()
112 bindings.AddBinding(&impl, MakeRequest(&ping_b), 2); in TEST_P()
152 BindingId id_a = bindings.AddBinding(&impl, MakeRequest(&ping_a), 1); in TEST_P()
153 BindingId id_b = bindings.AddBinding(&impl, MakeRequest(&ping_b), 2); in TEST_P()
192 bindings.AddBinding(&impl, MakeRequest(&ptr)); in TEST_P()
218 bindings.AddBinding(&impl, MakeRequest(&ping_a), 1); in TEST_P()
219 bindings.AddBinding(&impl, MakeRequest(&ping_b), 2); in TEST_P()
255 bindings.AddBinding(&impl, MakeRequest(&ping_a), 1); in TEST_P()
256 bindings.AddBinding(&impl, MakeRequest(&ping_b), 2); in TEST_P()
307 bindings.AddBinding(&impl, MakeRequest(&ping_a), 1); in TEST_P()
[all …]
Dbinding_unittest.cc75 auto request = MakeRequest(&ptr); in TEST_P()
93 auto request = MakeRequest(&ptr); in TEST_P()
129 Binding<sample::Service> binding(&impl, MakeRequest(&ptr)); in TEST_P()
148 Binding<sample::Service> binding(&impl, MakeRequest(&ptr)); in TEST_P()
195 MakeRequest(&ptr)); in TEST_P()
206 Binding<sample::Service> binding(&impl, MakeRequest(&ptr)); in TEST_P()
257 auto request = MakeRequest(&ptr); in TEST_P()
280 auto request = MakeRequest(&ptr); in TEST_P()
345 mojo::Binding<test::PingService> binding(&impl, MakeRequest(&ptr)); in TEST_P()
376 auto request = MakeRequest(&ptr); in TEST_P()
[all …]
Dinterface_ptr_unittest.cc230 MathCalculatorImpl calc_impl(MakeRequest(&calc)); in TEST_P()
249 calc_impl_ = std::make_unique<MathCalculatorImpl>(MakeRequest(&calc)); in RunTestImpl()
285 MathCalculatorImpl calc_impl(MakeRequest(&b)); in TEST_P()
332 MathCalculatorImpl calc_impl(MakeRequest(&proxy)); in TEST_P()
361 MathCalculatorImpl calc_impl(MakeRequest(&proxy)); in TEST_P()
398 MathCalculatorImpl calc_impl(MakeRequest(&proxy)); in TEST_P()
413 MathCalculatorImpl calc_impl(MakeRequest(&proxy)); in TEST_P()
428 ReentrantServiceImpl impl(MakeRequest(&proxy)); in TEST_P()
447 Binding<sample::IntegerAccessor> binding(&impl, MakeRequest(&ptr)); in TEST_P()
462 Binding<sample::IntegerAccessor> binding(&impl, MakeRequest(&ptr)); in TEST_P()
[all …]
Dassociated_interface_unittest.cc84 auto request = MakeRequest(&ptr_info); in AsyncGetSender()
133 *request1 = MakeRequest(ptr_info0); in CreateIntegerSenderWithExistingRouters()
555 IntegerSenderConnectionImpl connection(MakeRequest(&connection_ptr)); in TEST_F()
558 connection_ptr->GetSender(MakeRequest(&sender0)); in TEST_F()
583 IntegerSenderConnectionImpl connection(MakeRequest(&connection_ptr)); in TEST_F()
586 connection_ptr->GetSender(MakeRequest(&sender0)); in TEST_F()
691 PingProviderImpl provider_impl(MakeRequest(&provider)); in TEST_F()
694 provider->GetPing(MakeRequest(&ping_a)); in TEST_F()
695 provider->GetPing(MakeRequest(&ping_b)); in TEST_F()
839 IntegerSenderConnectionImpl impl(MakeRequest(&ptr)); in TEST_F()
[all …]
Dequals_unittest.cc88 auto inf1_request = MakeRequest(&inf1); in TEST_F()
94 auto inf2_request = MakeRequest(&inf2); in TEST_F()
110 req1 = MakeRequest(&inf1); in TEST_F()
116 req2 = MakeRequest(&inf2); in TEST_F()
Dhandle_passing_unittest.cc199 SampleFactoryImpl factory_impl(MakeRequest(&factory)); in TEST_P()
209 ImportedInterfaceImpl imported_impl(MakeRequest(&imported), in TEST_P()
234 SampleFactoryImpl factory_impl(MakeRequest(&factory)); in TEST_P()
256 SampleFactoryImpl factory_impl(MakeRequest(&factory)); in TEST_P()
291 SampleFactoryImpl factory_impl(MakeRequest(&factory)); in TEST_P()
296 auto object1_request = mojo::MakeRequest(&object1); in TEST_P()
305 factory->CreateNamedObject(MakeRequest(&object2)); in TEST_P()
Dbinding_callback_unittest.cc143 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_)); in TEST_F()
203 MakeRequest(&interface_ptr_)); in TEST_F()
249 MakeRequest(&interface_ptr_)); in TEST_F()
280 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_)); in TEST_F()
315 Binding<sample::Provider> binding(&server_impl, MakeRequest(&interface_ptr_)); in TEST_F()
Drequest_response_unittest.cc95 ProviderImpl provider_impl(MakeRequest(&provider)); in TEST_P()
109 ProviderImpl provider_impl(MakeRequest(&provider)); in TEST_P()
123 ProviderImpl provider_impl(MakeRequest(&provider)); in TEST_P()
141 ProviderImpl provider_impl(MakeRequest(&provider)); in TEST_P()
Dtest_helpers_unittest.cc91 PingImpl ping_impl(MakeRequest(&ping)); in TEST_F()
99 EchoImpl echo_impl(MakeRequest(&echo)); in TEST_F()
108 TrampolineImpl trampoline_impl(MakeRequest(&trampoline)); in TEST_F()
Dsync_method_unittest.cc336 master_impl_.reset(new TestSyncMasterImpl(MakeRequest(&master_ptr_))); in SetUp()
338 asso_request_ = MakeRequest(&asso_ptr_info_); in SetUp()
339 opposite_asso_request_ = MakeRequest(&opposite_asso_ptr_info_); in SetUp()
460 MakeRequest(&ptr_)); in SetUp()
524 ImplTypeFor<Interface> impl(MakeRequest(&interface_ptr)); in TYPED_TEST()
572 InterfaceRequest<Interface> request = MakeRequest(&interface_ptr); in TYPED_TEST()
603 ImplTypeFor<Interface> impl(MakeRequest(&interface_ptr)); in TYPED_TEST()
627 ImplTypeFor<Interface> impl(MakeRequest(&interface_ptr)); in TYPED_TEST()
657 ImplTypeFor<Interface> impl(MakeRequest(&interface_ptr)); in TYPED_TEST()
688 ImplTypeFor<Interface> impl(MakeRequest(&interface_ptr)); in TYPED_TEST()
[all …]
Dlazy_serialization_unittest.cc80 TestUnserializedStructImpl impl(MakeRequest(&ptr)); in TEST_F()
111 ForceSerializeTesterImpl impl(mojo::MakeRequest(&tester)); in TEST_F()
141 ForceSerializeTesterImpl impl(mojo::MakeRequest(&tester)); in TEST_F()
Dstruct_traits_unittest.cc139 traits_test_bindings_.AddBinding(this, mojo::MakeRequest(&proxy)); in GetTraitsTestProxy()
208 BindToChromiumService(MakeRequest(&chromium_proxy)); in TEST_F()
228 BindToBlinkService(MakeRequest(&chromium_proxy)); in TEST_F()
258 BindToBlinkService(MakeRequest(&blink_proxy)); in TEST_F()
278 BindToChromiumService(MakeRequest(&blink_proxy)); in TEST_F()
Dwtf_types_unittest.cc195 TestWTFImpl impl(ConvertInterfaceRequest<TestWTF>(MakeRequest(&ptr))); in TEST_F()
214 TestWTFImpl impl(ConvertInterfaceRequest<TestWTF>(MakeRequest(&ptr))); in TEST_F()
240 TestWTFImpl impl(ConvertInterfaceRequest<TestWTF>(MakeRequest(&ptr))); in TEST_F()
Dbind_task_runner_unittest.cc192 auto request = MakeRequest(&ptr_, ptr_task_runner_); in SetUp()
218 MakeRequest(&connection_ptr_, connection_ptr_task_runner_); in SetUp()
228 MakeRequest(&sender_ptr_, sender_ptr_task_runner_)); in SetUp()
Dbindings_perftest.cc89 BoundPingService() : binding(&impl) { binding.Bind(MakeRequest(&service)); } in BoundPingService()
107 Binding<test::PingService> binding(&impl, MakeRequest(&service)); in TEST_F()
Dnative_struct_unittest.cc26 NativeStructTest() : binding_(this, mojo::MakeRequest(&proxy_)) {} in NativeStructTest()
/external/libchrome/mojo/public/cpp/bindings/
Dassociated_interface_ptr.h188 AssociatedInterfaceRequest<Interface> MakeRequest(
192 auto request = MakeRequest(&ptr_info);
205 AssociatedInterfaceRequest<Interface> MakeRequest( in MakeRequest() function
Dinterface_request.h135 InterfaceRequest<Interface> MakeRequest(
147 InterfaceRequest<Interface> MakeRequest(InterfacePtrInfo<Interface>* ptr_info) { in MakeRequest() function
Dbinding_set.h33 static RequestType MakeRequest(ProxyType* proxy) {
34 return mojo::MakeRequest(proxy);
/external/libchrome/mojo/public/tools/fuzzers/
Dmojo_parse_message_proto_fuzzer.cc22 auto impl = std::make_unique<FuzzImpl>(MakeRequest(&fuzz)); in FuzzMessage()
Dmojo_parse_message_fuzzer.cc14 auto impl = std::make_unique<FuzzImpl>(MakeRequest(&fuzz)); in FuzzMessage()
Dmojo_fuzzer_message_dump.cc230 env->impl = std::make_unique<FuzzImpl>(MakeRequest(&fuzz)); in DumpMessages()
249 fuzz->FuzzAssociated(MakeRequest(&dummy)); in DumpMessages()
/external/libchrome/ui/gfx/range/mojo/
Drange_struct_traits_unittest.cc24 traits_test_bindings_.AddBinding(this, mojo::MakeRequest(&proxy)); in GetTraitsTestProxy()
/external/libchrome/ipc/
Dipc_sync_message_filter.h56 auto request = mojo::MakeRequest(proxy); in COMPONENT_EXPORT()
Dipc_channel_proxy.h202 auto request = mojo::MakeRequest(proxy); in COMPONENT_EXPORT()
222 auto request = mojo::MakeRequest(&ptr_info); in COMPONENT_EXPORT()

12