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

<<11121314151617181920>>

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/draw9patch/
Draw9PatchEditor.java 5 * you may not use this file except in compliance with the License.
72 // We try to open a file that is part of the current workspace
113 "The file \"%s\" doesn't seem to be a 9-patch file. \n"
142 IFile file = mFileEditorInput.getFile(); local
149 if (file.exists()) {
150 file.setContents(new ByteArrayInputStream(byteArray), true, false, monitor);
152 file.create(new ByteArrayInputStream(byteArray), true, monitor);
230 String.format("The file \"%s\" doesn't seem to be a 9-patch file. \n
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/newxmlfile/
NewXmlFileWizard.java 5 * you may not use this file except in compliance with the License.
61 * The "New Android XML File Wizard" provides the ability to create skeleton XML
65 * the resource folder, resource type and file name. It then creates the XML file.
68 /** The XML header to write at the top of the XML file */
82 setWindowTitle("New Android XML File");
87 mMainPage.setTitle("New Android XML File");
88 mMainPage.setDescription("Creates a new Android XML file.");
140 // Open the file
145 IFile file = created.getFirst()
170 IFile file = mValues.getDestinationFile(); local
425 IFile file = project.getFile(dest); local
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
ContentProviderTest.java 5 * use this file except in compliance with the License. You may obtain a copy of
32 import java.io.File;
187 // create a temporary File
189 File file = mContext.getFileStreamPath(TEST_FILE_NAME); local
190 assertTrue(file.exists());
192 ContentProvider cp = new OpenFileContentProvider(file.getAbsolutePath(), TEST_DB_NAME);
204 // delete the temporary file
205 file.delete();
MockContentProvider.java 5 * you may not use this file except in compliance with the License.
19 import java.io.File;
399 File file = getCrashOnLaunchFile(context); local
400 return file.exists();
404 File file = getCrashOnLaunchFile(context); local
407 file.createNewFile();
409 throw new RuntimeException("Could not create crash on launch file.", ex);
412 file.delete()
    [all...]
ImageCaptureActivity.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
55 // Note: since this activity is in the same package as the test we can write to the file
61 File file = getFileFromIntent(intent); local
62 if (file == null) {
63 Log.e(TAG, "Could not get file from clipdata.");
67 FileWriter writer = new FileWriter(file);
72 Log.e(TAG, "File IO failure while writing.");
79 private File getFileFromIntent(Intent intent)
    [all...]
  /cts/tests/tests/graphics/src/android/graphics/drawable/cts/
IconTest.java 5 * you may not use this file except in compliance with the License.
36 import java.io.File;
75 File file = new File(mActivity.getFilesDir(), "testimage.jpg"); local
77 writeSampleImage(file);
78 assertTrue(file.exists());
80 checkIconValidity(Icon.createWithFilePath(file.getPath()));
82 checkIconValidity(Icon.createWithContentUri(Uri.fromFile(file)));
84 checkIconValidity(Icon.createWithContentUri(file.toURI().toString()))
    [all...]
  /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.
36 import java.io.File;
217 IFile file = getProject().getFile("AndroidManifest.xml"); local
218 if (file.exists()) {
219 file.setContents(bstream, IFile.FORCE, new NullProgressMonitor());
221 file.create(bstream, false /* force */, new NullProgressMonitor());
278 public File getDefaultSkin() {
328 public File getFile(int pathId) {
364 public File[] getSkins() {
  /art/compiler/utils/
assembler_thumb_test.cc 5 * you may not use this file except in compliance with the License.
30 // Include results file (generated manually)
37 // copy the output into the .cc.inc file in the form
42 // in the .cc.inc file.
80 ScratchFile file; local
82 const char* filename = file.GetFilename().c_str();
121 // into the .inc file.
124 // Check the results match the appropriate results in the .inc file.
125 FILE *fp = popen(cmd, "r");
    [all...]
  /build/core/
dex_preopt.mk 39 $$(call copy-file-to-target)
52 # Define dexpreopt-one-file based on current default runtime.
53 # $(1): the input .jar or .apk file
54 # $(2): the output .odex file
55 define dexpreopt-one-file
56 $(call dex2oat-one-file,$(1),$(2))
  /build/core/tasks/
sdk-addon.mk 4 # you may not use this file except in compliance with the License.
31 define stub-addon-jar-file
36 $(call stub-addon-jar-file,$(1)): $(1) | mkstubs
47 $(eval _src := $(call stub-addon-jar-file,$(_src))) \
78 $(eval $(call copy-one-file,$(_src),$(_dest))) \
133 # When not building an sdk_repo, just dist the addon zip file
  /cts/hostsidetests/theme/app/src/android/theme/app/
GenerateBitmapTask.java 5 * you may not use this file except in compliance with the License.
27 import java.io.File;
38 private final File mOutDir;
44 public GenerateBitmapTask(View view, File outDir, String name) {
71 final File file = new File(mOutDir, mName + ".png"); local
72 if (file.exists() && !file.canWrite()) {
73 Log.e(TAG, "Unable to write file: " + file.getAbsolutePath())
    [all...]
  /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;
116 public void addContents(DexFile file) {
117 MixedItemSection byteData = file.getByteData();
134 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;
30 * Member (field or method) refs list section of a {@code .dex} file.
35 * Constructs an instance. The file offset is initially unknown.
39 * @param file {@code non-null;} file that this instance is part of
41 public MemberIdsSection(String name, DexFile file) {
42 super(name, file, 4);

Completed in 336 milliseconds

<<11121314151617181920>>