public class com.android.preload.DeviceUtils
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.android.preload.DeviceUtils
super_class: java.lang.Object
{
private static final java.lang.String PRELOADED_CLASSES_FILE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "/etc/preloaded-classes"
private static final java.lang.String CREATE_EMPTY_PRELOADED_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "touch /etc/preloaded-classes"
private static final java.lang.String DELETE_CACHE_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "rm /data/dalvik-cache/*/*boot.art"
private static final java.lang.String DELETE_PRELOADED_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "rm /etc/preloaded-classes"
private static final java.lang.String READ_PRELOADED_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "cat /etc/preloaded-classes"
private static final java.lang.String START_SHELL_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "start"
private static final java.lang.String STOP_SHELL_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "stop"
private static final java.lang.String REMOUNT_SYSTEM_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "mount -o rw,remount /system"
private static final java.lang.String UNSET_BOOTCOMPLETE_CMD;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "setprop dev.bootcomplete \"0\""
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/android/preload/DeviceUtils;
public static void init(int);
descriptor: (I)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tDdmPreferences cannot be resolved\n\tAndroidDebugBridge cannot be resolved\n\tAndroidDebugBridge cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
debugPort
public static void doShell(IDevice, java.lang.String, long, java.util.concurrent.TimeUnit);
descriptor: (LIDevice;Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
cmdline
timeout
unit
public static java.lang.String doShellReturnString(IDevice, java.lang.String, long, java.util.concurrent.TimeUnit);
descriptor: (LIDevice;Ljava/lang/String;JLjava/util/concurrent/TimeUnit;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=5, args_size=4
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
cmdline
timeout
unit
public static void doShell(IDevice, java.lang.String, IShellOutputReceiver, long, java.util.concurrent.TimeUnit);
descriptor: (LIDevice;Ljava/lang/String;LIShellOutputReceiver;JLjava/util/concurrent/TimeUnit;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=6, args_size=5
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIDevice cannot be resolved to a type\n\tIShellOutputReceiver cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
cmdline
receiver
timeout
unit
public static void doAMStart(IDevice, java.lang.String, java.lang.String);
descriptor: (LIDevice;Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
name
activity
public static IDevice findDevice(java.lang.String, int);
descriptor: (Ljava/lang/String;I)LIDevice;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIDevice cannot be resolved to a type\n\tThe method get() from the type DeviceUtils.WaitForDevice refers to the missing type IDevice\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
serial
timeout
public static IDevice[] findDevices(int);
descriptor: (I)[LIDevice;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIDevice cannot be resolved to a type\n\tThe method get() from the type DeviceUtils.WaitForDevice refers to the missing type IDevice\n\tAndroidDebugBridge cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
timeout
public static java.lang.String getBuildType(IDevice);
descriptor: (LIDevice;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
public static boolean hasPrebuiltBootImage(IDevice);
descriptor: (LIDevice;)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
public static boolean overwritePreloaded(IDevice, java.io.File, long);
descriptor: (LIDevice;Ljava/io/File;J)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=4, args_size=3
0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tIDevice cannot be resolved to a type\n\tAdbCommandRejectedException cannot be resolved to a type\n\tTimeoutException cannot be resolved to a type\n\tSyncException cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
Exceptions:
throws AdbCommandRejectedException, java.io.IOException, TimeoutException, SyncException
MethodParameters:
Name Flags
device
pcFile
bootTimeout
static boolean waitForBootComplete(IDevice, long);
descriptor: (LIDevice;J)Z
flags: (0x0008) ACC_STATIC
Code:
stack=3, locals=3, args_size=2
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
timeout
public static void enableTracing(IDevice);
descriptor: (LIDevice;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tIDevice cannot be resolved to a type\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
LocalVariableTable:
Start End Slot Name Signature
MethodParameters:
Name Flags
device
}
SourceFile: "DeviceUtils.java"
NestMembers:
com.android.preload.DeviceUtils$CollectStringShellOutputReceiver com.android.preload.DeviceUtils$NullShellOutputReceiver com.android.preload.DeviceUtils$WaitForDevice com.android.preload.DeviceUtils$WaitForDevice$WaitForClientsListener com.android.preload.DeviceUtils$WaitForDevice$WaitForDeviceListener
InnerClasses:
private CollectStringShellOutputReceiver = com.android.preload.DeviceUtils$CollectStringShellOutputReceiver of com.android.preload.DeviceUtils
private NullShellOutputReceiver = com.android.preload.DeviceUtils$NullShellOutputReceiver of com.android.preload.DeviceUtils
private WaitForDevice = com.android.preload.DeviceUtils$WaitForDevice of com.android.preload.DeviceUtils