Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 178) sorted by relevance

12345678

/system/libbase/
Dfile_test.cpp38 TEST(file, ReadFileToString_ENOENT) { in TEST() argument
46 TEST(file, ReadFileToString_WriteStringToFile) { in TEST() argument
59 TEST(file, ReadFileToString_WriteStringToFile_symlink) { in TEST() argument
78 TEST(file, WriteStringToFile2) { in TEST() argument
97 TEST(file, NonUnicodeCharsWindows) { in TEST() argument
161 TEST(file, RootDirectoryWindows) { in TEST() argument
179 TEST(file, WriteStringToFd_StringLiteral) { in TEST() argument
191 TEST(file, WriteStringToFd_String) { in TEST() argument
204 TEST(file, WriteStringToFd_StringView) { in TEST() argument
217 TEST(file, WriteFully) { in TEST() argument
[all …]
Dlogging.cpp84 static const char* GetFileBasename(const char* file) { in GetFileBasename()
278 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger()
328 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, const char* file, in operator ()()
425 LogMessageData(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessageData()
470 LogMessage::LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, in LogMessage()
474 LogMessage::LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessage()
515 void LogMessage::LogLine(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogLine()
/system/core/libprocessgroup/cgrouprc/
Dcgroup_file.cpp82 static auto* file = LoadRcFile(); in GetInstance() local
87 auto file = GetInstance(); in ACgroupFile_getVersion() local
93 auto file = GetInstance(); in ACgroupFile_getControllerCount() local
99 auto file = GetInstance(); in ACgroupFile_getController() local
/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
DZoneTabFileTest.java53 String file = createFile(""); in parseEmpty() local
60 String file = createFile( in parseIgnoresCommentsAndEmptyLines() local
74 String file = createFile( in parse() local
95 String file = createFile("GB\tStuff"); in parseMalformedFile() local
101 String file = createFile( in createCountryToOlsonIdsMap() local
/system/core/fs_mgr/libfiemap/
Dsplit_fiemap_writer.cpp156 for (const auto& file : files) { in Open() local
195 for (const auto& file : files) { in RemoveSplitFiles() local
207 for (const auto& file : files_) { in HasPinnedExtents() local
217 for (const auto& file : files_) { in extents() local
227 FiemapWriter* file = files_[cursor_index_].get(); in Write() local
281 for (const auto& file : files_) { in Flush() local
310 void SplitFiemap::AddFile(FiemapUniquePtr&& file) { in AddFile()
Dutility.cpp79 std::string GetDevicePathForFile(SplitFiemap* file) { in GetDevicePathForFile()
92 std::string JoinPaths(const std::string& dir, const std::string& file) { in JoinPaths()
151 bool FilesystemHasReliablePinning(const std::string& file, bool* supported) { in FilesystemHasReliablePinning()
Dmetadata.cpp64 SplitFiemap* file) { in OpenOrCreateMetadata()
138 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents()
192 SplitFiemap* file, uint64_t partition_size, bool readonly) { in UpdateMetadata()
/system/update_engine/payload_consumer/
Dfile_writer_unittest.cc38 ScopedTempFile file("FileWriterTest-XXXXXX"); in TEST() local
62 ScopedTempFile file("FileWriterTest-XXXXXX"); in TEST() local
/system/core/fs_mgr/liblp/
Dimages.cpp61 bool IsEmptySuperImage(const std::string& file) { in IsEmptySuperImage()
126 bool WriteToImageFile(const std::string& file, const LpMetadata& input) { in WriteToImageFile()
173 SparsePtr file(sparse_file_new(block_size_, block_device.size), sparse_file_destroy); in ImageBuilder() local
186 bool ImageBuilder::Export(const std::string& file) { in Export()
227 bool ImageBuilder::AddData(sparse_file* file, const std::string& blob, uint64_t sector) { in AddData()
314 const std::string& file) { in AddPartitionImage()
450 int ImageBuilder::OpenImageFile(const std::string& file) { in OpenImageFile()
480 bool WriteToImageFile(const std::string& file, const LpMetadata& metadata, uint32_t block_size, in WriteToImageFile()
/system/sepolicy/tools/
Dseamendc.c42 FILE *file = fopen(path, "r"); in read_binary_policy() local
108 FILE *file = NULL; in read_cil_files() local
171 FILE *file = fopen(path, "w"); in write_binary_policy() local
/system/extras/mmap-perf/
DmmapPerf.cpp115 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomRead() local
125 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchRandomWrite() local
135 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearRead() local
146 FileMap file{"/data/local/tmp/mmap_test", fsize}; in benchLinearWrite() local
/system/update_engine/lz4diff/
Dlz4diff_unittest.cc71 std::find_if(old_files.begin(), old_files.end(), [](const auto& file) { in TEST_F()
78 std::find_if(new_files.begin(), new_files.end(), [](const auto& file) { in TEST_F()
Dlz4diff_main.cc105 [path(src_file.name)](auto&& file) { return file.name == path; }); in ExecuteLz4diffOp()
115 src_files.begin(), src_files.end(), [inode_path](auto&& file) { in ExecuteLz4diffOp()
124 dst_files.begin(), dst_files.end(), [inode_path](auto&& file) { in ExecuteLz4diffOp()
/system/update_engine/payload_generator/
Dext2_filesystem_unittest.cc87 for (const auto& file : files) { in TEST_F() local
114 for (const auto& file : files) { in TEST_F() local
156 FilesystemInterface::File file; in TEST_F() local
/system/teeui/tools/framebufferizer/src/com/android/framebufferizer/utils/
DConfig.java88 File file = new File(directory, fileName); in saveConfiguration() local
108 File file = new File(directory, fileLock); in createLockFile() local
/system/timezone/debug_tools/host/main/java/
DZoneSplitter.java97 RandomAccessFile file = new RandomAccessFile(tzData, "r"); in createMappedByteBuffer() local
202 private static void writeStringUtf8ToFile(File file, String string) throws IOException { in writeStringUtf8ToFile()
206 private static void writeBytesToFile(File file, byte[] bytes) throws IOException { in writeBytesToFile()
/system/core/debuggerd/libdebuggerd/test/
Dopen_files_list_test.cpp40 for (auto& file : list) { in TEST() local
/system/vold/
DLoop.cpp172 int Loop::createImageFile(const char* file, unsigned long numSectors) { in createImageFile()
188 int Loop::resizeImageFile(const char* file, unsigned long numSectors) { in resizeImageFile()
/system/tools/aidl/
Dlocation.cpp19 AidlLocation::AidlLocation(const std::string& file, Point begin, Point end, Source source) in AidlLocation()
/system/chre/host/common/
Dfile_stream.cc27 std::ifstream file(filename, std::ios::binary | std::ios::ate); in readFileContents() local
/system/timezone/input_tools/android/telephonylookup_generator/src/main/java/com/android/libcore/timezone/telephonylookup/
DTelephonyLookupProtoFileSupport.java33 public static TelephonyLookupProtoFile.TelephonyLookup parseTelephonyLookupTextFile(String file) in parseTelephonyLookupTextFile()
/system/extras/cpustats/
Dcpustats.c195 FILE* file; in get_cpu_count_from_file() local
220 FILE* file; in get_freq_scales_count() local
242 FILE* file; in read_stats() local
271 FILE* file; in read_freq_stats() local
/system/update_engine/common/
Dutils_unittest.cc49 ScopedTempFile file; in TEST() local
63 ScopedTempFile file; in TEST() local
148 ScopedTempFile file; in GetFileFormatTester() local
417 ScopedTempFile file; in TEST() local
459 ScopedTempFile file; in TEST() local
/system/extras/boottime_tools/bootio/
Dbootio_collector.cpp43 FILE *file; in PopulateCpu() local
67 FILE *file; in ReadIo() local
97 FILE *file; in ReadStatForName() local
118 FILE *file; in ReadStat() local
152 FILE *file; in ReadCmdline() local
/system/extras/tests/cpueater/
Ddaemonize.c36 char *file = 0; in main() local

12345678