public class android.hardware.location.ContextHubTransaction<T>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: android.hardware.location.ContextHubTransaction
  super_class: java.lang.Object
{
  private static final java.lang.String TAG;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "ContextHubTransaction"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  private int mTransactionType;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private android.hardware.location.ContextHubTransaction$Response<T> mResponse;
    descriptor: Landroid/hardware/location/ContextHubTransaction$Response;
    flags: (0x0002) ACC_PRIVATE
    Signature: Landroid/hardware/location/ContextHubTransaction$Response<TT;>;

  private java.util.concurrent.Executor mExecutor;
    descriptor: Ljava/util/concurrent/Executor;
    flags: (0x0002) ACC_PRIVATE

  private android.hardware.location.ContextHubTransaction$OnCompleteListener<T> mListener;
    descriptor: Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
    flags: (0x0002) ACC_PRIVATE
    Signature: Landroid/hardware/location/ContextHubTransaction$OnCompleteListener<TT;>;

  private final java.util.concurrent.CountDownLatch mDoneSignal;
    descriptor: Ljava/util/concurrent/CountDownLatch;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private boolean mIsResponseSet;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  void <init>(int);
    descriptor: (I)V
    flags: (0x0000) 
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // android.hardware.location.ContextHubTransaction this
        start local 1 // int type
         0: .line 202
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 185
            aload 0 /* this */
            aconst_null
            putfield android.hardware.location.ContextHubTransaction.mExecutor:Ljava/util/concurrent/Executor;
         2: .line 190
            aload 0 /* this */
            aconst_null
            putfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
         3: .line 195
            aload 0 /* this */
            new java.util.concurrent.CountDownLatch
            dup
            iconst_1
            invokespecial java.util.concurrent.CountDownLatch.<init>:(I)V
            putfield android.hardware.location.ContextHubTransaction.mDoneSignal:Ljava/util/concurrent/CountDownLatch;
         4: .line 200
            aload 0 /* this */
            iconst_0
            putfield android.hardware.location.ContextHubTransaction.mIsResponseSet:Z
         5: .line 203
            aload 0 /* this */
            iload 1 /* type */
            putfield android.hardware.location.ContextHubTransaction.mTransactionType:I
         6: .line 204
            return
        end local 1 // int type
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    7     0  this  Landroid/hardware/location/ContextHubTransaction<TT;>;
            0    7     1  type  I
    MethodParameters:
      Name  Flags
      type  

  public static java.lang.String typeToString(int, boolean);
    descriptor: (IZ)Ljava/lang/String;
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // int type
        start local 1 // boolean upperCase
         0: .line 214
            iload 0 /* type */
            tableswitch { // 0 - 4
                    0: 1
                    1: 4
                    2: 7
                    3: 10
                    4: 13
              default: 16
          }
         1: .line 216
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 2
            ldc "Load"
            goto 3
      StackMap locals:
      StackMap stack:
         2: ldc "load"
      StackMap locals:
      StackMap stack: java.lang.String
         3: areturn
         4: .line 218
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 5
            ldc "Unload"
            goto 6
      StackMap locals:
      StackMap stack:
         5: ldc "unload"
      StackMap locals:
      StackMap stack: java.lang.String
         6: areturn
         7: .line 220
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 8
            ldc "Enable"
            goto 9
      StackMap locals:
      StackMap stack:
         8: ldc "enable"
      StackMap locals:
      StackMap stack: java.lang.String
         9: areturn
        10: .line 222
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 11
            ldc "Disable"
            goto 12
      StackMap locals:
      StackMap stack:
        11: ldc "disable"
      StackMap locals:
      StackMap stack: java.lang.String
        12: areturn
        13: .line 224
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 14
            ldc "Query"
            goto 15
      StackMap locals:
      StackMap stack:
        14: ldc "query"
      StackMap locals:
      StackMap stack: java.lang.String
        15: areturn
        16: .line 226
      StackMap locals:
      StackMap stack:
            iload 1 /* upperCase */
            ifeq 17
            ldc "Unknown"
            goto 18
      StackMap locals:
      StackMap stack:
        17: ldc "unknown"
      StackMap locals:
      StackMap stack: java.lang.String
        18: areturn
        end local 1 // boolean upperCase
        end local 0 // int type
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       type  I
            0   19     1  upperCase  Z
    MethodParameters:
           Name  Flags
      type       
      upperCase  

  public int getType();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // android.hardware.location.ContextHubTransaction this
         0: .line 235
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mTransactionType:I
            ireturn
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Landroid/hardware/location/ContextHubTransaction<TT;>;

  public android.hardware.location.ContextHubTransaction$Response<T> waitForResponse(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Landroid/hardware/location/ContextHubTransaction$Response;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // android.hardware.location.ContextHubTransaction this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 258
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mDoneSignal:Ljava/util/concurrent/CountDownLatch;
            lload 1 /* timeout */
            aload 3 /* unit */
            invokevirtual java.util.concurrent.CountDownLatch.await:(JLjava/util/concurrent/TimeUnit;)Z
            istore 4 /* success */
        start local 4 // boolean success
         1: .line 260
            iload 4 /* success */
            ifne 3
         2: .line 261
            new java.util.concurrent.TimeoutException
            dup
            ldc "Timed out while waiting for transaction"
            invokespecial java.util.concurrent.TimeoutException.<init>:(Ljava/lang/String;)V
            athrow
         3: .line 264
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mResponse:Landroid/hardware/location/ContextHubTransaction$Response;
            areturn
        end local 4 // boolean success
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long timeout
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Landroid/hardware/location/ContextHubTransaction<TT;>;
            0    4     1  timeout  J
            0    4     3     unit  Ljava/util/concurrent/TimeUnit;
            1    4     4  success  Z
    Exceptions:
      throws java.lang.InterruptedException, java.util.concurrent.TimeoutException
    Signature: (JLjava/util/concurrent/TimeUnit;)Landroid/hardware/location/ContextHubTransaction$Response<TT;>;
    MethodParameters:
         Name  Flags
      timeout  
      unit     

  public void setOnCompleteListener(android.hardware.location.ContextHubTransaction$OnCompleteListener<T>, java.util.concurrent.Executor);
    descriptor: (Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;Ljava/util/concurrent/Executor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=4, args_size=3
        start local 0 // android.hardware.location.ContextHubTransaction this
        start local 1 // android.hardware.location.ContextHubTransaction$OnCompleteListener listener
        start local 2 // java.util.concurrent.Executor executor
         0: .line 293
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         1: .line 294
            aload 1 /* listener */
            ldc "OnCompleteListener cannot be null"
            invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 295
            aload 2 /* executor */
            ldc "Executor cannot be null"
            invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         3: .line 296
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
            ifnull 7
         4: .line 297
            new java.lang.IllegalStateException
            dup
         5: .line 298
            ldc "Cannot set ContextHubTransaction listener multiple times"
         6: .line 297
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         7: .line 301
      StackMap locals: android.hardware.location.ContextHubTransaction
      StackMap stack:
            aload 0 /* this */
            aload 1 /* listener */
            putfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
         8: .line 302
            aload 0 /* this */
            aload 2 /* executor */
            putfield android.hardware.location.ContextHubTransaction.mExecutor:Ljava/util/concurrent/Executor;
         9: .line 304
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mDoneSignal:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.getCount:()J
            lconst_0
            lcmp
            ifne 11
        10: .line 305
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mExecutor:Ljava/util/concurrent/Executor;
            aload 0 /* this */
            invokedynamic run(Landroid/hardware/location/ContextHubTransaction;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  android/hardware/location/ContextHubTransaction.lambda$0()V (7)
                  ()V
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
        11: .line 293
      StackMap locals:
      StackMap stack:
            aload 3
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 3
            monitorexit
        14: athrow
        15: .line 308
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.util.concurrent.Executor executor
        end local 1 // android.hardware.location.ContextHubTransaction$OnCompleteListener listener
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0      this  Landroid/hardware/location/ContextHubTransaction<TT;>;
            0   16     1  listener  Landroid/hardware/location/ContextHubTransaction$OnCompleteListener<TT;>;
            0   16     2  executor  Ljava/util/concurrent/Executor;
      Exception table:
        from    to  target  type
           1    12      13  any
          13    14      13  any
    Signature: (Landroid/hardware/location/ContextHubTransaction$OnCompleteListener<TT;>;Ljava/util/concurrent/Executor;)V
    MethodParameters:
          Name  Flags
      listener  
      executor  

  public void setOnCompleteListener(android.hardware.location.ContextHubTransaction$OnCompleteListener<T>);
    descriptor: (Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // android.hardware.location.ContextHubTransaction this
        start local 1 // android.hardware.location.ContextHubTransaction$OnCompleteListener listener
         0: .line 326
            aload 0 /* this */
            aload 1 /* listener */
            new android.os.HandlerExecutor
            dup
            invokestatic android.os.Handler.getMain:()Landroid/os/Handler;
            invokespecial android.os.HandlerExecutor.<init>:(Landroid/os/Handler;)V
            invokevirtual android.hardware.location.ContextHubTransaction.setOnCompleteListener:(Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;Ljava/util/concurrent/Executor;)V
         1: .line 327
            return
        end local 1 // android.hardware.location.ContextHubTransaction$OnCompleteListener listener
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    2     0      this  Landroid/hardware/location/ContextHubTransaction<TT;>;
            0    2     1  listener  Landroid/hardware/location/ContextHubTransaction$OnCompleteListener<TT;>;
    Signature: (Landroid/hardware/location/ContextHubTransaction$OnCompleteListener<TT;>;)V
    MethodParameters:
          Name  Flags
      listener  

  void setResponse(android.hardware.location.ContextHubTransaction$Response<T>);
    descriptor: (Landroid/hardware/location/ContextHubTransaction$Response;)V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // android.hardware.location.ContextHubTransaction this
        start local 1 // android.hardware.location.ContextHubTransaction$Response response
         0: .line 342
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 343
            aload 1 /* response */
            ldc "Response cannot be null"
            invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            pop
         2: .line 344
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mIsResponseSet:Z
            ifeq 6
         3: .line 345
            new java.lang.IllegalStateException
            dup
         4: .line 346
            ldc "Cannot set response of ContextHubTransaction multiple times"
         5: .line 345
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         6: .line 349
      StackMap locals: android.hardware.location.ContextHubTransaction
      StackMap stack:
            aload 0 /* this */
            aload 1 /* response */
            putfield android.hardware.location.ContextHubTransaction.mResponse:Landroid/hardware/location/ContextHubTransaction$Response;
         7: .line 350
            aload 0 /* this */
            iconst_1
            putfield android.hardware.location.ContextHubTransaction.mIsResponseSet:Z
         8: .line 352
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mDoneSignal:Ljava/util/concurrent/CountDownLatch;
            invokevirtual java.util.concurrent.CountDownLatch.countDown:()V
         9: .line 353
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
            ifnull 11
        10: .line 354
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mExecutor:Ljava/util/concurrent/Executor;
            aload 0 /* this */
            invokedynamic run(Landroid/hardware/location/ContextHubTransaction;)Ljava/lang/Runnable;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  ()V
                  android/hardware/location/ContextHubTransaction.lambda$1()V (7)
                  ()V
            invokeinterface java.util.concurrent.Executor.execute:(Ljava/lang/Runnable;)V
        11: .line 342
      StackMap locals:
      StackMap stack:
            aload 2
            monitorexit
        12: goto 15
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: aload 2
            monitorexit
        14: athrow
        15: .line 357
      StackMap locals:
      StackMap stack:
            return
        end local 1 // android.hardware.location.ContextHubTransaction$Response response
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   16     0      this  Landroid/hardware/location/ContextHubTransaction<TT;>;
            0   16     1  response  Landroid/hardware/location/ContextHubTransaction$Response<TT;>;
      Exception table:
        from    to  target  type
           1    12      13  any
          13    14      13  any
    Signature: (Landroid/hardware/location/ContextHubTransaction$Response<TT;>;)V
    MethodParameters:
          Name  Flags
      response  

  private void lambda$0();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // android.hardware.location.ContextHubTransaction this
         0: .line 305
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
            aload 0 /* this */
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mResponse:Landroid/hardware/location/ContextHubTransaction$Response;
            invokeinterface android.hardware.location.ContextHubTransaction$OnCompleteListener.onComplete:(Landroid/hardware/location/ContextHubTransaction;Landroid/hardware/location/ContextHubTransaction$Response;)V
            return
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Landroid/hardware/location/ContextHubTransaction<TT;>;

  private void lambda$1();
    descriptor: ()V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // android.hardware.location.ContextHubTransaction this
         0: .line 354
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mListener:Landroid/hardware/location/ContextHubTransaction$OnCompleteListener;
            aload 0 /* this */
            aload 0 /* this */
            getfield android.hardware.location.ContextHubTransaction.mResponse:Landroid/hardware/location/ContextHubTransaction$Response;
            invokeinterface android.hardware.location.ContextHubTransaction$OnCompleteListener.onComplete:(Landroid/hardware/location/ContextHubTransaction;Landroid/hardware/location/ContextHubTransaction$Response;)V
            return
        end local 0 // android.hardware.location.ContextHubTransaction this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Landroid/hardware/location/ContextHubTransaction<TT;>;
}
Signature: <T:Ljava/lang/Object;>Ljava/lang/Object;
SourceFile: "ContextHubTransaction.java"
NestMembers:
  android.hardware.location.ContextHubTransaction$OnCompleteListener  android.hardware.location.ContextHubTransaction$Response  android.hardware.location.ContextHubTransaction$Result  android.hardware.location.ContextHubTransaction$Type
InnerClasses:
  public abstract OnCompleteListener = android.hardware.location.ContextHubTransaction$OnCompleteListener of android.hardware.location.ContextHubTransaction
  public Response = android.hardware.location.ContextHubTransaction$Response of android.hardware.location.ContextHubTransaction
  public abstract Result = android.hardware.location.ContextHubTransaction$Result of android.hardware.location.ContextHubTransaction
  public abstract Type = android.hardware.location.ContextHubTransaction$Type of android.hardware.location.ContextHubTransaction
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
    RuntimeVisibleAnnotations: 
      android.annotation.SystemApi()