Home
last modified time | relevance | path

Searched refs:InterfaceRequest (Results 1 – 25 of 40) sorted by relevance

12

/external/libchrome/mojo/public/cpp/bindings/
Dinterface_request.h28 class InterfaceRequest {
32 InterfaceRequest() {} in InterfaceRequest() function
33 InterfaceRequest(decltype(nullptr)) {} in InterfaceRequest() function
35 explicit InterfaceRequest(ScopedMessagePipeHandle handle) in InterfaceRequest() function
39 InterfaceRequest(InterfaceRequest&& other) { in InterfaceRequest() function
42 InterfaceRequest& operator=(InterfaceRequest&& other) {
49 InterfaceRequest& operator=(decltype(nullptr)) { in decltype()
62 bool Equals(const InterfaceRequest& other) const { in Equals()
88 DISALLOW_COPY_AND_ASSIGN(InterfaceRequest);
135 InterfaceRequest<Interface> MakeRequest(
[all …]
Dstrong_binding.h52 InterfaceRequest<Interface> request) { in Create()
103 InterfaceRequest<Interface> request) in StrongBinding()
136 InterfaceRequest<Interface> request) { in MakeStrongBinding()
Dbinding.h86 InterfaceRequest<Interface> request,
99 void Bind(InterfaceRequest<Interface> request,
166 InterfaceRequest<Interface> Unbind() { in Unbind()
DREADME.md130 using LoggerRequest = mojo::InterfaceRequest<Logger>;
138 ### InterfacePtr and InterfaceRequest
142 bindings library: **`InterfacePtr<T>`** and **`InterfaceRequest<T>`**.
150 An `InterfaceRequest<T>` is essentially just a typed container to hold the other
152 routed to some implementation which will **bind** it. The `InterfaceRequest<T>`
156 ![Diagram illustrating InterfacePtr and InterfaceRequest on either end of a message pipe](https://d…
188 similar to an `InterfaceRequest<T>` in that it merely holds onto a pipe handle
190 `InterfaceRequest<T>` are safe to move freely from sequence to sequence, whereas
216 But as mentioned above, `InterfaceRequest` *doesn't actually do anything*, so
226 with a single bound message pipe endpoint (via a `mojo::InterfaceRequest<T>`),
[all …]
/external/libchrome/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
DInterfaceRequest.java18 public class InterfaceRequest<P extends Interface> implements HandleOwner<MessagePipeHandle> { class
30 InterfaceRequest(MessagePipeHandle handle) { in InterfaceRequest() method in InterfaceRequest
55 public static InterfaceRequest asInterfaceRequestUnsafe(MessagePipeHandle handle) { in asInterfaceRequestUnsafe()
56 return new InterfaceRequest(handle); in asInterfaceRequestUnsafe()
DInterface.java416 public final void bind(I impl, InterfaceRequest<I> request) { in bind()
440 public final Pair<P, InterfaceRequest<I>> getInterfaceRequest(Core core) { in getInterfaceRequest()
443 return Pair.create(proxy, new InterfaceRequest<I>(handles.second)); in getInterfaceRequest()
446 public final InterfaceRequest<I> asInterfaceRequest(MessagePipeHandle handle) { in asInterfaceRequest()
447 return new InterfaceRequest<I>(handle); in asInterfaceRequest()
DDecoder.java508 public <I extends Interface> InterfaceRequest<I> readInterfaceRequest(int offset, in readInterfaceRequest()
514 return new InterfaceRequest<I>(handle); in readInterfaceRequest()
688 public <I extends Interface> InterfaceRequest<I>[] readInterfaceRequests( in readInterfaceRequests()
696 InterfaceRequest<I>[] result = new InterfaceRequest[si.elementsOrVersion]; in readInterfaceRequests()
DEncoder.java294 public <I extends Interface> void encode(InterfaceRequest<I> v, int offset, boolean nullable) { in encode()
478 public <I extends Interface> void encode(InterfaceRequest<I>[] v, int offset, in encode()
/external/libchrome/mojo/public/js/
Dinterface_types.js44 function InterfaceRequest(handle) { class
48 InterfaceRequest.prototype.isValid = function() { class
52 InterfaceRequest.prototype.close = function() {
88 mojo.InterfaceRequest = InterfaceRequest;
Dbindings.js26 return new mojo.InterfaceRequest(pipe.handle1);
31 return new mojo.InterfaceRequest(pipe.handle1);
208 var handle = requestOrHandle instanceof mojo.InterfaceRequest ?
255 return new mojo.InterfaceRequest(null);
257 var result = new mojo.InterfaceRequest(this.router_.connector_.handle_);
DREADME.md74 * `mojo.InterfacePtrInfo` and `mojo.InterfaceRequest` encapsulate two ends of a
80 * `mojo.Binding` owns an `InterfaceRequest`. It listens on the message pipe
123 In the example above, `echoServiceRequest` is an `InterfaceRequest` instance. It
128 pipe; returns the other end wrapped in an `InterfaceRequest` instance.
130 ### Binding an InterfaceRequest
/external/libchrome/mojo/public/cpp/bindings/tests/
Dvariant_test_util.h21 InterfaceRequest<Interface0> ConvertInterfaceRequest( in ConvertInterfaceRequest()
22 InterfaceRequest<Interface1> request) { in ConvertInterfaceRequest()
24 return InterfaceRequest<Interface0>(request.PassMessagePipe()); in ConvertInterfaceRequest()
Dequals_unittest.cc100 TEST_F(EqualsTest, InterfaceRequest) { in TEST_F() argument
103 InterfaceRequest<SomeInterface> req1; in TEST_F()
104 InterfaceRequest<SomeInterface> req2; in TEST_F()
Dhandle_passing_unittest.cc41 InterfaceRequest<imported::ImportedInterface> request, in ImportedInterfaceImpl()
75 explicit SampleFactoryImpl(InterfaceRequest<sample::Factory> request) in SampleFactoryImpl()
131 InterfaceRequest<sample::NamedObject> object_request) override { in CreateNamedObject()
141 InterfaceRequest<imported::ImportedInterface> imported, in RequestImportedInterface()
Dinterface_ptr_unittest.cc40 explicit MathCalculatorImpl(InterfaceRequest<math::Calculator> request) in MathCalculatorImpl()
150 explicit ReentrantServiceImpl(InterfaceRequest<sample::Service> request) in ReentrantServiceImpl()
169 void GetPort(mojo::InterfaceRequest<sample::Port> port) override {} in GetPort()
655 void GetC(InterfaceRequest<C> c) override { in GetC()
666 AImpl(InterfaceRequest<A> request, const base::Closure& closure) in AImpl()
674 void GetB(InterfaceRequest<B> b) override { in GetB()
708 explicit PingTestImpl(InterfaceRequest<sample::PingTest> request) in PingTestImpl()
De2e_perftest.cc164 void CreateAndRunService(InterfaceRequest<test::EchoService> request, in CreateAndRunService()
173 auto request = InterfaceRequest<test::EchoService>( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
Dversioning_test_service.cc36 InterfaceRequest<HumanResourceDatabase> request) in HumanResourceDatabaseImpl()
Drequest_response_unittest.cc22 explicit ProviderImpl(InterfaceRequest<sample::Provider> request) in ProviderImpl()
Dsync_method_unittest.cc274 void SetUp(InterfaceRequest<Interface> request) { in SetUp()
572 InterfaceRequest<Interface> request = MakeRequest(&interface_ptr); in TYPED_TEST()
1150 InterfaceRequest<Interface>(std::move(pipe.handle1))); in TYPED_TEST()
1199 InterfaceRequest<InterfaceType>(std::move(pipe.handle1))); in SEQUENCED_TASK_RUNNER_TYPED_TEST_F()
/external/libchrome/mojo/public/cpp/bindings/lib/
Dinterface_serialization.h118 struct Serializer<InterfaceRequestDataView<Base>, InterfaceRequest<T>> {
121 static void Serialize(InterfaceRequest<T>& input,
128 InterfaceRequest<T>* output,
131 InterfaceRequest<T>(context->TakeHandleAs<MessagePipeHandle>(*input));
Dbinding_state.h119 InterfaceRequest<Interface> Unbind() { in Unbind()
121 InterfaceRequest<Interface> request(router_->PassMessagePipe()); in Unbind()
/external/libchrome/mojo/public/js/lib/
Dcodec.js1019 function InterfaceRequest() { class
1022 InterfaceRequest.encodedSize = 4;
1024 InterfaceRequest.decode = function(decoder) {
1025 return new mojo.InterfaceRequest(decoder.decodeHandle());
1028 InterfaceRequest.encode = function(encoder, val) {
1035 NullableInterfaceRequest.encodedSize = InterfaceRequest.encodedSize;
1037 NullableInterfaceRequest.decode = InterfaceRequest.decode;
1039 NullableInterfaceRequest.encode = InterfaceRequest.encode;
1129 internal.InterfaceRequest = InterfaceRequest;
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DInterfacesTest.java138 public void createNamedObject(InterfaceRequest<NamedObject> obj) { in createNamedObject()
143 public void requestImportedInterface(InterfaceRequest<ImportedInterface> obj, in requestImportedInterface()
254 Pair<NamedObject.Proxy, InterfaceRequest<NamedObject>> request = in testFactoryOverPipe()
/external/libchrome/mojo/public/tools/bindings/pylib/mojom_tests/generate/
Dmodule_unittest.py34 mojom.InterfaceRequest(struct)
Ddata_unittest.py121 interface_req = mojom.InterfaceRequest(interface)

12