370 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			370 lines
		
	
	
		
			9.4 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;
 | |
| .super Ljava/lang/Object;
 | |
| .source "GetCredentialsForIdentityResult.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Ljava/io/Serializable;
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field private credentials:Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
| .field private identityId:Ljava/lang/String;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>()V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public equals(Ljava/lang/Object;)Z
 | |
|     .locals 4
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     if-ne p0, p1, :cond_0
 | |
| 
 | |
|     return v0
 | |
| 
 | |
|     :cond_0
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez p1, :cond_1
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 1
 | |
|     :cond_1
 | |
|     instance-of v2, p1, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;
 | |
| 
 | |
|     if-nez v2, :cond_2
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 2
 | |
|     :cond_2
 | |
|     check-cast p1, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-nez v2, :cond_3
 | |
| 
 | |
|     move v2, v0
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_3
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_0
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     if-nez v3, :cond_4
 | |
| 
 | |
|     move v3, v0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_4
 | |
|     move v3, v1
 | |
| 
 | |
|     :goto_1
 | |
|     xor-int/2addr v2, v3
 | |
| 
 | |
|     if-eqz v2, :cond_5
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_5
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-eqz v2, :cond_6
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result v2
 | |
| 
 | |
|     if-nez v2, :cond_6
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_6
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-nez v2, :cond_7
 | |
| 
 | |
|     move v2, v0
 | |
| 
 | |
|     goto :goto_2
 | |
| 
 | |
|     :cond_7
 | |
|     move v2, v1
 | |
| 
 | |
|     :goto_2
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     if-nez v3, :cond_8
 | |
| 
 | |
|     move v3, v0
 | |
| 
 | |
|     goto :goto_3
 | |
| 
 | |
|     :cond_8
 | |
|     move v3, v1
 | |
| 
 | |
|     :goto_3
 | |
|     xor-int/2addr v2, v3
 | |
| 
 | |
|     if-eqz v2, :cond_9
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     .line 7
 | |
|     :cond_9
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-eqz v2, :cond_a
 | |
| 
 | |
|     .line 8
 | |
|     invoke-virtual {p1}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object p1
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {p1, v2}, Lcom/amazonaws/services/cognitoidentity/model/Credentials;->equals(Ljava/lang/Object;)Z
 | |
| 
 | |
|     move-result p1
 | |
| 
 | |
|     if-nez p1, :cond_a
 | |
| 
 | |
|     return v1
 | |
| 
 | |
|     :cond_a
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->credentials:Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public getIdentityId()Ljava/lang/String;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->identityId:Ljava/lang/String;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public hashCode()I
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     if-nez v0, :cond_0
 | |
| 
 | |
|     move v0, v1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     :goto_0
 | |
|     const/16 v2, 0x1f
 | |
| 
 | |
|     add-int/2addr v0, v2
 | |
| 
 | |
|     mul-int/2addr v0, v2
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     if-nez v2, :cond_1
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     :cond_1
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v1}, Lcom/amazonaws/services/cognitoidentity/model/Credentials;->hashCode()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     :goto_1
 | |
|     add-int/2addr v0, v1
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public setCredentials(Lcom/amazonaws/services/cognitoidentity/model/Credentials;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->credentials:Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public setIdentityId(Ljava/lang/String;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->identityId:Ljava/lang/String;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public toString()Ljava/lang/String;
 | |
|     .locals 3
 | |
| 
 | |
|     const-string v0, "{"
 | |
| 
 | |
|     .line 1
 | |
|     invoke-static {v0}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     const-string v1, "IdentityId: "
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getIdentityId()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     const-string v2, ","
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 4
 | |
|     :cond_0
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_1
 | |
| 
 | |
|     const-string v1, "Credentials: "
 | |
| 
 | |
|     .line 5
 | |
|     invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p0}, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->getCredentials()Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     :cond_1
 | |
|     const-string v1, "}"
 | |
| 
 | |
|     .line 6
 | |
|     invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     .line 7
 | |
|     invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public withCredentials(Lcom/amazonaws/services/cognitoidentity/model/Credentials;)Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->credentials:Lcom/amazonaws/services/cognitoidentity/model/Credentials;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 | |
| 
 | |
| .method public withIdentityId(Ljava/lang/String;)Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Lcom/amazonaws/services/cognitoidentity/model/GetCredentialsForIdentityResult;->identityId:Ljava/lang/String;
 | |
| 
 | |
|     return-object p0
 | |
| .end method
 |