Home
last modified time | relevance | path

Searched refs:ins (Results 1 – 8 of 8) sorted by relevance

/developers/build/prebuilts/gradle/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DDiskLruCache.java490 InputStream[] ins = new InputStream[valueCount]; in get() local
493 ins[i] = new FileInputStream(entry.getCleanFile(i)); in get()
506 return new Snapshot(key, entry.sequenceNumber, ins); in get()
733 private final InputStream[] ins; field in DiskLruCache.Snapshot
735 private Snapshot(String key, long sequenceNumber, InputStream[] ins) { in Snapshot() argument
738 this.ins = ins; in Snapshot()
754 return ins[index]; in getInputStream()
765 for (InputStream in : ins) { in close()
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/
DDiskLruCache.java490 InputStream[] ins = new InputStream[valueCount]; in get() local
493 ins[i] = new FileInputStream(entry.getCleanFile(i)); in get()
506 return new Snapshot(key, entry.sequenceNumber, ins); in get()
733 private final InputStream[] ins; field in DiskLruCache.Snapshot
735 private Snapshot(String key, long sequenceNumber, InputStream[] ins) { in Snapshot() argument
738 this.ins = ins; in Snapshot()
754 return ins[index]; in getInputStream()
765 for (InputStream in : ins) { in close()
/developers/samples/android/content/documentsUi/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageProvider.kt179 val ins = context.resources.openRawResource(resId) in writeFileToInternalStorage() constant
185 val size = ins.read(buffer, 0, 1024) in writeFileToInternalStorage()
189 ins.close() in writeFileToInternalStorage()
/developers/build/prebuilts/gradle/ContentProviderPaging/kotlinApp/app/src/main/kotlin/com.example.android.contentproviderpaging/
DImageProvider.kt179 val ins = context.resources.openRawResource(resId) in writeFileToInternalStorage() constant
185 val size = ins.read(buffer, 0, 1024) in writeFileToInternalStorage()
189 ins.close() in writeFileToInternalStorage()
/developers/build/prebuilts/gradle/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageProvider.java212 InputStream ins = context.getResources().openRawResource(resId); in writeFileToInternalStorage() local
218 while ((size = ins.read(buffer, 0, 1024)) >= 0) { in writeFileToInternalStorage()
221 ins.close(); in writeFileToInternalStorage()
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageProvider.java212 InputStream ins = context.getResources().openRawResource(resId); in writeFileToInternalStorage() local
218 while ((size = ins.read(buffer, 0, 1024)) >= 0) { in writeFileToInternalStorage()
221 ins.close(); in writeFileToInternalStorage()
/developers/build/prebuilts/gradle/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java579 InputStream ins = getContext().getResources().openRawResource(resId);
584 while ((size = ins.read(buffer, 0, 1024)) >= 0) {
587 ins.close();
/developers/samples/android/content/documentsUi/StorageProvider/Application/src/main/java/com/example/android/storageprovider/
DMyCloudProvider.java579 InputStream ins = getContext().getResources().openRawResource(resId);
584 while ((size = ins.read(buffer, 0, 1024)) >= 0) {
587 ins.close();