Lines Matching refs:WriteStringToFile
39 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
59 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
74 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
82 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
87 ASSERT_TRUE(android::base::WriteStringToFile(android::base::Join(content, '\n'), temp_file.path)); in TEST()
95 ASSERT_TRUE(android::base::WriteStringToFile(content, temp_file1.path)); in TEST()
111 ASSERT_TRUE(android::base::WriteStringToFile(content, package.path)); in TEST()
119 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); in TEST()
127 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); in TEST()
135 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); in TEST()
143 ASSERT_TRUE(android::base::WriteStringToFile(block_map_content, block_map_file.path)); in TEST()
156 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n", temp_file.path)); in TEST()
159 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n0\n", temp_file.path)); in TEST()
163 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n1\n", temp_file.path)); in TEST()
166 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n2\n0 1\n", temp_file.path)); in TEST()
170 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\nabc 4096\n1\n0 1\n", temp_file.path)); in TEST()
173 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n\n0 1\n", temp_file.path)); in TEST()
177 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n0 4096\n1\n0 1\n", temp_file.path)); in TEST()
180 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 0\n1\n0 1\n", temp_file.path)); in TEST()
183 ASSERT_TRUE(android::base::WriteStringToFile("/somefile\n4096 4096\n0\n0 1\n", temp_file.path)); in TEST()
187 …ASSERT_TRUE(android::base::WriteStringToFile("/doesntexist\n4096 4096\n1\n0 1\n", temp_file.path)); in TEST()