Home | History | Annotate | Download | only in docs

Lines Matching full:code

33     <li>For security reasons, processes may not edit shared code.
40 the code must be uncompressed (or at least read off disk in many small
65 Application code is delivered to the system in a <code>.jar</code>
66 or <code>.apk</code> file. These are really just <code>.zip</code>
68 is always called <code>classes.dex</code>.
73 storing <code>classes.dex</code> without compression and padding out the zip
77 We need to extract <code>classes.dex</code> from the zip archive before
90 <code>dalvik-cache</code> directory. This works on the desktop and
92 <code>dalvik-cache</code> directory are not restricted. On production
95 It has the privileges required to write to <code>dalvik-cache</code>.
96 <li>The build system does it ahead of time. The relevant <code>jar</code>
97 / <code>apk</code> files are present, but the <code>classes.dex</code>
99 zip archive, not in <code>dalvik-cache</code>, and is part of the
103 The <code>dalvik-cache</code> directory is more accurately
104 <code>$ANDROID_DATA/data/dalvik-cache</code>. The files inside it have
106 directory is owned by <code>system</code> / <code>system</code>
108 owned by <code>system</code> and the
119 done within <code>installd</code>, which runs as root.
121 Second, the <code>classes.dex</code> entry is extracted from the the zip
133 and then extracting the results from <code>dalvik-cache</code>. The
137 Once the code is byte-swapped and aligned, we're ready to go. We append
154 The solution is to invoke a program called <code>dexopt</code>, which
205 first time a piece of code is used. Constant pool references are replaced
217 variants into a single 32-bit form (less code in the interpreter
224 <code>Object.&lt;init&gt;</code>, which does nothing, but must be
262 <code>classes.dex</code> zip file entry. The dependency list includes the
263 full path to the <code>dalvik-cache</code> file, and the file's SHA-1
270 the dependent DEX files is available, <code>dexopt</code> only loads the
275 This means that splitting code out into many separate DEX files has a
293 linking code in the VM does additional checks to plug another hole;
297 re-optimize the DEX file. If we can do a just-in-time <code>dexopt</code>
301 The output of <code>dexopt</code> is byte-swapped and struct-aligned
304 write a version of <code>dexopt</code> that runs on the desktop but
313 and execute it. The rather heavy <code>dexopt</code> verification and