/system/core/base/ |
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) { in TEST() argument 191 TEST(file, WriteFully) { in TEST() argument 210 TEST(file, RemoveFileIfExists) { in TEST() argument 224 TEST(file, RemoveFileIfExists_ENOTDIR) { in TEST() argument [all …]
|
D | logging.cpp | 89 static const char* GetFileBasename(const char* file) { in GetFileBasename() 282 void StderrLogger(LogId, LogSeverity severity, const char* tag, const char* file, unsigned int line, in StderrLogger() 333 void LogdLogger::operator()(LogId id, LogSeverity severity, const char* tag, const char* file, in operator ()() 429 LogMessageData(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessageData() 474 LogMessage::LogMessage(const char* file, unsigned int line, LogId, LogSeverity severity, in LogMessage() 478 LogMessage::LogMessage(const char* file, unsigned int line, LogSeverity severity, const char* tag, in LogMessage() 520 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/distro/core/src/main/com/android/timezone/distro/ |
D | FileUtils.java | 95 public static void makeWorldReadable(File file) throws IOException { in makeWorldReadable() 108 public static void ensureFileDoesNotExist(File file) throws IOException { in ensureFileDoesNotExist() 117 public static void doDelete(File file) throws IOException { in doDelete() 123 public static boolean isSymlink(File file) throws IOException { in isSymlink() 153 File file = new File(rootDir, fileName); in filesExist() local 165 public static byte[] readBytes(File file, int maxBytes) throws IOException { in readBytes() 185 public static void createEmptyFile(File file) throws IOException { in createEmptyFile()
|
/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 104 String file = createFile( in createCountryToOlsonIdsMap() local
|
/system/core/fs_mgr/libfiemap/ |
D | split_fiemap_writer.cpp | 155 for (const auto& file : files) { in Open() local 194 for (const auto& file : files) { in RemoveSplitFiles() local 203 for (const auto& file : files_) { in HasPinnedExtents() local 213 for (const auto& file : files_) { in extents() local 223 FiemapWriter* file = files_[cursor_index_].get(); in Write() local 277 for (const auto& file : files_) { in Flush() local 306 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() 152 bool FilesystemHasReliablePinning(const std::string& file, bool* supported) { in FilesystemHasReliablePinning()
|
D | metadata.cpp | 63 SplitFiemap* file) { in OpenOrCreateMetadata() 129 bool FillPartitionExtents(MetadataBuilder* builder, Partition* partition, SplitFiemap* file, in FillPartitionExtents() 183 SplitFiemap* file, uint64_t partition_size, bool readonly) { in UpdateMetadata()
|
/system/update_engine/payload_consumer/ |
D | file_writer_unittest.cc | 39 test_utils::ScopedTempFile file("FileWriterTest-XXXXXX"); in TEST() local 63 test_utils::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() 445 int ImageBuilder::OpenImageFile(const std::string& file) { in OpenImageFile() 475 bool WriteToImageFile(const std::string& file, const LpMetadata& metadata, uint32_t block_size, in WriteToImageFile()
|
/system/timezone/distro/core/src/test/com/android/timezone/distro/ |
D | FileUtilsTest.java | 244 File file = createFile(contents); in testReadBytes() local 258 File file = new File(dir, "one"); in testCreateEmptyFile() local 280 File file = new File(dir, "one"); in testCreateEmptyFile_truncatesExisting() local 294 File file = File.createTempFile(getClass().getSimpleName(), ".txt"); in createFile() local 301 private File createSymlink(File file, File symlinkDir, String symlinkName) throws Exception { in createSymlink() 361 File file = new File(dir, name); in createRegularFile() 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/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
|
D | squashfs_filesystem.cc | 140 File file; in Init() local 184 for (const auto& file : files_) { in Init() local 194 File file; in Init() local 234 for (auto& file : files_) { in Init() local
|
D | deflate_utils.cc | 61 const FilesystemInterface::File& file) { in IsSquashfsImage() 77 bool IsRegularFile(const FilesystemInterface::File& file) { in IsRegularFile() 88 bool RealignSplittedFiles(const FilesystemInterface::File& file, in RealignSplittedFiles() 276 for (auto& file : tmp_files) { in PreprocessPartitionFiles() local
|
/system/core/libsparse/ |
D | sparse_fuzzer.cpp | 7 struct sparse_file* file = sparse_file_new(size, blocksize); in LLVMFuzzerTestOneInput() local
|
/system/core/debuggerd/libdebuggerd/test/ |
D | open_files_list_test.cpp | 40 for (auto& file : list) { in TEST() local
|
/system/timezone/debug_tools/host/main/java/ |
D | ZoneSplitter.java | 91 RandomAccessFile file = new RandomAccessFile(tzData, "r"); in createMappedByteBuffer() local 203 private static void writeStringUtf8ToFile(File file, String string) throws IOException { in writeStringUtf8ToFile() 207 private static void writeBytesToFile(File file, byte[] bytes) throws IOException { in writeBytesToFile()
|
/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/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 | 191 FILE *file; in get_cpu_count_from_file() local 216 FILE *file; in get_freq_scales_count() local 238 FILE *file; in read_stats() local 267 FILE *file; in read_freq_stats() local
|
/system/extras/tests/cpueater/ |
D | daemonize.c | 36 char *file = 0; in main() local
|
/system/apex/apexer/ |
D | apex_manifest.py | 29 def ValidateApexManifest(file): argument
|
/system/extras/simpleperf/app_api/java/com/android/simpleperf/ |
D | ProfileSession.java | 229 File file = new File(path); in isExecutableFile() local 235 File file = new File(path); in findSimpleperfInTempDir() local 289 File file = new File(simpleperfDataDir); in createSimpleperfDataDir() local
|
/system/core/init/ |
D | ueventd_test.cpp | 47 auto make_thread_function = [&function, &barrier](const auto& file, const auto& parameter) { in WriteFromMultipleThreads() 59 const auto& file = pair.first; in WriteFromMultipleThreads() local 144 const char* file; in TEST() member
|