public class android.provider.SearchRecentSuggestions
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: android.provider.SearchRecentSuggestions
  super_class: java.lang.Object
{
  private static final java.lang.String LOG_TAG;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "SearchSuggestions"

  public static final java.lang.String[] QUERIES_PROJECTION_1LINE;
    descriptor: [Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final java.lang.String[] QUERIES_PROJECTION_2LINE;
    descriptor: [Ljava/lang/String;
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL

  public static final int QUERIES_PROJECTION_DATE_INDEX;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  public static final int QUERIES_PROJECTION_QUERY_INDEX;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  public static final int QUERIES_PROJECTION_DISPLAY1_INDEX;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 3

  public static final int QUERIES_PROJECTION_DISPLAY2_INDEX;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 4

  private static final int MAX_HISTORY_COUNT;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 250

  private final android.content.Context mContext;
    descriptor: Landroid/content/Context;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String mAuthority;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean mTwoLineDisplay;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final android.net.Uri mSuggestionsUri;
    descriptor: Landroid/net/Uri;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private static final java.util.concurrent.Semaphore sWritesInProgress;
    descriptor: Ljava/util/concurrent/Semaphore;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=4, locals=0, args_size=0
         0: .line 72
            iconst_4
            anewarray java.lang.String
            dup
            iconst_0
         1: .line 73
            ldc "_id"
            aastore
            dup
            iconst_1
         2: .line 74
            ldc "date"
            aastore
            dup
            iconst_2
         3: .line 75
            ldc "query"
            aastore
            dup
            iconst_3
         4: .line 76
            ldc "display1"
            aastore
         5: .line 72
            putstatic android.provider.SearchRecentSuggestions.QUERIES_PROJECTION_1LINE:[Ljava/lang/String;
         6: .line 84
            iconst_5
            anewarray java.lang.String
            dup
            iconst_0
         7: .line 85
            ldc "_id"
            aastore
            dup
            iconst_1
         8: .line 86
            ldc "date"
            aastore
            dup
            iconst_2
         9: .line 87
            ldc "query"
            aastore
            dup
            iconst_3
        10: .line 88
            ldc "display1"
            aastore
            dup
            iconst_4
        11: .line 89
            ldc "display2"
            aastore
        12: .line 84
            putstatic android.provider.SearchRecentSuggestions.QUERIES_PROJECTION_2LINE:[Ljava/lang/String;
        13: .line 116
            new java.util.concurrent.Semaphore
            dup
            iconst_0
            invokespecial java.util.concurrent.Semaphore.<init>:(I)V
            putstatic android.provider.SearchRecentSuggestions.sWritesInProgress:Ljava/util/concurrent/Semaphore;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(android.content.Context, java.lang.String, int);
    descriptor: (Landroid/content/Context;Ljava/lang/String;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=4
        start local 0 // android.provider.SearchRecentSuggestions this
        start local 1 // android.content.Context context
        start local 2 // java.lang.String authority
        start local 3 // int mode
         0: .line 131
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 132
            aload 2 /* authority */
            invokestatic android.text.TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z
            ifne 3
         2: .line 133
            iload 3 /* mode */
            iconst_1
            iand
            ifne 4
         3: .line 134
      StackMap locals: android.provider.SearchRecentSuggestions android.content.Context java.lang.String int
      StackMap stack:
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         4: .line 137
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iload 3 /* mode */
            iconst_2
            iand
            ifeq 5
            iconst_1
            goto 6
      StackMap locals:
      StackMap stack: android.provider.SearchRecentSuggestions
         5: iconst_0
      StackMap locals: android.provider.SearchRecentSuggestions android.content.Context java.lang.String int
      StackMap stack: android.provider.SearchRecentSuggestions int
         6: putfield android.provider.SearchRecentSuggestions.mTwoLineDisplay:Z
         7: .line 140
            aload 0 /* this */
            aload 1 /* context */
            putfield android.provider.SearchRecentSuggestions.mContext:Landroid/content/Context;
         8: .line 141
            aload 0 /* this */
            new java.lang.String
            dup
            aload 2 /* authority */
            invokespecial java.lang.String.<init>:(Ljava/lang/String;)V
            putfield android.provider.SearchRecentSuggestions.mAuthority:Ljava/lang/String;
         9: .line 144
            aload 0 /* this */
            new java.lang.StringBuilder
            dup
            ldc "content://"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mAuthority:Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "/suggestions"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic android.net.Uri.parse:(Ljava/lang/String;)Landroid/net/Uri;
            putfield android.provider.SearchRecentSuggestions.mSuggestionsUri:Landroid/net/Uri;
        10: .line 145
            return
        end local 3 // int mode
        end local 2 // java.lang.String authority
        end local 1 // android.content.Context context
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   11     0       this  Landroid/provider/SearchRecentSuggestions;
            0   11     1    context  Landroid/content/Context;
            0   11     2  authority  Ljava/lang/String;
            0   11     3       mode  I
    MethodParameters:
           Name  Flags
      context    
      authority  
      mode       

  public void saveRecentQuery(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=3, args_size=3
        start local 0 // android.provider.SearchRecentSuggestions this
        start local 1 // java.lang.String queryString
        start local 2 // java.lang.String line2
         0: .line 162
            aload 1 /* queryString */
            invokestatic android.text.TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z
            ifeq 2
         1: .line 163
            return
         2: .line 165
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mTwoLineDisplay:Z
            ifne 4
            aload 2 /* line2 */
            invokestatic android.text.TextUtils.isEmpty:(Ljava/lang/CharSequence;)Z
            ifne 4
         3: .line 166
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         4: .line 169
      StackMap locals:
      StackMap stack:
            new android.provider.SearchRecentSuggestions$1
            dup
            aload 0 /* this */
            ldc "saveRecentQuery"
            aload 1 /* queryString */
            aload 2 /* line2 */
            invokespecial android.provider.SearchRecentSuggestions$1.<init>:(Landroid/provider/SearchRecentSuggestions;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V
         5: .line 175
            invokevirtual android.provider.SearchRecentSuggestions$1.start:()V
         6: .line 176
            return
        end local 2 // java.lang.String line2
        end local 1 // java.lang.String queryString
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    7     0         this  Landroid/provider/SearchRecentSuggestions;
            0    7     1  queryString  Ljava/lang/String;
            0    7     2        line2  Ljava/lang/String;
    MethodParameters:
             Name  Flags
      queryString  final
      line2        final

  void waitForSave();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // android.provider.SearchRecentSuggestions this
         0: .line 184
      StackMap locals:
      StackMap stack:
            getstatic android.provider.SearchRecentSuggestions.sWritesInProgress:Ljava/util/concurrent/Semaphore;
            invokevirtual java.util.concurrent.Semaphore.acquireUninterruptibly:()V
         1: .line 185
            getstatic android.provider.SearchRecentSuggestions.sWritesInProgress:Ljava/util/concurrent/Semaphore;
            invokevirtual java.util.concurrent.Semaphore.availablePermits:()I
         2: .line 183
            ifgt 0
         3: .line 186
            return
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Landroid/provider/SearchRecentSuggestions;

  private void saveRecentQueryBlocking(java.lang.String, java.lang.String);
    descriptor: (Ljava/lang/String;Ljava/lang/String;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=7, args_size=3
        start local 0 // android.provider.SearchRecentSuggestions this
        start local 1 // java.lang.String queryString
        start local 2 // java.lang.String line2
         0: .line 189
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mContext:Landroid/content/Context;
            invokevirtual android.content.Context.getContentResolver:()Landroid/content/ContentResolver;
            astore 3 /* cr */
        start local 3 // android.content.ContentResolver cr
         1: .line 190
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 4 /* now */
        start local 4 // long now
         2: .line 194
            new android.content.ContentValues
            dup
            invokespecial android.content.ContentValues.<init>:()V
            astore 6 /* values */
        start local 6 // android.content.ContentValues values
         3: .line 195
            aload 6 /* values */
            ldc "display1"
            aload 1 /* queryString */
            invokevirtual android.content.ContentValues.put:(Ljava/lang/String;Ljava/lang/String;)V
         4: .line 196
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mTwoLineDisplay:Z
            ifeq 6
         5: .line 197
            aload 6 /* values */
            ldc "display2"
            aload 2 /* line2 */
            invokevirtual android.content.ContentValues.put:(Ljava/lang/String;Ljava/lang/String;)V
         6: .line 199
      StackMap locals: android.content.ContentResolver long android.content.ContentValues
      StackMap stack:
            aload 6 /* values */
            ldc "query"
            aload 1 /* queryString */
            invokevirtual android.content.ContentValues.put:(Ljava/lang/String;Ljava/lang/String;)V
         7: .line 200
            aload 6 /* values */
            ldc "date"
            lload 4 /* now */
            invokestatic java.lang.Long.valueOf:(J)Ljava/lang/Long;
            invokevirtual android.content.ContentValues.put:(Ljava/lang/String;Ljava/lang/Long;)V
         8: .line 201
            aload 3 /* cr */
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mSuggestionsUri:Landroid/net/Uri;
            aload 6 /* values */
            invokevirtual android.content.ContentResolver.insert:(Landroid/net/Uri;Landroid/content/ContentValues;)Landroid/net/Uri;
            pop
        end local 6 // android.content.ContentValues values
         9: .line 202
            goto 12
      StackMap locals: android.provider.SearchRecentSuggestions java.lang.String java.lang.String android.content.ContentResolver long
      StackMap stack: java.lang.RuntimeException
        10: astore 6 /* e */
        start local 6 // java.lang.RuntimeException e
        11: .line 203
            ldc "SearchSuggestions"
            ldc "saveRecentQuery"
            aload 6 /* e */
            invokestatic android.util.Log.e:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
            pop
        end local 6 // java.lang.RuntimeException e
        12: .line 207
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 3 /* cr */
            sipush 250
            invokevirtual android.provider.SearchRecentSuggestions.truncateHistory:(Landroid/content/ContentResolver;I)V
        13: .line 208
            return
        end local 4 // long now
        end local 3 // android.content.ContentResolver cr
        end local 2 // java.lang.String line2
        end local 1 // java.lang.String queryString
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   14     0         this  Landroid/provider/SearchRecentSuggestions;
            0   14     1  queryString  Ljava/lang/String;
            0   14     2        line2  Ljava/lang/String;
            1   14     3           cr  Landroid/content/ContentResolver;
            2   14     4          now  J
            3    9     6       values  Landroid/content/ContentValues;
           11   12     6            e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           2     9      10  Class java.lang.RuntimeException
    MethodParameters:
             Name  Flags
      queryString  
      line2        

  public void clearHistory();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // android.provider.SearchRecentSuggestions this
         0: .line 219
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mContext:Landroid/content/Context;
            invokevirtual android.content.Context.getContentResolver:()Landroid/content/ContentResolver;
            astore 1 /* cr */
        start local 1 // android.content.ContentResolver cr
         1: .line 220
            aload 0 /* this */
            aload 1 /* cr */
            iconst_0
            invokevirtual android.provider.SearchRecentSuggestions.truncateHistory:(Landroid/content/ContentResolver;I)V
         2: .line 221
            return
        end local 1 // android.content.ContentResolver cr
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Landroid/provider/SearchRecentSuggestions;
            1    3     1    cr  Landroid/content/ContentResolver;

  protected void truncateHistory(android.content.ContentResolver, int);
    descriptor: (Landroid/content/ContentResolver;I)V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // android.provider.SearchRecentSuggestions this
        start local 1 // android.content.ContentResolver cr
        start local 2 // int maxEntries
         0: .line 230
            iload 2 /* maxEntries */
            ifge 2
         1: .line 231
            new java.lang.IllegalArgumentException
            dup
            invokespecial java.lang.IllegalArgumentException.<init>:()V
            athrow
         2: .line 236
      StackMap locals:
      StackMap stack:
            aconst_null
            astore 3 /* selection */
        start local 3 // java.lang.String selection
         3: .line 237
            iload 2 /* maxEntries */
            ifle 7
         4: .line 238
            new java.lang.StringBuilder
            dup
            ldc "_id IN (SELECT _id FROM suggestions ORDER BY date DESC LIMIT -1 OFFSET "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
         5: .line 241
            iload 2 /* maxEntries */
            invokestatic java.lang.String.valueOf:(I)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc ")"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
         6: .line 238
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 3 /* selection */
         7: .line 243
      StackMap locals: java.lang.String
      StackMap stack:
            aload 1 /* cr */
            aload 0 /* this */
            getfield android.provider.SearchRecentSuggestions.mSuggestionsUri:Landroid/net/Uri;
            aload 3 /* selection */
            aconst_null
            invokevirtual android.content.ContentResolver.delete:(Landroid/net/Uri;Ljava/lang/String;[Ljava/lang/String;)I
            pop
        end local 3 // java.lang.String selection
         8: .line 244
            goto 11
      StackMap locals: android.provider.SearchRecentSuggestions android.content.ContentResolver int
      StackMap stack: java.lang.RuntimeException
         9: astore 3 /* e */
        start local 3 // java.lang.RuntimeException e
        10: .line 245
            ldc "SearchSuggestions"
            ldc "truncateHistory"
            aload 3 /* e */
            invokestatic android.util.Log.e:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)I
            pop
        end local 3 // java.lang.RuntimeException e
        11: .line 247
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int maxEntries
        end local 1 // android.content.ContentResolver cr
        end local 0 // android.provider.SearchRecentSuggestions this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   12     0        this  Landroid/provider/SearchRecentSuggestions;
            0   12     1          cr  Landroid/content/ContentResolver;
            0   12     2  maxEntries  I
            3    8     3   selection  Ljava/lang/String;
           10   11     3           e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
           2     8       9  Class java.lang.RuntimeException
    MethodParameters:
            Name  Flags
      cr          
      maxEntries  
}
SourceFile: "SearchRecentSuggestions.java"
NestMembers:
  android.provider.SearchRecentSuggestions$1  android.provider.SearchRecentSuggestions$SuggestionColumns
InnerClasses:
  android.provider.SearchRecentSuggestions$1
  private SuggestionColumns = android.provider.SearchRecentSuggestions$SuggestionColumns of android.provider.SearchRecentSuggestions