public final class android.hardware.location.ContextHubManager
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: android.hardware.location.ContextHubManager
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: "ContextHubManager"
private final android.os.Looper mMainLooper;
descriptor: Landroid/os/Looper;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final android.hardware.location.IContextHubService mService;
descriptor: Landroid/hardware/location/IContextHubService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private android.hardware.location.ContextHubManager$Callback mCallback;
descriptor: Landroid/hardware/location/ContextHubManager$Callback;
flags: (0x0002) ACC_PRIVATE
private android.os.Handler mCallbackHandler;
descriptor: Landroid/os/Handler;
flags: (0x0002) ACC_PRIVATE
private android.hardware.location.ContextHubManager$ICallback mLocalCallback;
descriptor: Landroid/hardware/location/ContextHubManager$ICallback;
flags: (0x0002) ACC_PRIVATE
RuntimeVisibleAnnotations:
java.lang.Deprecated()
private final android.hardware.location.IContextHubCallback$Stub mClientCallback;
descriptor: Landroid/hardware/location/IContextHubCallback$Stub;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public int[] getContextHubHandles();
descriptor: ()[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
public android.hardware.location.ContextHubInfo getContextHubInfo(int);
descriptor: (I)Landroid/hardware/location/ContextHubInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
hubHandle
public int loadNanoApp(int, android.hardware.location.NanoApp);
descriptor: (ILandroid/hardware/location/NanoApp;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
hubHandle
app
public int unloadNanoApp(int);
descriptor: (I)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
nanoAppHandle
public android.hardware.location.NanoAppInstanceInfo getNanoAppInstanceInfo(int);
descriptor: (I)Landroid/hardware/location/NanoAppInstanceInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
nanoAppHandle
public int[] findNanoAppOnHub(int, android.hardware.location.NanoAppFilter);
descriptor: (ILandroid/hardware/location/NanoAppFilter;)[I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
hubHandle
filter
public int sendMessage(int, int, android.hardware.location.ContextHubMessage);
descriptor: (IILandroid/hardware/location/ContextHubMessage;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=4
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
hubHandle
nanoAppHandle
message
public java.util.List<android.hardware.location.ContextHubInfo> getContextHubs();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: ()Ljava/util/List<Landroid/hardware/location/ContextHubInfo;>;
private android.hardware.location.IContextHubTransactionCallback createTransactionCallback(android.hardware.location.ContextHubTransaction<java.lang.Void>);
descriptor: (Landroid/hardware/location/ContextHubTransaction;)Landroid/hardware/location/IContextHubTransactionCallback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new android.hardware.location.ContextHubManager$2
dup
aload 0
aload 1
invokespecial android.hardware.location.ContextHubManager$2.<init>:(Landroid/hardware/location/ContextHubManager;Landroid/hardware/location/ContextHubTransaction;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
0 1 1 transaction Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;
Signature: (Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;)Landroid/hardware/location/IContextHubTransactionCallback;
MethodParameters:
Name Flags
transaction
private android.hardware.location.IContextHubTransactionCallback createQueryCallback(android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>>);
descriptor: (Landroid/hardware/location/ContextHubTransaction;)Landroid/hardware/location/IContextHubTransactionCallback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new android.hardware.location.ContextHubManager$3
dup
aload 0
aload 1
invokespecial android.hardware.location.ContextHubManager$3.<init>:(Landroid/hardware/location/ContextHubManager;Landroid/hardware/location/ContextHubTransaction;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
0 1 1 transaction Landroid/hardware/location/ContextHubTransaction<Ljava/util/List<Landroid/hardware/location/NanoAppState;>;>;
Signature: (Landroid/hardware/location/ContextHubTransaction<Ljava/util/List<Landroid/hardware/location/NanoAppState;>;>;)Landroid/hardware/location/IContextHubTransactionCallback;
MethodParameters:
Name Flags
transaction
public android.hardware.location.ContextHubTransaction<java.lang.Void> loadNanoApp(android.hardware.location.ContextHubInfo, android.hardware.location.NanoAppBinary);
descriptor: (Landroid/hardware/location/ContextHubInfo;Landroid/hardware/location/NanoAppBinary;)Landroid/hardware/location/ContextHubTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: (Landroid/hardware/location/ContextHubInfo;Landroid/hardware/location/NanoAppBinary;)Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;
MethodParameters:
Name Flags
hubInfo
appBinary
public android.hardware.location.ContextHubTransaction<java.lang.Void> unloadNanoApp(android.hardware.location.ContextHubInfo, long);
descriptor: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;
MethodParameters:
Name Flags
hubInfo
nanoAppId
public android.hardware.location.ContextHubTransaction<java.lang.Void> enableNanoApp(android.hardware.location.ContextHubInfo, long);
descriptor: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;
MethodParameters:
Name Flags
hubInfo
nanoAppId
public android.hardware.location.ContextHubTransaction<java.lang.Void> disableNanoApp(android.hardware.location.ContextHubInfo, long);
descriptor: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: (Landroid/hardware/location/ContextHubInfo;J)Landroid/hardware/location/ContextHubTransaction<Ljava/lang/Void;>;
MethodParameters:
Name Flags
hubInfo
nanoAppId
public android.hardware.location.ContextHubTransaction<java.util.List<android.hardware.location.NanoAppState>> queryNanoApps(android.hardware.location.ContextHubInfo);
descriptor: (Landroid/hardware/location/ContextHubInfo;)Landroid/hardware/location/ContextHubTransaction;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tandroid.Manifest.permission.LOCATION_HARDWARE cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
Signature: (Landroid/hardware/location/ContextHubInfo;)Landroid/hardware/location/ContextHubTransaction<Ljava/util/List<Landroid/hardware/location/NanoAppState;>;>;
MethodParameters:
Name Flags
hubInfo
public int registerCallback(android.hardware.location.ContextHubManager$Callback);
descriptor: (Landroid/hardware/location/ContextHubManager$Callback;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
invokevirtual android.hardware.location.ContextHubManager.registerCallback:(Landroid/hardware/location/ContextHubManager$Callback;Landroid/os/Handler;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
0 1 1 callback Landroid/hardware/location/ContextHubManager$Callback;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
android.annotation.SuppressLint(value = {"Doclava125"})
MethodParameters:
Name Flags
callback
public int registerCallback(android.hardware.location.ContextHubManager$ICallback);
descriptor: (Landroid/hardware/location/ContextHubManager$ICallback;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield android.hardware.location.ContextHubManager.mLocalCallback:Landroid/hardware/location/ContextHubManager$ICallback;
ifnull 3
1: ldc "ContextHubManager"
ldc "Max number of local callbacks reached!"
invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield android.hardware.location.ContextHubManager.mLocalCallback:Landroid/hardware/location/ContextHubManager$ICallback;
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/hardware/location/ContextHubManager;
0 5 1 callback Landroid/hardware/location/ContextHubManager$ICallback;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
callback
public int registerCallback(android.hardware.location.ContextHubManager$Callback, android.os.Handler);
descriptor: (Landroid/hardware/location/ContextHubManager$Callback;Landroid/os/Handler;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
dup
astore 3
monitorenter
1: aload 0
getfield android.hardware.location.ContextHubManager.mCallback:Landroid/hardware/location/ContextHubManager$Callback;
ifnull 5
2: ldc "ContextHubManager"
ldc "Max number of callbacks reached!"
invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
3: aload 3
monitorexit
4: iconst_m1
ireturn
5: StackMap locals: android.hardware.location.ContextHubManager
StackMap stack:
aload 0
aload 1
putfield android.hardware.location.ContextHubManager.mCallback:Landroid/hardware/location/ContextHubManager$Callback;
6: aload 0
aload 2
putfield android.hardware.location.ContextHubManager.mCallbackHandler:Landroid/os/Handler;
7: aload 3
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 3
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Landroid/hardware/location/ContextHubManager;
0 12 1 callback Landroid/hardware/location/ContextHubManager$Callback;
0 12 2 handler Landroid/os/Handler;
Exception table:
from to target type
1 4 9 any
5 8 9 any
9 10 9 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
android.annotation.SuppressLint(value = {"Doclava125"})
MethodParameters:
Name Flags
callback
handler
private android.hardware.location.IContextHubClientCallback createClientCallback(android.hardware.location.ContextHubClient, android.hardware.location.ContextHubClientCallback, java.util.concurrent.Executor);
descriptor: (Landroid/hardware/location/ContextHubClient;Landroid/hardware/location/ContextHubClientCallback;Ljava/util/concurrent/Executor;)Landroid/hardware/location/IContextHubClientCallback;
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: new android.hardware.location.ContextHubManager$4
dup
aload 0
aload 3
aload 2
aload 1
invokespecial android.hardware.location.ContextHubManager$4.<init>:(Landroid/hardware/location/ContextHubManager;Ljava/util/concurrent/Executor;Landroid/hardware/location/ContextHubClientCallback;Landroid/hardware/location/ContextHubClient;)V
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
0 1 1 client Landroid/hardware/location/ContextHubClient;
0 1 2 callback Landroid/hardware/location/ContextHubClientCallback;
0 1 3 executor Ljava/util/concurrent/Executor;
MethodParameters:
Name Flags
client
callback
executor
public android.hardware.location.ContextHubClient createClient(android.hardware.location.ContextHubInfo, android.hardware.location.ContextHubClientCallback, java.util.concurrent.Executor);
descriptor: (Landroid/hardware/location/ContextHubInfo;Landroid/hardware/location/ContextHubClientCallback;Ljava/util/concurrent/Executor;)Landroid/hardware/location/ContextHubClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 2
ldc "Callback cannot be null"
invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
1: aload 1
ldc "ContextHubInfo cannot be null"
invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 3
ldc "Executor cannot be null"
invokestatic com.android.internal.util.Preconditions.checkNotNull:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
3: new android.hardware.location.ContextHubClient
dup
aload 1
invokespecial android.hardware.location.ContextHubClient.<init>:(Landroid/hardware/location/ContextHubInfo;)V
astore 4
start local 4 4: aload 0
5: aload 4
aload 2
aload 3
6: invokevirtual android.hardware.location.ContextHubManager.createClientCallback:(Landroid/hardware/location/ContextHubClient;Landroid/hardware/location/ContextHubClientCallback;Ljava/util/concurrent/Executor;)Landroid/hardware/location/IContextHubClientCallback;
astore 5
start local 5 7: aload 0
getfield android.hardware.location.ContextHubManager.mService:Landroid/hardware/location/IContextHubService;
aload 5
aload 1
invokevirtual android.hardware.location.ContextHubInfo.getId:()I
invokeinterface android.hardware.location.IContextHubService.createClient:(Landroid/hardware/location/IContextHubClientCallback;I)Landroid/hardware/location/IContextHubClient;
astore 6
start local 6 8: goto 11
end local 6 StackMap locals: android.hardware.location.ContextHubManager android.hardware.location.ContextHubInfo android.hardware.location.ContextHubClientCallback java.util.concurrent.Executor android.hardware.location.ContextHubClient android.hardware.location.IContextHubClientCallback
StackMap stack: android.os.RemoteException
9: astore 7
start local 7 10: aload 7
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 7 start local 6 11: StackMap locals: android.hardware.location.IContextHubClient
StackMap stack:
aload 4
aload 6
invokevirtual android.hardware.location.ContextHubClient.setClientProxy:(Landroid/hardware/location/IContextHubClient;)V
12: aload 4
areturn
end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Landroid/hardware/location/ContextHubManager;
0 13 1 hubInfo Landroid/hardware/location/ContextHubInfo;
0 13 2 callback Landroid/hardware/location/ContextHubClientCallback;
0 13 3 executor Ljava/util/concurrent/Executor;
4 13 4 client Landroid/hardware/location/ContextHubClient;
7 13 5 clientInterface Landroid/hardware/location/IContextHubClientCallback;
8 9 6 clientProxy Landroid/hardware/location/IContextHubClient;
11 13 6 clientProxy Landroid/hardware/location/IContextHubClient;
10 11 7 e Landroid/os/RemoteException;
Exception table:
from to target type
7 8 9 Class android.os.RemoteException
MethodParameters:
Name Flags
hubInfo
callback
executor
public android.hardware.location.ContextHubClient createClient(android.hardware.location.ContextHubInfo, android.hardware.location.ContextHubClientCallback);
descriptor: (Landroid/hardware/location/ContextHubInfo;Landroid/hardware/location/ContextHubClientCallback;)Landroid/hardware/location/ContextHubClient;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
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.ContextHubManager.createClient:(Landroid/hardware/location/ContextHubInfo;Landroid/hardware/location/ContextHubClientCallback;Ljava/util/concurrent/Executor;)Landroid/hardware/location/ContextHubClient;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Landroid/hardware/location/ContextHubManager;
0 1 1 hubInfo Landroid/hardware/location/ContextHubInfo;
0 1 2 callback Landroid/hardware/location/ContextHubClientCallback;
MethodParameters:
Name Flags
hubInfo
callback
public int unregisterCallback(android.hardware.location.ContextHubManager$Callback);
descriptor: (Landroid/hardware/location/ContextHubManager$Callback;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
dup
astore 2
monitorenter
1: aload 1
aload 0
getfield android.hardware.location.ContextHubManager.mCallback:Landroid/hardware/location/ContextHubManager$Callback;
if_acmpeq 5
2: ldc "ContextHubManager"
ldc "Cannot recognize callback!"
invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
3: aload 2
monitorexit
4: iconst_m1
ireturn
5: StackMap locals: android.hardware.location.ContextHubManager
StackMap stack:
aload 0
aconst_null
putfield android.hardware.location.ContextHubManager.mCallback:Landroid/hardware/location/ContextHubManager$Callback;
6: aload 0
aconst_null
putfield android.hardware.location.ContextHubManager.mCallbackHandler:Landroid/os/Handler;
7: aload 2
monitorexit
8: goto 11
StackMap locals:
StackMap stack: java.lang.Throwable
9: aload 2
monitorexit
10: athrow
11: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Landroid/hardware/location/ContextHubManager;
0 12 1 callback Landroid/hardware/location/ContextHubManager$Callback;
Exception table:
from to target type
1 4 9 any
5 8 9 any
9 10 9 any
RuntimeVisibleAnnotations:
java.lang.Deprecated()
RuntimeInvisibleAnnotations:
android.annotation.SuppressLint(value = {"Doclava125"})
MethodParameters:
Name Flags
callback
public synchronized int unregisterCallback(android.hardware.location.ContextHubManager$ICallback);
descriptor: (Landroid/hardware/location/ContextHubManager$ICallback;)I
flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield android.hardware.location.ContextHubManager.mLocalCallback:Landroid/hardware/location/ContextHubManager$ICallback;
if_acmpeq 3
1: ldc "ContextHubManager"
ldc "Cannot recognize local callback!"
invokestatic android.util.Log.w:(Ljava/lang/String;Ljava/lang/String;)I
pop
2: iconst_m1
ireturn
3: StackMap locals:
StackMap stack:
aload 0
aconst_null
putfield android.hardware.location.ContextHubManager.mLocalCallback:Landroid/hardware/location/ContextHubManager$ICallback;
4: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Landroid/hardware/location/ContextHubManager;
0 5 1 callback Landroid/hardware/location/ContextHubManager$ICallback;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
callback
public void <init>(android.content.Context, android.os.Looper);
descriptor: (Landroid/content/Context;Landroid/os/Looper;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new android.hardware.location.ContextHubManager$1
dup
aload 0
invokespecial android.hardware.location.ContextHubManager$1.<init>:(Landroid/hardware/location/ContextHubManager;)V
putfield android.hardware.location.ContextHubManager.mClientCallback:Landroid/hardware/location/IContextHubCallback$Stub;
2: aload 0
aload 2
putfield android.hardware.location.ContextHubManager.mMainLooper:Landroid/os/Looper;
3: aload 0
4: ldc "contexthub"
invokestatic android.os.ServiceManager.getServiceOrThrow:(Ljava/lang/String;)Landroid/os/IBinder;
5: invokestatic android.hardware.location.IContextHubService$Stub.asInterface:(Landroid/os/IBinder;)Landroid/hardware/location/IContextHubService;
putfield android.hardware.location.ContextHubManager.mService:Landroid/hardware/location/IContextHubService;
6: aload 0
getfield android.hardware.location.ContextHubManager.mService:Landroid/hardware/location/IContextHubService;
aload 0
getfield android.hardware.location.ContextHubManager.mClientCallback:Landroid/hardware/location/IContextHubCallback$Stub;
invokeinterface android.hardware.location.IContextHubService.registerCallback:(Landroid/hardware/location/IContextHubCallback;)I
pop
7: goto 10
StackMap locals: android.hardware.location.ContextHubManager android.content.Context android.os.Looper
StackMap stack: android.os.RemoteException
8: astore 3
start local 3 9: aload 3
invokevirtual android.os.RemoteException.rethrowFromSystemServer:()Ljava/lang/RuntimeException;
athrow
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Landroid/hardware/location/ContextHubManager;
0 11 1 context Landroid/content/Context;
0 11 2 mainLooper Landroid/os/Looper;
9 10 3 e Landroid/os/RemoteException;
Exception table:
from to target type
6 7 8 Class android.os.RemoteException
Exceptions:
throws android.os.ServiceManager$ServiceNotFoundException
MethodParameters:
Name Flags
context
mainLooper
}
SourceFile: "ContextHubManager.java"
NestMembers:
android.hardware.location.ContextHubManager$1 android.hardware.location.ContextHubManager$1$1 android.hardware.location.ContextHubManager$2 android.hardware.location.ContextHubManager$3 android.hardware.location.ContextHubManager$4 android.hardware.location.ContextHubManager$Callback android.hardware.location.ContextHubManager$ICallback
InnerClasses:
android.hardware.location.ContextHubManager$1
android.hardware.location.ContextHubManager$2
android.hardware.location.ContextHubManager$3
android.hardware.location.ContextHubManager$4
public abstract Callback = android.hardware.location.ContextHubManager$Callback of android.hardware.location.ContextHubManager
public abstract ICallback = android.hardware.location.ContextHubManager$ICallback of android.hardware.location.ContextHubManager
public abstract Stub = android.hardware.location.IContextHubCallback$Stub of android.hardware.location.IContextHubCallback
public abstract Stub = android.hardware.location.IContextHubService$Stub of android.hardware.location.IContextHubService
public ServiceNotFoundException = android.os.ServiceManager$ServiceNotFoundException of android.os.ServiceManager
RuntimeVisibleAnnotations:
android.annotation.SystemApi()