今奥全景相机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

821 lines
22 KiB

.class public Lcom/viatech/camera/RemoteCameraConnectManager;
.super Ljava/lang/Object;
.source "RemoteCameraConnectManager.java"
# interfaces
.implements Lcom/viatech/device/VPaiDeviceConnectionListener;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/viatech/camera/RemoteCameraConnectManager$OnRemoteUpdateCallback;,
Lcom/viatech/camera/RemoteCameraConnectManager$OnRemoteFileListChange;
}
.end annotation
# static fields
.field private static final MSG_RESTART_CONNECT:I = 0x1
.field private static final TAG:Ljava/lang/String; = "VPaiDeviceManager"
.field private static mBuglyCrashReportTagList:Ljava/util/HashMap;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/HashMap",
"<",
"Ljava/lang/Integer;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
.field private static sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
# instance fields
.field private mContext:Landroid/content/Context;
.field private mCurDevice:Lcom/viatech/device/VPaiDevice;
.field private mHandler:Landroid/os/Handler;
.field private mMediaListener:Lcom/viatech/device/MediaPortListener;
.field private mUpdateManager:Lcom/viatech/update/UpdateManager;
# direct methods
.method static constructor <clinit>()V
.locals 1
.prologue
.line 33
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
sput-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
return-void
.end method
.method private constructor <init>(Landroid/content/Context;)V
.locals 1
.prologue
.line 85
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 122
new-instance v0, Lcom/viatech/camera/RemoteCameraConnectManager$1;
invoke-direct {v0, p0}, Lcom/viatech/camera/RemoteCameraConnectManager$1;-><init>(Lcom/viatech/camera/RemoteCameraConnectManager;)V
iput-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mHandler:Landroid/os/Handler;
.line 86
iput-object p1, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mContext:Landroid/content/Context;
.line 87
return-void
.end method
.method static synthetic access$000(Lcom/viatech/camera/RemoteCameraConnectManager;)Landroid/os/Handler;
.locals 1
.prologue
.line 28
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mHandler:Landroid/os/Handler;
return-object v0
.end method
.method static synthetic access$100(Lcom/viatech/camera/RemoteCameraConnectManager;)Landroid/content/Context;
.locals 1
.prologue
.line 28
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mContext:Landroid/content/Context;
return-object v0
.end method
.method static synthetic access$200(Lcom/viatech/camera/RemoteCameraConnectManager;)Lcom/viatech/device/VPaiDevice;
.locals 1
.prologue
.line 28
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
return-object v0
.end method
.method static synthetic access$300(Lcom/viatech/camera/RemoteCameraConnectManager;)Lcom/viatech/device/MediaPortListener;
.locals 1
.prologue
.line 28
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mMediaListener:Lcom/viatech/device/MediaPortListener;
return-object v0
.end method
.method public static create(Landroid/content/Context;)V
.locals 3
.prologue
.line 48
new-instance v0, Lcom/viatech/camera/RemoteCameraConnectManager;
invoke-direct {v0, p0}, Lcom/viatech/camera/RemoteCameraConnectManager;-><init>(Landroid/content/Context;)V
sput-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
.line 51
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
const v1, 0x8c29
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "VTS8641"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 52
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
const v1, 0x8c2a
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "VTS8641C"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 53
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
const v1, 0x8c2b
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "smalleye"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 54
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
const v1, 0x9ece
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const-string v2, "V760"
invoke-virtual {v0, v1, v2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.line 55
return-void
.end method
.method public static curDevice()Lcom/viatech/device/VPaiDevice;
.locals 1
.prologue
.line 42
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
if-eqz v0, :cond_0
.line 43
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
iget-object v0, v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
.line 44
:goto_0
return-object v0
:cond_0
const/4 v0, 0x0
goto :goto_0
.end method
.method public static destory()V
.locals 2
.prologue
.line 77
const-string v0, "VPaiDeviceManager"
const-string v1, " destory()"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 79
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
if-eqz v0, :cond_0
.line 80
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
invoke-virtual {v0}, Lcom/viatech/camera/RemoteCameraConnectManager;->finish()V
.line 81
:cond_0
const/4 v0, 0x0
sput-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
.line 82
return-void
.end method
.method public static findBuglyCrashReportTag(Ljava/lang/String;)I
.locals 4
.prologue
.line 58
const v2, 0x8c29
.line 59
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->mBuglyCrashReportTagList:Ljava/util/HashMap;
invoke-virtual {v0}, Ljava/util/HashMap;->entrySet()Ljava/util/Set;
move-result-object v0
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object v3
.line 60
:cond_0
invoke-interface {v3}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
.line 61
invoke-interface {v3}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 62
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v1
check-cast v1, Ljava/lang/Integer;
check-cast v1, Ljava/lang/Integer;
invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I
move-result v1
.line 63
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
check-cast v0, Ljava/lang/String;
.line 64
if-eqz v0, :cond_0
invoke-virtual {v0, p0}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_0
move v0, v1
.line 69
:goto_0
return v0
:cond_1
move v0, v2
goto :goto_0
.end method
.method public static instance()Lcom/viatech/camera/RemoteCameraConnectManager;
.locals 1
.prologue
.line 73
sget-object v0, Lcom/viatech/camera/RemoteCameraConnectManager;->sIns:Lcom/viatech/camera/RemoteCameraConnectManager;
return-object v0
.end method
# virtual methods
.method public connectCurDevice(Lcom/viatech/device/VPaiDevice;ZLcom/viatech/device/MediaPortListener;)V
.locals 4
.prologue
.line 106
:try_start_0
iput-object p3, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mMediaListener:Lcom/viatech/device/MediaPortListener;
.line 107
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eq v0, p1, :cond_0
.line 110
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->close()V
.line 112
:cond_0
iput-object p1, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
.line 113
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eqz v0, :cond_1
.line 114
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0, p0, p3, p2}, Lcom/viatech/device/VPaiDevice;->connectDevice(Lcom/viatech/device/VPaiDeviceConnectionListener;Lcom/viatech/device/MediaPortListener;Z)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
.line 119
:cond_1
:goto_0
return-void
.line 116
:catch_0
move-exception v0
.line 117
const-string v1, "VPaiDeviceManager"
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "Exception:"
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_0
.end method
.method public connectCurDevice(Lcom/viatech/device/VPaiDevice;ZLcom/viatech/device/MediaPortListener;Lcom/viatech/device/VPaiDeviceConnectionListener;)V
.locals 2
.prologue
.line 97
invoke-virtual {p0, p1, p2, p3}, Lcom/viatech/camera/RemoteCameraConnectManager;->connectCurDevice(Lcom/viatech/device/VPaiDevice;ZLcom/viatech/device/MediaPortListener;)V
.line 98
if-eqz p4, :cond_0
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isCtrlConnect()Z
move-result v0
if-eqz v0, :cond_0
.line 99
const-string v0, "VPaiDeviceManager"
const-string v1, "registerConnCallback"
invoke-static {v0, v1}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 100
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0, p4}, Lcom/viatech/device/VPaiDevice;->registerConnCallback(Lcom/viatech/device/VPaiDeviceConnectionListener;)V
.line 102
:cond_0
return-void
.end method
.method public finish()V
.locals 1
.prologue
.line 90
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eqz v0, :cond_0
.line 91
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->close()V
.line 94
:cond_0
return-void
.end method
.method public onDeviceConnectionChanged(Lcom/viatech/device/VPaiDevice;Lcom/viatech/device/DeviceInfo;)V
.locals 5
.prologue
const/4 v4, 0x0
const/4 v1, 0x1
.line 143
const-string v2, "VPaiDeviceManager"
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
const-string v3, "onDeviceConnectionChanged "
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v3, ",ok="
invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v3
if-eqz p2, :cond_2
move v0, v1
:goto_0
invoke-virtual {v3, v0}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-static {v2, v0}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 145
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
if-eq v0, p1, :cond_3
.line 147
:cond_0
const-string v0, "VPaiDeviceManager"
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "onCtrlConnection ignore:"
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
iget-object v2, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->i(Ljava/lang/String;Ljava/lang/String;)I
.line 171
:cond_1
:goto_1
return-void
.line 143
:cond_2
const/4 v0, 0x0
goto :goto_0
.line 151
:cond_3
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
if-eqz v0, :cond_4
.line 152
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
invoke-virtual {v0}, Lcom/viatech/update/UpdateManager;->destory()V
.line 153
iput-object v4, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
.line 155
:cond_4
if-eqz p2, :cond_6
.line 156
new-instance v0, Lcom/viatech/update/UpdateManager;
iget-object v1, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mContext:Landroid/content/Context;
iget-object v2, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-direct {v0, v1, v2}, Lcom/viatech/update/UpdateManager;-><init>(Landroid/content/Context;Lcom/viatech/device/VPaiDevice;)V
iput-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
.line 157
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v0}, Lcom/viatech/device/VPaiDevice;->isUSBDevice()Z
move-result v0
if-nez v0, :cond_1
.line 158
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mContext:Landroid/content/Context;
invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;
move-result-object v0
invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;
move-result-object v0
iget-object v0, v0, Landroid/content/res/Configuration;->locale:Ljava/util/Locale;
.line 159
invoke-virtual {v0}, Ljava/util/Locale;->getLanguage()Ljava/lang/String;
move-result-object v0
.line 160
invoke-virtual {v0}, Ljava/lang/String;->isEmpty()Z
move-result v1
if-eqz v1, :cond_5
.line 161
const-string v0, "en"
.line 162
const-string v1, "VPaiDeviceManager"
const-string v2, "set defaute language en"
invoke-static {v1, v2}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 164
:cond_5
iget-object v1, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mCurDevice:Lcom/viatech/device/VPaiDevice;
invoke-virtual {v1, v0, v4}, Lcom/viatech/device/VPaiDevice;->setLanguage(Ljava/lang/String;Lcom/viatech/device/DeviceMessage$DeviceMessageCallback;)V
.line 165
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mContext:Landroid/content/Context;
iget-object v1, p2, Lcom/viatech/device/DeviceInfo;->module:Ljava/lang/String;
invoke-static {v1}, Lcom/viatech/camera/RemoteCameraConnectManager;->findBuglyCrashReportTag(Ljava/lang/String;)I
move-result v1
invoke-static {v0, v1}, Lcom/tencent/bugly/crashreport/a;->a(Landroid/content/Context;I)V
goto :goto_1
.line 168
:cond_6
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mHandler:Landroid/os/Handler;
invoke-virtual {v0, v1}, Landroid/os/Handler;->removeMessages(I)V
.line 169
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mHandler:Landroid/os/Handler;
const-wide/16 v2, 0x2710
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->sendEmptyMessageDelayed(IJ)Z
goto :goto_1
.end method
.method public onDeviceCustomCommand(B[B)V
.locals 5
.prologue
const/4 v3, 0x1
const/4 v4, 0x0
.line 194
const-string v0, "onCustomCommand cmd %d, payload[0]= %d"
const/4 v1, 0x2
new-array v1, v1, [Ljava/lang/Object;
invoke-static {p1}, Ljava/lang/Byte;->valueOf(B)Ljava/lang/Byte;
move-result-object v2
aput-object v2, v1, v4
invoke-static {p2, v4}, Lcom/viatech/util/Util;->bytes2Int([BI)I
move-result v2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v2
aput-object v2, v1, v3
invoke-static {v0, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
.line 195
iget-object v1, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
if-eqz v1, :cond_0
array-length v1, p2
const/16 v2, 0x8
if-ge v1, v2, :cond_1
.line 210
:cond_0
:goto_0
return-void
.line 198
:cond_1
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
const-string v1, ", payload[1]=%d"
new-array v2, v3, [Ljava/lang/Object;
const/4 v3, 0x4
invoke-static {p2, v3}, Lcom/viatech/util/Util;->bytes2Int([BI)I
move-result v3
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
aput-object v3, v2, v4
invoke-static {v1, v2}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v0
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
.line 199
const-string v1, "VPaiDeviceManager"
invoke-static {v1, v0}, Landroid/util/Log;->d(Ljava/lang/String;Ljava/lang/String;)I
.line 200
iget-object v0, p0, Lcom/viatech/camera/RemoteCameraConnectManager;->mUpdateManager:Lcom/viatech/update/UpdateManager;
invoke-virtual {v0}, Lcom/viatech/update/UpdateManager;->getUpgradeHandler()Landroid/os/Handler;
move-result-object v0
.line 201
if-eqz v0, :cond_0
const/16 v1, 0x50
if-ne p1, v1, :cond_0
.line 202
new-instance v1, Landroid/os/Message;
invoke-direct {v1}, Landroid/os/Message;-><init>()V
.line 203
const/16 v2, 0x3ee
iput v2, v1, Landroid/os/Message;->what:I
.line 204
iput p1, v1, Landroid/os/Message;->arg1:I
.line 205
new-instance v2, Landroid/os/Bundle;
invoke-direct {v2}, Landroid/os/Bundle;-><init>()V
.line 206
const-string v3, "payload"
invoke-virtual {v2, v3, p2}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
.line 207
invoke-virtual {v1, v2}, Landroid/os/Message;->setData(Landroid/os/Bundle;)V
.line 208
invoke-virtual {v0, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z
goto :goto_0
.end method
.method public onDeviceInfoChanged(Lcom/viatech/device/DeviceInfo;)V
.locals 0
.prologue
.line 176
return-void
.end method
.method public refreshDownloadingFileList()V
.locals 0
.prologue
.line 180
return-void
.end method