617 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			617 lines
		
	
	
		
			12 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
| .class public Landroidx/room/m;
 | |
| .super Ljava/lang/Object;
 | |
| .source "RoomSQLiteQuery.java"
 | |
| 
 | |
| # interfaces
 | |
| .implements Lc3/g;
 | |
| .implements Lc3/f;
 | |
| 
 | |
| 
 | |
| # annotations
 | |
| .annotation build Landroidx/annotation/RestrictTo;
 | |
|     value = {
 | |
|         .enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
 | |
|     }
 | |
| .end annotation
 | |
| 
 | |
| 
 | |
| # static fields
 | |
| .field public static final K0:I = 0x5
 | |
| 
 | |
| .field public static final i:I = 0xf
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public static final j:I = 0xa
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public static final k:Ljava/util/TreeMap;
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| 
 | |
|     .annotation system Ldalvik/annotation/Signature;
 | |
|         value = {
 | |
|             "Ljava/util/TreeMap<",
 | |
|             "Ljava/lang/Integer;",
 | |
|             "Landroidx/room/m;",
 | |
|             ">;"
 | |
|         }
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public static final k0:I = 0x4
 | |
| 
 | |
| .field public static final l:I = 0x1
 | |
| 
 | |
| .field public static final p:I = 0x2
 | |
| 
 | |
| .field public static final u:I = 0x3
 | |
| 
 | |
| 
 | |
| # instance fields
 | |
| .field public volatile a:Ljava/lang/String;
 | |
| 
 | |
