HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 301 - 325 of 1907) sorted by null

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/manifest/
ManifestInfoTest.java 5 * you may not use this file except in compliance with the License.
213 IFile file = getProject().getFile("AndroidManifest.xml"); local
214 if (file.exists()) {
215 file.setContents(bstream, IFile.FORCE, new NullProgressMonitor());
217 file.create(bstream, false /* force */, new NullProgressMonitor());
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sample/
SampleTestActivity.java 5 * you may not use this file except in compliance with the License.
28 import java.io.File;
32 * A sample CTS Verifier test case for testing file transfers using bluetooth sharing.
40 * The name of the test file being transferred.
45 * The content of the test file being transferred.
72 * Creates a temporary file containing the test string and then issues the intent to share it.
77 // Use the external cache directory so the file will be deleted when the app is uninstalled
78 // and the file can be accessed by other apps, such as the sharing app.
79 File dir = getExternalCacheDir ();
80 // Create the file with the given name
81 File file = new File(dir, FILE_NAME); local
    [all...]
  /cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
AccessibilityServiceTestRunner.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
79 File file = FileUtil.getFileForPath(mCtsBuild.getTestCasesDir(), apkName); local
80 String errorMessage = getDevice().installPackage(file, true);
  /dalvik/dexgen/src/com/android/dexgen/dex/file/
AnnotationSetItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
115 public void addContents(DexFile file) {
116 MixedItemSection byteData = file.getByteData();
133 protected void writeTo0(DexFile file, AnnotatedOutput out) {
ClassDefsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
31 * Class definitions list section of a {@code .dex} file.
44 * Constructs an instance. The file offset is initially unknown.
46 * @param file {@code non-null;} file that this instance is part of
48 public ClassDefsSection(DexFile file) {
49 super("class_defs", file, 4);
85 * Writes the portion of the file header that refers to this instance.
EncodedArrayItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
43 * {@code null-ok;} encoded form, ready for writing to a file; set during
95 public void addContents(DexFile file) {
96 ValueEncoder.addContents(file, array);
114 protected void writeTo0(DexFile file, AnnotatedOutput out) {
125 ValueEncoder encoder = new ValueEncoder(file, out);
MemberIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
26 * Dalvik file.
29 /** size of instances when written out to a file, in bytes */
54 public void addContents(DexFile file) {
55 super.addContents(file);
57 StringIdsSection stringIds = file.getStringIds();
63 public final void writeTo(DexFile file, AnnotatedOutput out) {
64 TypeIdsSection typeIds = file.getTypeIds();
65 StringIdsSection stringIds = file.getStringIds()
    [all...]
ProtoIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
29 * {@code .dex} file.
38 * Constructs an instance. The file offset is initially unknown.
40 * @param file {@code non-null;} file that this instance is part of
42 public ProtoIdsSection(DexFile file) {
43 super("proto_ids", file, 4);
61 * Writes the portion of the file header that refers to this instance.
StringDataItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
26 * Representation of string data for a particular string, in a Dalvik file.
65 public void addContents(DexFile file) {
71 public void writeTo0(DexFile file, AnnotatedOutput out) {
StringIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
24 * Representation of a string inside a Dalvik file.
28 /** size of instances when written out to a file, in bytes */
88 public void addContents(DexFile file) {
91 MixedItemSection stringData = file.getStringData();
99 public void writeTo(DexFile file, AnnotatedOutput out) {
TypeIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
29 * Type identifiers list section of a {@code .dex} file.
38 * Constructs an instance. The file offset is initially unknown.
40 * @param file {@code non-null;} file that this instance is part of
42 public TypeIdsSection(DexFile file) {
43 super("type_ids", file, 4);
74 * Writes the portion of the file header that refers to this instance.
UniformListItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dexgen.dex.file;
121 public void addContents(DexFile file) {
123 i.addContents(file);
189 protected void writeTo0(DexFile file, AnnotatedOutput out) {
200 i.writeTo(file, out);
  /dalvik/dx/src/com/android/dx/dex/file/
AnnotationSetItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
115 public void addContents(DexFile file) {
116 MixedItemSection byteData = file.getByteData();
133 protected void writeTo0(DexFile file, AnnotatedOutput out) {
ClassDefsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
30 * Class definitions list section of a {@code .dex} file.
43 * Constructs an instance. The file offset is initially unknown.
45 * @param file {@code non-null;} file that this instance is part of
47 public ClassDefsSection(DexFile file) {
48 super("class_defs", file, 4);
84 * Writes the portion of the file header that refers to this instance.
EncodedArrayItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
34 * {@code null-ok;} encoded form, ready for writing to a file; set during
86 public void addContents(DexFile file) {
87 ValueEncoder.addContents(file, array);
105 protected void writeTo0(DexFile file, AnnotatedOutput out) {
116 ValueEncoder encoder = new ValueEncoder(file, out);
MemberIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
27 * Dalvik file.
52 public void addContents(DexFile file) {
53 super.addContents(file);
55 StringIdsSection stringIds = file.getStringIds();
61 public final void writeTo(DexFile file, AnnotatedOutput out) {
62 TypeIdsSection typeIds = file.getTypeIds();
63 StringIdsSection stringIds = file.getStringIds();
67 int typoidIdx = getTypoidIdx(file);
    [all...]
MemberIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
29 * Member (field or method) refs list section of a {@code .dex} file.
34 * Constructs an instance. The file offset is initially unknown.
38 * @param file {@code non-null;} file that this instance is part of
40 public MemberIdsSection(String name, DexFile file) {
41 super(name, file, 4);
ProtoIdItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
28 * Representation of a method prototype reference inside a Dalvik file.
111 public void addContents(DexFile file) {
112 StringIdsSection stringIds = file.getStringIds();
113 TypeIdsSection typeIds = file.getTypeIds();
114 MixedItemSection typeLists = file.getTypeLists();
126 public void writeTo(DexFile file, AnnotatedOutput out) {
127 int shortyIdx = file.getStringIds().indexOf(shortForm);
128 int returnIdx = file.getTypeIds().indexOf(prototype.getReturnType())
    [all...]
ProtoIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
28 * {@code .dex} file.
37 * Constructs an instance. The file offset is initially unknown.
39 * @param file {@code non-null;} file that this instance is part of
41 public ProtoIdsSection(DexFile file) {
42 super("proto_ids", file, 4);
60 * Writes the portion of the file header that refers to this instance.
StringDataItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
26 * Representation of string data for a particular string, in a Dalvik file.
65 public void addContents(DexFile file) {
71 public void writeTo0(DexFile file, AnnotatedOutput out) {
StringIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
28 * Strings list section of a {@code .dex} file.
39 * Constructs an instance. The file offset is initially unknown.
41 * @param file {@code non-null;} file that this instance is part of
43 public StringIdsSection(DexFile file) {
44 super("string_ids", file, 4);
74 * Writes the portion of the file header that refers to this instance.
TypeIdsSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
32 * Type identifiers 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 TypeIdsSection(DexFile file) {
46 super("type_ids", file, 4);
77 * Writes the portion of the file header that refers to this instance.
UniformListItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
119 public void addContents(DexFile file) {
121 i.addContents(file);
187 protected void writeTo0(DexFile file, AnnotatedOutput out) {
198 i.writeTo(file, out);
  /development/samples/Support4Demos/src/com/example/android/supportv4/content/
FileProviderExample.java 5 * you may not use this file except in compliance with the License.
29 import java.io.File;
47 // Save a thumbnail to file
48 final File thumbsDir = new File(getFilesDir(), "thumbs");
50 final File file = new File(thumbsDir, "private.png"); local
51 saveThumbnail(view, file);
53 // Now share that private file using FileProvide
    [all...]
  /development/tools/idegen/src/com/android/idegen/
ModuleIndexes.java 5 * you may not use this file except in compliance with the License.
25 import java.io.File;
40 private File indexFile;
44 public ModuleIndexes(File indexFile) {
119 File file = new File(fileName); local
120 return file.getParentFile().getName() + "-aggregate";

Completed in 278 milliseconds

<<11121314151617181920>>