Home
last modified time | relevance | path

Searched refs:BinaryMessenger (Results 1 – 25 of 35) sorted by relevance

12

/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/dart/
DDartMessenger.java18 import io.flutter.plugin.common.BinaryMessenger;
30 class DartMessenger implements BinaryMessenger, PlatformMessageHandler {
36 private final Map<String, BinaryMessenger.BinaryMessageHandler> messageHandlers;
38 private final Map<Integer, BinaryMessenger.BinaryReply> pendingReplies;
48 …public void setMessageHandler(@NonNull String channel, @Nullable BinaryMessenger.BinaryMessageHand… in setMessageHandler()
69 @Nullable BinaryMessenger.BinaryReply callback in send()
91 BinaryMessenger.BinaryMessageHandler handler = messageHandlers.get(channel); in handleMessageFromDart()
110 BinaryMessenger.BinaryReply callback = pendingReplies.remove(replyId); in handlePlatformMessageResponse()
137 private static class Reply implements BinaryMessenger.BinaryReply {
DDartExecutor.java16 import io.flutter.plugin.common.BinaryMessenger;
41 public class DartExecutor implements BinaryMessenger {
56 private final BinaryMessenger.BinaryMessageHandler isolateChannelMessageHandler =
57 new BinaryMessenger.BinaryMessageHandler() {
186 …public void send(@NonNull String channel, @Nullable ByteBuffer message, @Nullable BinaryMessenger.… in send()
200 …public void setMessageHandler(@NonNull String channel, @Nullable BinaryMessenger.BinaryMessageHand… in setMessageHandler()
/third_party/flutter/flutter/dev/integration_tests/android_views/android/app/src/main/java/io/flutter/integration/androidviews/
DSimpleViewFactory.java9 import io.flutter.plugin.common.BinaryMessenger;
15 final BinaryMessenger messenger;
17 public SimpleViewFactory(BinaryMessenger messenger) { in SimpleViewFactory()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/plugin/common/
DMethodChannel.java13 import io.flutter.plugin.common.BinaryMessenger.BinaryMessageHandler;
14 import io.flutter.plugin.common.BinaryMessenger.BinaryReply;
36 private final BinaryMessenger messenger;
47 public MethodChannel(BinaryMessenger messenger, String name) { in MethodChannel()
59 public MethodChannel(BinaryMessenger messenger, String name, MethodCodec codec) { in MethodChannel()
DEventChannel.java11 import io.flutter.plugin.common.BinaryMessenger.BinaryMessageHandler;
12 import io.flutter.plugin.common.BinaryMessenger.BinaryReply;
37 private final BinaryMessenger messenger;
48 public EventChannel(BinaryMessenger messenger, String name) { in EventChannel()
60 public EventChannel(BinaryMessenger messenger, String name, MethodCodec codec) { in EventChannel()
DBasicMessageChannel.java14 import io.flutter.plugin.common.BinaryMessenger.BinaryReply;
15 import io.flutter.plugin.common.BinaryMessenger.BinaryMessageHandler;
34 private final BinaryMessenger messenger;
48 …public BasicMessageChannel(@NonNull BinaryMessenger messenger, @NonNull String name, @NonNull Mess… in BasicMessageChannel()
DBinaryMessenger.java28 public interface BinaryMessenger { interface
DPluginRegistry.java95 BinaryMessenger messenger(); in messenger()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/include/flutter/
Dbinary_messenger.h30 class BinaryMessenger {
32 virtual ~BinaryMessenger() = default;
Dplugin_registrar.h41 BinaryMessenger* messenger() { return messenger_.get(); } in messenger()
60 std::unique_ptr<BinaryMessenger> messenger_;
Dmethod_channel.h35 MethodChannel(BinaryMessenger* messenger, in MethodChannel()
83 BinaryMessenger* messenger_;
Dbasic_message_channel.h37 BasicMessageChannel(BinaryMessenger* messenger, in BasicMessageChannel()
93 BinaryMessenger* messenger_;
/third_party/flutter/flutter/packages/flutter/lib/src/services/
Dbinary_messenger.dart17 abstract class BinaryMessenger {
19 const BinaryMessenger();
59 /// The default implementation of [BinaryMessenger].
64 class _DefaultBinaryMessenger extends BinaryMessenger {
149 /// The default instance of [BinaryMessenger].
154 const BinaryMessenger defaultBinaryMessenger = _DefaultBinaryMessenger._();
Dplatform_messages.dart20 /// * [BinaryMessenger], the interface which has replaced this class.
29 'deprecated in favor of BinaryMessenger, and its default '
/third_party/flutter/engine/flutter/shell/platform/glfw/
Dplatform_handler.h20 explicit PlatformHandler(flutter::BinaryMessenger* messenger,
Dkey_event_handler.h23 explicit KeyEventHandler(flutter::BinaryMessenger* messenger);
Dtext_input_plugin.h24 explicit TextInputPlugin(flutter::BinaryMessenger* messenger);
Dkey_event_handler.cc23 KeyEventHandler::KeyEventHandler(flutter::BinaryMessenger* messenger) in KeyEventHandler()
/third_party/flutter/engine/flutter/shell/platform/windows/
Dkey_event_handler.h25 explicit KeyEventHandler(flutter::BinaryMessenger* messenger);
Dplatform_handler.h20 explicit PlatformHandler(flutter::BinaryMessenger* messenger,
Dtext_input_plugin.h26 explicit TextInputPlugin(flutter::BinaryMessenger* messenger);
Dkey_event_handler.cc25 KeyEventHandler::KeyEventHandler(flutter::BinaryMessenger* messenger) in KeyEventHandler()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/app/
DFlutterPluginRegistry.java12 import io.flutter.plugin.common.BinaryMessenger;
124 public BinaryMessenger messenger() { in messenger()
/third_party/flutter/engine/flutter/shell/platform/android/io/flutter/embedding/engine/plugins/shim/
DShimRegistrar.java19 import io.flutter.plugin.common.BinaryMessenger;
66 public BinaryMessenger messenger() { in messenger()
/third_party/flutter/engine/flutter/shell/platform/common/cpp/client_wrapper/
Dplugin_registrar_unittests.cc51 BinaryMessenger* messenger = registrar.messenger(); in TEST()

12