OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fileInputStream
(Results
1 - 25
of
96
) sorted by null
1
2
3
4
/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/services/backup/java/com/android/server/backup/utils/
DataStreamFileCodec.java
23
import java.io.
FileInputStream
;
55
FileInputStream
fileInputStream
= new
FileInputStream
(mFile);
56
DataInputStream dataInputStream = new DataInputStream(
fileInputStream
)
/frameworks/support/work/integration-tests/testapp/src/main/java/androidx/work/integration/testapp/sherlockholmes/
TextReducingWorker.java
27
import java.io.
FileInputStream
;
53
FileInputStream
fileInputStream
= null;
56
fileInputStream
= getApplicationContext().openFileInput(inputFiles[i]);
57
dataInputStream = new DataInputStream(
fileInputStream
);
76
if (
fileInputStream
!= null) {
78
fileInputStream
.close();
/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-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowContextTest.java
14
import java.io.
FileInputStream
;
159
try (
FileInputStream
fileInputStream
= context.openFileInput("__test__")) {
161
fileInputStream
.read(bytes);
168
try (
FileInputStream
fileInputStream
= context.openFileInput("data" + File.separator + "test")) {}
178
try (
FileInputStream
fileInputStream
= new
FileInputStream
(new File(context.getFilesDir(), file.getName()))) {
180
fileInputStream
.read(readBuffer)
[
all
...]
/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
...]
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
RecoverySnapshotStorage.java
34
import java.io.
FileInputStream
;
152
FileInputStream
fileInputStream
= new
FileInputStream
(snapshotFile)
154
return KeyChainSnapshotDeserializer.deserialize(
fileInputStream
);
/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);
/frameworks/base/core/tests/coretests/src/android/app/backup/
BackupDataTest.java
35
import java.io.
FileInputStream
;
234
FileInputStream
fileInputStream
= mAssets.openFd(source).createInputStream();
237
int numBytes =
fileInputStream
.read(copybuffer);
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
TestServiceClient.java
34
import java.io.
FileInputStream
;
587
FileInputStream
fileInputStream
= openFileInput("test-dummy");
589
if (
fileInputStream
.read(input) != input.length) {
[
all
...]
/external/kotlinc/lib/
kotlin-preloader.jar
/packages/providers/TelephonyProvider/src/com/android/providers/telephony/
TelephonyBackupAgent.java
60
import java.io.
FileInputStream
;
537
try (
FileInputStream
fileInputStream
= new
FileInputStream
(file)) {
538
mTelephonyBackupAgent.doRestoreFile(fileName,
fileInputStream
.getFD());
[
all
...]
/external/annotation-tools/annotation-file-utilities/lib/
plume-core.jar
/external/annotation-tools/scene-lib/
ant-contrib.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
Completed in 1792 milliseconds
1
2
3
4