/art/compiler/dwarf/ |
dwarf_test.h | 5 * you may not use this file except in compliance with the License. 60 // Write simple elf file with just the DWARF sections. 92 ScratchFile file; local 93 builder.Write(file.GetFile()); 95 // Read the elf file back using objdump. 98 cmd = cmd + "objdump " + args + " " + file.GetFilename() + " 2>&1"; 99 FILE* output = popen(cmd.data(), "r"); 168 // Buffers which are going to assembled into ELF file and passed to objdump.
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/ |
SampleTestActivity.java | 5 * you may not use this file except in compliance with the License. 32 import java.io.File; 36 * A sample CTS Verifier test case for testing file transfers using bluetooth sharing. 44 * The name of the test file being transferred. 49 * The content of the test file being transferred. 92 * Creates a temporary file containing the test string and then issues the intent to share it. 97 // Use the external cache directory so the file will be deleted when the app is uninstalled 98 // and the file can be accessed by other apps, such as the sharing app. 99 File dir = getExternalCacheDir (); 100 // Create the file with the given name 101 File file = new File(dir, FILE_NAME); local [all...] |
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
SequentialRWTest.java | 5 * you may not use this file except in compliance with the License. 28 import java.io.File; 56 final File[] files = FileUtil.createNewFiles(getContext(), DIR_SEQ_WR, 95 final File file = FileUtil.createNewFilledFile(getContext(), local 98 getReportLog().printValue("write throughput for test file of length " + fileSize, 109 final FileInputStream in = new FileInputStream(file);
|
/cts/tools/cts-java-scanner/src/com/android/cts/javascanner/ |
DocletRunner.java | 5 * you may not use this file except in compliance with the License. 19 import java.io.File; 28 private final List<File> mSourceDirs; 29 private final File mDocletPath; 31 DocletRunner(List<File> sourceDirs, File docletPath) { 47 for (File sourceDir : mSourceDirs) { 72 private String getSourcePath(List<File> sourceDirs) { 82 for (File sourceDir : sourceDirs) { 96 private List<String> getSourceFiles(File sourceDir) [all...] |
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 62 * {@code null-ok;} encoded form, ready for writing to a file; set during 145 public void addContents(DexFile file) { 146 type = file.getTypeIds().intern(annotation.getType()); 147 ValueEncoder.addContents(file, annotation); 166 * Write a (listing file) annotation for this instance to the given 189 protected void writeTo0(DexFile file, AnnotatedOutput out) { 214 ValueEncoder encoder = new ValueEncoder(file, out);
|
DebugInfoItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 66 public void addContents(DexFile file) { 96 * @param file {@code non-null;} the file to use for referencing other sections 100 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 101 encode(file, prefix, null, out, false); 116 protected void writeTo0(DexFile file, AnnotatedOutput out) { 124 encode(file, null, null, out, true); 133 * @param file {@code null-ok;} file to refer to during encodin [all...] |
EncodedField.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 77 * ever appear in the same list (or same file, even).</p> 99 public void addContents(DexFile file) { 100 FieldIdsSection fieldIds = file.getFieldIds(); 133 public int encode(DexFile file, AnnotatedOutput out, 135 int fieldIdx = file.getFieldIds().indexOf(field);
|
EncodedMethod.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 87 * ever appear in the same list (or same file, even).</p> 116 public void addContents(DexFile file) { 117 MethodIdsSection methodIds = file.getMethodIds(); 118 MixedItemSection wordData = file.getWordData(); 159 public int encode(DexFile file, AnnotatedOutput out, 161 int methodIdx = file.getMethodIds().indexOf(method);
|
ItemType.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file;
|
MapItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 28 /** file alignment of this class, in bytes */ 198 public void addContents(DexFile file) { 210 protected void writeTo0(DexFile file, AnnotatedOutput out) {
|
OffsettedItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 23 * An item in a Dalvik file which is referenced by absolute offset. 164 public final void writeTo(DexFile file, AnnotatedOutput out) { 178 writeTo0(file, out); 198 * the file which the instance was written to. 310 * @param file {@code non-null;} the file to use for reference 313 protected abstract void writeTo0(DexFile file, AnnotatedOutput out);
|
ParameterAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 100 public void addContents(DexFile file) { 101 MethodIdsSection methodIds = file.getMethodIds(); 102 MixedItemSection wordData = file.getWordData(); 109 public void writeTo(DexFile file, AnnotatedOutput out) { 110 int methodIdx = file.getMethodIds().indexOf(method);
|
ProtoIdItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 28 * Representation of a method prototype reference inside a Dalvik file. 31 /** size of instances when written out to a file, in bytes */ 114 public void addContents(DexFile file) { 115 StringIdsSection stringIds = file.getStringIds(); 116 TypeIdsSection typeIds = file.getTypeIds(); 117 MixedItemSection typeLists = file.getTypeLists(); 129 public void writeTo(DexFile file, AnnotatedOutput out) { 130 int shortyIdx = file.getStringIds().indexOf(shortForm) [all...] |
Statistics.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 26 * Statistics about the contents of a file.
|
StringIdsSection.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 30 * Strings list section of a {@code .dex} file. 41 * Constructs an instance. The file offset is initially unknown. 43 * @param file {@code non-null;} file that this instance is part of 45 public StringIdsSection(DexFile file) { 46 super("string_ids", file, 4); 80 * Writes the portion of the file header that refers to this instance.
|
TypeListItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dexgen.dex.file; 66 public void addContents(DexFile file) { 67 TypeIdsSection typeIds = file.getTypeIds(); 92 protected void writeTo0(DexFile file, AnnotatedOutput out) { 93 TypeIdsSection typeIds = file.getTypeIds();
|
/dalvik/dx/src/com/android/dx/dex/file/ |
AnnotationItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 60 * {@code null-ok;} encoded form, ready for writing to a file; set during 145 public void addContents(DexFile file) { 146 type = file.getTypeIds().intern(annotation.getType()); 147 ValueEncoder.addContents(file, annotation); 166 * Write a (listing file) annotation for this instance to the given 189 protected void writeTo0(DexFile file, AnnotatedOutput out) { 214 ValueEncoder encoder = new ValueEncoder(file, out);
|
DebugInfoItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 63 public void addContents(DexFile file) { 93 * @param file {@code non-null;} the file to use for referencing other sections 97 public void annotateTo(DexFile file, AnnotatedOutput out, String prefix) { 98 encode(file, prefix, null, out, false); 113 protected void writeTo0(DexFile file, AnnotatedOutput out) { 121 encode(file, null, null, out, true); 130 * @param file {@code null-ok;} file to refer to during encodin [all...] |
EncodedField.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 76 * ever appear in the same list (or same file, even).</p> 98 public void addContents(DexFile file) { 99 FieldIdsSection fieldIds = file.getFieldIds(); 132 public int encode(DexFile file, AnnotatedOutput out, 134 int fieldIdx = file.getFieldIds().indexOf(field);
|
EncodedMethod.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 86 * ever appear in the same list (or same file, even).</p> 115 public void addContents(DexFile file) { 116 MethodIdsSection methodIds = file.getMethodIds(); 117 MixedItemSection wordData = file.getWordData(); 158 public int encode(DexFile file, AnnotatedOutput out, 160 int methodIdx = file.getMethodIds().indexOf(method);
|
ItemType.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file;
|
MapItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 27 /** file alignment of this class, in bytes */ 197 public void addContents(DexFile file) { 209 protected void writeTo0(DexFile file, AnnotatedOutput out) {
|
OffsettedItem.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 23 * An item in a Dalvik file which is referenced by absolute offset. 164 public final void writeTo(DexFile file, AnnotatedOutput out) { 178 writeTo0(file, out); 198 * the file which the instance was written to. 310 * @param file {@code non-null;} the file to use for reference 313 protected abstract void writeTo0(DexFile file, AnnotatedOutput out);
|
ParameterAnnotationStruct.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 101 public void addContents(DexFile file) { 102 MethodIdsSection methodIds = file.getMethodIds(); 103 MixedItemSection wordData = file.getWordData(); 110 public void writeTo(DexFile file, AnnotatedOutput out) { 111 int methodIdx = file.getMethodIds().indexOf(method);
|
Statistics.java | 5 * you may not use this file except in compliance with the License. 17 package com.android.dx.dex.file; 25 * Statistics about the contents of a file.
|