HomeSort by relevance Sort by last modified time
    Searched refs:fileInputStream (Results 1 - 8 of 8) sorted by null

  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ContextTest.java 14 import java.io.FileInputStream;
164 FileInputStream fileInputStream = null;
166 fileInputStream = context.openFileInput("__test__");
169 fileInputStream.read(bytes);
172 if (fileInputStream != null)
173 fileInputStream.close();
179 FileInputStream fileInputStream = null;
181 fileInputStream = context.openFileInput("data" + File.separator + "test")
    [all...]
  /packages/inputmethods/LatinIME/java/src/com/android/inputmethod/research/
Uploader.java 35 import java.io.FileInputStream;
121 InputStream fileInputStream = null;
123 fileInputStream = new FileInputStream(file);
129 uploadContents(fileInputStream, outputStream);
149 if (fileInputStream != null) {
151 fileInputStream.close();
  /development/samples/training/bitmapfun/BitmapFun/src/main/java/com/example/android/bitmapfun/util/
ImageFetcher.java 34 import java.io.FileInputStream;
195 FileInputStream fileInputStream = null;
224 fileInputStream =
225 (FileInputStream) snapshot.getInputStream(DISK_CACHE_INDEX);
226 fileDescriptor = fileInputStream.getFD();
233 if (fileDescriptor == null && fileInputStream != null) {
235 fileInputStream.close();
247 if (fileInputStream != null) {
249 fileInputStream.close()
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/
MappedByteBufferTest.java 21 import java.io.FileInputStream;
45 FileInputStream fis = new FileInputStream(tmpFile);
75 FileInputStream fis = new FileInputStream(emptyFile);
128 FileInputStream fileInputStream = new FileInputStream(tmpFile);
129 FileChannel fileChannelRead = fileInputStream.getChannel();
135 FileInputStream inputStream = new FileInputStream(tmpFile)
    [all...]
  /libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/
FileChannelLockingTest.java 20 import java.io.FileInputStream;
63 FileInputStream fileInputStream = new FileInputStream(tempFiles[0]);
64 readOnlyChannel = fileInputStream.getChannel();
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jdt.launching_3.5.100.v20100526.jar 
org.eclipse.swt.gtk.linux.x86_3.6.1.v3657a.jar 
  /prebuilts/devtools/tools/lib/
lint-checks.jar 

Completed in 244 milliseconds