HomeSort by relevance Sort by last modified time
    Searched defs:file (Results 276 - 300 of 965) sorted by null

<<11121314151617181920>>

  /dalvik/dx/src/com/android/dx/dex/file/
CodeItem.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
42 * {@code dex} file.
45 /** file alignment of this class, in bytes */
116 public void addContents(DexFile file) {
117 MixedItemSection byteData = file.getByteData();
118 TypeIdsSection typeIds = file.getTypeIds();
133 file.internIfAppropriate(c);
193 final DexFile file = addedTo.getFile(); local
202 IndexedItem item = file.findItemOrNull(cst)
    [all...]
MixedItemSection.java 5 * you may not use this file except in compliance with the License.
17 package com.android.dx.dex.file;
34 * A section of a {@code .dex} file which consists of a sequence of
79 * Constructs an instance. The file offset is initially unknown.
83 * @param file {@code non-null;} file that this instance is part of
88 public MixedItemSection(String name, DexFile file, int alignment,
90 super(name, file, alignment);
128 * Writes the portion of the file header that refers to this instance.
264 DexFile file = getFile() local
334 DexFile file = getFile(); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/content/
ExternalStorage.java 5 * you may not use this file except in compliance with the License.
39 import java.io.File;
102 "File getExternalFilesDir",
185 File path = Environment.getExternalStoragePublicDirectory(
187 File file = new File(path, "DemoPicture.jpg"); local
194 // resource into the external file. Note that this code does
199 OutputStream os = new FileOutputStream(file);
206 // Tell the media scanner about the new file so that it i
229 File file = new File(path, "DemoPicture.jpg"); local
240 File file = new File(path, "DemoPicture.jpg"); local
254 File file = new File(path, "DemoPicture.jpg"); local
293 File file = new File(path, "DemoPicture.jpg"); local
305 File file = new File(path, "DemoPicture.jpg"); local
316 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local
341 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local
350 File file = new File(getExternalFilesDir(null), "DemoFile.jpg"); local
    [all...]
  /development/samples/TtsEngine/src/com/example/android/ttsengine/
RobotSpeakTtsService.java 5 * use this file except in compliance with the License. You may obtain a copy of
137 InputStream file = getAssets().open(lang + "-" + loadCountry + ".freq"); local
138 newFrequenciesMap = buildFrequencyMap(file);
139 file.close();
  /development/tools/glesv2debugger/src/com/android/glesv2debugger/
MessageQueue.java 5 ** you may not use this file except in compliance with the License.
42 private FileInputStream file; // if null, create and use socket field in class:MessageQueue
54 public void start(final ByteOrder byteOrder, final FileInputStream file) {
59 this.file = file;
101 if (file == null)
113 dis = new DataInputStream(file);
117 if (file != null && file.available() == 0) {
151 file.close()
    [all...]
  /development/tools/glesv2debugger/test/com/android/glesv2debugger/
MessageQueueTest.java 5 ** you may not use this file except in compliance with the License.
31 import java.io.File;
115 /** Write two messages from two contexts to file and test handling them */
118 final File filePath = File.createTempFile("test", ".gles2dbg");
119 DataOutputStream file = new DataOutputStream(new FileOutputStream(filePath)); local
129 file.writeInt(data.length);
130 file.write(data);
137 file.writeInt(data.length);
138 file.write(data)
    [all...]
  /external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/
FileLockTest.java 2 * contributor license agreements. See the NOTICE file distributed with
4 * The ASF licenses this file to You under the Apache License, Version 2.0
5 * (the "License"); you may not use this file except in compliance with
19 import java.io.File;
58 File tempFile = File.createTempFile("testing", "tmp");
173 File file = File.createTempFile("test", "tmp"); local
174 file.deleteOnExit()
    [all...]
  /frameworks/base/core/java/android/os/
ParcelFileDescriptor.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
42 * and this file doesn't already exist, then create the file with
49 * and this file doesn't already exist, then create the file with
55 * For use with {@link #open}: open the file with read-only access.
60 * For use with {@link #open}: open the file with write-only access.
65 * For use with {@link #open}: open the file with read and write access.
70 * For use with {@link #open}: create the file if it doesn't already exist
    [all...]
  /frameworks/base/media/java/android/media/
MiniThumbFile.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
33 * This class handles the mini-thumb file. A mini-thumb file consists
43 * @hide This file is shared between MediaStore and MediaProvider and should remained internal use
63 for (MiniThumbFile file : sThumbFiles.values()) {
64 file.deactivate();
71 MiniThumbFile file = sThumbFiles.get(type); local
73 if (file == null) {
74 file = new MiniThumbFile
    [all...]
  /frameworks/base/services/java/com/android/server/
WiredAccessoryObserver.java 5 * you may not use this file except in compliance with the License.
137 FileReader file = new FileReader(uEventInfo[i][1]); local
138 int len = file.read(buffer, 0, 1024);
139 file.close();
142 file = new FileReader(uEventInfo[i][2]);
143 len = file.read(buffer, 0, 1024);
144 file.close();
  /frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
FileFilter.java 5 * you may not use this file except in compliance with the License.
24 import java.io.File;
64 File file = new File(path); local
65 return file.getPath();
83 Log.w(LOG_TAG, "loadTestExpectations(): File not found: " +
222 File file = new File(path) local
    [all...]
  /libcore/luni/src/main/java/java/util/logging/
FileHandler.java 3 * contributor license agreements. See the NOTICE file distributed with
5 * The ASF licenses this file to You under the Apache License, Version 2.0
6 * (the "License"); you may not use this file except in compliance with
21 import java.io.File;
32 * A {@code FileHandler} writes logging records into a specified file or a
36 * one file, then this file is closed and another file is opened. The name of
64 * bytes to write to any one file, defaults to zero, which means no limit.</li>
81 * Normally, the generation numbers are not larger than the given file count an
495 File file = new File(fileName + LCK_EXT); local
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/functional/
ImageCaptureIntentTest.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
74 File file = new File(Environment.getExternalStorageDirectory(), local
80 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file));
90 // Verify the jpeg file
91 int fileLength = (int) file.length();
94 stream = new BufferedInputStream(new FileInputStream(file));
98 file.delete()
    [all...]
  /packages/apps/Email/src/com/android/email/provider/
AttachmentProvider.java 5 * you may not use this file except in compliance with the License.
41 import java.io.File;
49 * A simple ContentProvider that allows file access to Email's attachments.
51 * The URI scheme is as follows. For raw file access:
82 File[] files = getContext().getCacheDir().listFiles();
83 for (File file : files) {
84 String filename = file.getName();
86 file.delete();
129 * Open an attachment file. There are two "formats" - "raw", which returns an actual file
173 File file = new File(dir, filename); local
    [all...]
  /packages/providers/MediaProvider/src/com/android/providers/media/
MtpService.java 5 * you may not use this file except in compliance with the License.
38 import java.io.File;
136 File file = local
139 file.mkdirs();
140 subdirs[i] = file.getPath();
  /sdk/draw9patch/src/com/android/draw9patch/ui/
MainFrame.java 5 * you may not use this file except in compliance with the License.
33 import java.io.File;
56 File file = new File(path); local
57 BufferedImage img = GraphicsUtilities.loadCompatibleImage(file.toURI().toURL());
58 showImageEditor(img, file.getAbsolutePath());
78 JMenu fileMenu = new JMenu("File");
106 public SwingWorker<?, ?> open(File file) {
135 File file = imageEditor.chooseSaveFile(); local
140 private final File file; field in class:MainFrame.SaveTask
148 ImageIO.write(imageEditor.getImage(), "PNG", file); local
157 private final File file; field in class:MainFrame.OpenTask
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/
MessageQueue.java 5 ** you may not use this file except in compliance with the License.
42 private FileInputStream file; // if null, create and use socket field in class:MessageQueue
54 public void start(final ByteOrder byteOrder, final FileInputStream file) {
59 this.file = file;
100 if (file == null)
112 dis = new DataInputStream(file);
116 if (file != null && file.available() == 0) {
150 file.close()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger.tests/src/com/android/ide/eclipse/gldebugger/
MessageQueueTest.java 5 ** you may not use this file except in compliance with the License.
33 import java.io.File;
117 /** Write two messages from two contexts to file and test handling them */
120 final File filePath = File.createTempFile("test", ".gles2dbg");
121 DataOutputStream file = new DataOutputStream(new FileOutputStream(filePath)); local
131 file.writeInt(data.length);
132 file.write(data);
139 file.writeInt(data.length);
140 file.write(data)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/tests/functests/sampleProjects/
SampleProjectTest.java 5 * may not use this file except in compliance with the License. You may obtain a
40 import java.io.File;
74 File samples = new File(path);
76 File[] files = samples.listFiles();
77 for (File file : files) {
78 if (file.isDirectory()) {
79 doTestSampleProject(file.getName(), file.getAbsolutePath(), target)
    [all...]
  /sdk/lint/libs/lint_checks/src/com/android/tools/lint/checks/
TranslationDetector.java 5 * you may not use this file except in compliance with the License.
31 import java.io.File;
65 private Map<File, Set<String>> mFileToNames;
101 mFileToNames = new HashMap<File, Set<String>>();
112 mFileToNames.put(context.file, mNames);
120 // If you create a resource folder but don't actually place a file in it
129 // Only one file defining strings? If so, no problems.
130 Set<File> files = mFileToNames.keySet();
135 Set<File> parentFolders = new HashSet<File>();
    [all...]
  /build/core/combo/
HOST_darwin-x86.mk 5 # you may not use this file except in compliance with the License.
95 # $(1): The file to check
96 define get-file-size
  /build/core/
dex_preopt.mk 33 # $(1): the input .jar or .apk file
34 # $(2): the output .odex file
35 define dexpreopt-one-file
55 $$(call dexpreopt-one-file,$$(PRIVATE_DBJ_JAR),$$@)
58 $$(call copy-file-to-target)
  /cts/tests/tests/holo/src/android/holo/cts/
BitmapAssets.java 5 * you may not use this file except in compliance with the License.
30 import java.io.File;
57 File dir = getBitmapDir(type);
59 File[] files = dir.listFiles();
72 public static File getBitmapDir(int type) {
88 File file = new File(Environment.getExternalStorageDirectory(), "cts-holo-assets"); local
89 return new File(file, subDir)
127 File file = getBitmapPath(bitmapName, type); local
    [all...]
  /cts/tests/tests/os/src/android/os/cts/
DebugTest.java 5 * you may not use this file except in compliance with the License.
18 import java.io.File;
147 File dir = getContext().getFilesDir();
148 File file = new File(dir, "debug.trace"); local
149 return file.getAbsolutePath();
529 File file = getContext().getFileStreamPath("dump.out"); local
530 file.delete()
    [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);

Completed in 830 milliseconds

<<11121314151617181920>>