Home
last modified time | relevance | path

Searched refs:fstream (Results 1 – 13 of 13) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DTransactionTraceWriterTest.cpp37 std::fstream file(mFilename, std::ios::in); in verifyTraceFile()
82 std::fstream file(mFilename, std::ios::in); in TEST_F()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java56 FileInputStream fstream = new FileInputStream(file); in parseIntValueFromFile() local
57 DataInputStream in = new DataInputStream(fstream); in parseIntValueFromFile()
/frameworks/base/packages/WallpaperBackup/test/src/com/android/wallpaperbackup/
DWallpaperBackupAgentTest.java917 FileOutputStream fstream = new FileOutputStream(wallpaperFile, false); in mockRestoredLiveWallpaperFile() local
918 TypedXmlSerializer out = Xml.resolveSerializer(fstream); in mockRestoredLiveWallpaperFile()
925 fstream.flush(); in mockRestoredLiveWallpaperFile()
926 FileUtils.sync(fstream); in mockRestoredLiveWallpaperFile()
927 fstream.close(); in mockRestoredLiveWallpaperFile()
933 FileOutputStream fstream = new FileOutputStream(wallpaperFile, false); in mockRestoredStaticWallpaperFile() local
934 TypedXmlSerializer out = Xml.resolveSerializer(fstream); in mockRestoredStaticWallpaperFile()
953 fstream.flush(); in mockRestoredStaticWallpaperFile()
954 FileUtils.sync(fstream); in mockRestoredStaticWallpaperFile()
955 fstream.close(); in mockRestoredStaticWallpaperFile()
/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperDataParser.java430 FileOutputStream fstream = null; in saveSettingsLocked() local
432 fstream = new FileOutputStream(journal.chooseForWrite(), false); in saveSettingsLocked()
433 TypedXmlSerializer out = Xml.resolveSerializer(fstream); in saveSettingsLocked()
446 fstream.flush(); in saveSettingsLocked()
447 FileUtils.sync(fstream); in saveSettingsLocked()
448 fstream.close(); in saveSettingsLocked()
451 IoUtils.closeQuietly(fstream); in saveSettingsLocked()
/frameworks/native/services/surfaceflinger/Tracing/tools/
Dmain.cpp39 std::fstream input(transactionTracePath, std::ios::in | std::ios::binary); in main()
/frameworks/native/opengl/tests/EGLTest/
Degl_cache_test.cpp174 std::fstream fs(cachefileName); in TEST_P()
220 std::fstream fs(cachefileName); in TEST_P()
/frameworks/base/packages/WallpaperBackup/src/com/android/wallpaperbackup/
DWallpaperBackupAgent.java227 FileOutputStream fstream = new FileOutputStream(deviceInfoStage, false); in backupDeviceInfoFile() local
228 TypedXmlSerializer out = Xml.resolveSerializer(fstream); in backupDeviceInfoFile()
252 fstream.flush(); in backupDeviceInfoFile()
253 FileUtils.sync(fstream); in backupDeviceInfoFile()
254 fstream.close(); in backupDeviceInfoFile()
/frameworks/native/services/surfaceflinger/tests/tracing/
DTransactionTraceTestSuite.cpp79 std::fstream input(transactionTracePath, std::ios::in | std::ios::binary); in parseTransactionTraceFromFile()
88 std::fstream input(layersTracePath, std::ios::in | std::ios::binary); in parseLayersTraceFromFile()
/frameworks/native/opengl/libs/EGL/
DMultifileBlobCache_test.cpp410 std::fstream fs(statusFile.str()); in TEST_F()
442 std::fstream fs(statusFile.str()); in TEST_F()
/frameworks/base/cmds/idmap2/idmap2/
DLookup.cpp182 std::fstream fin(idmap_path); in Lookup()
/frameworks/native/libs/binder/tests/
Dschd-dbg.cpp57 fstream file; in traceIsOn()
/frameworks/base/cmds/idmap2/libidmap2/
DFabricatedOverlay.cpp425 std::fstream fin(path); in FromPath()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1006 try (FileInputStream fstream = new FileInputStream(mFullBackupScheduleFile); in readFullBackupSchedule() argument
1007 BufferedInputStream bufStream = new BufferedInputStream(fstream); in readFullBackupSchedule()