dalvik.system
public
class
dalvik.system.TouchDex
Induce optimization/verification of a set of DEX files.
TODO: This class is public, so SystemServer can access it. This is NOT
the correct long-term solution; once we have a real installer and/or
dalvik-cache manager, this class should be removed.
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
public
static
void
main(String[] args)
We continue here in the child process. args[0] can be a colon-separated
path list, or "-" to read from stdin.
Alternatively, if we're invoked directly from the command line we
just start here (skipping the fork/exec stuff).
public
static
int
start(String dexFiles)
Fork a process, make sure the DEX files are prepped, and return
when everything is finished.
The filenames must be the same as will be used when the files are
actually opened, because the dalvik-cache filename is based upon
this filename. (The absolute path to the jar/apk should work.)
Parameters
dexFiles
| Colon-separated list of DEX files. |