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.
82 lines
1.9 KiB
82 lines
1.9 KiB
.class Lcom/facebook/GraphRequest$6; |
|
.super Ljava/lang/Object; |
|
.source "GraphRequest.java" |
|
|
|
# interfaces |
|
.implements Lcom/facebook/GraphRequest$KeyValueSerializer; |
|
|
|
|
|
# annotations |
|
.annotation system Ldalvik/annotation/EnclosingMethod; |
|
value = Lcom/facebook/GraphRequest;->serializeToBatch(Lorg/json/JSONArray;Ljava/util/Map;)V |
|
.end annotation |
|
|
|
.annotation system Ldalvik/annotation/InnerClass; |
|
accessFlags = 0x0 |
|
name = null |
|
.end annotation |
|
|
|
|
|
# instance fields |
|
.field final synthetic this$0:Lcom/facebook/GraphRequest; |
|
|
|
.field final synthetic val$keysAndValues:Ljava/util/ArrayList; |
|
|
|
|
|
# direct methods |
|
.method constructor <init>(Lcom/facebook/GraphRequest;Ljava/util/ArrayList;)V |
|
.locals 0 |
|
|
|
.prologue |
|
.line 1586 |
|
iput-object p1, p0, Lcom/facebook/GraphRequest$6;->this$0:Lcom/facebook/GraphRequest; |
|
|
|
iput-object p2, p0, Lcom/facebook/GraphRequest$6;->val$keysAndValues:Ljava/util/ArrayList; |
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V |
|
|
|
return-void |
|
.end method |
|
|
|
|
|
# virtual methods |
|
.method public writeString(Ljava/lang/String;Ljava/lang/String;)V |
|
.locals 6 |
|
|
|
.prologue |
|
.line 1589 |
|
iget-object v0, p0, Lcom/facebook/GraphRequest$6;->val$keysAndValues:Ljava/util/ArrayList; |
|
|
|
sget-object v1, Ljava/util/Locale;->US:Ljava/util/Locale; |
|
|
|
const-string v2, "%s=%s" |
|
|
|
const/4 v3, 0x2 |
|
|
|
new-array v3, v3, [Ljava/lang/Object; |
|
|
|
const/4 v4, 0x0 |
|
|
|
aput-object p1, v3, v4 |
|
|
|
const/4 v4, 0x1 |
|
|
|
const-string v5, "UTF-8" |
|
|
|
.line 1593 |
|
invoke-static {p2, v5}, Ljava/net/URLEncoder;->encode(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; |
|
|
|
move-result-object v5 |
|
|
|
aput-object v5, v3, v4 |
|
|
|
.line 1589 |
|
invoke-static {v1, v2, v3}, Ljava/lang/String;->format(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String; |
|
|
|
move-result-object v1 |
|
|
|
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z |
|
|
|
.line 1594 |
|
return-void |
|
.end method
|
|
|