/art/tools/dexfuzz/src/dexfuzz/rawdex/formats/ |
Format11x.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) insn.vregA);
|
Format12x.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) (insn.vregA | (insn.vregB << 4)));
|
Format22b.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) insn.vregA); 29 file.writeByte((byte) insn.vregB); 30 file.writeByte((byte) insn.vregC);
|
Format23x.java | 5 * you may not use this file except in compliance with the License. 26 public void writeToFile(DexRandomAccessFile file, Instruction insn) throws IOException { 27 file.writeByte((byte) insn.info.value); 28 file.writeByte((byte) insn.vregA); 29 file.writeByte((byte) insn.vregB); 30 file.writeByte((byte) insn.vregC);
|
/bionic/tools/relocation_packer/src/ |
main.cc | 3 // found in the LICENSE file. 39 "Usage: %s [-u] [-v] [-p] file\n\n" 42 " -v, --verbose trace object file modifications (for debugging)\n" 96 const char* file = argv[argc - 1]; local 97 ScopedFd fd(open(file, O_RDWR)); 99 LOG(ERROR) << file << ": " << strerror(errno); 110 LOG(ERROR) << file << ": failed to read elf header:" << strerror(errno); 115 LOG(ERROR) << file << ": lseek to 0 failed:" << strerror(errno); 140 LOG(ERROR) << file << ": unknown ELFCLASS: " << e_ident[EI_CLASS]; 145 LOG(ERROR) << file << ": failed to pack/unpack file" [all...] |
/build/tools/fs_config/ |
fs_config_generate.c | 5 * you may not use this file except in compliance with the License. 26 * to be defined in the supplied android_filesystem_config.h file in 51 "Usage: fs_config_generate -D|-F [-o output-file]\n"); 57 bool dir = false, file = false; local 58 FILE *fp = stdout; 64 if (file) { 77 file = true; 81 fprintf(stderr, "Specify only one output file\n"); 100 if (!file && !dir) {
|
/cts/tests/tests/telephony/src/android/telephony/cts/ |
MmsPduProvider.java | 5 * you may not use this file except in compliance with the License. 26 import java.io.File; 71 File file = new File(getContext().getCacheDir(), uri.getPath()); local 76 return ParcelFileDescriptor.open(file, mode);
|
/cts/tools/cfassembler/src/dxconvext/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 24 * File I/O utilities. 35 * Reads the named file, translating {@link IOException} to a 38 * @param fileName non-null; name of the file to read 39 * @return non-null; contents of the file 42 File file = new File(fileName); local 43 return readFile(file); [all...] |
/cts/tools/dex-tools/src/dex/reader/ |
TypeFormatter.java | 5 * you may not use this file except in compliance with the License. 105 public String formatDexFile(DexFile file) { 108 builder.append("Filename: ").append(file.getName()); 110 for (DexClass dexClass : file.getDefinedClasses()) {
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationSetRefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 57 public void addContents(DexFile file) { 58 MixedItemSection wordData = file.getWordData(); 71 protected void writeTo0(DexFile file, AnnotatedOutput out) {
|
EncodedMember.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 69 * @param file {@code non-null;} the file to populate 71 public abstract void addContents(DexFile file); 76 * @param file {@code non-null;} file this instance is part of 84 public abstract int encode(DexFile file, AnnotatedOutput out,
|
FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { 61 TypeIdsSection typeIds = file.getTypeIds();
|
HeaderSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 26 * File header section of a {@code .dex} file. 33 * Constructs an instance. The file offset is initially unknown. 35 * @param file {@code non-null;} file that this instance is part of 37 public HeaderSection(DexFile file) { 38 super(null, file, 4);
|
IndexedItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 20 * An item in a Dalvik file which is referenced by index.
|
Item.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 23 * repeated piece of a Dalvik file. 59 * This will <i>not</i> add an item to the file for this instance itself 65 * @param file {@code non-null;} the file to populate 67 public abstract void addContents(DexFile file); 76 * @param file {@code non-null;} the file to use for reference 79 public abstract void writeTo(DexFile file, AnnotatedOutput out) [all...] |
MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { 61 ProtoIdsSection protoIds = file.getProtoIds();
|
TypeIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 25 * Representation of a type reference inside a Dalvik file. 28 /** size of instances when written out to a file, in bytes */ 54 public void addContents(DexFile file) { 55 file.getStringIds().intern(getDefiningClass().getDescriptor()); 60 public void writeTo(DexFile file, AnnotatedOutput out) { 63 int idx = file.getStringIds().indexOf(descriptor);
|
/dalvik/dexgen/src/com/android/dexgen/util/ |
FileUtils.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 24 * File I/O utilities. 35 * Reads the named file, translating {@link IOException} to a 38 * @param fileName {@code non-null;} name of the file to read 39 * @return {@code non-null;} contents of the file 42 File file = new File(fileName); local 43 return readFile(file); [all...] |
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationSetRefItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 57 public void addContents(DexFile file) { 58 MixedItemSection wordData = file.getWordData(); 71 protected void writeTo0(DexFile file, AnnotatedOutput out) {
|
EncodedMember.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 68 * @param file {@code non-null;} the file to populate 70 public abstract void addContents(DexFile file); 75 * @param file {@code non-null;} file this instance is part of 83 public abstract int encode(DexFile file, AnnotatedOutput out,
|
FieldIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a field reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 TypeIdsSection typeIds = file.getTypeIds(); 60 protected int getTypoidIdx(DexFile file) { 61 TypeIdsSection typeIds = file.getTypeIds();
|
HeaderSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * File header section of a {@code .dex} file. 32 * Constructs an instance. The file offset is initially unknown. 34 * @param file {@code non-null;} file that this instance is part of 36 public HeaderSection(DexFile file) { 37 super(null, file, 4);
|
IndexedItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 20 * An item in a Dalvik file which is referenced by index.
|
Item.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 23 * repeated piece of a Dalvik file. 59 * This will <i>not</i> add an item to the file for this instance itself 65 * @param file {@code non-null;} the file to populate 67 public abstract void addContents(DexFile file); 76 * @param file {@code non-null;} the file to use for reference 79 public abstract void writeTo(DexFile file, AnnotatedOutput out) [all...] |
MethodIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 22 * Representation of a method reference inside a Dalvik file. 42 public void addContents(DexFile file) { 43 super.addContents(file); 45 ProtoIdsSection protoIds = file.getProtoIds(); 60 protected int getTypoidIdx(DexFile file) { 61 ProtoIdsSection protoIds = file.getProtoIds();
|