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.
159 lines
4.2 KiB
159 lines
4.2 KiB
.class Lcom/viatech/cloud/CloudService$1; |
|
.super Ljava/lang/Object; |
|
.source "CloudService.java" |
|
|
|
# interfaces |
|
.implements Lcom/via/vpaicloud/storage/a$a; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/viatech/cloud/CloudService;->deleteFile(Lcom/viatech/gallery/FileInfo;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/viatech/cloud/CloudService; |
|
|
|
.field final synthetic val$fileInfo:Lcom/viatech/gallery/FileInfo; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/viatech/cloud/CloudService;Lcom/viatech/gallery/FileInfo;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 65 |
|
iput-object p1, p0, Lcom/viatech/cloud/CloudService$1;->this$0:Lcom/viatech/cloud/CloudService; |
|
|
|
iput-object p2, p0, Lcom/viatech/cloud/CloudService$1;->val$fileInfo:Lcom/viatech/gallery/FileInfo; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public onFailure(I)V |
|
.locals 4 |
|
|
|
.prologue |
|
.line 74 |
|
invoke-static {}, Lcom/viatech/cloud/CloudService;->access$000()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "cloudservice delete file fail fileName: " |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/cloud/CloudService$1;->val$fileInfo:Lcom/viatech/gallery/FileInfo; |
|
|
|
iget-object v2, v2, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 75 |
|
iget-object v0, p0, Lcom/viatech/cloud/CloudService$1;->this$0:Lcom/viatech/cloud/CloudService; |
|
|
|
const/4 v1, 0x1 |
|
|
|
new-array v1, v1, [Ljava/lang/Object; |
|
|
|
const/4 v2, 0x0 |
|
|
|
const/4 v3, 0x2 |
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v3 |
|
|
|
aput-object v3, v1, v2 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/a/b;->a(Landroid/content/Context;[Ljava/lang/Object;)V |
|
|
|
.line 76 |
|
return-void |
|
.end method |
|
|
|
.method public onSuccess()V |
|
.locals 4 |
|
|
|
.prologue |
|
const/4 v3, 0x0 |
|
|
|
.line 68 |
|
invoke-static {}, Lcom/viatech/cloud/CloudService;->access$000()Ljava/lang/String; |
|
|
|
move-result-object v0 |
|
|
|
new-instance v1, Ljava/lang/StringBuilder; |
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V |
|
|
|
const-string v2, "cloudservice delete file success fileName: " |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; |
|
|
|
move-result-object v1 |
|
|
|
iget-object v2, p0, Lcom/viatech/cloud/CloudService$1;->val$fileInfo:Lcom/viatech/gallery/FileInfo; |
|
|
|
iget-object v2, v2, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; |
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)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;->d(Ljava/lang/String;Ljava/lang/String;)I |
|
|
|
.line 69 |
|
iget-object v0, p0, Lcom/viatech/cloud/CloudService$1;->this$0:Lcom/viatech/cloud/CloudService; |
|
|
|
const/4 v1, 0x2 |
|
|
|
new-array v1, v1, [Ljava/lang/Object; |
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer; |
|
|
|
move-result-object v2 |
|
|
|
aput-object v2, v1, v3 |
|
|
|
const/4 v2, 0x1 |
|
|
|
iget-object v3, p0, Lcom/viatech/cloud/CloudService$1;->val$fileInfo:Lcom/viatech/gallery/FileInfo; |
|
|
|
iget-object v3, v3, Lcom/viatech/gallery/FileInfo;->name:Ljava/lang/String; |
|
|
|
aput-object v3, v1, v2 |
|
|
|
invoke-static {v0, v1}, Lcom/viatech/a/b;->a(Landroid/content/Context;[Ljava/lang/Object;)V |
|
|
|
.line 70 |
|
return-void |
|
.end method
|
|
|