Stay organized with collections Save and categorize content based on your preferences.

DexFile.OptimizationInfo

public static final class DexFile.OptimizationInfo
extends Object

java.lang.Object
   ↳ dalvik.system.DexFile.OptimizationInfo


Encapsulates information about the optimizations performed on a dex file. Note that the info is only meant for debugging and is not guaranteed to be stable across releases and/or devices.

Summary

Public methods

boolean isFullyCompiled()

Returns whether the dex file is fully ahead-of-time compiled.

boolean isOptimized()

Returns whether the dex file is in an optimal state.

boolean isVerified()

Returns whether the dex file is verified.

Inherited methods

Public methods

isFullyCompiled

public boolean isFullyCompiled ()

Returns whether the dex file is fully ahead-of-time compiled.

Returns
boolean

isOptimized

public boolean isOptimized ()

Returns whether the dex file is in an optimal state. Currently, this means the dex file is either ahead-of-time compiled with a profile or fully ahead-of-time compiled.

Returns
boolean

isVerified

public boolean isVerified ()

Returns whether the dex file is verified.

Returns
boolean