Home
last modified time | relevance | path

Searched defs:file_contents (Results 1 – 25 of 96) sorted by relevance

1234

/aosp_15_r20/trusty/user/base/lib/storage/rust/src/
Dtest.rs34 let file_contents = "Hello, world!"; in read_write() localVariable
55 let file_contents = "Hello, world!"; in read_all_buf_too_small() localVariable
75 let file_contents = b"Hello, world!"; in read_at() localVariable
107 let file_contents = "Hello, world!"; in write_at() localVariable
184 let file_contents = "Hello, world!"; in rename_delete() localVariable
240 let file_contents = "multiple_files_in_transaction"; in multiple_files_in_transaction() localVariable
284 let file_contents = "Hello, world!"; in read_in_transaction() localVariable
316 let file_contents = "discard_transaction"; in discard_transaction() localVariable
348 let file_contents = "discard_transaction_on_drop"; in drop_transaction() localVariable
415 let file_contents = "Hello, world!"; in list_during_transaction() localVariable
/aosp_15_r20/hardware/google/pixel/pixelstats/
DSysfsCollector.cpp156 std::string file_contents; in ReadFileToInt() local
179 std::string file_contents; in logBatteryChargeCycles() local
259 std::string file_contents; in logCodecFailed() local
283 std::string file_contents; in logCodec1Failed() local
307 std::string file_contents; in reportSlowIoFromFile() local
346 std::string file_contents; in logSpeakerImpedance() local
494 std::string file_contents; in logSpeechDspStat() local
523 std::string file_contents; in logBatteryCapacity() local
555 std::string file_contents; in logUFSLifetime() local
1019 std::string file_contents; in logBlockStatsReported() local
[all …]
DBatteryEEPROMReporter.cpp49 std::string file_contents; in ReadFileToInt() local
75 std::string file_contents; in checkAndReport() local
351 std::string file_contents; in checkAndReportGMSR() local
393 std::string file_contents; in checkAndReportMaxfgHistory() local
460 std::string file_contents; in checkAndReportFGModelLoading() local
DMmMetricsReporter.cpp227 std::string file_contents; in ReadFileToUint() local
265 std::string file_contents; in ReadFileToLongs() local
351 std::string file_contents; in readSysfsNameValue() local
833 std::string file_contents; in findPidByProcessName() local
857 std::string file_contents; in getStimeByPathAndVerifyName() local
956 uint64_t file_contents; in readCmaStat() local
1157 std::string file_contents; in readPressureStall() local
1644 std::string file_contents; in readMmProcessUsageByOomGroup() local
DChargeStatsReporter.cpp84 std::string pdo_line, file_contents; in ReportChargeStats() local
258 std::string file_contents, line, wfile_contents, wline_at, wline_ac, pca_file_contents, in checkAndReport() local
339 bool ChargeStatsReporter::checkContentsAndAck(std::string *file_contents, const std::string &path) { in checkContentsAndAck()
DWirelessChargeStats.cpp55 bool WirelessChargeStats::CheckWirelessContentsAndAck(std::string *file_contents) { in CheckWirelessContentsAndAck()
104 const std::string file_contents) { in CalculateWirelessChargeStats()
DTempResidencyReporter.cpp51 bool parse_file_contents(std::string file_contents, in parse_file_contents()
125 std::string file_contents; in logTempResidencyStats() local
DBatteryHealthReporter.cpp52 std::string file_contents, line; in reportBatteryHealthStatus() local
118 std::string file_contents, line; in reportBatteryHealthUsage() local
/aosp_15_r20/system/core/init/
H A Dutil_test.cpp34 auto file_contents = ReadFile("/proc/does-not-exist"); in TEST() local
46 auto file_contents = ReadFile(tf.path); in TEST() local
57 auto file_contents = ReadFile(tf.path); in TEST() local
65 auto file_contents = ReadFile("/system/bin/ps"); in TEST() local
73 auto file_contents = ReadFile("/proc/version"); in TEST() local
103 auto file_contents = ReadFile(path); in TEST() local
119 auto file_contents = ReadFile(tf.path); in TEST() local
H A Dpersistent_properties.cpp134 auto file_contents = ReadFile(persistent_property_filename); in ReadPersistentPropertyFile() local
141 Result<PersistentProperties> ParsePersistentPropertyFile(const std::string& file_contents) { in ParsePersistentPropertyFile()
158 auto file_contents = ReadPersistentPropertyFile(); in LoadPersistentPropertyFile() local
H A Dbuiltins.cpp290 auto file_contents = ReadFile(args[1]); in do_load_exports() local
952 auto file_contents = ReadFile(args[1]); in do_copy() local
964 std::string file_contents; in do_copy_per_line() local
/aosp_15_r20/external/tink/cc/util/
H A Dfile_random_access_stream_test.cc84 absl::string_view file_contents) { in ReadAndVerifyChunk()
106 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
129 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
153 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
180 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
203 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
225 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST() local
H A Dfile_input_stream_test.cc81 std::string file_contents = subtle::Random::GetRandomBytes(stream_size); in TEST_P() local
107 std::string file_contents = in TEST_P() local
139 std::string file_contents = in TEST() local
156 std::string file_contents = in TEST() local
180 std::string file_contents = in TEST() local
219 std::string file_contents = in TEST() local
270 std::string file_contents = in TEST() local
H A Distream_input_stream_test.cc50 std::string* file_contents) { in GetTestIstream()
87 std::string file_contents; in TEST_F() local
105 std::string file_contents; in TEST_F() local
125 std::string file_contents; in TEST_F() local
H A Dfile_output_stream_test.cc95 std::string file_contents = test::ReadTestFile(filename); in TEST_F() local
120 std::string file_contents = test::ReadTestFile(filename); in TEST_F() local
209 std::string file_contents = test::ReadTestFile(filename); in TEST_F() local
/aosp_15_r20/external/selinux/libsemanage/src/
H A Dcompressed_file.h31 struct file_contents { struct
46 * @param contents pointer to struct file_contents, which will be argument
/aosp_15_r20/external/perfetto/src/profiling/symbolizer/
H A Dbreakpad_parser.cc36 std::string file_contents; in GetFileContents() local
68 std::optional<std::string> file_contents = GetFileContents(file_path_); in ParseFile() local
84 bool BreakpadParser::ParseFromString(const std::string& file_contents) { in ParseFromString()
/aosp_15_r20/hardware/google/aemu/base/
DFileUtils.cpp40 bool readFileIntoString(int fd, std::string* file_contents) { in readFileIntoString()
63 bool writeStringToFile(int fd, const std::string& file_contents) { in writeStringToFile()
/aosp_15_r20/external/rust/android-crates-io/crates/configparser/tests/
Dtest.rs348 let file_contents = std::fs::read_to_string("pretty_output.ini")?; in pretty_write_result_is_formatted_correctly() localVariable
407 let file_contents = std::fs::read_to_string("pretty_output_async.ini")?; in async_pretty_print_result_is_formatted_correctly() localVariable
/aosp_15_r20/external/tensorflow/tensorflow/core/api_def/
H A Dupdate_api_def.cc149 string RemoveDoc(const OpDef& op, const string& file_contents, in RemoveDoc()
197 string file_contents; in RemoveDocs() local
/aosp_15_r20/external/cronet/net/disk_cache/simple/
H A Dsimple_version_upgrade_unittest.cc93 const std::string file_contents("incorrectly serialized data"); in TEST() local
120 const std::string file_contents("incorrectly serialized data"); in TEST() local
/aosp_15_r20/system/tools/sysprop/
DCommon.cpp297 std::string file_contents; in ParseProps() local
320 std::string file_contents; in ParseApiFile() local
/aosp_15_r20/frameworks/base/cmds/idmap2/libidmap2/
H A DFabricatedOverlay.cpp129 std::string file_contents; in buildBinaryData() local
396 std::string file_contents; in ToBinaryStream() local
/aosp_15_r20/external/python/pyfakefs/pyfakefs/tests/
Dlogsio.py19 def file_contents(path): function
/aosp_15_r20/external/google-breakpad/src/common/linux/
H A Dscoped_tmpfile_unittest.cc47 char file_contents[5] = {0}; in TEST() local

1234