274 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			274 lines
		
	
	
		
			6.2 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Leg/z;
 | |
| .super Ljava/io/OutputStream;
 | |
| .source "LoggingOutputStream.java"
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Lcz/msebera/android/httpclient/annotation/NotThreadSafe;
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public final a:Ljava/io/OutputStream;
 | |
| 
 | |
| .field public final b:Leg/l0;
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public constructor <init>(Ljava/io/OutputStream;Leg/l0;)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     iput-object p1, p0, Leg/z;->a:Ljava/io/OutputStream;
 | |
| 
 | |
|     .line 3
 | |
|     iput-object p2, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public close()V
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Ljava/io/IOException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     :try_start_0
 | |
|     iget-object v0, p0, Leg/z;->a:Ljava/io/OutputStream;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/io/OutputStream;->close()V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception v0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     const-string v2, "[close] I/O error: "
 | |
| 
 | |
|     invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Leg/l0;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     .line 3
 | |
|     throw v0
 | |
| .end method
 | |
| 
 | |
| .method public flush()V
 | |
|     .locals 4
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Ljava/io/IOException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     :try_start_0
 | |
|     iget-object v0, p0, Leg/z;->a:Ljava/io/OutputStream;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/io/OutputStream;->flush()V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception v0
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     const-string v2, "[flush] I/O error: "
 | |
| 
 | |
|     invoke-static {v2}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v3
 | |
| 
 | |
|     invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v1, v2}, Leg/l0;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     .line 3
 | |
|     throw v0
 | |
| .end method
 | |
| 
 | |
| .method public write(I)V
 | |
|     .locals 3
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Ljava/io/IOException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 1
 | |
|     :try_start_0
 | |
|     iget-object v0, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Leg/l0;->g(I)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     const-string v1, "[write] I/O error: "
 | |
| 
 | |
|     invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object 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}, Leg/l0;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     .line 3
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method public write([B)V
 | |
|     .locals 3
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Ljava/io/IOException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 4
 | |
|     :try_start_0
 | |
|     iget-object v0, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Leg/l0;->j([B)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v0, p0, Leg/z;->a:Ljava/io/OutputStream;
 | |
| 
 | |
|     invoke-virtual {v0, p1}, Ljava/io/OutputStream;->write([B)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 6
 | |
|     iget-object v0, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     const-string v1, "[write] I/O error: "
 | |
| 
 | |
|     invoke-static {v1}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object 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}, Leg/l0;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     .line 7
 | |
|     throw p1
 | |
| .end method
 | |
| 
 | |
| .method public write([BII)V
 | |
|     .locals 1
 | |
|     .annotation system Ldalvik/annotation/Throws;
 | |
|         value = {
 | |
|             Ljava/io/IOException;
 | |
|         }
 | |
|     .end annotation
 | |
| 
 | |
|     .line 8
 | |
|     :try_start_0
 | |
|     iget-object v0, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     invoke-virtual {v0, p1, p2, p3}, Leg/l0;->k([BII)V
 | |
| 
 | |
|     .line 9
 | |
|     iget-object v0, p0, Leg/z;->a:Ljava/io/OutputStream;
 | |
| 
 | |
|     invoke-virtual {v0, p1, p2, p3}, Ljava/io/OutputStream;->write([BII)V
 | |
|     :try_end_0
 | |
|     .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catch_0
 | |
|     move-exception p1
 | |
| 
 | |
|     .line 10
 | |
|     iget-object p2, p0, Leg/z;->b:Leg/l0;
 | |
| 
 | |
|     const-string p3, "[write] I/O error: "
 | |
| 
 | |
|     invoke-static {p3}, Landroid/support/v4/media/d;->a(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     invoke-virtual {p1}, Ljava/io/IOException;->getMessage()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-virtual {p3, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
 | |
| 
 | |
|     invoke-virtual {p3}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object p3
 | |
| 
 | |
|     invoke-virtual {p2, p3}, Leg/l0;->i(Ljava/lang/String;)V
 | |
| 
 | |
|     .line 11
 | |
|     throw p1
 | |
| .end method
 |