HomeSort by relevance Sort by last modified time
    Searched defs:fileInputStream (Results 1 - 25 of 70) sorted by null

1 2 3

  /developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/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...]
  /developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/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...]
  /development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/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...]
  /external/robolectric/v1/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...]
  /frameworks/base/core/tests/coretests/src/android/app/backup/
BackupDataTest.java 34 import java.io.FileInputStream;
232 FileInputStream fileInputStream = mAssets.openFd(source).createInputStream();
235 int numBytes = fileInputStream.read(copybuffer);
  /libcore/harmony-tests/src/test/java/org/apache/harmony/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/tests/java/nio/channels/
FileChannelLockingTest.java 20 import java.io.FileInputStream;
63 FileInputStream fileInputStream = new FileInputStream(tempFiles[0]);
64 readOnlyChannel = fileInputStream.getChannel();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/exportgradle/
BuildFileCreator.java 59 import java.io.FileInputStream;
625 FileInputStream fileInputStream = null;
627 fileInputStream = new FileInputStream(propertiesFile);
628 properties.load(fileInputStream);
631 Closeables.close(fileInputStream, true);
  /system/tools/aidl/tests/java_app/src/android/aidl/tests/
TestServiceClient.java 32 import java.io.FileInputStream;
623 FileInputStream fileInputStream = openFileInput("test-dummy");
625 if (fileInputStream.read(input) != input.length) {
    [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.jdt.launching_3.5.100.v20100526.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.2.0/
lint-checks-22.2.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.0/
lint-checks-22.4.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.4.2/
lint-checks-22.4.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.0/
lint-checks-22.5.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.1/
lint-checks-22.5.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.5.3/
lint-checks-22.5.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.0/
lint-checks-22.7.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.1/
lint-checks-22.7.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.7.3/
lint-checks-22.7.3.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.8.0/
lint-checks-22.8.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/22.9.2/
lint-checks-22.9.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/23.0.1/
lint-checks-23.0.1.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/23.0.2/
lint-checks-23.0.2.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/23.1.0/
lint-checks-23.1.0.jar 
  /prebuilts/gradle-plugin/com/android/tools/lint/lint-checks/23.1.3/
lint-checks-23.1.3.jar 

Completed in 997 milliseconds

1 2 3