Home
last modified time | relevance | path

Searched refs:FileInputStream (Results 1 – 25 of 243) sorted by relevance

12345678910

/frameworks/base/core/tests/benchmarks/src/android/os/
DFileUtilsBenchmark.java29 import java.io.FileInputStream;
55 try (FileInputStream in = new FileInputStream(mSrc); in timeRegularUserspace()
64 try (FileInputStream in = new FileInputStream(mSrc); in timeRegularSendfile()
91 try (FileInputStream in = new FileInputStream(mSrc); in timePipeSinkUserspace()
100 try (FileInputStream in = new FileInputStream(mSrc); in timePipeSinkSplice()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/io/
Dzero_copy_stream_impl.cc79 FileInputStream::FileInputStream(int file_descriptor, int block_size) in FileInputStream() function in google::protobuf::io::FileInputStream
84 FileInputStream::~FileInputStream() {} in ~FileInputStream()
86 bool FileInputStream::Close() { in Close()
90 bool FileInputStream::Next(const void** data, int* size) { in Next()
94 void FileInputStream::BackUp(int count) { in BackUp()
98 bool FileInputStream::Skip(int count) { in Skip()
102 int64 FileInputStream::ByteCount() const { in ByteCount()
106 FileInputStream::CopyingFileInputStream::CopyingFileInputStream( in CopyingFileInputStream()
115 FileInputStream::CopyingFileInputStream::~CopyingFileInputStream() { in ~CopyingFileInputStream()
123 bool FileInputStream::CopyingFileInputStream::Close() { in Close()
[all …]
Dzero_copy_stream_impl.h63 class LIBPROTOBUF_EXPORT FileInputStream : public ZeroCopyInputStream {
69 explicit FileInputStream(int file_descriptor, int block_size = -1);
70 ~FileInputStream();
129 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS(FileInputStream);
/frameworks/base/tools/aapt2/io/
DFileStream.cpp40 FileInputStream::FileInputStream(const std::string& path, size_t buffer_capacity) in FileInputStream() function in aapt::io::FileInputStream
51 FileInputStream::FileInputStream(int fd, size_t buffer_capacity) in FileInputStream() function in aapt::io::FileInputStream
60 bool FileInputStream::Next(const void** data, size_t* size) { in Next()
91 void FileInputStream::BackUp(size_t count) { in BackUp()
99 size_t FileInputStream::ByteCount() const { in ByteCount()
103 bool FileInputStream::HadError() const { in HadError()
107 std::string FileInputStream::GetError() const { in GetError()
DFileStream.h33 class FileInputStream : public InputStream {
35 explicit FileInputStream(const std::string& path,
39 explicit FileInputStream(int fd, size_t buffer_capacity = kDefaultBufferCapacity);
52 DISALLOW_COPY_AND_ASSIGN(FileInputStream);
/frameworks/base/tools/preload/
DPrintPsTree.java18 import java.io.FileInputStream;
34 FileInputStream fin = new FileInputStream(args[0]); in main()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DDataStreamFileCodec.java23 import java.io.FileInputStream;
55 FileInputStream fileInputStream = new FileInputStream(mFile); in deserialize()
DFullBackupUtils.java26 import java.io.FileInputStream;
44 FileInputStream raw = new FileInputStream(inPipe.getFileDescriptor()); in routeSocketDataToOutput()
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
DUsbAccessoryStreamTransport.java25 import java.io.FileInputStream;
34 private FileInputStream mInputStream;
40 mInputStream = new FileInputStream(fd.getFileDescriptor()); in UsbAccessoryStreamTransport()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DWfaCertBuilder.java22 import java.io.FileInputStream;
53 FileInputStream fis = new FileInputStream(certFile); in loadCertsFromDisk()
/frameworks/base/core/java/android/app/backup/
DWallpaperBackupHelper.java27 import java.io.FileInputStream;
95 try (FileInputStream in = new FileInputStream(stage)) { in restoreEntity()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerFilePersistedSettings.java25 import java.io.FileInputStream;
46 try (FileInputStream fin = new FileInputStream(enableFile)) { in readBackupEnableState()
/frameworks/base/core/java/com/android/internal/os/
DAtomicFile.java25 import java.io.FileInputStream;
152 public FileInputStream openRead() throws FileNotFoundException { in openRead()
157 return new FileInputStream(mBaseName); in openRead()
162 FileInputStream stream = openRead(); in readFully()
DProcStatsUtil.java26 import java.io.FileInputStream;
99 try (FileInputStream is = new FileInputStream(path)) { in readTerminatedProcFile()
DKernelWakelockReader.java25 import java.io.FileInputStream;
75 FileInputStream is; in readKernelWakelockStats()
77 is = new FileInputStream(sWakelockFile); in readKernelWakelockStats()
81 is = new FileInputStream(sWakeupSourceFile); in readKernelWakelockStats()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/testing/
Dzcgunzip.cc58 using google::protobuf::io::FileInputStream;
62 FileInputStream fin(STDIN_FILENO); in main()
/frameworks/base/core/java/android/util/
DAtomicFile.java25 import java.io.FileInputStream;
224 public FileInputStream openRead() throws FileNotFoundException { in openRead()
229 return new FileInputStream(mBaseName); in openRead()
260 FileInputStream stream = openRead(); in readFully()
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/
DUtils.java22 import java.io.FileInputStream;
99 ConfigMetricsReportList.parseFrom(new FileInputStream(outputFile)); in getReportList()
155 in = new BufferedReader(new InputStreamReader(new FileInputStream(outFileSdk))); in isAcceptableStatsd()
166 in = new BufferedReader(new InputStreamReader(new FileInputStream(outFileCode))); in isAcceptableStatsd()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/examples/
DAddPerson.java6 import java.io.FileInputStream;
72 FileInputStream input = new FileInputStream(args[0]); in main()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DLastMileLogger.java25 import java.io.FileInputStream;
91 private FileInputStream mLastMileTraceHandle;
140 mLastMileTraceHandle = new FileInputStream(mEventReleasePath); in ensureFailSafeIsArmed()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java47 import java.io.FileInputStream;
274 try (FileInputStream in = new FileInputStream(stage)) { in restoreFromStage()
283 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseCropHint()
311 try (FileInputStream stream = new FileInputStream(wallpaperInfo)) { in parseWallpaperComponent()
/frameworks/base/graphics/java/android/graphics/fonts/
DSystemFonts.java32 import java.io.FileInputStream;
103 try (FileInputStream file = new FileInputStream(fullPath)) { in mmap()
247 final FileInputStream fontsIn = new FileInputStream(xmlPath); in buildSystemFallback()
299 try (FileInputStream f = new FileInputStream(customizeXml)) { in readFontCustomization()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DDigestUtils.java20 import java.io.FileInputStream;
37 try (InputStream stream = new FileInputStream(apkFile)) { in getSha256Hash()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DSystemServerCommand.java22 import java.io.FileInputStream;
49 new FileInputStream(fd.getFileDescriptor()).read(); in waitForCrash()
/frameworks/base/drm/java/android/drm/
DDrmUtils.java22 import java.io.FileInputStream;
46 FileInputStream inputStream = new FileInputStream(file); in readBytes()

12345678910