/system/libbase/ |
D | file_test.cpp | 38 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 …]
|
D | logging.cpp | 84 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/ |
D | cgroup_file.cpp | 82 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/ |
D | ZoneTabFileTest.java | 53 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/ |
D | split_fiemap_writer.cpp | 156 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()
|
D | utility.cpp | 79 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()
|
D | metadata.cpp | 64 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/ |
D | file_writer_unittest.cc | 38 ScopedTempFile file("FileWriterTest-XXXXXX"); in TEST() local 62 ScopedTempFile file("FileWriterTest-XXXXXX"); in TEST() local
|
/system/core/fs_mgr/liblp/ |
D | images.cpp | 61 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/ |
D | seamendc.c | 42 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/ |
D | mmapPerf.cpp | 115 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/ |
D | lz4diff_unittest.cc | 71 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()
|
D | lz4diff_main.cc | 105 [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/ |
D | ext2_filesystem_unittest.cc | 87 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/ |
D | Config.java | 88 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/ |
D | ZoneSplitter.java | 97 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/ |
D | open_files_list_test.cpp | 40 for (auto& file : list) { in TEST() local
|
/system/vold/ |
D | Loop.cpp | 172 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/ |
D | location.cpp | 19 AidlLocation::AidlLocation(const std::string& file, Point begin, Point end, Source source) in AidlLocation()
|
/system/chre/host/common/ |
D | file_stream.cc | 27 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/ |
D | TelephonyLookupProtoFileSupport.java | 33 public static TelephonyLookupProtoFile.TelephonyLookup parseTelephonyLookupTextFile(String file) in parseTelephonyLookupTextFile()
|
/system/extras/cpustats/ |
D | cpustats.c | 195 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/ |
D | utils_unittest.cc | 49 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/ |
D | bootio_collector.cpp | 43 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/ |
D | daemonize.c | 36 char *file = 0; in main() local
|