HomeSort by relevance Sort by last modified time
    Searched refs:AutoCloseInputStream (Results 1 - 25 of 99) sorted by null

1 2 3 4

  /cts/tests/tests/os/src/android/os/cts/
ParcelFileDescriptor_AutoCloseInputStreamTest.java 22 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
29 AutoCloseInputStream in = new AutoCloseInputStream(pf);
ParcelFileDescriptorTest.java 24 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
53 AutoCloseInputStream in = new AutoCloseInputStream(pfd);
105 AutoCloseInputStream in = new AutoCloseInputStream(pfd);
132 assertInputStreamContent(expected, new ParcelFileDescriptor.AutoCloseInputStream(fd));
181 AutoCloseInputStream in = new AutoCloseInputStream(pfd);
195 AutoCloseInputStream in1 = new AutoCloseInputStream(pf)
    [all...]
MessageQueueTest.java 26 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
279 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]);
410 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]);
440 try (final FileInputStream reader2 = new AutoCloseInputStream(pipe2[0]);
492 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]);
522 try (final FileInputStream reader2 = new AutoCloseInputStream(pipe2[0]);
582 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]);
667 try (final FileInputStream reader = new AutoCloseInputStream(pipe[0]);
    [all...]
  /packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
AutoCloseInputStream.java 34 * @version $Id: AutoCloseInputStream.java 610010 2008-01-08 14:50:59Z niallp $
37 public class AutoCloseInputStream extends ProxyInputStream {
44 public AutoCloseInputStream(InputStream in) {
  /frameworks/base/core/java/android/content/res/
AssetFileDescriptor.java 161 * will either return a full asset {@link AutoCloseInputStream}, or
162 * an underlying {@link ParcelFileDescriptor.AutoCloseInputStream
163 * ParcelFileDescriptor.AutoCloseInputStream} depending on whether the
169 return new ParcelFileDescriptor.AutoCloseInputStream(mFd);
171 return new AutoCloseInputStream(this);
200 public static class AutoCloseInputStream
201 extends ParcelFileDescriptor.AutoCloseInputStream {
204 public AutoCloseInputStream(AssetFileDescriptor fd) throws IOException {
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTestCase.java 33 import android.content.res.AssetFileDescriptor.AutoCloseInputStream;
105 try (AutoCloseInputStream in = new AutoCloseInputStream(descriptor)) {
  /frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
PipeManagerTest.java 85 try (final ParcelFileDescriptor.AutoCloseInputStream stream =
86 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) {
TestMtpManager.java 166 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream =
167 new ParcelFileDescriptor.AutoCloseInputStream(source)) {
  /cts/common/device-side/util/src/com/android/compatibility/common/util/
SystemUtil.java 61 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /cts/tests/tests/content/src/android/content/res/cts/
AssetFileDescriptor_AutoCloseInputStreamTest.java 39 private AssetFileDescriptor.AutoCloseInputStream mInput;
164 mInput = new AssetFileDescriptor.AutoCloseInputStream(mFd);
  /frameworks/base/packages/MtpDocumentsProvider/perf_tests/src/com/android/mtp/
AppFusePerfTest.java 56 try (final ParcelFileDescriptor.AutoCloseInputStream stream =
57 new ParcelFileDescriptor.AutoCloseInputStream(fd)) {
  /packages/apps/Messaging/src/android/support/v7/mms/
SendRequest.java 105 ParcelFileDescriptor.AutoCloseInputStream inStream = null;
109 inStream = new ParcelFileDescriptor.AutoCloseInputStream(pduFd);
  /packages/apps/UnifiedEmail/src/com/android/mail/utils/
AttachmentUtils.java 21 import android.content.res.AssetFileDescriptor.AutoCloseInputStream;
198 inputStream = new AutoCloseInputStream(fileDescriptor);
214 inputStream = new AutoCloseInputStream(fd);
  /cts/tests/tests/security/src/android/security/cts/
AslrTest.java 54 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) {
  /frameworks/base/media/java/android/media/midi/
MidiOutputPort.java 99 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(new ParcelFileDescriptor(fd));
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
InstallTask.java 140 inputStream = new ParcelFileDescriptor.AutoCloseInputStream(mParcelFileDescriptor);
WearPackageUtil.java 84 InputStream fr = new ParcelFileDescriptor.AutoCloseInputStream(fd);
  /packages/apps/DocumentsUI/src/com/android/documentsui/archives/
ReadableArchive.java 195 final ParcelFileDescriptor.AutoCloseInputStream inputStream =
196 new ParcelFileDescriptor.AutoCloseInputStream(descriptor);
WriteableArchive.java 237 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream =
238 new ParcelFileDescriptor.AutoCloseInputStream(inputPipe)) {
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 33 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
355 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(actual);
394 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
    [all...]
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/
DocumentsProviderHelper.java 33 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
154 try (AutoCloseInputStream in = new AutoCloseInputStream(file)) {
  /cts/apps/CtsVerifierUSBCompanion/src/com/android/cts/verifierusbcompanion/
DeviceTestCompanion.java 180 try (InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(fd)) {
  /cts/hostsidetests/incident/apps/boundwidgetapp/src/android/appwidget/cts/
AppWidgetTest.java 128 new InputStreamReader(new ParcelFileDescriptor.AutoCloseInputStream(pfd)))) {
  /cts/tests/backup/src/android/backup/cts/
BackupQuotaTest.java 170 return new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /packages/services/BuiltInPrintService/src/com/android/bips/jni/
PdfRender.java 157 try (InputStream in = new ParcelFileDescriptor.AutoCloseInputStream(input)) {

Completed in 434 milliseconds

1 2 3 4