Added in API level 34

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

Added in API level 34
public boolean isFullyCompiled ()

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

Returns
boolean

isOptimized

Added in API level 34
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

Added in API level 34
public boolean isVerified ()

Returns whether the dex file is verified.

Returns
boolean