Home
last modified time | relevance | path

Searched refs:InterfacePtrInfo (Results 1 – 16 of 16) sorted by relevance

/external/libchrome/mojo/public/cpp/bindings/
Dinterface_ptr_info.h20 class InterfacePtrInfo {
22 InterfacePtrInfo() : version_(0u) {} in InterfacePtrInfo() function
23 InterfacePtrInfo(std::nullptr_t) : InterfacePtrInfo() {} in InterfacePtrInfo() function
25 InterfacePtrInfo(ScopedMessagePipeHandle handle, uint32_t version) in InterfacePtrInfo() function
28 InterfacePtrInfo(InterfacePtrInfo&& other) in InterfacePtrInfo() function
33 ~InterfacePtrInfo() {} in ~InterfacePtrInfo()
35 InterfacePtrInfo& operator=(InterfacePtrInfo&& other) {
63 DISALLOW_COPY_AND_ASSIGN(InterfacePtrInfo);
Dinterface_ptr.h43 using PtrInfoType = InterfacePtrInfo<Interface>;
85 void Bind(InterfacePtrInfo<Interface> info,
184 InterfacePtrInfo<Interface> PassInterface() { in PassInterface()
221 InterfacePtrInfo<Interface> info,
Dinterface_request.h139 ptr->Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u),
147 InterfaceRequest<Interface> MakeRequest(InterfacePtrInfo<Interface>* ptr_info) { in MakeRequest()
158 InterfacePtrInfo<Interface> proxy_info) { in FuseInterface()
Dthread_safe_interface_ptr.h325 void BindOnTaskRunner(InterfacePtrInfo<InterfaceType> ptr_info) { in BindOnTaskRunner()
DREADME.md187 type, which is a generated alias for `mojo::InterfacePtrInfo<Logger>`. This is
194 which returns a new `InterfacePtrInfo<T>`. Conversely, an `InterfacePtr<T>` may
195 bind (and thus take ownership of) an `InterfacePtrInfo<T>` so that interface
/external/libchrome/mojo/public/js/
Dinterface_types.js15 function InterfacePtrInfo(handle, version) { class
20 InterfacePtrInfo.prototype.isValid = function() { class
24 InterfacePtrInfo.prototype.close = function() {
87 mojo.InterfacePtrInfo = InterfacePtrInfo;
Dbindings.js21 if (output instanceof mojo.InterfacePtrInfo) {
30 output.ptr.bind(new mojo.InterfacePtrInfo(pipe.handle0, 0));
59 if (ptrInfoOrHandle instanceof mojo.InterfacePtrInfo) {
113 result = new mojo.InterfacePtrInfo(
118 result = new mojo.InterfacePtrInfo(this.handle_, this.version);
DREADME.md74 * `mojo.InterfacePtrInfo` and `mojo.InterfaceRequest` encapsulate two ends of a
78 an `InterfacePtrInfo`; provides methods to send interface calls using the
79 message pipe handle from the `InterfacePtrInfo`.
118 example, binding/extracting `InterfacePtrInfo`, setting connection error
127 could be an `InterfacePtrInfo` or an interface pointer) with one end of the
/external/libchrome/mojo/public/cpp/bindings/lib/
Dinterface_serialization.h83 InterfacePtrInfo<T> info = input.PassInterface();
90 output->Bind(InterfacePtrInfo<T>(
98 struct Serializer<InterfacePtrDataView<Base>, InterfacePtrInfo<T>> {
101 static void Serialize(InterfacePtrInfo<T>& input,
108 InterfacePtrInfo<T>* output,
110 *output = InterfacePtrInfo<T>(
Dinterface_ptr_state.h145 void Bind(InterfacePtrInfo<Interface> info, in Bind()
154 InterfacePtrInfo<Interface> PassInterface() { in PassInterface()
156 return InterfacePtrInfo<Interface>(PassMessagePipe(), version()); in PassInterface()
/external/libchrome/mojo/public/cpp/bindings/tests/
De2e_perftest.cc144 service.Bind(InterfacePtrInfo<test::EchoService>( in RunTests()
Dinterface_ptr_unittest.cc307 InterfacePtrInfo<math::Calculator>(std::move(pipe.handle0), 0u)); in TEST_P()
325 ptr.Bind(InterfacePtrInfo<math::Calculator>()); in TEST_P()
606 calc.Bind(InterfacePtrInfo<math::Calculator>(std::move(pipe.handle1), 0u)); in TEST()
Dsync_method_unittest.cc1145 interface_ptr.Bind(InterfacePtrInfo<Interface>(std::move(pipe.handle0), 0u)); in TYPED_TEST()
1195 InterfacePtrInfo<InterfaceType>(std::move(pipe.handle0), 0u)); in SEQUENCED_TASK_RUNNER_TYPED_TEST_F()
Dvalidation_unittest.cc453 InterfacePtrInfo<IntegrationTestInterface>(testee_endpoint(), 0u)); in TEST_F()
/external/libchrome/mojo/public/js/lib/
Dcodec.js969 var interfacePtrInfo = new mojo.InterfacePtrInfo(
978 val ? val.ptr.passInterface() : new mojo.InterfacePtrInfo(null, 0);
/external/libchrome/mojo/public/tools/bindings/generators/cpp_templates/
Dmodule.h.tmpl135 using {{interface.name}}PtrInfo = mojo::InterfacePtrInfo<{{interface.name}}>;