HomeSort by relevance Sort by last modified time
    Searched refs:AutoCloseInputStream (Results 1 - 25 of 76) 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;
94 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)) {
AppFuseTest.java 123 try (final ParcelFileDescriptor.AutoCloseInputStream stream =
124 new ParcelFileDescriptor.AutoCloseInputStream(fd)) {
TestMtpManager.java 162 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream =
163 new ParcelFileDescriptor.AutoCloseInputStream(source)) {
  /cts/libs/deviceutil/src/android/cts/util/
SystemUtil.java 63 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);
  /packages/apps/Messaging/src/android/support/v7/mms/
SendRequest.java 105 ParcelFileDescriptor.AutoCloseInputStream inStream = null;
109 inStream = new ParcelFileDescriptor.AutoCloseInputStream(pduFd);
  /frameworks/base/media/java/android/media/midi/
MidiOutputPort.java 98 mInputStream = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/wear/
InstallTask.java 140 inputStream = new ParcelFileDescriptor.AutoCloseInputStream(mParcelFileDescriptor);
WearPackageUtil.java 94 InputStream fr = new ParcelFileDescriptor.AutoCloseInputStream(fd);
  /frameworks/base/core/tests/coretests/src/android/app/
DownloadManagerBaseTest.java 33 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
349 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(actual);
388 AutoCloseInputStream input = new ParcelFileDescriptor.AutoCloseInputStream(pfd);
    [all...]
  /frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DocumentsProviderHelper.java 33 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
148 try (AutoCloseInputStream in = new AutoCloseInputStream(file)) {
  /frameworks/support/documents-archive/tests/src/android/support/provider/
DocumentArchiveTest.java 268 try (final ParcelFileDescriptor.AutoCloseInputStream inputStream =
269 new ParcelFileDescriptor.AutoCloseInputStream(descriptor)) {
  /frameworks/opt/bitmap/src/com/android/bitmap/
DecodeTask.java 25 import android.os.ParcelFileDescriptor.AutoCloseInputStream;
169 in = new AutoCloseInputStream(orientationFd);
  /cts/tests/tests/database/src/android/database/sqlite/cts/
SQLiteStatementTest.java 326 assertInputStreamContent(expected, new ParcelFileDescriptor.AutoCloseInputStream(fd));
  /frameworks/base/core/java/android/os/
DropBoxManager.java 217 is = new ParcelFileDescriptor.AutoCloseInputStream(mFileDescriptor);
ParcelFileDescriptor.java 851 public static class AutoCloseInputStream extends FileInputStream {
854 public AutoCloseInputStream(ParcelFileDescriptor pfd) {
    [all...]
  /packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
AbstractPublicApiTest.java 103 final InputStream is = new ParcelFileDescriptor.AutoCloseInputStream(
  /platform_testing/libraries/aupt-lib/src/android/support/test/aupt/
GraphicsStatsMonitor.java 299 new ParcelFileDescriptor.AutoCloseInputStream(stdout)));
ProcessStatusTracker.java 235 new ParcelFileDescriptor.AutoCloseInputStream(stdout)));

Completed in 474 milliseconds

1 2 3 4