OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:MemoryByteCode
(Results
1 - 3
of
3
) sorted by null
/cts/tools/dex-tools/test/dex/reader/util/
SpecialJavaFileManager.java
31
* {@link
MemoryByteCode
} objects for its output and keeps track of them.
36
private Map<String,
MemoryByteCode
> store;
40
store = new HashMap<String,
MemoryByteCode
>();
45
MemoryByteCode
mbc = new
MemoryByteCode
(name);
50
public Set<
MemoryByteCode
> getAllMemoryByteCodes() {
51
return new HashSet<
MemoryByteCode
>(store.values());
54
public
MemoryByteCode
getMemoryByteCode(String className) {
MemoryByteCode.java
27
* {@code
MemoryByteCode
} represents an in-memory java byte code.
29
/* package */ class
MemoryByteCode
extends SimpleJavaFileObject {
33
public
MemoryByteCode
(String name) {
JavaSourceToDexUtil.java
64
Set<
MemoryByteCode
> byteCodeInMemory = compileToByteCode(sources);
73
private byte[] convertToDexCode(Set<
MemoryByteCode
> byteCodeInMemory, Set<String> classNamesToDex) throws IOException {
76
for (
MemoryByteCode
memoryByteCode
: byteCodeInMemory) {
77
if(classNamesToDex == null || classNamesToDex.contains(
memoryByteCode
.getName())) {
78
ClassDefItem classDefItem = CfTranslator.translate(
memoryByteCode
.getName().replace('.', '/') +".class",
memoryByteCode
.getBytes(), cfOptions);
86
public Set<
MemoryByteCode
> compileToByteCode(Set<JavaSource> source) {
Completed in 37 milliseconds