Home
last modified time | relevance | path

Searched refs:WriteToFile (Results 1 – 8 of 8) sorted by relevance

/system/bt/gd/os/linux_generic/
Dfiles_test.cc29 using bluetooth::os::WriteToFile;
35 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
45 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
59 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
68 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
71 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
80 ASSERT_TRUE(WriteToFile(temp_file.string(), text)); in TEST()
Dfiles.cc90 bool WriteToFile(const std::string& path, const std::string& data) { in WriteToFile() function
/system/bt/gd/storage/
Dlegacy_config_file_test.cc30 using bluetooth::os::WriteToFile;
84 EXPECT_TRUE(WriteToFile(temp_config.string(), kReadTestConfig)); in TEST()
174 ASSERT_TRUE(WriteToFile(temp_config.string(), kConfigWithDuplicateSectionAndKey)); in TEST()
Dstorage_module_test.cc208 ASSERT_TRUE(bluetooth::os::WriteToFile(temp_config_.string(), kReadTestConfig)); in TEST_F()
238 ASSERT_TRUE(bluetooth::os::WriteToFile(temp_config_.string(), kReadTestConfig)); in TEST_F()
288 ASSERT_TRUE(bluetooth::os::WriteToFile(temp_config_.string(), kReadTestConfig)); in TEST_F()
306 ASSERT_TRUE(bluetooth::os::WriteToFile(temp_config_.string(), kReadTestConfig)); in TEST_F()
Dlegacy_config_file.cc74 return os::WriteToFile(path_, cache.SerializeToLegacyFormat()); in Write()
/system/bt/gd/os/
Dfiles.h41 bool WriteToFile(const std::string& path, const std::string& data);
/system/update_engine/scripts/update_payload/
Dtest_utils.py241 def WriteToFile(self, file_obj, manifest_len=-1, data_blobs=None, member in PayloadGenerator
350 self.WriteToFile(temp_payload_file, data_blobs=self.data_blobs)
358 self.WriteToFile(file_obj, data_blobs=self.data_blobs, sigs_data=sigs_data,
Dchecker_unittest.py80 payload_gen.WriteToFile(payload_file)
512 payload_checker = _GetPayloadChecker(payload_gen.WriteToFile)
909 payload_checker = _GetPayloadChecker(payload_gen.WriteToFile,