| .field public final b:[J
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public final c:[D
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public final d:[Ljava/lang/String;
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public final e:[[B
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public final f:[I
 | |
| 
 | |
| .field public final g:I
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| .field public h:I
 | |
|     .annotation build Landroidx/annotation/VisibleForTesting;
 | |
|     .end annotation
 | |
| .end field
 | |
| 
 | |
| 
 | |
| # direct methods
 | |
| .method public static constructor <clinit>()V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     new-instance v0, Ljava/util/TreeMap;
 | |
| 
 | |
|     invoke-direct {v0}, Ljava/util/TreeMap;-><init>()V
 | |
| 
 | |
|     sput-object v0, Landroidx/room/m;->k:Ljava/util/TreeMap;
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public constructor <init>(I)V
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     invoke-direct {p0}, Ljava/lang/Object;-><init>()V
 | |
| 
 | |
|     .line 2
 | |
|     iput p1, p0, Landroidx/room/m;->g:I
 | |
| 
 | |
|     add-int/lit8 p1, p1, 0x1
 | |
| 
 | |
|     .line 3
 | |
|     new-array v0, p1, [I
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     .line 4
 | |
|     new-array v0, p1, [J
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/room/m;->b:[J
 | |
| 
 | |
|     .line 5
 | |
|     new-array v0, p1, [D
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/room/m;->c:[D
 | |
| 
 | |
|     .line 6
 | |
|     new-array v0, p1, [Ljava/lang/String;
 | |
| 
 | |
|     iput-object v0, p0, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     .line 7
 | |
|     new-array p1, p1, [[B
 | |
| 
 | |
|     iput-object p1, p0, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public static d(Ljava/lang/String;I)Landroidx/room/m;
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Landroidx/room/m;->k:Ljava/util/TreeMap;
 | |
| 
 | |
|     monitor-enter v0
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1}, Ljava/util/TreeMap;->ceilingEntry(Ljava/lang/Object;)Ljava/util/Map$Entry;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     if-eqz v1, :cond_0
 | |
| 
 | |
|     .line 3
 | |
|     invoke-interface {v1}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v2
 | |
| 
 | |
|     invoke-virtual {v0, v2}, Ljava/util/TreeMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     .line 4
 | |
|     invoke-interface {v1}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     check-cast v1, Landroidx/room/m;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-virtual {v1, p0, p1}, Landroidx/room/m;->u(Ljava/lang/String;I)V
 | |
| 
 | |
|     .line 6
 | |
|     monitor-exit v0
 | |
| 
 | |
|     return-object v1
 | |
| 
 | |
|     .line 7
 | |
|     :cond_0
 | |
|     monitor-exit v0
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     .line 8
 | |
|     new-instance v0, Landroidx/room/m;
 | |
| 
 | |
|     invoke-direct {v0, p1}, Landroidx/room/m;-><init>(I)V
 | |
| 
 | |
|     .line 9
 | |
|     invoke-virtual {v0, p0, p1}, Landroidx/room/m;->u(Ljava/lang/String;I)V
 | |
| 
 | |
|     return-object v0
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception p0
 | |
| 
 | |
|     .line 10
 | |
|     :try_start_1
 | |
|     monitor-exit v0
 | |
|     :try_end_1
 | |
|     .catchall {:try_start_1 .. :try_end_1} :catchall_0
 | |
| 
 | |
|     throw p0
 | |
| .end method
 | |
| 
 | |
| .method public static k(Lc3/g;)Landroidx/room/m;
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     invoke-interface {p0}, Lc3/g;->c()Ljava/lang/String;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-interface {p0}, Lc3/g;->a()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {v0, v1}, Landroidx/room/m;->d(Ljava/lang/String;I)Landroidx/room/m;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     .line 4
 | |
|     new-instance v1, Landroidx/room/m$a;
 | |
| 
 | |
|     invoke-direct {v1, v0}, Landroidx/room/m$a;-><init>(Landroidx/room/m;)V
 | |
| 
 | |
|     invoke-interface {p0, v1}, Lc3/g;->b(Lc3/f;)V
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public static v()V
 | |
|     .locals 3
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Landroidx/room/m;->k:Ljava/util/TreeMap;
 | |
| 
 | |
|     invoke-virtual {v0}, Ljava/util/TreeMap;->size()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     const/16 v2, 0xf
 | |
| 
 | |
|     if-le v1, v2, :cond_0
 | |
| 
 | |
|     .line 2
 | |
|     invoke-virtual {v0}, Ljava/util/TreeMap;->size()I
 | |
| 
 | |
|     move-result v1
 | |
| 
 | |
|     add-int/lit8 v1, v1, -0xa
 | |
| 
 | |
|     .line 3
 | |
|     invoke-virtual {v0}, Ljava/util/TreeMap;->descendingKeySet()Ljava/util/NavigableSet;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     invoke-interface {v0}, Ljava/util/NavigableSet;->iterator()Ljava/util/Iterator;
 | |
| 
 | |
|     move-result-object v0
 | |
| 
 | |
|     :goto_0
 | |
|     add-int/lit8 v2, v1, -0x1
 | |
| 
 | |
|     if-lez v1, :cond_0
 | |
| 
 | |
|     .line 4
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
 | |
| 
 | |
|     .line 5
 | |
|     invoke-interface {v0}, Ljava/util/Iterator;->remove()V
 | |
| 
 | |
|     move v1, v2
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_0
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| 
 | |
| # virtual methods
 | |
| .method public O0(IJ)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x2
 | |
| 
 | |
|     aput v1, v0, p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/room/m;->b:[J
 | |
| 
 | |
|     aput-wide p2, v0, p1
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public T0(I[B)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x5
 | |
| 
 | |
|     aput v1, v0, p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     aput-object p2, v0, p1
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public a()I
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget v0, p0, Landroidx/room/m;->h:I
 | |
| 
 | |
|     return v0
 | |
| .end method
 | |
| 
 | |
| .method public b(Lc3/f;)V
 | |
|     .locals 5
 | |
| 
 | |
|     const/4 v0, 0x1
 | |
| 
 | |
|     move v1, v0
 | |
| 
 | |
|     .line 1
 | |
|     :goto_0
 | |
|     iget v2, p0, Landroidx/room/m;->h:I
 | |
| 
 | |
|     if-gt v1, v2, :cond_5
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v2, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     aget v2, v2, v1
 | |
| 
 | |
|     if-eq v2, v0, :cond_4
 | |
| 
 | |
|     const/4 v3, 0x2
 | |
| 
 | |
|     if-eq v2, v3, :cond_3
 | |
| 
 | |
|     const/4 v3, 0x3
 | |
| 
 | |
|     if-eq v2, v3, :cond_2
 | |
| 
 | |
|     const/4 v3, 0x4
 | |
| 
 | |
|     if-eq v2, v3, :cond_1
 | |
| 
 | |
|     const/4 v3, 0x5
 | |
| 
 | |
|     if-eq v2, v3, :cond_0
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 3
 | |
|     :cond_0
 | |
|     iget-object v2, p0, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     aget-object v2, v2, v1
 | |
| 
 | |
|     invoke-interface {p1, v1, v2}, Lc3/f;->T0(I[B)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 4
 | |
|     :cond_1
 | |
|     iget-object v2, p0, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     aget-object v2, v2, v1
 | |
| 
 | |
|     invoke-interface {p1, v1, v2}, Lc3/f;->x0(ILjava/lang/String;)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 5
 | |
|     :cond_2
 | |
|     iget-object v2, p0, Landroidx/room/m;->c:[D
 | |
| 
 | |
|     aget-wide v3, v2, v1
 | |
| 
 | |
|     invoke-interface {p1, v1, v3, v4}, Lc3/f;->w(ID)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 6
 | |
|     :cond_3
 | |
|     iget-object v2, p0, Landroidx/room/m;->b:[J
 | |
| 
 | |
|     aget-wide v3, v2, v1
 | |
| 
 | |
|     invoke-interface {p1, v1, v3, v4}, Lc3/f;->O0(IJ)V
 | |
| 
 | |
|     goto :goto_1
 | |
| 
 | |
|     .line 7
 | |
|     :cond_4
 | |
|     invoke-interface {p1, v1}, Lc3/f;->h1(I)V
 | |
| 
 | |
|     :goto_1
 | |
|     add-int/lit8 v1, v1, 0x1
 | |
| 
 | |
|     goto :goto_0
 | |
| 
 | |
|     :cond_5
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public c()Ljava/lang/String;
 | |
|     .locals 1
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->a:Ljava/lang/String;
 | |
| 
 | |
|     return-object v0
 | |
| .end method
 | |
| 
 | |
| .method public close()V
 | |
|     .locals 0
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public f(Landroidx/room/m;)V
 | |
|     .locals 4
 | |
| 
 | |
|     .line 1
 | |
|     invoke-virtual {p1}, Landroidx/room/m;->a()I
 | |
| 
 | |
|     move-result v0
 | |
| 
 | |
|     add-int/lit8 v0, v0, 0x1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v1, p1, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v3, 0x0
 | |
| 
 | |
|     invoke-static {v1, v3, v2, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v1, p1, Landroidx/room/m;->b:[J
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/room/m;->b:[J
 | |
| 
 | |
|     invoke-static {v1, v3, v2, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     .line 4
 | |
|     iget-object v1, p1, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     invoke-static {v1, v3, v2, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     .line 5
 | |
|     iget-object v1, p1, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     iget-object v2, p0, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     invoke-static {v1, v3, v2, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     .line 6
 | |
|     iget-object p1, p1, Landroidx/room/m;->c:[D
 | |
| 
 | |
|     iget-object v1, p0, Landroidx/room/m;->c:[D
 | |
| 
 | |
|     invoke-static {p1, v3, v1, v3, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public h1(I)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     aput v1, v0, p1
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public release()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     sget-object v0, Landroidx/room/m;->k:Ljava/util/TreeMap;
 | |
| 
 | |
|     monitor-enter v0
 | |
| 
 | |
|     .line 2
 | |
|     :try_start_0
 | |
|     iget v1, p0, Landroidx/room/m;->g:I
 | |
| 
 | |
|     invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
 | |
| 
 | |
|     move-result-object v1
 | |
| 
 | |
|     invoke-virtual {v0, v1, p0}, Ljava/util/TreeMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
 | |
| 
 | |
|     .line 3
 | |
|     invoke-static {}, Landroidx/room/m;->v()V
 | |
| 
 | |
|     .line 4
 | |
|     monitor-exit v0
 | |
| 
 | |
|     return-void
 | |
| 
 | |
|     :catchall_0
 | |
|     move-exception v1
 | |
| 
 | |
|     monitor-exit v0
 | |
|     :try_end_0
 | |
|     .catchall {:try_start_0 .. :try_end_0} :catchall_0
 | |
| 
 | |
|     throw v1
 | |
| .end method
 | |
| 
 | |
| .method public u(Ljava/lang/String;I)V
 | |
|     .locals 0
 | |
| 
 | |
|     .line 1
 | |
|     iput-object p1, p0, Landroidx/room/m;->a:Ljava/lang/String;
 | |
| 
 | |
|     .line 2
 | |
|     iput p2, p0, Landroidx/room/m;->h:I
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public w(ID)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x3
 | |
| 
 | |
|     aput v1, v0, p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/room/m;->c:[D
 | |
| 
 | |
|     aput-wide p2, v0, p1
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public x0(ILjava/lang/String;)V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x4
 | |
| 
 | |
|     aput v1, v0, p1
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     aput-object p2, v0, p1
 | |
| 
 | |
|     return-void
 | |
| .end method
 | |
| 
 | |
| .method public x1()V
 | |
|     .locals 2
 | |
| 
 | |
|     .line 1
 | |
|     iget-object v0, p0, Landroidx/room/m;->f:[I
 | |
| 
 | |
|     const/4 v1, 0x1
 | |
| 
 | |
|     invoke-static {v0, v1}, Ljava/util/Arrays;->fill([II)V
 | |
| 
 | |
|     .line 2
 | |
|     iget-object v0, p0, Landroidx/room/m;->d:[Ljava/lang/String;
 | |
| 
 | |
|     const/4 v1, 0x0
 | |
| 
 | |
|     invoke-static {v0, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V
 | |
| 
 | |
|     .line 3
 | |
|     iget-object v0, p0, Landroidx/room/m;->e:[[B
 | |
| 
 | |
|     invoke-static {v0, v1}, Ljava/util/Arrays;->fill([Ljava/lang/Object;Ljava/lang/Object;)V
 | |
| 
 | |
|     .line 4
 | |
|     iput-object v1, p0, Landroidx/room/m;->a:Ljava/lang/String;
 | |
| 
 | |
|     return-void
 | |
| .end method
 |