/external/libmojo/ |
D | Android.mk | 17 mojo/common/common_custom_types.mojom \ 18 mojo/common/string16.mojom \ 19 mojo/public/interfaces/bindings/interface_control_messages.mojom \ 20 mojo/public/interfaces/bindings/pipe_control_messages.mojom \ 25 gen/mojo/common/common_custom_types__type_mappings \ 44 mojo/android/system/src/org/chromium/mojo/system/impl/BaseRunLoop.java \ 45 mojo/android/system/src/org/chromium/mojo/system/impl/CoreImpl.java \ 79 mojo/android/system/base_run_loop.cc \ 80 mojo/android/system/core_impl.cc \ 81 mojo/edk/embedder/embedder.cc \ [all …]
|
/external/libmojo/mojo/android/ |
D | BUILD.gn | 18 "javatests/src/org/chromium/mojo/MojoTestCase.java", 19 "javatests/src/org/chromium/mojo/bindings/ValidationTestUtil.java", 25 jni_package = "mojo" 30 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", 31 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", 34 jni_package = "mojo" 48 "//mojo/message_pump", 54 "system/src/org/chromium/mojo/system/impl/BaseRunLoop.java", 55 "system/src/org/chromium/mojo/system/impl/CoreImpl.java", 56 "system/src/org/chromium/mojo/system/impl/DataPipeConsumerHandleImpl.java", [all …]
|
/external/libmojo/mojo/public/java/ |
D | BUILD.gn | 9 "system/src/org/chromium/mojo/system/AsyncWaiter.java", 10 "system/src/org/chromium/mojo/system/Core.java", 11 "system/src/org/chromium/mojo/system/DataPipe.java", 12 "system/src/org/chromium/mojo/system/Flags.java", 13 "system/src/org/chromium/mojo/system/Handle.java", 14 "system/src/org/chromium/mojo/system/InvalidHandle.java", 15 "system/src/org/chromium/mojo/system/MessagePipeHandle.java", 16 "system/src/org/chromium/mojo/system/MojoException.java", 17 "system/src/org/chromium/mojo/system/MojoResult.java", 18 "system/src/org/chromium/mojo/system/Pair.java", [all …]
|
/external/libmojo/mojo/public/cpp/bindings/tests/ |
D | wtf_types_unittest.cc | 18 namespace mojo { namespace 113 mojo::internal::SerializationContext context; in TEST_F() 114 size_t size = mojo::internal::PrepareToSerialize<Array<mojo::String>>( in TEST_F() 117 mojo::internal::FixedBufferForTesting buf(size); in TEST_F() 118 typename mojo::internal::MojomTypeTraits<Array<mojo::String>>::Data* data; in TEST_F() 119 mojo::internal::ContainerValidateParams validate_params( in TEST_F() 120 0, true, new mojo::internal::ContainerValidateParams(0, false, nullptr)); in TEST_F() 121 mojo::internal::Serialize<Array<mojo::String>>(cloned_strs, &buf, &data, in TEST_F() 125 mojo::internal::Deserialize<Array<mojo::String>>(data, &strs2, &context); in TEST_F() 134 mojo::internal::SerializationContext context; in TEST_F() [all …]
|
D | union_unittest.cc | 25 namespace mojo { namespace 125 mojo::internal::SerializationContext context; in TEST() 127 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod1, false, &context); in TEST() 130 mojo::internal::FixedBufferForTesting buf(size); in TEST() 132 mojo::internal::Serialize<PodUnionPtr>(pod1, &buf, &data, false, &context); in TEST() 135 mojo::internal::Deserialize<PodUnionPtr>(data, &pod2, &context); in TEST() 147 mojo::internal::PrepareToSerialize<PodUnionPtr>(pod1, false, nullptr); in TEST() 150 mojo::internal::FixedBufferForTesting buf(size); in TEST() 152 mojo::internal::Serialize<PodUnionPtr>(pod1, &buf, &data, false, nullptr); in TEST() 155 mojo::internal::Deserialize<PodUnionPtr>(data, &pod2, nullptr); in TEST() [all …]
|
D | serialization_warning_unittest.cc | 22 namespace mojo { namespace 26 using mojo::internal::ContainerValidateParams; 49 void TestWarning(T obj, mojo::internal::ValidationError expected_warning) { in TestWarning() 50 warning_observer_.set_last_warning(mojo::internal::VALIDATION_ERROR_NONE); in TestWarning() 52 mojo::internal::SerializationContext context; in TestWarning() 53 mojo::internal::FixedBufferForTesting buf( in TestWarning() 54 mojo::internal::PrepareToSerialize<T>(obj, &context)); in TestWarning() 55 typename mojo::internal::MojomTypeTraits<T>::Data* data; in TestWarning() 56 mojo::internal::Serialize<T>(obj, &buf, &data, &context); in TestWarning() 63 mojo::internal::ValidationError expected_warning, in TestArrayWarning() [all …]
|
D | struct_with_traits.typemap | 5 mojom = "//mojo/public/interfaces/bindings/tests/struct_with_traits.mojom" 7 [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl.h" ] 9 [ "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.h" ] 11 "//mojo/public/cpp/bindings/tests/struct_with_traits_impl_traits.cc", 14 "//mojo/public/cpp/bindings/tests:struct_with_traits_impl", 15 "//mojo/public/cpp/system:system", 19 "mojo.test.EnumWithTraits=mojo::test::EnumWithTraitsImpl", 20 "mojo.test.StructWithTraits=mojo::test::StructWithTraitsImpl", 21 "mojo.test.NestedStructWithTraits=mojo::test::NestedStructWithTraitsImpl", 22 "mojo.test.PassByValueStructWithTraits=mojo::test::PassByValueStructWithTraitsImpl[move_only]", [all …]
|
D | BUILD.gn | 49 "//mojo/public/cpp/bindings", 50 "//mojo/public/cpp/system", 51 "//mojo/public/cpp/test_support:test_utils", 52 "//mojo/public/interfaces/bindings/tests:test_associated_interfaces", 53 "//mojo/public/interfaces/bindings/tests:test_interfaces", 54 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", 55 "//mojo/public/interfaces/bindings/tests:test_struct_traits_interfaces", 60 "//mojo/public/interfaces/bindings/tests/data/validation/", 71 deps += [ "//mojo/public/interfaces/bindings/tests:test_interfaces_blink" ] 91 "//mojo/public/cpp/bindings", [all …]
|
D | pickled_types_blink.cc | 10 namespace mojo { namespace 28 void ParamTraits<mojo::test::PickledStructBlink>::GetSize( in GetSize() 35 void ParamTraits<mojo::test::PickledStructBlink>::Write(base::Pickle* m, in Write() 41 bool ParamTraits<mojo::test::PickledStructBlink>::Read( in Read() 55 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumBlink, 56 mojo::test::PickledEnumBlink::VALUE_1) 58 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumBlink, 59 mojo::test::PickledEnumBlink::VALUE_1) 61 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumBlink, 62 mojo::test::PickledEnumBlink::VALUE_1) [all …]
|
D | pickled_types_chromium.cc | 9 namespace mojo { namespace 29 void ParamTraits<mojo::test::PickledStructChromium>::GetSize( in GetSize() 36 void ParamTraits<mojo::test::PickledStructChromium>::Write( in Write() 43 bool ParamTraits<mojo::test::PickledStructChromium>::Read( in Read() 57 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumChromium, 58 mojo::test::PickledEnumChromium::VALUE_2) 60 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumChromium, 61 mojo::test::PickledEnumChromium::VALUE_2) 63 IPC_ENUM_TRAITS_MAX_VALUE(mojo::test::PickledEnumChromium, 64 mojo::test::PickledEnumChromium::VALUE_2) [all …]
|
D | map_common_test.h | 18 namespace mojo { 48 using StringType = mojo::String; 164 mojo::internal::SerializationContext context; 166 mojo::internal::PrepareToSerialize<MojomType>(array, &context); 167 mojo::internal::FixedBufferForTesting buf(size); 168 typename mojo::internal::MojomTypeTraits<MojomType>::Data* data; 169 mojo::internal::ContainerValidateParams validate_params( 171 new mojo::internal::ContainerValidateParams( 172 new mojo::internal::ContainerValidateParams(0, false, nullptr), 173 new mojo::internal::ContainerValidateParams(0, false, nullptr))); [all …]
|
D | struct_unittest.cc | 15 namespace mojo { namespace 53 using InputDataType = typename mojo::internal::MojomTypeTraits<T>::Data*; in SerializeAndDeserialize() 54 using OutputDataType = typename mojo::internal::MojomTypeTraits<U>::Data*; in SerializeAndDeserialize() 56 mojo::internal::SerializationContext context; in SerializeAndDeserialize() 57 size_t size = mojo::internal::PrepareToSerialize<T>(input, &context); in SerializeAndDeserialize() 58 mojo::internal::FixedBufferForTesting buf(size + 32); in SerializeAndDeserialize() 60 mojo::internal::Serialize<T>(input, &buf, &data, &context); in SerializeAndDeserialize() 70 mojo::internal::Deserialize<U>(output_data, &output, &context); in SerializeAndDeserialize() 134 size_t size = mojo::internal::PrepareToSerialize<RectPtr>(rect, nullptr); in TEST_F() 137 mojo::internal::FixedBufferForTesting buf(size); in TEST_F() [all …]
|
/external/libmojo/mojo/edk/js/test/ |
D | BUILD.gn | 13 "//mojo/edk/js", 14 "//mojo/edk/test:run_all_unittests", 15 "//mojo/edk/test:test_support", 16 "//mojo/public/cpp/system", 17 "//mojo/public/interfaces/bindings/tests:test_interfaces", 18 "//mojo/public/interfaces/bindings/tests:test_interfaces_experimental", 19 "//mojo/public/js:tests", 23 "//mojo/edk/js/handle_unittest.cc", 34 "//mojo/edk/js", 35 "//mojo/edk/js/tests:js_to_cpp_tests", [all …]
|
/external/libmojo/mojo/edk/js/ |
D | handle.cc | 9 namespace mojo { namespace 16 : handle_(mojo::Handle(handle)) { in HandleWrapper() 49 v8::Handle<v8::Value> Converter<mojo::Handle>::ToV8(v8::Isolate* isolate, in ToV8() 50 const mojo::Handle& val) { in ToV8() 53 return mojo::edk::js::HandleWrapper::Create(isolate, val.value()).ToV8(); in ToV8() 56 bool Converter<mojo::Handle>::FromV8(v8::Isolate* isolate, in FromV8() 58 mojo::Handle* out) { in FromV8() 60 *out = mojo::Handle(); in FromV8() 64 gin::Handle<mojo::edk::js::HandleWrapper> handle; in FromV8() 65 if (!Converter<gin::Handle<mojo::edk::js::HandleWrapper>>::FromV8( in FromV8() [all …]
|
D | handle.h | 16 namespace mojo { 33 mojo::Handle get() const { return handle_.get(); } in get() 34 mojo::Handle release() { return handle_.release(); } in release() 45 mojo::ScopedHandle handle_; 60 struct Converter<mojo::Handle> { 62 const mojo::Handle& val); 64 mojo::Handle* out); 68 struct Converter<mojo::MessagePipeHandle> { 70 mojo::MessagePipeHandle val); 73 mojo::MessagePipeHandle* out); [all …]
|
/external/libmojo/mojo/common/ |
D | test_common_custom_types.mojom | 5 module mojo.common.test; 7 import "mojo/common/common_custom_types.mojom"; 10 BounceFilePath(mojo.common.mojom.FilePath in) 11 => (mojo.common.mojom.FilePath out); 15 BounceTime(mojo.common.mojom.Time time) => (mojo.common.mojom.Time time); 16 BounceTimeDelta(mojo.common.mojom.TimeDelta time_delta) 17 => (mojo.common.mojom.TimeDelta time_delta); 18 BounceTimeTicks(mojo.common.mojom.TimeTicks time_ticks) 19 => (mojo.common.mojom.TimeTicks time_ticks); 23 BounceDictionaryValue(mojo.common.mojom.DictionaryValue in) [all …]
|
D | BUILD.gn | 5 import("//mojo/public/tools/bindings/mojom.gni") 15 # GYP version: mojo/mojo_base.gyp:mojo_common_custom_types 23 # GYP version: mojo/mojo_base.gyp:mojo_common_lib 43 "//mojo/public/cpp/bindings", 44 "//mojo/public/cpp/system", 48 # GYP version: mojo/mojo_base.gyp:mojo_test_common_custom_types 58 # GYP version: mojo/mojo_base.gyp:mojo_common_unittests 67 "//mojo/edk/test:run_all_unittests", 68 "//mojo/edk/test:test_support", 69 "//mojo/public/cpp/bindings", [all …]
|
/external/libmojo/mojo/ |
D | mojom_bindings_generator_variables.gypi | 8 '<(DEPTH)/mojo/public/tools/bindings/mojom_bindings_generator.py', 11 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_cpp_generator.py', 12 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_java_generator.py', 13 '<(DEPTH)/mojo/public/tools/bindings/generators/mojom_js_generator.py', 14 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/__init__.py', 15 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/error.py', 16 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/__init__.py', 17 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/data.py', 18 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/generator.py', 19 '<(DEPTH)/mojo/public/tools/bindings/pylib/mojom/generate/module.py', [all …]
|
D | mojo_js_unittests.isolate | 24 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/math_calculator.mojom.js', 25 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/no_module.mojom.js', 26 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/ping_service.mojom.js', 27 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/rect.mojom.js', 28 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/regression_tests.mojom.js', 29 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/sample_factory.mojom.js', 30 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/sample_import.mojom.js', 31 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/sample_import2.mojom.js', 32 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/sample_interfaces.mojom.js', 33 '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/sample_service.mojom.js', [all …]
|
D | BUILD.gn | 7 group("mojo") { 12 "//mojo/common", 19 deps += [ "//mojo/public" ] 23 deps += [ "//mojo/android" ] 33 "//mojo/common:mojo_common_unittests", 34 "//mojo/converters/blink:blink_converters_unittests", 35 "//mojo/edk/js/test:js_integration_tests", 36 "//mojo/edk/js/test:js_unittests", 37 "//mojo/edk/system:mojo_message_pipe_perftests", 38 "//mojo/edk/system:mojo_system_unittests", [all …]
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | SerializationTest.java | 5 package org.chromium.mojo.bindings; 11 import org.chromium.mojo.HandleMock; 12 import org.chromium.mojo.bindings.test.mojom.mojo.Struct1; 13 import org.chromium.mojo.bindings.test.mojom.mojo.Struct2; 14 import org.chromium.mojo.bindings.test.mojom.mojo.Struct3; 15 import org.chromium.mojo.bindings.test.mojom.mojo.Struct4; 16 import org.chromium.mojo.bindings.test.mojom.mojo.Struct5; 17 import org.chromium.mojo.bindings.test.mojom.mojo.Struct6; 18 import org.chromium.mojo.bindings.test.mojom.mojo.StructOfNullables;
|
/external/libmojo/mojo/public/tools/bindings/generators/java_templates/ |
D | interface_definition.tmpl | 22 interface {{method|interface_response_name}} extends org.chromium.mojo.bindings.Callbacks.Callback{… 45 org.chromium.mojo.bindings.MessageHeader.NO_FLAG 47 org.chromium.mojo.bindings.MessageHeader.MESSAGE_EXPECTS_RESPONSE_FLAG 49 org.chromium.mojo.bindings.MessageHeader.MESSAGE_IS_RESPONSE_FLAG 54 {% if fully_qualified %}org.chromium.mojo.bindings.Interface.{% endif %}Manager<{{interface|name}},… 69 public Proxy buildProxy(org.chromium.mojo.system.Core core, 70 … org.chromium.mojo.bindings.MessageReceiverWithResponder messageReceiver) { 74 public Stub buildStub(org.chromium.mojo.system.Core core, {{interface|name}} impl) { 86 org.chromium.mojo.bindings.ServiceMessage messageWithHeader = 88 org.chromium.mojo.bindings.MessageHeader header = messageWithHeader.getHeader(); [all …]
|
/external/libmojo/mojo/public/tools/bindings/generators/cpp_templates/ |
D | module.h.tmpl | 51 #include "mojo/public/cpp/bindings/associated_interface_ptr.h" 52 #include "mojo/public/cpp/bindings/associated_interface_ptr_info.h" 53 #include "mojo/public/cpp/bindings/associated_interface_request.h" 54 #include "mojo/public/cpp/bindings/interface_ptr.h" 55 #include "mojo/public/cpp/bindings/interface_request.h" 56 #include "mojo/public/cpp/bindings/lib/control_message_handler.h" 57 #include "mojo/public/cpp/bindings/lib/control_message_proxy.h" 58 #include "mojo/public/cpp/bindings/lib/serialization.h" 59 #include "mojo/public/cpp/bindings/map.h" 60 #include "mojo/public/cpp/bindings/message_filter.h" [all …]
|
/external/libmojo/mojo/edk/system/ |
D | BUILD.gn | 7 import("../../../mojo/public/tools/bindings/mojom.gni") 77 "//mojo/edk/embedder", 78 "//mojo/edk/embedder:delegates", 79 "//mojo/edk/embedder:platform", 80 "//mojo/edk/system/ports", 81 "//mojo/public/c/system", 82 "//mojo/public/cpp/system", 119 allow_circular_includes_from = [ "//mojo/edk/embedder" ] 142 "//mojo/public/c/system", 143 "//mojo/public/cpp/system", [all …]
|
/external/libmojo/mojo/edk/test/ |
D | BUILD.gn | 29 "//mojo/edk/system", 30 "//mojo/public/cpp/system", 46 "//mojo/edk/system", 47 "//mojo/public/c/test_support", 62 "//mojo/edk/system", 63 "//mojo/edk/test:test_support", 64 "//mojo/public/c/test_support", 81 "//mojo/public/c/test_support", 82 "//mojo/public/cpp/system", 108 "//mojo/edk/test:test_support", [all …]
|