/external/libchrome/mojo/public/cpp/bindings/ |
D | interface_request.h | 28 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 …]
|
D | strong_binding.h | 52 InterfaceRequest<Interface> request) { in Create() 103 InterfaceRequest<Interface> request) in StrongBinding() 136 InterfaceRequest<Interface> request) { in MakeStrongBinding()
|
D | binding.h | 86 InterfaceRequest<Interface> request, 99 void Bind(InterfaceRequest<Interface> request, 166 InterfaceRequest<Interface> Unbind() { in Unbind()
|
D | README.md | 130 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/ |
D | InterfaceRequest.java | 18 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()
|
D | Interface.java | 416 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()
|
D | Decoder.java | 508 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()
|
D | Encoder.java | 294 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/ |
D | interface_types.js | 44 function InterfaceRequest(handle) { class 48 InterfaceRequest.prototype.isValid = function() { class 52 InterfaceRequest.prototype.close = function() { 88 mojo.InterfaceRequest = InterfaceRequest;
|
D | bindings.js | 26 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_);
|
D | README.md | 74 * `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/ |
D | variant_test_util.h | 21 InterfaceRequest<Interface0> ConvertInterfaceRequest( in ConvertInterfaceRequest() 22 InterfaceRequest<Interface1> request) { in ConvertInterfaceRequest() 24 return InterfaceRequest<Interface0>(request.PassMessagePipe()); in ConvertInterfaceRequest()
|
D | equals_unittest.cc | 100 TEST_F(EqualsTest, InterfaceRequest) { in TEST_F() argument 103 InterfaceRequest<SomeInterface> req1; in TEST_F() 104 InterfaceRequest<SomeInterface> req2; in TEST_F()
|
D | handle_passing_unittest.cc | 41 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()
|
D | interface_ptr_unittest.cc | 40 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()
|
D | e2e_perftest.cc | 164 void CreateAndRunService(InterfaceRequest<test::EchoService> request, in CreateAndRunService() 173 auto request = InterfaceRequest<test::EchoService>( in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | versioning_test_service.cc | 36 InterfaceRequest<HumanResourceDatabase> request) in HumanResourceDatabaseImpl()
|
D | request_response_unittest.cc | 22 explicit ProviderImpl(InterfaceRequest<sample::Provider> request) in ProviderImpl()
|
D | sync_method_unittest.cc | 274 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/ |
D | interface_serialization.h | 118 struct Serializer<InterfaceRequestDataView<Base>, InterfaceRequest<T>> { 121 static void Serialize(InterfaceRequest<T>& input, 128 InterfaceRequest<T>* output, 131 InterfaceRequest<T>(context->TakeHandleAs<MessagePipeHandle>(*input));
|
D | binding_state.h | 119 InterfaceRequest<Interface> Unbind() { in Unbind() 121 InterfaceRequest<Interface> request(router_->PassMessagePipe()); in Unbind()
|
/external/libchrome/mojo/public/js/lib/ |
D | codec.js | 1019 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/ |
D | InterfacesTest.java | 138 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/ |
D | module_unittest.py | 34 mojom.InterfaceRequest(struct)
|
D | data_unittest.py | 121 interface_req = mojom.InterfaceRequest(interface)
|