mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
151 lines
5.3 KiB
Smali
151 lines
5.3 KiB
Smali
.class public final Lio/flutter/plugin/common/EventChannel;
|
|
.super Ljava/lang/Object;
|
|
.source "EventChannel.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lio/flutter/plugin/common/EventChannel$IncomingStreamRequestHandler;,
|
|
Lio/flutter/plugin/common/EventChannel$StreamHandler;,
|
|
Lio/flutter/plugin/common/EventChannel$EventSink;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final TAG:Ljava/lang/String; = "EventChannel#"
|
|
|
|
|
|
# instance fields
|
|
.field private final codec:Lio/flutter/plugin/common/MethodCodec;
|
|
|
|
.field private final messenger:Lio/flutter/plugin/common/BinaryMessenger;
|
|
|
|
.field private final name:Ljava/lang/String;
|
|
|
|
.field private final taskQueue:Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lio/flutter/plugin/common/BinaryMessenger;Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 48
|
|
sget-object v0, Lio/flutter/plugin/common/StandardMethodCodec;->INSTANCE:Lio/flutter/plugin/common/StandardMethodCodec;
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Lio/flutter/plugin/common/EventChannel;-><init>(Lio/flutter/plugin/common/BinaryMessenger;Ljava/lang/String;Lio/flutter/plugin/common/MethodCodec;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lio/flutter/plugin/common/BinaryMessenger;Ljava/lang/String;Lio/flutter/plugin/common/MethodCodec;)V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 60
|
|
invoke-direct {p0, p1, p2, p3, v0}, Lio/flutter/plugin/common/EventChannel;-><init>(Lio/flutter/plugin/common/BinaryMessenger;Ljava/lang/String;Lio/flutter/plugin/common/MethodCodec;Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lio/flutter/plugin/common/BinaryMessenger;Ljava/lang/String;Lio/flutter/plugin/common/MethodCodec;Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;)V
|
|
.locals 0
|
|
|
|
.line 78
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lio/flutter/plugin/common/EventChannel;->messenger:Lio/flutter/plugin/common/BinaryMessenger;
|
|
|
|
iput-object p2, p0, Lio/flutter/plugin/common/EventChannel;->name:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lio/flutter/plugin/common/EventChannel;->codec:Lio/flutter/plugin/common/MethodCodec;
|
|
|
|
iput-object p4, p0, Lio/flutter/plugin/common/EventChannel;->taskQueue:Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$000(Lio/flutter/plugin/common/EventChannel;)Lio/flutter/plugin/common/MethodCodec;
|
|
.locals 0
|
|
|
|
.line 32
|
|
iget-object p0, p0, Lio/flutter/plugin/common/EventChannel;->codec:Lio/flutter/plugin/common/MethodCodec;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic access$200(Lio/flutter/plugin/common/EventChannel;)Ljava/lang/String;
|
|
.locals 0
|
|
|
|
.line 32
|
|
iget-object p0, p0, Lio/flutter/plugin/common/EventChannel;->name:Ljava/lang/String;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method static synthetic access$400(Lio/flutter/plugin/common/EventChannel;)Lio/flutter/plugin/common/BinaryMessenger;
|
|
.locals 0
|
|
|
|
.line 32
|
|
iget-object p0, p0, Lio/flutter/plugin/common/EventChannel;->messenger:Lio/flutter/plugin/common/BinaryMessenger;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public setStreamHandler(Lio/flutter/plugin/common/EventChannel$StreamHandler;)V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lio/flutter/plugin/common/EventChannel;->taskQueue:Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
iget-object v0, p0, Lio/flutter/plugin/common/EventChannel;->messenger:Lio/flutter/plugin/common/BinaryMessenger;
|
|
|
|
iget-object v2, p0, Lio/flutter/plugin/common/EventChannel;->name:Ljava/lang/String;
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 113
|
|
:cond_0
|
|
new-instance v1, Lio/flutter/plugin/common/EventChannel$IncomingStreamRequestHandler;
|
|
|
|
invoke-direct {v1, p0, p1}, Lio/flutter/plugin/common/EventChannel$IncomingStreamRequestHandler;-><init>(Lio/flutter/plugin/common/EventChannel;Lio/flutter/plugin/common/EventChannel$StreamHandler;)V
|
|
|
|
:goto_0
|
|
iget-object p0, p0, Lio/flutter/plugin/common/EventChannel;->taskQueue:Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;
|
|
|
|
.line 112
|
|
invoke-interface {v0, v2, v1, p0}, Lio/flutter/plugin/common/BinaryMessenger;->setMessageHandler(Ljava/lang/String;Lio/flutter/plugin/common/BinaryMessenger$BinaryMessageHandler;Lio/flutter/plugin/common/BinaryMessenger$TaskQueue;)V
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
iget-object v0, p0, Lio/flutter/plugin/common/EventChannel;->messenger:Lio/flutter/plugin/common/BinaryMessenger;
|
|
|
|
iget-object v2, p0, Lio/flutter/plugin/common/EventChannel;->name:Ljava/lang/String;
|
|
|
|
if-nez p1, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
.line 116
|
|
:cond_2
|
|
new-instance v1, Lio/flutter/plugin/common/EventChannel$IncomingStreamRequestHandler;
|
|
|
|
invoke-direct {v1, p0, p1}, Lio/flutter/plugin/common/EventChannel$IncomingStreamRequestHandler;-><init>(Lio/flutter/plugin/common/EventChannel;Lio/flutter/plugin/common/EventChannel$StreamHandler;)V
|
|
|
|
.line 115
|
|
:goto_1
|
|
invoke-interface {v0, v2, v1}, Lio/flutter/plugin/common/BinaryMessenger;->setMessageHandler(Ljava/lang/String;Lio/flutter/plugin/common/BinaryMessenger$BinaryMessageHandler;)V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|