/frameworks/base/core/tests/benchmarks/src/android/os/ |
D | FileUtilsBenchmark.java | 29 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/base/tools/aapt2/io/ |
D | FileStream.cpp | 40 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()
|
D | FileStream.h | 33 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/ |
D | PrintPsTree.java | 18 import java.io.FileInputStream; 34 FileInputStream fin = new FileInputStream(args[0]); in main()
|
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/androidTest/java/com/android/media/benchmark/tests/ |
D | ExtractorTest.java | 37 import java.io.FileInputStream; 95 FileInputStream fileInput = new FileInputStream(inputFile); in testExtractor() 115 FileInputStream fileInput = new FileInputStream(inputFile); in testNativeExtractor()
|
D | DecoderTest.java | 40 import java.io.FileInputStream; 125 FileInputStream fileInput = new FileInputStream(inputFile); in testDecoder() 199 FileInputStream fileInput = new FileInputStream(inputFile); in testNativeDecoder()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | DataStreamFileCodec.java | 23 import java.io.FileInputStream; 55 FileInputStream fileInputStream = new FileInputStream(mFile); in deserialize()
|
D | FullBackupUtils.java | 26 import java.io.FileInputStream; 44 FileInputStream raw = new FileInputStream(inPipe.getFileDescriptor()); in routeSocketDataToOutput()
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
D | UsbAccessoryStreamTransport.java | 25 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/ |
D | WfaCertBuilder.java | 22 import java.io.FileInputStream; 53 FileInputStream fis = new FileInputStream(certFile); in loadCertsFromDisk()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | UserBackupManagerFilePersistedSettings.java | 25 import java.io.FileInputStream; 46 try (FileInputStream fin = new FileInputStream(enableFile)) { in readBackupEnableState()
|
/frameworks/base/core/java/android/app/backup/ |
D | WallpaperBackupHelper.java | 27 import java.io.FileInputStream; 99 try (FileInputStream in = new FileInputStream(stage)) { in restoreEntity()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | AtomicFile.java | 25 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()
|
D | ProcStatsUtil.java | 26 import java.io.FileInputStream; 99 try (FileInputStream is = new FileInputStream(path)) { in readTerminatedProcFile()
|
D | TransferPipe.java | 34 import java.io.FileInputStream; 114 try (FileInputStream is = new FileInputStream(pipe[0].getFileDescriptor())) { in dumpAsync() 249 final FileInputStream fis; in run() 258 fis = new FileInputStream(readFd.getFileDescriptor()); in run()
|
/frameworks/base/cmds/statsd/tools/localtools/src/com/android/statsd/shelltools/ |
D | Utils.java | 22 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/base/core/java/android/util/ |
D | AtomicFile.java | 25 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/graphics/java/android/graphics/fonts/ |
D | SystemFonts.java | 32 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/packages/WallpaperBackup/src/com/android/wallpaperbackup/ |
D | WallpaperBackupAgent.java | 47 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/services/core/java/com/android/server/net/watchlist/ |
D | DigestUtils.java | 20 import java.io.FileInputStream; 37 try (InputStream stream = new FileInputStream(apkFile)) { in getSha256Hash()
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | SystemServerCommand.java | 22 import java.io.FileInputStream; 49 new FileInputStream(fd.getFileDescriptor()).read(); in waitForCrash()
|
/frameworks/base/drm/java/android/drm/ |
D | DrmUtils.java | 22 import java.io.FileInputStream; 46 FileInputStream inputStream = new FileInputStream(file); in readBytes()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ProcessLoggingHandler.java | 28 import java.io.FileInputStream; 103 FileInputStream input = new FileInputStream(new File(packageArchiveLocation)); in computeHashOfApkFile()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | LastMileLogger.java | 26 import java.io.FileInputStream; 103 private FileInputStream mLastMileTraceHandle; 160 mLastMileTraceHandle = new FileInputStream(mEventReleasePath); in ensureFailSafeIsArmed()
|
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/util/ |
D | TestAssetRepository.java | 24 import java.io.FileInputStream; 42 return new FileInputStream(asset); in open()
|